diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-03-18 15:16:16 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-03-18 15:16:16 -0300 |
| commit | b7ed502deaaab48c8794314e8594b0511dfa34d8 (patch) | |
| tree | 46c27cee965dfe133155f29ec81a784db35a269e /lobject.h | |
| parent | 58badbab9933e0a50d9b9f3fec78ac50d15d5414 (diff) | |
| download | lua-b7ed502deaaab48c8794314e8594b0511dfa34d8.tar.gz lua-b7ed502deaaab48c8794314e8594b0511dfa34d8.tar.bz2 lua-b7ed502deaaab48c8794314e8594b0511dfa34d8.zip | |
configurable macros should live in llimits.h
Diffstat (limited to 'lobject.h')
| -rw-r--r-- | lobject.h | 17 |
1 files changed, 1 insertions, 16 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lobject.h,v 1.125 2002/03/05 12:42:47 roberto Exp roberto $ | 2 | ** $Id: lobject.h,v 1.126 2002/03/11 12:45:00 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,21 +12,6 @@ | |||
| 12 | #include "lua.h" | 12 | #include "lua.h" |
| 13 | 13 | ||
| 14 | 14 | ||
| 15 | #ifndef lua_assert | ||
| 16 | #define lua_assert(c) /* empty */ | ||
| 17 | #endif | ||
| 18 | |||
| 19 | |||
| 20 | #ifndef UNUSED | ||
| 21 | #define UNUSED(x) ((void)(x)) /* to avoid warnings */ | ||
| 22 | #endif | ||
| 23 | |||
| 24 | |||
| 25 | #ifndef cast | ||
| 26 | #define cast(t, exp) ((t)(exp)) | ||
| 27 | #endif | ||
| 28 | |||
| 29 | |||
| 30 | /* tags for values visible from Lua */ | 15 | /* tags for values visible from Lua */ |
| 31 | #define NUM_TAGS 6 | 16 | #define NUM_TAGS 6 |
| 32 | 17 | ||
