MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / dolibrary

Function dolibrary

third-party/lua-5.1.5/src/lua.c:146–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144
145
146static int dolibrary (lua_State *L, const char *name) {
147 lua_getglobal(L, "require");
148 lua_pushstring(L, name);
149 return report(L, docall(L, 1, 1));
150}
151
152
153static const char *get_prompt (lua_State *L, int firstline) {

Callers 1

runargsFunction · 0.70

Calls 4

lua_pushstringFunction · 0.70
reportFunction · 0.70
docallFunction · 0.70
lua_getglobalFunction · 0.50

Tested by

no test coverage detected