diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-05-06 12:51:41 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-05-06 12:51:41 -0300 |
commit | 0dbf0c5953a3d72deebc7e41840a0e73b46de8bc (patch) | |
tree | b4a525660cba017d7985c37393f50d6b8bee9e4b /lobject.h | |
parent | 85dcb411a8454de0bc1c2c60a24af1588e436c23 (diff) | |
download | lua-github-0dbf0c5953a3d72deebc7e41840a0e73b46de8bc.tar.gz |
new format for test intructions (handle NaN correctly)
Diffstat (limited to 'lobject.h')
-rw-r--r-- | lobject.h | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -1,5 +1,5 @@ /* -** $Id: lobject.h,v 1.128 2002/03/25 17:47:14 roberto Exp roberto $ +** $Id: lobject.h,v 1.129 2002/04/05 18:54:31 roberto Exp roberto $ ** Type definitions for Lua objects ** See Copyright Notice in lua.h */ @@ -230,6 +230,15 @@ typedef struct Table { #define sizearray(t) ((t)->sizearray) +/* +** masks for comparison results +*/ +#define CMP_EQ 1 +#define CMP_LT 2 +#define CMP_GT 4 +#define CMP_N 8 /* not comparable values (e.g. NaN) */ + + extern const TObject luaO_nilobject; int luaO_log2 (unsigned int x); |