mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 863777 - Add types to jni-generator.py; r=kats
This commit is contained in:
parent
fc01afb5cb
commit
52d58c423c
@ -67,7 +67,7 @@ class Generator:
|
||||
paramNames = ['arg%d' % i for i in range(0, len(paramTypes))]
|
||||
if returnType == 'void':
|
||||
returnValue = ''
|
||||
elif returnType == 'jobject':
|
||||
elif returnType in ('jobject', 'jstring'):
|
||||
returnValue = 'NULL'
|
||||
elif returnType in ('jint', 'jfloat', 'jdouble', 'jlong'):
|
||||
returnValue = '0'
|
||||
|
Loading…
Reference in New Issue
Block a user