/**
* Creates a new CResult_FundingCreatedDecodeErrorZ in the success state.
*/
- public static Result_FundingCreatedDecodeErrorZ ok(FundingCreated o) {
+ public static Result_FundingCreatedDecodeErrorZ ok(org.ldk.structs.FundingCreated o) {
long ret = bindings.CResult_FundingCreatedDecodeErrorZ_ok(o == null ? 0 : o.ptr);
Reference.reachabilityFence(o);
if (ret >= 0 && ret <= 4096) { return null; }
/**
* Creates a new CResult_FundingCreatedDecodeErrorZ in the error state.
*/
- public static Result_FundingCreatedDecodeErrorZ err(DecodeError e) {
+ public static Result_FundingCreatedDecodeErrorZ err(org.ldk.structs.DecodeError e) {
long ret = bindings.CResult_FundingCreatedDecodeErrorZ_err(e.ptr);
Reference.reachabilityFence(e);
if (ret >= 0 && ret <= 4096) { return null; }