projects
/
ldk-java
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[Java] Print error stack trace when tests fail
[ldk-java]
/
python_strings.py
diff --git
a/python_strings.py
b/python_strings.py
index 752b3015757aabc45bef00cb05b8d4b80d3990d6..b48771991663d4fd24ddead1960d5fd52106c034 100644
(file)
--- a/
python_strings.py
+++ b/
python_strings.py
@@
-679,7
+679,7
@@
import * as bindings from '../bindings.mjs'
self.usize_c_ty = "uint32_t"
self.usize_native_ty = "number"
self.native_zero_ptr = "0n"
self.usize_c_ty = "uint32_t"
self.usize_native_ty = "number"
self.native_zero_ptr = "0n"
- self.
result
_c_ty = "uint32_t"
+ self.
unitary_enum
_c_ty = "uint32_t"
self.ptr_arr = "ptrArray"
self.is_arr_some_check = ("", " != 0")
self.get_native_arr_len_call = ("", "->arr_len")
self.ptr_arr = "ptrArray"
self.is_arr_some_check = ("", " != 0")
self.get_native_arr_len_call = ("", "->arr_len")
@@
-1291,7
+1291,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}"
extra_docs = ""
extra_body = ""
out_opaque_struct_human = f"{self.hu_struct_file_prefix}"
extra_docs = ""
extra_body = ""