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

Function luaL_addlstring

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

Source from the content-addressed store, hash-verified

417
418
419LUALIB_API void luaL_addlstring (luaL_Buffer *B, const char *s, size_t l) {
420 char *b = luaL_prepbuffsize(B, l);
421 memcpy(b, s, l * sizeof(char));
422 luaL_addsize(B, l);
423}
424
425
426LUALIB_API void luaL_addstring (luaL_Buffer *B, const char *s) {

Callers 7

writerFunction · 0.70
add_sFunction · 0.70
str_gsubFunction · 0.70
luaL_addstringFunction · 0.70
luaL_addvalueFunction · 0.70
luaL_gsubFunction · 0.70
tconcatFunction · 0.70

Calls 2

luaL_prepbuffsizeFunction · 0.85
memcpyFunction · 0.50

Tested by

no test coverage detected