mirror of https://github.com/kivy/pyjnius.git
fix issue with "cannot allocate an array of constant size 0" on Windows / MSVC compiler
This commit is contained in:
parent
19d4ddc45d
commit
a45ba1737e
|
@ -73,7 +73,7 @@ class MetaJavaClass(type):
|
|||
|
||||
with nogil:
|
||||
classLoader = j_env[0].CallStaticObjectMethodA(
|
||||
j_env, baseclass, getClassLoader, [])
|
||||
j_env, baseclass, getClassLoader, NULL)
|
||||
jargs = <jobject *>malloc(sizeof(jobject) * 2)
|
||||
jargs[0] = <jobject *>classLoader
|
||||
jargs[1] = interfaces
|
||||
|
|
Loading…
Reference in New Issue