long ret = bindings.PaymentPurpose_clone(this.ptr);
Reference.reachabilityFence(this);
if (ret >= 0 && ret <= 4096) { return null; }
- PaymentPurpose ret_hu_conv = PaymentPurpose.constr_from_ptr(ret);
+ org.ldk.structs.PaymentPurpose ret_hu_conv = org.ldk.structs.PaymentPurpose.constr_from_ptr(ret);
ret_hu_conv.ptrs_to.add(this);
return ret_hu_conv;
}
Reference.reachabilityFence(payment_preimage);
Reference.reachabilityFence(payment_secret);
if (ret >= 0 && ret <= 4096) { return null; }
- PaymentPurpose ret_hu_conv = PaymentPurpose.constr_from_ptr(ret);
+ org.ldk.structs.PaymentPurpose ret_hu_conv = org.ldk.structs.PaymentPurpose.constr_from_ptr(ret);
ret_hu_conv.ptrs_to.add(ret_hu_conv);
return ret_hu_conv;
}
long ret = bindings.PaymentPurpose_spontaneous_payment(InternalUtils.check_arr_len(a, 32));
Reference.reachabilityFence(a);
if (ret >= 0 && ret <= 4096) { return null; }
- PaymentPurpose ret_hu_conv = PaymentPurpose.constr_from_ptr(ret);
+ org.ldk.structs.PaymentPurpose ret_hu_conv = org.ldk.structs.PaymentPurpose.constr_from_ptr(ret);
ret_hu_conv.ptrs_to.add(ret_hu_conv);
return ret_hu_conv;
}