[C#] Update auto-generated C# bindings
[ldk-java] / c_sharp / src / org / ldk / structs / ErrorAction.cs
index 993d3e34ddee07429f79452b7ab5d22978b8210e..9e0fc990ff01d5bbaf5735acbb27ab36eba00f42 100644 (file)
@@ -212,5 +212,17 @@ public class ErrorAction : CommonBase {
                return ret_hu_conv;
        }
 
+       /**
+        * Generates a non-cryptographic 64-bit hash of the ErrorAction.
+        */
+       public long hash() {
+               long ret = bindings.ErrorAction_hash(this.ptr);
+               GC.KeepAlive(this);
+               return ret;
+       }
+
+       public override int GetHashCode() {
+               return (int)this.hash();
+       }
 }
 } } }