MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / lua_getglobal

Function lua_getglobal

lib/lua/src/lapi.c:666–671  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

664
665
666LUA_API int lua_getglobal (lua_State *L, const char *name) {
667 const TValue *G;
668 lua_lock(L);
669 G = getGtable(L);
670 return auxgetstr(L, G, name);
671}
672
673
674LUA_API int lua_gettable (lua_State *L, int idx) {

Callers 15

dolibraryFunction · 0.85
pushargsFunction · 0.85
get_promptFunction · 0.85
l_printFunction · 0.85
openSafeLibsFunction · 0.85
compileMethod · 0.85
runMethod · 0.85
definesMqttFunctionMethod · 0.85
runScriptMethod · 0.85
openSafeLibsForTransformFunction · 0.85
validateTransformMethod · 0.85
testTransformMethod · 0.85

Calls 1

auxgetstrFunction · 0.85

Tested by

no test coverage detected