MCPcopy Create free account
hub / github.com/PolygonTek/BlueshiftEngine / luaL_loadbuffer

Function luaL_loadbuffer

Source/ThirdParty/lua/lauxlib.c:609–615  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

607
608
609LUALIB_API int luaL_loadbuffer (lua_State *L, const char *buff, size_t size,
610 const char *name) {
611 LoadS ls;
612 ls.s = buff;
613 ls.size = size;
614 return lua_load(L, getS, &ls, name);
615}
616
617
618LUALIB_API int (luaL_loadstring) (lua_State *L, const char *s) {

Callers 6

dostringFunction · 0.70
loadlineFunction · 0.70
luaB_loadstringFunction · 0.70
int (luaL_loadstring)Function · 0.70
db_debugFunction · 0.70
LoadBufferMethod · 0.50

Calls 1

lua_loadFunction · 0.70

Tested by

no test coverage detected