X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=lib%2Fsilcutil%2Fsilctypes.h;fp=lib%2Fsilcutil%2Fsilctypes.h;h=fbbc6d1dba22e736b61d3fea5863231f19ccada3;hb=ee7652060361bbd40542e133158bf5c2d05e41be;hp=e98bc8c82bdf47f18a85b4f0a4f7a1d0a9df2897;hpb=8482b6de758261ce9b387bda50234261141856e4;p=silc.git diff --git a/lib/silcutil/silctypes.h b/lib/silcutil/silctypes.h index e98bc8c8..fbbc6d1d 100644 --- a/lib/silcutil/silctypes.h +++ b/lib/silcutil/silctypes.h @@ -77,6 +77,10 @@ * C++ code this type is defined by the C++, and this definition is * not used. * + * NOTES + * + * This macro is deprecated. Use SilcBool instead. + * * SOURCE */ #ifdef SILC_MACOSX @@ -90,6 +94,19 @@ #endif /***/ +/****d* silcutil/SILCTypes/SilcBool + * + * NAME + * + * typedef unigned char SilcBool; + * + * DESCRIPTION + * + * Boolean value, and is always 8-bits. Represents value 0 or 1. + * + ***/ +typedef unigned char SilcBool; + #define silc_offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) #if SILC_SIZEOF_SHORT > 2