- public InMemoryChannelKeys(InMemoryChannelKeys orig) {
- super(bindings.InMemoryChannelKeys_clone(orig == null ? 0 : orig.ptr & ~1));
- this.ptrs_to.add(orig);
+ public static InMemoryChannelKeys constructor_clone(InMemoryChannelKeys orig) {
+ long ret = bindings.InMemoryChannelKeys_clone(orig == null ? 0 : orig.ptr & ~1);
+ InMemoryChannelKeys ret_hu_conv = new InMemoryChannelKeys(null, ret);
+ ret_hu_conv.ptrs_to.add(orig);
+ return ret_hu_conv;