forked from M-Labs/nac3
1
0
Fork 0
nac3/nac3core/src
David Mak cb39f61e79 core: Fix passing structure arguments to extern functions
All parameters with a structure type in extern functions are marked as
`byref` instead of `byval`, as most ABIs require the first several
arguments to be passed in registers before spilling into the stack.

`byval` breaks this contract by explicitly requiring all arguments to be
 passed in the stack, breaking interop with libraries written in other
 languages.
2023-09-28 15:02:35 +08:00
..
codegen core: Fix passing structure arguments to extern functions 2023-09-28 15:02:35 +08:00
toplevel core: Use i8 for boolean variable allocation 2023-09-25 15:42:07 +08:00
typecheck update dependencies 2022-11-18 16:15:46 +08:00
lib.rs nac3core: removed legacy location definition 2022-02-13 22:39:24 +08:00
symbol_resolver.rs meta: Improve documentation for various modified classes 2023-09-25 15:42:07 +08:00