(* "@(#)ctypes.h	5.1	6/10/86" *)
{$e}
{$p+}

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

type

    word         = 16#0ffffffff..16#07fffffff; { pascal really does need a 32 bit unsigned integer }

    Bits1        = 0..16#01;
    Bits2        = 0..16#04;
    Bits4        = 0..16#0f;
    Bits24       = 0..16#0ffffff;

    u_char       = 16#0..16#ff;
    short        = 0..32767;
    u_short      = 0..65535;
    int          = integer;
    u_int        = word;
    long         = integer;
    u_long       = word;

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



