TS bindings
[ldk-java] / ts / structs / ChannelFeatures.ts
diff --git a/ts/structs/ChannelFeatures.ts b/ts/structs/ChannelFeatures.ts
new file mode 100644 (file)
index 0000000..46d2b86
--- /dev/null
@@ -0,0 +1,13 @@
+
+import CommonBase from './CommonBase';
+import * as bindings from '../bindings' // TODO: figure out location
+
+public class ChannelFeatures extends CommonBase {
+       ChannelFeatures(Object _dummy, long ptr) { super(ptr); }
+       @Override @SuppressWarnings("deprecation")
+       protected void finalize() throws Throwable {
+               super.finalize();
+               if (ptr != 0) { bindings.ChannelFeatures_free(ptr); }
+       }
+
+}