diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-05-07 14:36:56 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-05-07 14:36:56 -0300 |
commit | dea6b6da9422f34ad91c8f6ad9ad3ed650e95713 (patch) | |
tree | 3016b2fbcd67d75c71ee1b190aff2c24ada9b168 /lobject.h | |
parent | 71144e3ff0cb81bd9b8bb56d94dc76074c638c64 (diff) | |
download | lua-dea6b6da9422f34ad91c8f6ad9ad3ed650e95713.tar.gz lua-dea6b6da9422f34ad91c8f6ad9ad3ed650e95713.tar.bz2 lua-dea6b6da9422f34ad91c8f6ad9ad3ed650e95713.zip |
new function `lua_vpushstr' to replace uses of `sprintf'
Diffstat (limited to 'lobject.h')
-rw-r--r-- | lobject.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lobject.h,v 1.129 2002/04/05 18:54:31 roberto Exp roberto $ | 2 | ** $Id: lobject.h,v 1.130 2002/05/06 15:51:41 roberto Exp roberto $ |
3 | ** Type definitions for Lua objects | 3 | ** Type definitions for Lua objects |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -250,6 +250,8 @@ void *luaO_openspaceaux (lua_State *L, size_t n); | |||
250 | int luaO_equalObj (const TObject *t1, const TObject *t2); | 250 | int luaO_equalObj (const TObject *t1, const TObject *t2); |
251 | int luaO_str2d (const char *s, lua_Number *result); | 251 | int luaO_str2d (const char *s, lua_Number *result); |
252 | 252 | ||
253 | const char *luaO_vpushstr (lua_State *L, const char *fmt, va_list argp); | ||
254 | const char *luaO_pushstr (lua_State *L, const char *fmt, ...); | ||
253 | void luaO_verror (lua_State *L, const char *fmt, ...); | 255 | void luaO_verror (lua_State *L, const char *fmt, ...); |
254 | void luaO_chunkid (char *out, const char *source, int len); | 256 | void luaO_chunkid (char *out, const char *source, int len); |
255 | 257 | ||