diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-05-06 16:05:10 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-05-06 16:05:10 -0300 |
commit | 71144e3ff0cb81bd9b8bb56d94dc76074c638c64 (patch) | |
tree | 8098675276d0640684898d4302ea98ae91e2c430 /lua.h | |
parent | 0dbf0c5953a3d72deebc7e41840a0e73b46de8bc (diff) | |
download | lua-71144e3ff0cb81bd9b8bb56d94dc76074c638c64.tar.gz lua-71144e3ff0cb81bd9b8bb56d94dc76074c638c64.tar.bz2 lua-71144e3ff0cb81bd9b8bb56d94dc76074c638c64.zip |
errors `return' int, to avoid warnings
+ home-made `sprintf' (first version)
Diffstat (limited to 'lua.h')
-rw-r--r-- | lua.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lua.h,v 1.129 2002/05/01 20:40:42 roberto Exp roberto $ | 2 | ** $Id: lua.h,v 1.130 2002/05/01 20:48:12 roberto Exp roberto $ |
3 | ** Lua - An Extensible Extension Language | 3 | ** Lua - An Extensible Extension Language |
4 | ** TeCGraf: Grupo de Tecnologia em Computacao Grafica, PUC-Rio, Brazil | 4 | ** TeCGraf: Grupo de Tecnologia em Computacao Grafica, PUC-Rio, Brazil |
5 | ** e-mail: info@lua.org | 5 | ** e-mail: info@lua.org |
@@ -193,7 +193,7 @@ LUA_API void lua_setgcthreshold (lua_State *L, int newthreshold); | |||
193 | ** miscellaneous functions | 193 | ** miscellaneous functions |
194 | */ | 194 | */ |
195 | 195 | ||
196 | LUA_API void lua_errorobj (lua_State *L); | 196 | LUA_API int lua_errorobj (lua_State *L); |
197 | 197 | ||
198 | LUA_API int lua_next (lua_State *L, int index); | 198 | LUA_API int lua_next (lua_State *L, int index); |
199 | LUA_API int lua_getn (lua_State *L, int index); | 199 | LUA_API int lua_getn (lua_State *L, int index); |