hbase

heirloom base
git clone git://git.2f30.org/hbase
Log | Files | Refs | README

utfdef.h (623B)


      1 /*
      2  * compiler directive on Plan 9
      3  */
      4 #ifndef USED
      5 #define USED(x) if(x);else
      6 #endif
      7 
      8 /*
      9  * easiest way to make sure these are defined
     10  */
     11 #define uchar	_fmtuchar
     12 #define ushort	_fmtushort
     13 #define uint	_fmtuint
     14 #define ulong	_fmtulong
     15 #define vlong	_fmtvlong
     16 #define uvlong	_fmtuvlong
     17 typedef unsigned char		uchar;
     18 typedef unsigned short		ushort;
     19 typedef unsigned int		uint;
     20 typedef unsigned long		ulong;
     21 typedef unsigned long long	uvlong;
     22 typedef long long		vlong;
     23 
     24 /*
     25  * nil cannot be ((void*)0) on ANSI C,
     26  * because it is used for function pointers
     27  */
     28 #undef	nil
     29 #define	nil	0
     30 
     31 #undef	nelem
     32 #define	nelem	((void*)0)
     33