diff options
| -rw-r--r-- | ltests.h | 12 |
1 files changed, 6 insertions, 6 deletions
| @@ -63,7 +63,7 @@ LUA_API Memcontrol l_memcontrol; | |||
| 63 | 63 | ||
| 64 | 64 | ||
| 65 | #define luai_tracegc(L,f) luai_tracegctest(L, f) | 65 | #define luai_tracegc(L,f) luai_tracegctest(L, f) |
| 66 | LUAI_FUNC void luai_tracegctest (lua_State *L, int first); | 66 | extern void luai_tracegctest (lua_State *L, int first); |
| 67 | 67 | ||
| 68 | 68 | ||
| 69 | /* | 69 | /* |
| @@ -75,26 +75,26 @@ extern void *l_Trick; | |||
| 75 | /* | 75 | /* |
| 76 | ** Function to traverse and check all memory used by Lua | 76 | ** Function to traverse and check all memory used by Lua |
| 77 | */ | 77 | */ |
| 78 | LUAI_FUNC int lua_checkmemory (lua_State *L); | 78 | extern int lua_checkmemory (lua_State *L); |
| 79 | 79 | ||
| 80 | /* | 80 | /* |
| 81 | ** Function to print an object GC-friendly | 81 | ** Function to print an object GC-friendly |
| 82 | */ | 82 | */ |
| 83 | struct GCObject; | 83 | struct GCObject; |
| 84 | LUAI_FUNC void lua_printobj (lua_State *L, struct GCObject *o); | 84 | extern void lua_printobj (lua_State *L, struct GCObject *o); |
| 85 | 85 | ||
| 86 | 86 | ||
| 87 | /* | 87 | /* |
| 88 | ** Function to print a value | 88 | ** Function to print a value |
| 89 | */ | 89 | */ |
| 90 | struct TValue; | 90 | struct TValue; |
| 91 | LUAI_FUNC void lua_printvalue (struct TValue *v); | 91 | extern void lua_printvalue (struct TValue *v); |
| 92 | 92 | ||
| 93 | /* | 93 | /* |
| 94 | ** Function to print the stack | 94 | ** Function to print the stack |
| 95 | */ | 95 | */ |
| 96 | LUAI_FUNC void lua_printstack (lua_State *L); | 96 | extern void lua_printstack (lua_State *L); |
| 97 | LUAI_FUNC int lua_printallstack (lua_State *L); | 97 | extern int lua_printallstack (lua_State *L); |
| 98 | 98 | ||
| 99 | 99 | ||
| 100 | /* test for lock/unlock */ | 100 | /* test for lock/unlock */ |
