mirror of
https://github.com/lua/lua.git
synced 2026-01-26 15:39:12 +00:00
'ltests.h' should not use LUAI_FUNC
LUAI_FUNC is now defined in llimits.h.
This commit is contained in:
parent
9a3940380a
commit
03a3473687
12
ltests.h
12
ltests.h
@ -63,7 +63,7 @@ LUA_API Memcontrol l_memcontrol;
|
||||
|
||||
|
||||
#define luai_tracegc(L,f) luai_tracegctest(L, f)
|
||||
LUAI_FUNC void luai_tracegctest (lua_State *L, int first);
|
||||
extern void luai_tracegctest (lua_State *L, int first);
|
||||
|
||||
|
||||
/*
|
||||
@ -75,26 +75,26 @@ extern void *l_Trick;
|
||||
/*
|
||||
** Function to traverse and check all memory used by Lua
|
||||
*/
|
||||
LUAI_FUNC int lua_checkmemory (lua_State *L);
|
||||
extern int lua_checkmemory (lua_State *L);
|
||||
|
||||
/*
|
||||
** Function to print an object GC-friendly
|
||||
*/
|
||||
struct GCObject;
|
||||
LUAI_FUNC void lua_printobj (lua_State *L, struct GCObject *o);
|
||||
extern void lua_printobj (lua_State *L, struct GCObject *o);
|
||||
|
||||
|
||||
/*
|
||||
** Function to print a value
|
||||
*/
|
||||
struct TValue;
|
||||
LUAI_FUNC void lua_printvalue (struct TValue *v);
|
||||
extern void lua_printvalue (struct TValue *v);
|
||||
|
||||
/*
|
||||
** Function to print the stack
|
||||
*/
|
||||
LUAI_FUNC void lua_printstack (lua_State *L);
|
||||
LUAI_FUNC int lua_printallstack (lua_State *L);
|
||||
extern void lua_printstack (lua_State *L);
|
||||
extern int lua_printallstack (lua_State *L);
|
||||
|
||||
|
||||
/* test for lock/unlock */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user