aboutsummaryrefslogtreecommitdiff
path: root/lobject.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-05-07 14:36:56 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-05-07 14:36:56 -0300
commitdea6b6da9422f34ad91c8f6ad9ad3ed650e95713 (patch)
tree3016b2fbcd67d75c71ee1b190aff2c24ada9b168 /lobject.h
parent71144e3ff0cb81bd9b8bb56d94dc76074c638c64 (diff)
downloadlua-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.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lobject.h b/lobject.h
index 6637631a..ad3233f6 100644
--- a/lobject.h
+++ b/lobject.h
@@ -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);
250int luaO_equalObj (const TObject *t1, const TObject *t2); 250int luaO_equalObj (const TObject *t1, const TObject *t2);
251int luaO_str2d (const char *s, lua_Number *result); 251int luaO_str2d (const char *s, lua_Number *result);
252 252
253const char *luaO_vpushstr (lua_State *L, const char *fmt, va_list argp);
254const char *luaO_pushstr (lua_State *L, const char *fmt, ...);
253void luaO_verror (lua_State *L, const char *fmt, ...); 255void luaO_verror (lua_State *L, const char *fmt, ...);
254void luaO_chunkid (char *out, const char *source, int len); 256void luaO_chunkid (char *out, const char *source, int len);
255 257