aboutsummaryrefslogtreecommitdiff
path: root/lstate.h
diff options
context:
space:
mode:
Diffstat (limited to 'lstate.h')
-rw-r--r--lstate.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/lstate.h b/lstate.h
index 464af1c6..8d25ab89 100644
--- a/lstate.h
+++ b/lstate.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstate.h,v 1.46 2001/01/24 15:45:33 roberto Exp roberto $ 2** $Id: lstate.h,v 1.47 2001/01/25 16:45:36 roberto Exp roberto $
3** Global State 3** Global State
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -15,8 +15,8 @@
15 15
16#ifdef LUA_DEBUG 16#ifdef LUA_DEBUG
17extern int islocked; 17extern int islocked;
18#define LUA_ENTRY lua_assert(islocked++ == 0) 18#define LUA_LOCK lua_assert(islocked++ == 0)
19#define LUA_EXIT lua_assert(--islocked == 0) 19#define LUA_UNLOCK lua_assert(--islocked == 0)
20#endif 20#endif
21 21
22 22
@@ -24,12 +24,12 @@ extern int islocked;
24** macros that control all entries and exits from Lua core machine 24** macros that control all entries and exits from Lua core machine
25** (mainly for thread syncronization) 25** (mainly for thread syncronization)
26*/ 26*/
27#ifndef LUA_ENTRY 27#ifndef LUA_LOCK
28#define LUA_ENTRY 28#define LUA_LOCK
29#endif 29#endif
30 30
31#ifndef LUA_EXIT 31#ifndef LUA_UNLOCK
32#define LUA_EXIT 32#define LUA_UNLOCK
33#endif 33#endif
34 34
35 35