[C#] Update auto-generated bindings to LDK 0.0.123
[ldk-java] / c_sharp / src / org / ldk / structs / Result_SendSuccessSendErrorZ.cs
index c608d13e98876b1b22c4db773b14933c6490e6f2..b23c46ac157134f6d6f5dcbc7b9b6ad87648a018 100644 (file)
@@ -71,5 +71,23 @@ public class Result_SendSuccessSendErrorZ : CommonBase {
                return ret;
        }
 
+       internal long clone_ptr() {
+               long ret = bindings.CResult_SendSuccessSendErrorZ_clone_ptr(this.ptr);
+               GC.KeepAlive(this);
+               return ret;
+       }
+
+       /**
+        * Creates a new CResult_SendSuccessSendErrorZ which has the same data as `orig`
+        * but with all dynamically-allocated buffers duplicated in new buffers.
+        */
+       public Result_SendSuccessSendErrorZ clone() {
+               long ret = bindings.CResult_SendSuccessSendErrorZ_clone(this.ptr);
+               GC.KeepAlive(this);
+               if (ret >= 0 && ret <= 4096) { return null; }
+               Result_SendSuccessSendErrorZ ret_hu_conv = Result_SendSuccessSendErrorZ.constr_from_ptr(ret);
+               return ret_hu_conv;
+       }
+
 }
 } } }