diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2009-11-19 17:06:52 -0200 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2009-11-19 17:06:52 -0200 |
| commit | 062e809e542ec066986c4e3e054f95e1bfc0cb50 (patch) | |
| tree | 5663d1961cb5253f4261dc3df7d3ac3c9a18f6a1 /ltests.h | |
| parent | b4c18248247d84a3acffc020b09d1637dd2990c6 (diff) | |
| download | lua-062e809e542ec066986c4e3e054f95e1bfc0cb50.tar.gz lua-062e809e542ec066986c4e3e054f95e1bfc0cb50.tar.bz2 lua-062e809e542ec066986c4e3e054f95e1bfc0cb50.zip | |
new macros 'LUAI_DDEC'/'LUAI_DDEF' to better control declarations and
definitions of non-static variables
Diffstat (limited to 'ltests.h')
| -rw-r--r-- | ltests.h | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: ltests.h,v 2.24 2008/08/05 19:24:46 roberto Exp roberto $ | 2 | ** $Id: ltests.h,v 2.25 2009/04/17 22:00:01 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 | */ |
| @@ -32,13 +32,13 @@ typedef struct Memcontrol { | |||
| 32 | unsigned long memlimit; | 32 | unsigned long memlimit; |
| 33 | } Memcontrol; | 33 | } Memcontrol; |
| 34 | 34 | ||
| 35 | LUAI_DATA Memcontrol l_memcontrol; | 35 | Memcontrol l_memcontrol; |
| 36 | 36 | ||
| 37 | 37 | ||
| 38 | /* | 38 | /* |
| 39 | ** generic variable for debug tricks | 39 | ** generic variable for debug tricks |
| 40 | */ | 40 | */ |
| 41 | LUAI_DATA void *l_Trick; | 41 | void *l_Trick; |
| 42 | 42 | ||
| 43 | 43 | ||
| 44 | void *debug_realloc (void *ud, void *block, size_t osize, size_t nsize); | 44 | void *debug_realloc (void *ud, void *block, size_t osize, size_t nsize); |
