]> git.bitcoin.ninja Git - ldk-java/blob - ts/structs/TxOut.ts
Support new cloned upstream API instead of clone
[ldk-java] / ts / structs / TxOut.ts
1
2 import CommonBase from './CommonBase';
3 import * as bindings from '../bindings' // TODO: figure out location
4
5 public class TxOut extends CommonBase{
6         TxOut(java.lang.Object _dummy, long ptr) { super(ptr); }
7         long to_c_ptr() { return 0; }
8         @Override @SuppressWarnings("deprecation")
9         protected void finalize() throws Throwable {
10                 super.finalize();
11                 if (ptr != 0) { bindings.TxOut_free(ptr); }
12         }
13 }