* Creates a new CResult_SpendableOutputDescriptorDecodeErrorZ in the error state.
*/
public static Result_SpendableOutputDescriptorDecodeErrorZ err(DecodeError e) {
- long ret = bindings.CResult_SpendableOutputDescriptorDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
+ long ret = bindings.CResult_SpendableOutputDescriptorDecodeErrorZ_err(e == null ? 0 : e.ptr);
Reference.reachabilityFence(e);
if (ret >= 0 && ret <= 4096) { return null; }
Result_SpendableOutputDescriptorDecodeErrorZ ret_hu_conv = Result_SpendableOutputDescriptorDecodeErrorZ.constr_from_ptr(ret);
+ ret_hu_conv.ptrs_to.add(e);
return ret_hu_conv;
}