projects
/
ldk-java
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[TS] Add one more method style for callback definitions
[ldk-java]
/
typescript_strings.py
diff --git
a/typescript_strings.py
b/typescript_strings.py
index afb2b67f69cc3e99db4a69de29b34521e8383f51..9704a48f0a5b9b1e7b3973153bc57450baa3ebe7 100644
(file)
--- a/
typescript_strings.py
+++ b/
typescript_strings.py
@@
-129,7
+129,7
@@
async function finishInitializeWasm(wasmInstance: WebAssembly.Instance) {
}
const fn_list = ["uuuuuu", "buuuuu", "bbuuuu", "bbbuuu", "bbbbuu", "bbbbbu",
}
const fn_list = ["uuuuuu", "buuuuu", "bbuuuu", "bbbuuu", "bbbbuu", "bbbbbu",
- "bbbbbb", "ubuubu", "ubuuuu", "ubbuuu", "uubuuu", "uubbuu", "uububu", "ububuu"];
+ "bbbbbb", "ubuubu", "ubuuuu", "ubbuuu", "uubuuu", "uubbuu", "uububu", "ububuu"
, "uuuubu"
];
/* @internal */
export async function initializeWasmFromUint8Array(wasmBinary: Uint8Array) {
/* @internal */
export async function initializeWasmFromUint8Array(wasmBinary: Uint8Array) {
@@
-1409,7
+1409,7
@@
export class {struct_name.replace("LDK","")} extends CommonBase {{
def map_opaque_struct(self, struct_name, struct_doc_comment):
method_header = ""
def map_opaque_struct(self, struct_name, struct_doc_comment):
method_header = ""
- hu_name = struct_name.replace("LDKC2Tuple", "TwoTuple").replace("LDKC3Tuple", "ThreeTuple").replace("LDK", "")
+ hu_name = struct_name.replace("LDKC2Tuple", "TwoTuple").replace("LDKC3Tuple", "ThreeTuple").replace("LDK
C4Tuple", "FourTuple").replace("LDK
", "")
out_opaque_struct_human = f"{self.hu_struct_file_prefix}"
constructor_body = "super(ptr, bindings." + struct_name.replace("LDK","") + "_free);"
extra_docs = ""
out_opaque_struct_human = f"{self.hu_struct_file_prefix}"
constructor_body = "super(ptr, bindings." + struct_name.replace("LDK","") + "_free);"
extra_docs = ""