We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a84658 commit b1216b1Copy full SHA for b1216b1
java_strings.py
@@ -86,7 +86,10 @@ class CommonBase {
86
}
87
"""
88
89
- self.c_file_pfx = """#include \"org_ldk_impl_bindings.h\"
+ self.c_file_pfx = """#include <jni.h>
90
+// On OSX jlong (ie long long) is not equivalent to int64_t, so we override here
91
+#define int64_t jlong
92
+#include \"org_ldk_impl_bindings.h\"
93
#include <lightning.h>
94
#include <string.h>
95
#include <stdatomic.h>
0 commit comments