Skip to content

Commit e10096c

Browse files
committed
Fix references to BigInteger and String types.
1 parent 913b141 commit e10096c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

langkit/java_api.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1027,6 +1027,8 @@ def jni_sig_type(self, the_type: CompiledType, base_class: str) -> str:
10271027
return dispatch_on_type(the_type, [
10281028
(T.Bool, lambda _: "Z"),
10291029
(T.Int, lambda _: "I"),
1030+
(T.BigInt, lambda _: "Ljava/math/BigInteger;"),
1031+
(T.String, lambda _: "Ljava/lang/String;"),
10301032
(
10311033
ct.ASTNodeType, lambda t:
10321034
f"L{base_class}$PointerWrapper;"

0 commit comments

Comments
 (0)