X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=csharp_strings.py;fp=csharp_strings.py;h=8efb1fc7afc5094f9f6a600128916e06d75431c8;hb=fe9bf4fd6654b45813ebee1ba95840abc2b8826b;hp=e45f893220b6bff1a4cbb69da5f7dd5517725886;hpb=7e1f2789179f10de55d007b8466c5f439c7587e6;p=ldk-java diff --git a/csharp_strings.py b/csharp_strings.py index e45f8932..8efb1fc7 100644 --- a/csharp_strings.py +++ b/csharp_strings.py @@ -1204,8 +1204,6 @@ public class {struct_name.replace("LDK","")} : CommonBase {{ out_c += (", ") if arg_conv_info.c_ty != "void": out_c += (arg_conv_info.c_ty + " " + arg_conv_info.arg_name) - if "[]" in arg_conv_info.java_ty: - out_java += "[MarshalAs(UnmanagedType.CustomMarshaler, MarshalType=\"org.ldk.impl.ArrayCoder\")] " out_java += (arg_conv_info.java_ty + " _" + arg_conv_info.arg_name) # Add a _ to avoid using reserved words out_java_struct = ""