[C#] Update auto-generated C# bindings
[ldk-java] / c_sharp / src / org / ldk / structs / FundingCreated.cs
index 1166194df6809a267e8cc08edeab4d1f106cb9b9..55436ec14913c45d4411760637877cd84df41b51 100644 (file)
@@ -130,6 +130,18 @@ public class FundingCreated : CommonBase {
                return ret_hu_conv;
        }
 
+       /**
+        * Generates a non-cryptographic 64-bit hash of the FundingCreated.
+        */
+       public long hash() {
+               long ret = bindings.FundingCreated_hash(this.ptr);
+               GC.KeepAlive(this);
+               return ret;
+       }
+
+       public override int GetHashCode() {
+               return (int)this.hash();
+       }
        /**
         * Checks if two FundingCreateds contain equal inner contents.
         * This ignores pointers and is_owned flags and looks at the values in fields.