MCPcopy Create free account
hub / github.com/PlutoLang/Pluto / luaT_init

Function luaT_init

src/ltm.cpp:38–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36
37
38void luaT_init (lua_State *L) {
39 int i;
40 for (i=0; i<TM_N; i++) {
41 G(L)->tmname[i] = luaS_new(L, luaT_eventname[i]);
42 luaC_fix(L, obj2gco(G(L)->tmname[i])); /* never collect these names */
43 }
44}
45
46
47/*

Callers 1

f_luaopenFunction · 0.85

Calls 2

luaS_newFunction · 0.85
luaC_fixFunction · 0.85

Tested by

no test coverage detected