MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / fxCheckArg

Function fxCheckArg

xs/sources/xsAPI.c:1297–1302  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1295}
1296
1297txInteger fxCheckArg(txMachine* the, txInteger theIndex)
1298{
1299 if ((theIndex < 0) || (mxArgc <= theIndex))
1300 mxSyntaxError("C: xsArg(%ld): invalid index", theIndex);
1301 return theIndex;
1302}
1303
1304txInteger fxCheckVar(txMachine* the, txInteger theIndex)
1305{

Callers 1

xsffi.cFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected