Update auto-generated bindings
[ldk-java] / ts / structs / RawInvoice.ts
index 162796d5f98d0680cb7416dfb3060321d0ac5104..3cd1b0412d89129315d05b4036d978bc90de2eac 100644 (file)
@@ -27,7 +27,6 @@ import * as bindings from '../bindings' // TODO: figure out location
 
        public void set_data(RawDataPart val) {
                bindings.RawInvoice_set_data(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        public boolean eq(RawInvoice b) {
@@ -36,6 +35,11 @@ import * as bindings from '../bindings' // TODO: figure out location
                return ret;
        }
 
+       public number clone_ptr() {
+               number ret = bindings.RawInvoice_clone_ptr(this.ptr);
+               return ret;
+       }
+
        public RawInvoice clone() {
                number ret = bindings.RawInvoice_clone(this.ptr);
                const ret_hu_conv: RawInvoice = new RawInvoice(null, ret);