* See the trait-level documentation for requirements.
*/
public void process_pending_events(org.ldk.structs.EventHandler handler) {
- bindings.EventsProvider_process_pending_events(this.ptr, handler == null ? 0 : handler.ptr);
+ bindings.EventsProvider_process_pending_events(this.ptr, handler.ptr);
Reference.reachabilityFence(this);
Reference.reachabilityFence(handler);
if (this != null) { this.ptrs_to.add(handler); };