From f59dac1b6daeb058d273fcd28c933b20901d2b72 Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Wed, 4 May 2005 04:33:42 +0000 Subject: [PATCH] *** empty log message *** --- ase/types.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/ase/types.h b/ase/types.h index c0e4ff82..5f47276b 100644 --- a/ase/types.h +++ b/ase/types.h @@ -1,5 +1,5 @@ /* - * $Id: types.h,v 1.23 2005-04-18 03:43:17 bacon Exp $ + * $Id: types.h,v 1.24 2005-05-04 04:33:42 bacon Exp $ */ #ifndef _XP_TYPES_H_ @@ -13,7 +13,7 @@ #include #endif -/* boolean types */ +/* boolean type */ #ifdef __cplusplus typedef bool xp_bool_t; #define xp_true true @@ -24,6 +24,12 @@ #define xp_false (0 != 0) #endif +/* tri-state type */ +typedef int xp_tri_t; +#define xp_alive 1 +#define xp_zombie 0 +#define xp_dead -1 + /* integer that can hold a pointer */ #if SIZEOF_VOID_P == SIZEOF_LONG_LONG typedef long long xp_int_t;