* This ignores pointers and is_owned flags and looks at the values in fields.
*/
public bool eq(org.ldk.structs.ProbeSendFailure b) {
- bool ret = bindings.ProbeSendFailure_eq(this.ptr, b == null ? 0 : b.ptr);
+ bool ret = bindings.ProbeSendFailure_eq(this.ptr, b.ptr);
GC.KeepAlive(this);
GC.KeepAlive(b);
return ret;