problem-solving icon indicating copy to clipboard operation
problem-solving copied to clipboard

Vararg support in NativeCall

Open patrickbkr opened this issue 9 months ago • 14 comments

NativeCall is currently missing vararg support. Adding it requires making up a bit of syntax. A vararg function has a set of fixed arguments (similar to usual fixed arg functions), but can take additional arguments. The additional arguments need to be somehow mapped to C types. So we need to somehow specify those types. How could the syntax for all of this look?

patrickbkr avatar Mar 25 '25 15:03 patrickbkr