mirror of https://github.com/kivy/pyjnius.git
implement void return
This commit is contained in:
parent
8cf9542518
commit
46555de7b2
|
@ -264,7 +264,9 @@ cdef jobject convert_python_to_jobject(JNIEnv *j_env, definition, obj) except *:
|
|||
cdef PythonJavaClass pc
|
||||
cdef int index
|
||||
|
||||
if definition[0] == 'L':
|
||||
if definition[0] == 'V':
|
||||
return NULL
|
||||
elif definition[0] == 'L':
|
||||
if obj is None:
|
||||
return NULL
|
||||
elif isinstance(obj, basestring) and \
|
||||
|
|
Loading…
Reference in New Issue