MCPcopy Create free account
hub / github.com/PlutoLang/Pluto / lua_freeline

Function lua_freeline

src/lua.cpp:498–502  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

496
497
498static void lua_freeline (char *line) {
499 if (l_readline != NULL) /* is there a 'readline'? */
500 free(line); /* free line created by it */
501 /* else 'lua_readline' used an automatic buffer; nothing to free */
502}
503
504
505#if defined(LUA_USE_DLOPEN) && defined(LUA_READLINELIB) /* { */

Callers 1

pushlineFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected