- public long get_short_channel_id() {
- long ret = bindings.RouteHint_get_short_channel_id(this.ptr);
- return ret;
+ if (this.ptr != 0) {
+ bindings.RouteHint_free(this.ptr);
+ }
+ }
+ public RouteHintHop[] get_a() {
+ number[] ret = bindings.RouteHint_get_a(this.ptr);
+ RouteHintHop[] ret_conv_14_arr = new RouteHintHop[ret.length];
+ for (int o = 0; o < ret.length; o++) {
+ number ret_conv_14 = ret[o];
+ const ret_conv_14_hu_conv: RouteHintHop = new RouteHintHop(null, ret_conv_14);
+ ret_conv_14_hu_conv.ptrs_to.add(this);
+ ret_conv_14_arr[o] = ret_conv_14_hu_conv;
+ }
+ return ret_conv_14_arr;