- long res = bindings.LDKCResult_RouteHintDecodeErrorZ_get_ok(ptr);
- RouteHint res_hu_conv = null; if (res < 0 || res > 4096) { res_hu_conv = new RouteHint(null, res); }
- res_hu_conv.ptrs_to.add(this);
+ long res = bindings.CResult_RouteHintDecodeErrorZ_get_ok(ptr);
+ org.ldk.structs.RouteHint res_hu_conv = null; if (res < 0 || res > 4096) { res_hu_conv = new org.ldk.structs.RouteHint(null, res); }
+ if (res_hu_conv != null) { res_hu_conv.ptrs_to.add(this); };