Skip to content

Commit

Permalink
Merge pull request #290 from madhawav/master
Browse files Browse the repository at this point in the history
Fixed issue #279 which causes callbacks to fail in Windows 64 bit
  • Loading branch information
akshayaurora committed Aug 21, 2017
2 parents 5fe9763 + 19b8a0b commit e428ced
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jnius/jnius_proxy.pxi
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ cdef create_proxy_instance(JNIEnv *j_env, py_obj, j_interfaces, javacontext):
# convert strings to Class
j_interfaces = [find_javaclass(x) for x in j_interfaces]

cdef JavaClass nih = NativeInvocationHandler(<long><void *>py_obj)
cdef JavaClass nih = NativeInvocationHandler(<long long><void *>py_obj)
cdef JNINativeMethod invoke_methods[1]
invoke_methods[0].name = 'invoke0'
invoke_methods[0].signature = '(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;'
Expand Down

0 comments on commit e428ced

Please sign in to comment.