Update auto-generated bindings to 0.0.101
[ldk-java] / ts / structs / ReadOnlyNetworkGraph.ts
diff --git a/ts/structs/ReadOnlyNetworkGraph.ts b/ts/structs/ReadOnlyNetworkGraph.ts
new file mode 100644 (file)
index 0000000..54cb431
--- /dev/null
@@ -0,0 +1,21 @@
+
+            
+import CommonBase from './CommonBase';
+import * as bindings from '../bindings' // TODO: figure out location
+
+
+
+            export default class ReadOnlyNetworkGraph extends CommonBase {
+                constructor(_dummy: object, ptr: number) {
+                    super(ptr);
+                }
+
+                
+                protected finalize() {
+                    super.finalize();
+
+                    if (this.ptr != 0) {
+                        bindings.ReadOnlyNetworkGraph_free(this.ptr);
+                    }
+                }
+}