+ LDKEntropySourceImpl impl = new LDKEntropySourceImpl(arg, impl_holder);
+ long[] ptr_idx = bindings.LDKEntropySource_new(impl);
+
+ impl_holder.held = new EntropySource(null, ptr_idx[0]);
+ impl_holder.held.instance_idx = ptr_idx[1];
+ impl_holder.held.bindings_instance = impl;