From 19b8a0bfcfe1d37df7af5bdcf5a5f18a3b53c2aa Mon Sep 17 00:00:00 2001 From: madhawav Date: Fri, 11 Aug 2017 23:12:56 +0530 Subject: [PATCH] Fixed issue #279 which causes callbacks to fail in Windows 64 bit --- jnius/jnius_proxy.pxi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jnius/jnius_proxy.pxi b/jnius/jnius_proxy.pxi index f7ee437..77b6cb1 100644 --- a/jnius/jnius_proxy.pxi +++ b/jnius/jnius_proxy.pxi @@ -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(py_obj) + cdef JavaClass nih = NativeInvocationHandler(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;'