(* @(#)ctypes.h	5.2	6/10/86*)

{--------- definitions of c compatable types and other misc. stuff   -------}

type

{   word         = 0x0ffffffff..0x07fffffff; { pascal really does need a 32 bit unsigned integer }

    word	 = integer;

    Bits1        = 0..1;        {0x0..0x1}
    Bits2        = 0..4;        {0x00..0x4}
    Bits4        = 0..15;       {0x00..0xFF}
    Bits24       = 0..16777215; {0x0000000..0xFFFFFF}

    u_char       = 0..255;
    short        = 0..32767;
    u_short      = 0..65535;
    int          = integer;
    u_int        = word;
    long         = integer;
    u_long       = word;

    chararray    = packed array [1..2] of char;
    charptr      = ^chararray;



