lua

A copy of the Lua development repository
Log | Files | Refs | README

commit 6df197ec150a33907dec61b5ca506744543aaea3
parent 177807f21e67c7f747923378aa24054384cd2be5
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date:   Sat, 29 Nov 2014 17:45:12 -0200

some functions from test module must be exported

Diffstat:
Mltests.h | 9+++++----
1 file changed, 5 insertions(+), 4 deletions(-)

diff --git 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)