MCPcopy Create free account
hub / github.com/defold/defold / dostring

Function dostring

engine/lua/src/lua/lua.c:140–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138
139
140static int dostring (lua_State *L, const char *s, const char *name) {
141 int status = luaL_loadbuffer(L, s, strlen(s), name) || docall(L, 0, 1);
142 return report(L, status);
143}
144
145
146static int dolibrary (lua_State *L, const char *name) {

Callers 2

runargsFunction · 0.85
handle_luainitFunction · 0.85

Calls 3

luaL_loadbufferFunction · 0.85
docallFunction · 0.85
reportFunction · 0.85

Tested by

no test coverage detected