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