[C#] Update auto-generated C# bindings
[ldk-java] / c_sharp / src / org / ldk / structs / SignOrCreationError.cs
index a077e98688c82517cbff7f1019269d14ef22ad78..f030d2dda2ddf22351d0142fd99bd485b50be883 100644 (file)
@@ -97,9 +97,11 @@ public class SignOrCreationError : CommonBase {
         * Get the string representation of a SignOrCreationError object
         */
        public string to_str() {
-               string ret = bindings.SignOrCreationError_to_str(this.ptr);
+               long ret = bindings.SignOrCreationError_to_str(this.ptr);
                GC.KeepAlive(this);
-               return ret;
+               if (ret >= 0 && ret <= 4096) { return null; }
+               string ret_conv = InternalUtils.decodeString(ret);
+               return ret_conv;
        }
 
 }