From 6df197ec150a33907dec61b5ca506744543aaea3 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Sat, 29 Nov 2014 17:45:37 -0200 Subject: some functions from test module must be exported --- ltests.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'ltests.h') diff --git a/ltests.h b/ltests.h index d5d798d7..6a55e2db 100644 --- a/ltests.h +++ b/ltests.h @@ -1,5 +1,5 @@ /* -** $Id: ltests.h,v 2.40 2014/10/01 11:54:56 roberto Exp roberto $ +** $Id: ltests.h,v 2.41 2014/11/24 14:56:56 roberto Exp roberto $ ** Internal Header for Debugging of the Lua Implementation ** See Copyright Notice in lua.h */ @@ -46,7 +46,7 @@ typedef struct Memcontrol { unsigned long objcount[LUA_NUMTAGS]; } Memcontrol; -extern Memcontrol l_memcontrol; +LUA_API Memcontrol l_memcontrol; /* @@ -81,9 +81,10 @@ struct L_EXTRA { int lock; int *plock; }; -int luaB_opentests (lua_State *L); +LUA_API int luaB_opentests (lua_State *L); -void *debug_realloc (void *ud, void *block, size_t osize, size_t nsize); +LUA_API void *debug_realloc (void *ud, void *block, + size_t osize, size_t nsize); #if defined(lua_c) #define luaL_newstate() lua_newstate(debug_realloc, &l_memcontrol) -- cgit v1.2.3-55-g6feb