diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2007-11-12 14:28:45 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2007-11-12 14:28:45 -0200 |
commit | 658e7caf92072fbcb1aac8737e05cb1ea4a90806 (patch) | |
tree | 6ff8156ebb68d3f70680b872371962bd8de202a3 /ltests.h | |
parent | 788506dd586e7da8f8593245286a4e4562c191f1 (diff) | |
download | lua-658e7caf92072fbcb1aac8737e05cb1ea4a90806.tar.gz lua-658e7caf92072fbcb1aac8737e05cb1ea4a90806.tar.bz2 lua-658e7caf92072fbcb1aac8737e05cb1ea4a90806.zip |
use prefix in extern names, even those in test files
Diffstat (limited to 'ltests.h')
-rw-r--r-- | ltests.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltests.h,v 2.18 2006/06/05 19:35:57 roberto Exp roberto $ | 2 | ** $Id: ltests.h,v 2.19 2007/09/30 13:09:43 roberto Exp roberto $ |
3 | ** Internal Header for Debugging of the Lua Implementation | 3 | ** Internal Header for Debugging of the Lua Implementation |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -30,19 +30,19 @@ typedef struct Memcontrol { | |||
30 | unsigned long memlimit; | 30 | unsigned long memlimit; |
31 | } Memcontrol; | 31 | } Memcontrol; |
32 | 32 | ||
33 | LUAI_DATA Memcontrol memcontrol; | 33 | LUAI_DATA Memcontrol l_memcontrol; |
34 | 34 | ||
35 | 35 | ||
36 | /* | 36 | /* |
37 | ** generic variable for debug tricks | 37 | ** generic variable for debug tricks |
38 | */ | 38 | */ |
39 | LUAI_DATA int Trick; | 39 | LUAI_DATA int l_Trick; |
40 | 40 | ||
41 | 41 | ||
42 | void *debug_realloc (void *ud, void *block, size_t osize, size_t nsize); | 42 | void *debug_realloc (void *ud, void *block, size_t osize, size_t nsize); |
43 | 43 | ||
44 | #ifdef lua_c | 44 | #ifdef lua_c |
45 | #define luaL_newstate() lua_newstate(debug_realloc, &memcontrol) | 45 | #define luaL_newstate() lua_newstate(debug_realloc, &l_memcontrol) |
46 | #endif | 46 | #endif |
47 | 47 | ||
48 | 48 | ||