@SuppressWarnings("unchecked") // We correctly assign various generic arrays
public class HTLCUpdate extends CommonBase {
HTLCUpdate(Object _dummy, long ptr) { super(ptr); }
@SuppressWarnings("unchecked") // We correctly assign various generic arrays
public class HTLCUpdate extends CommonBase {
HTLCUpdate(Object _dummy, long ptr) { super(ptr); }
HTLCUpdate ret_hu_conv = new HTLCUpdate(null, ret);
ret_hu_conv.ptrs_to.add(this);
return ret_hu_conv;
}
HTLCUpdate ret_hu_conv = new HTLCUpdate(null, ret);
ret_hu_conv.ptrs_to.add(this);
return ret_hu_conv;
}
- HTLCUpdate ret_hu_conv = new HTLCUpdate(null, ret);
- ret_hu_conv.ptrs_to.add(ret_hu_conv);
+ if (ret < 1024) { return null; }
+ Result_HTLCUpdateDecodeErrorZ ret_hu_conv = Result_HTLCUpdateDecodeErrorZ.constr_from_ptr(ret);