MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / addintlen

Function addintlen

Source/Misc/lua/src/lua.c:14424–14430  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14422
14423
14424static void addintlen (char *form) {
14425size_t l = strlen(form);
14426char spec = form[l - 1];
14427strcpy(form + l - 1, LUA_INTFRMLEN);
14428form[l + sizeof(LUA_INTFRMLEN) - 2] = spec;
14429form[l + sizeof(LUA_INTFRMLEN) - 1] = '\0';
14430}
14431
14432
14433static int str_format (lua_State *L) {

Callers 1

str_formatFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected