MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / luaL_loadbuffer

Function luaL_loadbuffer

other_src/lua/src/lauxlib.cpp:634–640  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

632
633
634LUALIB_API int luaL_loadbuffer (lua_State *L, const char *buff, size_t size,
635 const char *name) {
636 LoadS ls;
637 ls.s = buff;
638 ls.size = size;
639 return lua_load(L, getS, &ls, name);
640}
641
642
643LUALIB_API int (luaL_loadstring) (lua_State *L, const char *s) {

Callers 8

int (luaL_loadstring)Function · 0.70
db_debugFunction · 0.70
luaB_loadstringFunction · 0.70
dostringFunction · 0.70
loadlineFunction · 0.70
createLuaMethod · 0.50
ExecSourceCodeMethod · 0.50
IncludeMethod · 0.50

Calls 1

lua_loadFunction · 0.70

Tested by

no test coverage detected