+ static Result_TxCreationKeysSecpErrorZ constr_from_ptr(long ptr) {
+ if (bindings.LDKCResult_TxCreationKeysSecpErrorZ_result_ok(ptr)) {
+ return new Result_TxCreationKeysSecpErrorZ_OK(null, ptr);
+ } else {
+ return new Result_TxCreationKeysSecpErrorZ_Err(null, ptr);
+ }
+ }