Added SilcBool.
authorPekka Riikonen <priikone@silcnet.org>
Sat, 26 Nov 2005 15:22:40 +0000 (15:22 +0000)
committerPekka Riikonen <priikone@silcnet.org>
Sat, 26 Nov 2005 15:22:40 +0000 (15:22 +0000)
lib/silcutil/silctypes.h

index e98bc8c82bdf47f18a85b4f0a4f7a1d0a9df2897..fbbc6d1dba22e736b61d3fea5863231f19ccada3 100644 (file)
  *    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
 #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