new macros 'LUAI_DDEC'/'LUAI_DDEF' to better control declarations and

definitions of non-static variables
This commit is contained in:
Roberto Ierusalimschy
2009-11-19 17:06:52 -02:00
parent b4c1824824
commit 062e809e54
10 changed files with 31 additions and 27 deletions

4
ltm.c
View File

@@ -1,5 +1,5 @@
/*
** $Id: ltm.c,v 2.8 2006/01/10 12:50:00 roberto Exp roberto $
** $Id: ltm.c,v 2.9 2007/09/10 17:59:32 roberto Exp roberto $
** Tag methods
** See Copyright Notice in lua.h
*/
@@ -20,7 +20,7 @@
const char *const luaT_typenames[] = {
LUAI_DDEF const char *const luaT_typenames[] = {
"nil", "boolean", "userdata", "number",
"string", "table", "function", "userdata", "thread",
"proto", "upval"