From 658e7caf92072fbcb1aac8737e05cb1ea4a90806 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 12 Nov 2007 14:28:45 -0200 Subject: use prefix in extern names, even those in test files --- ltests.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ltests.h') diff --git a/ltests.h b/ltests.h index b550fd92..48971eef 100644 --- a/ltests.h +++ b/ltests.h @@ -1,5 +1,5 @@ /* -** $Id: ltests.h,v 2.18 2006/06/05 19:35:57 roberto Exp roberto $ +** $Id: ltests.h,v 2.19 2007/09/30 13:09:43 roberto Exp roberto $ ** Internal Header for Debugging of the Lua Implementation ** See Copyright Notice in lua.h */ @@ -30,19 +30,19 @@ typedef struct Memcontrol { unsigned long memlimit; } Memcontrol; -LUAI_DATA Memcontrol memcontrol; +LUAI_DATA Memcontrol l_memcontrol; /* ** generic variable for debug tricks */ -LUAI_DATA int Trick; +LUAI_DATA int l_Trick; void *debug_realloc (void *ud, void *block, size_t osize, size_t nsize); #ifdef lua_c -#define luaL_newstate() lua_newstate(debug_realloc, &memcontrol) +#define luaL_newstate() lua_newstate(debug_realloc, &l_memcontrol) #endif -- cgit v1.2.3-55-g6feb