URI:
       tutfdef.h - plan9port - [fork] Plan 9 from user space
  HTML git clone git://src.adamsgaard.dk/plan9port
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
       tutfdef.h (622B)
       ---
            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)