lower-case for macros with arguments

This commit is contained in:
Roberto Ierusalimschy
2001-03-02 14:27:50 -03:00
parent 1e40b4dc61
commit 7b84f9e65c
10 changed files with 156 additions and 156 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: ltests.h,v 1.4 2001/02/06 18:18:58 roberto Exp roberto $
** $Id: ltests.h,v 1.5 2001/02/12 15:42:44 roberto Exp roberto $
** Internal Header for Debugging of the Lua Implementation
** See Copyright Notice in lua.h
*/
@@ -41,8 +41,8 @@ void *debug_realloc (void *block, size_t oldsize, size_t size);
/* test for lock/unlock */
#define LUA_USERSTATE int *lock;
extern int islocked;
#define LUA_LOCK(L) lua_assert((**((int **)L))++ == 0)
#define LUA_UNLOCK(L) lua_assert(--(**((int **)L)) == 0)
#define lua_lock(L) lua_assert((**((int **)L))++ == 0)
#define lua_unlock(L) lua_assert(--(**((int **)L)) == 0)
extern lua_State *lua_state;