Update auto-updated Java files
[ldk-java] / ts / structs / MultiThreadedLockableScore.ts
1
2             
3 import CommonBase from './CommonBase';
4 import * as bindings from '../bindings' // TODO: figure out location
5
6
7
8             export default class MultiThreadedLockableScore extends CommonBase {
9                 constructor(_dummy: object, ptr: number) {
10                     super(ptr);
11                 }
12
13                 
14                 protected finalize() {
15                     super.finalize();
16
17                     if (this.ptr != 0) {
18                         bindings.MultiThreadedLockableScore_free(this.ptr);
19                     }
20                 }
21         public static MultiThreadedLockableScore constructor_new(Score score) {
22                 number ret = bindings.MultiThreadedLockableScore_new(score == null ? 0 : score.ptr);
23                 const ret_hu_conv: MultiThreadedLockableScore = new MultiThreadedLockableScore(null, ret);
24                 ret_hu_conv.ptrs_to.add(ret_hu_conv);
25                 ret_hu_conv.ptrs_to.add(score);
26                 return ret_hu_conv;
27         }
28
29 }