- public void set_proportional_millionths(RoutingFees this_ptr, int val) {
- bindings.RoutingFees_set_proportional_millionths(this_ptr == null ? 0 : this_ptr.ptr & ~1, val);
- this.ptrs_to.add(this_ptr);
+ public void set_proportional_millionths(int val) {
+ bindings.RoutingFees_set_proportional_millionths(this.ptr, val);
+ }
+
+ public static RoutingFees constructor_new(int base_msat_arg, int proportional_millionths_arg) {
+ long ret = bindings.RoutingFees_new(base_msat_arg, proportional_millionths_arg);
+ RoutingFees ret_hu_conv = new RoutingFees(null, ret);
+ ret_hu_conv.ptrs_to.add(ret_hu_conv);
+ return ret_hu_conv;