You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add an explicit signature and call-frame mechanism for invoking C variadic functions safely.
Why
Raylib 6.0 exposes two variadic public functions, TraceLog(int, const char *, ...) and TextFormat(const char *, ...). Both remain outside the generated bindings because the current FFI can describe only a fixed argument array. See the merged skip report.
Current behavior
There is no valid descriptor for the variadic tail:
The fresh-main FFI suite passes in interpreted and bytecode modes (92 tests, 337 assertions); it contains no variadic signature surface or fixture.
Expected behavior
Provide an explicit way to declare a fixed prefix plus variadic argument types at each call, applying the platform ABI's default argument promotions and classification rules. Calls that omit required variadic type information should fail before entering native code.
Scope notes
Manual signature declaration is sufficient; automatic header parsing is out of scope.
Cover C variadic calls only. Variadic native-to-JavaScript callbacks are a separate design problem.
Activity