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 --- ltests.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ltests.h') diff --git a/ltests.h b/ltests.h index 4a27d099..f2abb234 100644 --- a/ltests.h +++ b/ltests.h @@ -1,5 +1,5 @@ /* -** $Id: ltests.h,v 2.24 2008/08/05 19:24:46 roberto Exp roberto $ +** $Id: ltests.h,v 2.25 2009/04/17 22:00:01 roberto Exp roberto $ ** Internal Header for Debugging of the Lua Implementation ** See Copyright Notice in lua.h */ @@ -32,13 +32,13 @@ typedef struct Memcontrol { unsigned long memlimit; } Memcontrol; -LUAI_DATA Memcontrol l_memcontrol; +Memcontrol l_memcontrol; /* ** generic variable for debug tricks */ -LUAI_DATA void *l_Trick; +void *l_Trick; void *debug_realloc (void *ud, void *block, size_t osize, size_t nsize); -- cgit v1.2.3-55-g6feb