MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / luaX_init

Function luaX_init

Source/Misc/lua/src/lua.c:6777–6785  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6775
6776
6777void luaX_init (lua_State *L) {
6778int i;
6779for (i=0; i<NUM_RESERVED; i++) {
6780TString *ts = luaS_new(L, luaX_tokens[i]);
6781luaS_fix(ts); /* reserved words are never collected */
6782lua_assert(strlen(luaX_tokens[i])+1 <= TOKEN_LEN);
6783ts->tsv.reserved = cast_byte(i+1); /* reserved word */
6784}
6785}
6786
6787
6788#define MAXSRC 80

Callers 1

f_luaopenFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected