X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;ds=sidebyside;f=typescript_strings.py;h=6e2ce6fa3bea22e77394852fffcaf91e4b4808dd;hb=74dbe11368db19528436facc532edef09b13ac52;hp=cbde654d453ae302847e8018fde36d1dbfebfc88;hpb=ba97d8dee5ef43b8b61c9a61e30789cdf8eb9c5e;p=ldk-java diff --git a/typescript_strings.py b/typescript_strings.py index cbde654d..6e2ce6fa 100644 --- 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.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")