5extern s32** N(varStash);
7API_CALLABLE(N(StashVars)) {
11 if (N(varStash) == NULL) {
12 N(varStash) =
heap_malloc(
sizeof(script->varTable));
14 for (i = 0; i <
ARRAY_COUNT(script->varTable); i++) {
15 N(varStash)[i] = (s32*) script->varTable[i];
18 for (i = 0; i <
ARRAY_COUNT(script->varTable); i++) {
19 script->varTable[i] = (s32) N(varStash)[i];
void * heap_malloc(s32 size)