diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-03-27 09:49:53 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-03-27 09:49:53 -0300 |
commit | 405e3a4597d6f935a7ac224ce67dce660e69c7be (patch) | |
tree | 8c1914067e66e00a339bd1a25ec785e33186ede3 /lua.h | |
parent | 81215cd59f58923ae9807d34f1dd46a51f400e4b (diff) | |
download | lua-405e3a4597d6f935a7ac224ce67dce660e69c7be.tar.gz lua-405e3a4597d6f935a7ac224ce67dce660e69c7be.tar.bz2 lua-405e3a4597d6f935a7ac224ce67dce660e69c7be.zip |
metatable always return some value
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.122 2002/03/07 18:15:10 roberto Exp roberto $ | 2 | ** $Id: lua.h,v 1.123 2002/03/18 18:18:35 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 |
@@ -152,7 +152,7 @@ LUA_API void lua_gettable (lua_State *L, int index); | |||
152 | LUA_API void lua_rawget (lua_State *L, int index); | 152 | LUA_API void lua_rawget (lua_State *L, int index); |
153 | LUA_API void lua_rawgeti (lua_State *L, int index, int n); | 153 | LUA_API void lua_rawgeti (lua_State *L, int index, int n); |
154 | LUA_API void lua_newtable (lua_State *L); | 154 | LUA_API void lua_newtable (lua_State *L); |
155 | LUA_API void lua_getmetatable (lua_State *L, int objindex); | 155 | LUA_API int lua_getmetatable (lua_State *L, int objindex); |
156 | 156 | ||
157 | 157 | ||
158 | /* | 158 | /* |