MCPcopy Create free account
hub / github.com/bloomberg/comdb2 / dolibrary

Function dolibrary

lua/lua.c:144–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

runargsFunction · 0.85

Calls 3

lua_pushstringFunction · 0.85
reportFunction · 0.85
docallFunction · 0.85

Tested by

no test coverage detected