- Introduce wrenCallVarArgs as an explicit va_list variant, allowing variadic functions to forward their arguments directly without re-parsing. - Fix a garbage collection issue in wrenCall where return values could be prematurely collected by ensuring proper root handling. - Refactor the call API test to avoid re-entering the VM by moving test execution into an afterLoad callback instead of a foreign method.
4 lines
50 B
C
4 lines
50 B
C
#include "wren.h"
|
|
|
|
void callRunTests(WrenVM* vm);
|