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