aboutsummaryrefslogtreecommitdiff
path: root/lobject.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-10-30 14:29:59 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-10-30 14:29:59 -0200
commit37e9c2e74486ed443151430a9b73a3844d3554ef (patch)
tree2d225332e7bf2e9a83c233416b8aa9043dbe9e8b /lobject.h
parente42a219eebd2e4c6f11f8b175d3d0e0f6678b48c (diff)
downloadlua-37e9c2e74486ed443151430a9b73a3844d3554ef.tar.gz
lua-37e9c2e74486ed443151430a9b73a3844d3554ef.tar.bz2
lua-37e9c2e74486ed443151430a9b73a3844d3554ef.zip
macro DEBUG renamed to LUA_DEBUG
Diffstat (limited to 'lobject.h')
-rw-r--r--lobject.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lobject.h b/lobject.h
index a3638622..402eec40 100644
--- a/lobject.h
+++ b/lobject.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lobject.h,v 1.79 2000/10/05 12:14:08 roberto Exp roberto $ 2** $Id: lobject.h,v 1.80 2000/10/26 12:47:05 roberto Exp roberto $
3** Type definitions for Lua objects 3** Type definitions for Lua objects
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -12,7 +12,7 @@
12#include "lua.h" 12#include "lua.h"
13 13
14 14
15#ifdef DEBUG 15#ifdef LUA_DEBUG
16#undef NDEBUG 16#undef NDEBUG
17#include <assert.h> 17#include <assert.h>
18#define LUA_INTERNALERROR(s) assert(((void)s,0)) 18#define LUA_INTERNALERROR(s) assert(((void)s,0))
@@ -23,7 +23,7 @@
23#endif 23#endif
24 24
25 25
26#ifdef DEBUG 26#ifdef LUA_DEBUG
27/* to avoid warnings, and make sure value is really unused */ 27/* to avoid warnings, and make sure value is really unused */
28#define UNUSED(x) (x=0, (void)(x)) 28#define UNUSED(x) (x=0, (void)(x))
29#else 29#else