[TS] Free native -> human arrays after we're done converting
[ldk-java] / java_strings.py
index 8fcc3e5cf13cf6bcf6b59c1671a94f2d5710bee9..2fcf836d23b900bcf87bd3b7e5875c5ee0c52523 100644 (file)
@@ -673,6 +673,8 @@ import javax.annotation.Nullable;
             # Do a bit of a dance to move any excess [] to the end
             conv += "[" + ty_info.subty.java_hu_ty.split("<")[0].split("[")[1]
         return conv
+    def cleanup_converted_native_array(self, ty_info, arr_name):
+        return None
 
     def primitive_arr_from_hu(self, mapped_ty, fixed_len, arr_name):
         if fixed_len is not None: