MCPcopy Create free account
hub / github.com/F-Stack/f-stack / luaL_loadbufferx

Function luaL_loadbufferx

freebsd/contrib/openzfs/module/lua/lauxlib.c:538–544  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

536
537
538LUALIB_API int luaL_loadbufferx (lua_State *L, const char *buff, size_t size,
539 const char *name, const char *mode) {
540 LoadS ls;
541 ls.s = buff;
542 ls.size = size;
543 return lua_load(L, getS, &ls, name, mode);
544}
545
546
547LUALIB_API int luaL_loadstring (lua_State *L, const char *s) {

Callers 1

zcp_evalFunction · 0.85

Calls 1

lua_loadFunction · 0.70

Tested by

no test coverage detected