From dea6b6da9422f34ad91c8f6ad9ad3ed650e95713 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 7 May 2002 14:36:56 -0300 Subject: new function `lua_vpushstr' to replace uses of `sprintf' --- lobject.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lobject.h') diff --git a/lobject.h b/lobject.h index 6637631a..ad3233f6 100644 --- a/lobject.h +++ b/lobject.h @@ -1,5 +1,5 @@ /* -** $Id: lobject.h,v 1.129 2002/04/05 18:54:31 roberto Exp roberto $ +** $Id: lobject.h,v 1.130 2002/05/06 15:51:41 roberto Exp roberto $ ** Type definitions for Lua objects ** See Copyright Notice in lua.h */ @@ -250,6 +250,8 @@ void *luaO_openspaceaux (lua_State *L, size_t n); int luaO_equalObj (const TObject *t1, const TObject *t2); int luaO_str2d (const char *s, lua_Number *result); +const char *luaO_vpushstr (lua_State *L, const char *fmt, va_list argp); +const char *luaO_pushstr (lua_State *L, const char *fmt, ...); void luaO_verror (lua_State *L, const char *fmt, ...); void luaO_chunkid (char *out, const char *source, int len); -- cgit v1.2.3-55-g6feb