diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-03-02 14:27:50 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-03-02 14:27:50 -0300 |
commit | 7b84f9e65c39542d16dc2b24bdfe5c07496f2042 (patch) | |
tree | a2f17d3ee9d40155bb12dbc096aa16a6414641fd /lgc.c | |
parent | 1e40b4dc615b7838305ea738bdd8e069adc0180f (diff) | |
download | lua-7b84f9e65c39542d16dc2b24bdfe5c07496f2042.tar.gz lua-7b84f9e65c39542d16dc2b24bdfe5c07496f2042.tar.bz2 lua-7b84f9e65c39542d16dc2b24bdfe5c07496f2042.zip |
lower-case for macros with arguments
Diffstat (limited to 'lgc.c')
-rw-r--r-- | lgc.c | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lgc.c,v 1.91 2001/02/22 18:59:59 roberto Exp roberto $ | 2 | ** $Id: lgc.c,v 1.92 2001/02/23 17:17:25 roberto Exp roberto $ |
3 | ** Garbage Collector | 3 | ** Garbage Collector |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -21,12 +21,12 @@ | |||
21 | ** optional lock for GC | 21 | ** optional lock for GC |
22 | ** (when Lua calls GC tag methods it unlocks the regular lock) | 22 | ** (when Lua calls GC tag methods it unlocks the regular lock) |
23 | */ | 23 | */ |
24 | #ifndef LUA_LOCKGC | 24 | #ifndef lua_lockgc |
25 | #define LUA_LOCKGC(L) { | 25 | #define lua_lockgc(L) { |
26 | #endif | 26 | #endif |
27 | 27 | ||
28 | #ifndef LUA_UNLOCKGC | 28 | #ifndef lua_unlockgc |
29 | #define LUA_UNLOCKGC(L) } | 29 | #define lua_unlockgc(L) } |
30 | #endif | 30 | #endif |
31 | 31 | ||
32 | 32 | ||
@@ -369,14 +369,14 @@ static void callgcTMudata (lua_State *L) { | |||
369 | 369 | ||
370 | 370 | ||
371 | void luaC_collect (lua_State *L, int all) { | 371 | void luaC_collect (lua_State *L, int all) { |
372 | LUA_LOCKGC(L); | 372 | lua_lockgc(L); |
373 | collectudata(L, all); | 373 | collectudata(L, all); |
374 | callgcTMudata(L); | 374 | callgcTMudata(L); |
375 | collectstrings(L, all); | 375 | collectstrings(L, all); |
376 | collecttable(L); | 376 | collecttable(L); |
377 | collectproto(L); | 377 | collectproto(L); |
378 | collectclosure(L); | 378 | collectclosure(L); |
379 | LUA_UNLOCKGC(L); | 379 | lua_unlockgc(L); |
380 | } | 380 | } |
381 | 381 | ||
382 | 382 | ||