- public void set_index(OutPoint this_ptr, short val) {
- bindings.OutPoint_set_index(this_ptr == null ? 0 : this_ptr.ptr & ~1, val);
- this.ptrs_to.add(this_ptr);
+ public void set_index(short val) {
+ bindings.OutPoint_set_index(this.ptr, val);
+ }
+
+ public static OutPoint constructor_new(byte[] txid_arg, short index_arg) {
+ long ret = bindings.OutPoint_new(txid_arg, index_arg);
+ OutPoint ret_hu_conv = new OutPoint(null, ret);
+ ret_hu_conv.ptrs_to.add(ret_hu_conv);
+ return ret_hu_conv;