diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-06-12 11:56:22 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-06-12 11:56:22 -0300 |
commit | eeab473fc8fdce39c3a0a495a6a790d7906c7bdc (patch) | |
tree | f260370b15d8a196f4168d3e64dafb35c8083282 /lobject.h | |
parent | 6b8cdc9cdd545508af85d1de2013ea0fc64792b0 (diff) | |
download | lua-eeab473fc8fdce39c3a0a495a6a790d7906c7bdc.tar.gz lua-eeab473fc8fdce39c3a0a495a6a790d7906c7bdc.tar.bz2 lua-eeab473fc8fdce39c3a0a495a6a790d7906c7bdc.zip |
new fallback __le (less equal), for partial order
Diffstat (limited to 'lobject.h')
-rw-r--r-- | lobject.h | 10 |
1 files changed, 1 insertions, 9 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lobject.h,v 1.132 2002/05/15 18:57:44 roberto Exp roberto $ | 2 | ** $Id: lobject.h,v 1.133 2002/05/16 18:39:46 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 | */ |
@@ -230,14 +230,6 @@ typedef struct Table { | |||
230 | #define sizearray(t) ((t)->sizearray) | 230 | #define sizearray(t) ((t)->sizearray) |
231 | 231 | ||
232 | 232 | ||
233 | /* | ||
234 | ** masks for comparison results | ||
235 | */ | ||
236 | #define CMP_EQ 1 | ||
237 | #define CMP_LT 2 | ||
238 | #define CMP_GT 4 | ||
239 | #define CMP_N 8 /* not comparable values (e.g. NaN) */ | ||
240 | |||
241 | 233 | ||
242 | extern const TObject luaO_nilobject; | 234 | extern const TObject luaO_nilobject; |
243 | 235 | ||