diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2008-07-11 14:51:01 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2008-07-11 14:51:01 -0300 |
commit | f9dec5fc84199a782c4ad9c1ec8913574cdfdcd1 (patch) | |
tree | 2960bf3965cc4dcba6d1d29f0632e2ed1cac1498 /lbaselib.c | |
parent | 6b8725b0eec4379ec810727cc1dccae6feeff21e (diff) | |
download | lua-f9dec5fc84199a782c4ad9c1ec8913574cdfdcd1.tar.gz lua-f9dec5fc84199a782c4ad9c1ec8913574cdfdcd1.tar.bz2 lua-f9dec5fc84199a782c4ad9c1ec8913574cdfdcd1.zip |
do not use compatibility macros in Lua
Diffstat (limited to 'lbaselib.c')
-rw-r--r-- | lbaselib.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lbaselib.c,v 1.206 2008/02/25 14:33:57 roberto Exp roberto $ | 2 | ** $Id: lbaselib.c,v 1.207 2008/07/03 14:23:35 roberto Exp roberto $ |
3 | ** Basic library | 3 | ** Basic library |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -183,7 +183,7 @@ static int luaB_rawset (lua_State *L) { | |||
183 | 183 | ||
184 | 184 | ||
185 | static int luaB_gcinfo (lua_State *L) { | 185 | static int luaB_gcinfo (lua_State *L) { |
186 | lua_pushinteger(L, lua_getgccount(L)); | 186 | lua_pushinteger(L, lua_gc(L, LUA_GCCOUNT, 0)); |
187 | return 1; | 187 | return 1; |
188 | } | 188 | } |
189 | 189 | ||