X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=typescript_strings.py;h=402e63996807408b1dde313f5854c65b730d9233;hb=b3a23d8dae8cc969fce9cad64991b393f74c94af;hp=77ae1d0a035b580fb59854b361b1fd318b2347e4;hpb=eb52651fe05ec65a3ca28b14d167b293c658fe9c;p=ldk-java diff --git a/typescript_strings.py b/typescript_strings.py index 77ae1d0a..402e6399 100644 --- a/typescript_strings.py +++ b/typescript_strings.py @@ -1317,7 +1317,6 @@ export class {struct_name.replace("LDK","")} extends CommonBase {{ return (out_java, out_java_enum, out_c) def map_opaque_struct(self, struct_name, struct_doc_comment): - implementations = "" method_header = "" hu_name = struct_name.replace("LDKC2Tuple", "TwoTuple").replace("LDKC3Tuple", "ThreeTuple").replace("LDK", "") @@ -1339,7 +1338,7 @@ export class {struct_name.replace("LDK","")} extends CommonBase {{ /**{extra_docs} * {formatted_doc_comment} */ -export class {hu_name} extends CommonBase {implementations}{{ +export class {hu_name} extends CommonBase {{ /* @internal */ public constructor(_dummy: null, ptr: bigint) {{ {constructor_body}