[zerolib] Pinvoke and functions with Variable Arguments #157
-
|
The keyword @lucabol How would you handle functions like |
Beta Was this translation helpful? Give feedback.
Answered by
MichalStrehovsky
Jan 25, 2024
Replies: 1 comment
-
|
You can just declare a p/invoke for each signature shape you need: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
paramsis not equivalent to vararg. You'd need to use the undocumented__arglistkeyword. But that one doesn't work with native AOT in general.You can just declare a p/invoke for each signature shape you need: