Handle methods taking non-ref self by using standard conversion
[ldk-java] / typescript_strings.py
index eb14c1554a70e2bf5d4fdcc544249438442e9686..d5d4499d91c7ad46228345a43b956578a3dbd925 100644 (file)
@@ -933,7 +933,7 @@ const decodeString = (stringPointer, free = true) => {
 """
         return out_opaque_struct_human
 
-    def map_function(self, argument_types, c_call_string, method_name, return_type_info, struct_meth, default_constructor_args, takes_self, args_known, type_mapping_generator, doc_comment):
+    def map_function(self, argument_types, c_call_string, method_name, return_type_info, struct_meth, default_constructor_args, takes_self, takes_self_as_ref, args_known, type_mapping_generator, doc_comment):
         out_java = ""
         out_c = ""
         out_java_struct = None