util: bundle string.format replacement
Needed for functions like cl.mesg which need to print a formatted message. Previously these functions had to call string.format, and would have to throw an error if it was not available.
This commit is contained in:
parent
a87c36d61e
commit
89e584c5f5
2 changed files with 294 additions and 0 deletions
1
util.h
1
util.h
|
@ -12,6 +12,7 @@
|
|||
|
||||
int lfail(lua_State *);
|
||||
int lfailm(lua_State *, const char *);
|
||||
int lstrfmt(lua_State *);
|
||||
|
||||
size_t strbcat(char *, const char *, size_t);
|
||||
size_t strbcpy(char *, const char *, size_t);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue