aboutsummaryrefslogtreecommitdiff
path: root/ldebug.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-06-07 10:46:29 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-06-07 10:46:29 -0300
commit65c289b0465f717f907aa31ea7c68cf99e6420bf (patch)
tree28ec4901431b3a5319e9a5f39537694d9a7a671e /ldebug.h
parentd5b83ead90fba27faa344c72406d85987d2460a4 (diff)
downloadlua-65c289b0465f717f907aa31ea7c68cf99e6420bf.tar.gz
lua-65c289b0465f717f907aa31ea7c68cf99e6420bf.tar.bz2
lua-65c289b0465f717f907aa31ea7c68cf99e6420bf.zip
details
Diffstat (limited to 'ldebug.h')
-rw-r--r--ldebug.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ldebug.h b/ldebug.h
index 7dd7ed23..c48681f1 100644
--- a/ldebug.h
+++ b/ldebug.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ldebug.h,v 1.11 2001/02/23 17:17:25 roberto Exp roberto $ 2** $Id: ldebug.h,v 1.12 2001/06/05 18:17:01 roberto Exp roberto $
3** Auxiliary functions from Debug Interface module 3** Auxiliary functions from Debug Interface module
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -26,7 +26,7 @@ enum OpModeMask {
26 OpModeT /* operator is a test */ 26 OpModeT /* operator is a test */
27}; 27};
28 28
29extern const unsigned char luaG_opmodes[]; 29extern const lu_byte luaG_opmodes[];
30 30
31#define getOpMode(m) ((enum OpMode)(luaG_opmodes[m] & 3)) 31#define getOpMode(m) ((enum OpMode)(luaG_opmodes[m] & 3))
32#define testOpMode(m, b) (luaG_opmodes[m] & (1 << (b))) 32#define testOpMode(m, b) (luaG_opmodes[m] & (1 << (b)))