diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2009-11-19 17:06:52 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2009-11-19 17:06:52 -0200 |
commit | 062e809e542ec066986c4e3e054f95e1bfc0cb50 (patch) | |
tree | 5663d1961cb5253f4261dc3df7d3ac3c9a18f6a1 /lctype.c | |
parent | b4c18248247d84a3acffc020b09d1637dd2990c6 (diff) | |
download | lua-062e809e542ec066986c4e3e054f95e1bfc0cb50.tar.gz lua-062e809e542ec066986c4e3e054f95e1bfc0cb50.tar.bz2 lua-062e809e542ec066986c4e3e054f95e1bfc0cb50.zip |
new macros 'LUAI_DDEC'/'LUAI_DDEF' to better control declarations and
definitions of non-static variables
Diffstat (limited to 'lctype.c')
-rw-r--r-- | lctype.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lctype.c,v 1.6 2009/05/18 17:15:14 roberto Exp roberto $ | 2 | ** $Id: lctype.c,v 1.7 2009/05/27 16:51:15 roberto Exp roberto $ |
3 | ** 'ctype' functions for Lua | 3 | ** 'ctype' functions for Lua |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -8,7 +8,7 @@ | |||
8 | 8 | ||
9 | #include "lctype.h" | 9 | #include "lctype.h" |
10 | 10 | ||
11 | const lu_byte luai_ctype_[UCHAR_MAX + 2] = { | 11 | LUAI_DDEF const lu_byte luai_ctype_[UCHAR_MAX + 2] = { |
12 | 0x00, /* EOZ */ | 12 | 0x00, /* EOZ */ |
13 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | 13 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
14 | 0x00, 0x08, 0x08, 0x08, 0x08, 0x08, 0x00, 0x00, | 14 | 0x00, 0x08, 0x08, 0x08, 0x08, 0x08, 0x00, 0x00, |