MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / createlibstr

Function createlibstr

third-party/lua-5.5.0/src/loadlib.c:347–351  ·  view source on GitHub ↗

** Create a library string that, when deallocated, will unload 'plib' */

Source from the content-addressed store, hash-verified

345** Create a library string that, when deallocated, will unload 'plib'
346*/
347static void createlibstr (lua_State *L, void *plib) {
348 /* common content for all library strings */
349 static const char dummy[] = "01234567890";
350 lua_pushexternalstring(L, dummy, sizeof(dummy) - 1, freelib, plib);
351}
352
353
354/*

Callers 1

addtoclibFunction · 0.85

Calls 1

lua_pushexternalstringFunction · 0.85

Tested by

no test coverage detected