- public boolean eq(ExpiryTime b) {
- boolean ret = bindings.ExpiryTime_eq(this.ptr, b == null ? 0 : b.ptr & ~1);
- this.ptrs_to.add(b);
+ public boolean eq(org.ldk.structs.ExpiryTime b) {
+ boolean ret = bindings.ExpiryTime_eq(this.ptr, b.ptr);
+ Reference.reachabilityFence(this);
+ Reference.reachabilityFence(b);
+ if (this != null) { this.ptrs_to.add(b); };