X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=typescript_strings.py;h=c9f181e2d73aa8d94ce68c44449068ecf8ffe20c;hb=97c97c3b5dd6455901d84c7a5289b71bf5770146;hp=eb8d36b9b1876fe293fb764a157c6253960fba95;hpb=27e66e38e34de6ce037b93f1d031409f48ab7615;p=ldk-java diff --git a/typescript_strings.py b/typescript_strings.py index eb8d36b9..c9f181e2 100644 --- a/typescript_strings.py +++ b/typescript_strings.py @@ -219,7 +219,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 = "number" # "uint32_t" + self.ptr_native_ty = "uint32_t" self.result_c_ty = "uint32_t" self.owned_str_to_c_call = ("conv_owned_string(", ")") self.ptr_arr = "ptrArray"