projects
/
ldk-java
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix pointer types in Typescript
[ldk-java]
/
typescript_strings.py
diff --git
a/typescript_strings.py
b/typescript_strings.py
index cbde654d453ae302847e8018fde36d1dbfebfc88..6e2ce6fa3bea22e77394852fffcaf91e4b4808dd 100644
(file)
--- a/
typescript_strings.py
+++ b/
typescript_strings.py
@@
-214,7
+214,7
@@
import * as bindings from '../bindings' // TODO: figure out location
self.c_fn_args_pfx = "void* ctx_TODO"
self.file_ext = ".ts"
self.ptr_c_ty = "uint32_t"
self.c_fn_args_pfx = "void* ctx_TODO"
self.file_ext = ".ts"
self.ptr_c_ty = "uint32_t"
- self.ptr_native_ty = "uint32_t"
+ self.ptr_native_ty = "
number" # "
uint32_t"
self.result_c_ty = "uint32_t"
self.ptr_arr = "uint32_tArray"
self.get_native_arr_len_call = ("", ".len")
self.result_c_ty = "uint32_t"
self.ptr_arr = "uint32_tArray"
self.get_native_arr_len_call = ("", ".len")