Skip to content

Conversation

usuyus
Copy link

@usuyus usuyus commented Jul 31, 2025

This PR adds an extra calling convention for calls to C functions from OCaml. It is identical to the C calling convention, except it takes two extra arguments in specified registers for the runtime to transfer stack arguments and actually make the call. See this PR for more details.

@xclerc xclerc merged commit a440d97 into ocaml-flambda:main Aug 6, 2025
1 check passed
@usuyus usuyus deleted the ocaml-extcall-conv branch August 22, 2025 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants