aboutsummaryrefslogtreecommitdiff
path: root/lua.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2007-04-17 10:19:53 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2007-04-17 10:19:53 -0300
commit619be354c8e38b53d36930dc6f7f1242cd2d853f (patch)
treed3d82ba3deecf1ec6d52e384879f1233b445ab09 /lua.h
parent94d40f3980d4f13ed33d1c23fcc8c7aafbd7be59 (diff)
downloadlua-619be354c8e38b53d36930dc6f7f1242cd2d853f.tar.gz
lua-619be354c8e38b53d36930dc6f7f1242cd2d853f.tar.bz2
lua-619be354c8e38b53d36930dc6f7f1242cd2d853f.zip
lua_pushstring/pushlstring return string
Diffstat (limited to 'lua.h')
-rw-r--r--lua.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/lua.h b/lua.h
index 89759d50..1c3341b6 100644
--- a/lua.h
+++ b/lua.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lua.h,v 1.223 2006/11/30 11:25:40 roberto Exp roberto $ 2** $Id: lua.h,v 1.224 2007/02/07 17:54:52 roberto Exp roberto $
3** Lua - An Extensible Extension Language 3** Lua - An Extensible Extension Language
4** Lua.org, PUC-Rio, Brazil (http://www.lua.org) 4** Lua.org, PUC-Rio, Brazil (http://www.lua.org)
5** See Copyright Notice at the end of this file 5** See Copyright Notice at the end of this file
@@ -158,11 +158,11 @@ LUA_API const void *(lua_topointer) (lua_State *L, int idx);
158/* 158/*
159** push functions (C -> stack) 159** push functions (C -> stack)
160*/ 160*/
161LUA_API void (lua_pushnil) (lua_State *L); 161LUA_API void (lua_pushnil) (lua_State *L);
162LUA_API void (lua_pushnumber) (lua_State *L, lua_Number n); 162LUA_API void (lua_pushnumber) (lua_State *L, lua_Number n);
163LUA_API void (lua_pushinteger) (lua_State *L, lua_Integer n); 163LUA_API void (lua_pushinteger) (lua_State *L, lua_Integer n);
164LUA_API void (lua_pushlstring) (lua_State *L, const char *s, size_t l); 164LUA_API const char *(lua_pushlstring) (lua_State *L, const char *s, size_t l);
165LUA_API void (lua_pushstring) (lua_State *L, const char *s); 165LUA_API const char *(lua_pushstring) (lua_State *L, const char *s);
166LUA_API const char *(lua_pushvfstring) (lua_State *L, const char *fmt, 166LUA_API const char *(lua_pushvfstring) (lua_State *L, const char *fmt,
167 va_list argp); 167 va_list argp);
168LUA_API const char *(lua_pushfstring) (lua_State *L, const char *fmt, ...); 168LUA_API const char *(lua_pushfstring) (lua_State *L, const char *fmt, ...);