mirror of
https://github.com/lua/lua
synced 2025-01-13 12:59:17 +03:00
some functions from test module must be exported
This commit is contained in:
parent
177807f21e
commit
6df197ec15
9
ltests.h
9
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)
|
||||
|
Loading…
Reference in New Issue
Block a user