We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b79a176 commit c60ce25Copy full SHA for c60ce25
genbindings.py
@@ -101,6 +101,11 @@ def java_c_types(fn_arg, ret_arr_len):
101
assert var_is_arr_regex.match(fn_arg[8:])
102
rust_obj = "LDKThirtyTwoBytes"
103
arr_access = "data"
104
+ elif fn_arg.startswith("LDKTxid"):
105
+ fn_arg = "uint8_t (*" + fn_arg[8:] + ")[32]"
106
+ assert var_is_arr_regex.match(fn_arg[8:])
107
+ rust_obj = "LDKThirtyTwoBytes"
108
+ arr_access = "data"
109
elif fn_arg.startswith("LDKPublicKey"):
110
fn_arg = "uint8_t (*" + fn_arg[13:] + ")[33]"
111
0 commit comments