3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-06 17:44:08 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2022-05-07 11:24:46 -07:00
parent 1e586888c9
commit 6d40e6f401

View file

@ -520,14 +520,14 @@ Type2JavaW = { VOID : 'void', VOID_PTR : 'jlong', INT : 'jint', UINT : 'jint', I
def type2java(ty):
global Type2Java
if (ty >= FIRST_OBJ_ID):
if (ty >= FIRST_FN_ID):
return 'long'
else:
return Type2Java[ty]
def type2javaw(ty):
global Type2JavaW
if (ty >= FIRST_OBJ_ID):
if (ty >= FIRST_FN_ID):
return 'jlong'
else:
return Type2JavaW[ty]
@ -552,6 +552,8 @@ def param2java(p):
return "UIntArrayPtr"
else:
return "ObjArrayPtr"
elif k == FN_PTR:
return "LongPtr"
else:
return type2java(param_type(p))