MCPcopy Create free account
hub / github.com/crownengine/crown / luaL_loadbufferx

Function luaL_loadbufferx

3rdparty/luajit/src/lj_load.c:137–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135}
136
137LUALIB_API int luaL_loadbufferx(lua_State *L, const char *buf, size_t size,
138 const char *name, const char *mode)
139{
140 StringReaderCtx ctx;
141 ctx.str = buf;
142 ctx.size = size;
143 return lua_loadx(L, reader_string, &ctx, name, mode);
144}
145
146LUALIB_API int luaL_loadbuffer(lua_State *L, const char *buf, size_t size,
147 const char *name)

Callers 2

lib_base.cFile · 0.85
luaL_loadbufferFunction · 0.85

Calls 1

lua_loadxFunction · 0.85

Tested by

no test coverage detected