*** empty log message ***

This commit is contained in:
hyung-hwan 2005-05-04 04:33:42 +00:00
parent 42e19914c5
commit f59dac1b6d

View File

@ -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_ #ifndef _XP_TYPES_H_
@ -13,7 +13,7 @@
#include <xp/config.h> #include <xp/config.h>
#endif #endif
/* boolean types */ /* boolean type */
#ifdef __cplusplus #ifdef __cplusplus
typedef bool xp_bool_t; typedef bool xp_bool_t;
#define xp_true true #define xp_true true
@ -24,6 +24,12 @@
#define xp_false (0 != 0) #define xp_false (0 != 0)
#endif #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 */ /* integer that can hold a pointer */
#if SIZEOF_VOID_P == SIZEOF_LONG_LONG #if SIZEOF_VOID_P == SIZEOF_LONG_LONG
typedef long long xp_int_t; typedef long long xp_int_t;