From 062e809e542ec066986c4e3e054f95e1bfc0cb50 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 19 Nov 2009 17:06:52 -0200 Subject: new macros 'LUAI_DDEC'/'LUAI_DDEF' to better control declarations and definitions of non-static variables --- lctype.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lctype.c') diff --git a/lctype.c b/lctype.c index ec3dd265..b8570a19 100644 --- a/lctype.c +++ b/lctype.c @@ -1,5 +1,5 @@ /* -** $Id: lctype.c,v 1.6 2009/05/18 17:15:14 roberto Exp roberto $ +** $Id: lctype.c,v 1.7 2009/05/27 16:51:15 roberto Exp roberto $ ** 'ctype' functions for Lua ** See Copyright Notice in lua.h */ @@ -8,7 +8,7 @@ #include "lctype.h" -const lu_byte luai_ctype_[UCHAR_MAX + 2] = { +LUAI_DDEF const lu_byte luai_ctype_[UCHAR_MAX + 2] = { 0x00, /* EOZ */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x08, 0x08, 0x08, 0x08, 0x00, 0x00, -- cgit v1.2.1