Mon 27 Dec 2004 05:49:16 AM UTC, comment #1:
Test case:
// REQ: Need constant definitions
#define TRUE 1
#define FALSE 0
#define VOID void
// REQ: Define system data sizes.
typedef unsigned char U8,*U8_P;
typedef unsigned short U16,*U16_P;
typedef unsigned int U32,*U32_P;
typedef unsigned long long U64,*U64_P;
typedef VOID *VPTR;
typedef U32 PTR_INT;
#define NULLP (VPTR)0
typedef VPTR TYPE,*TYPE_P;
typedef U32 SIZE,*SIZE_P;
typedef U32 REFCNT,*REFCNT_P;
typedef VPTR TAG,*TAG_P;
typedef U16 FLAG,*FLAG_P;
typedef U16 BIT,*BIT_P;
typedef VPTR ID,*ID_P;
typedef union OBJFLAG_T {
struct {
FLAG Size:1;
FLAG RefCnt:1;
FLAG Tag:1;
} bit;
FLAG all;
} OBJFLAG, *OBJFLAG_P;
typedef union TYPEFLAG_T {
struct {
FLAG Hash:1;
FLAG ID:1;
} bit;
FLAG all;
} TYPEFLAG, *TYPEFLAG_P;
|