Skip to content

Commit

Permalink
Merge pull request #22 from juergenhoetzel/ocaml5
Browse files Browse the repository at this point in the history
Add support for OCaml 5.x
  • Loading branch information
dakk authored Dec 18, 2023
2 parents 49f72dd + 9bde90a commit 6089b0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/secp256k1_wrap.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ static struct custom_operations secp256k1_context_ops = {
};

static value alloc_context (secp256k1_context *ctx) {
value ml_ctx = alloc_custom(&secp256k1_context_ops, sizeof(secp256k1_context *), 0, 1);
value ml_ctx = caml_alloc_custom(&secp256k1_context_ops, sizeof(secp256k1_context *), 0, 1);
Context_val(ml_ctx) = ctx;
return ml_ctx;
}
Expand Down

0 comments on commit 6089b0f

Please sign in to comment.