From 4cf0b865b9e4ac0efb0f8694fc3898b628589f1a Mon Sep 17 00:00:00 2001 From: Mathieu Virbel Date: Sun, 28 Apr 2013 19:13:23 +0200 Subject: [PATCH] cython 0.19 fixes, jlong was interpreted as a number, not as a pointer value anymore. --- 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 f4cd1da..86789a3 100644 --- a/jnius/jnius_proxy.pxi +++ b/jnius/jnius_proxy.pxi @@ -79,7 +79,7 @@ cdef jobject invoke0(JNIEnv *j_env, jobject j_this, jobject j_proxy, jobject cdef jfieldID ptrField = j_env[0].GetFieldID(j_env, j_env[0].GetObjectClass(j_env, j_this), "ptr", "J") cdef jlong jptr = j_env[0].GetLongField(j_env, j_this, ptrField) - cdef object py_obj = jptr + cdef object py_obj = jptr # extract the method information cdef JavaClass method = Method(noinstance=True)