diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-05-20 16:09:05 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-05-20 16:09:05 -0300 |
commit | 38da9d568a4702a6f9405882db56c2a2aa3189c1 (patch) | |
tree | 2be313995c06dd80b8dcf6ccf8434b6ba7df1b30 /lauxlib.h | |
parent | f21e9c172f9f15d8d7501e35635e78dc11f5ff58 (diff) | |
download | lua-38da9d568a4702a6f9405882db56c2a2aa3189c1.tar.gz lua-38da9d568a4702a6f9405882db56c2a2aa3189c1.tar.bz2 lua-38da9d568a4702a6f9405882db56c2a2aa3189c1.zip |
better use defined/undefined as flag values for macros
Diffstat (limited to 'lauxlib.h')
-rw-r--r-- | lauxlib.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lauxlib.h,v 1.74 2005/01/10 17:31:50 roberto Exp roberto $ | 2 | ** $Id: lauxlib.h,v 1.75 2005/03/29 16:20:48 roberto Exp roberto $ |
3 | ** Auxiliary functions for building Lua libraries | 3 | ** Auxiliary functions for building Lua libraries |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -15,7 +15,7 @@ | |||
15 | #include "lua.h" | 15 | #include "lua.h" |
16 | 16 | ||
17 | 17 | ||
18 | #if !LUA_COMPAT_GETN | 18 | #if !defined(LUA_COMPAT_GETN) |
19 | #define luaL_getn(L,i) lua_objsize(L, i) | 19 | #define luaL_getn(L,i) lua_objsize(L, i) |
20 | #define luaL_setn(L,i,j) ((void)0) /* no op! */ | 20 | #define luaL_setn(L,i,j) ((void)0) /* no op! */ |
21 | #endif | 21 | #endif |