summaryrefslogtreecommitdiff
path: root/ltests.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2009-11-19 17:06:52 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2009-11-19 17:06:52 -0200
commit062e809e542ec066986c4e3e054f95e1bfc0cb50 (patch)
tree5663d1961cb5253f4261dc3df7d3ac3c9a18f6a1 /ltests.h
parentb4c18248247d84a3acffc020b09d1637dd2990c6 (diff)
downloadlua-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.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/ltests.h b/ltests.h
index 4a27d099..f2abb234 100644
--- a/ltests.h
+++ b/ltests.h
@@ -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
35LUAI_DATA Memcontrol l_memcontrol; 35Memcontrol l_memcontrol;
36 36
37 37
38/* 38/*
39** generic variable for debug tricks 39** generic variable for debug tricks
40*/ 40*/
41LUAI_DATA void *l_Trick; 41void *l_Trick;
42 42
43 43
44void *debug_realloc (void *ud, void *block, size_t osize, size_t nsize); 44void *debug_realloc (void *ud, void *block, size_t osize, size_t nsize);