home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
makedce.zip
/
EXAMPLES.ZIP
/
examples
/
Alias
/
list.h
< prev
next >
Wrap
Text File
|
1994-05-08
|
613b
|
39 lines
/*
** COMPONENT_NAME: MakeDCE/examples/alias/list.h
**
*/
/*
** Basic tests of pointer aliasing.
*/
#define ARRAY_SIZE 2000
#define NUM_NODES 100
#define LIST_SIZE 5
/*
** Define long_t to check generated routines for pointed-to scalar type.
*/
typedef long long_t;
typedef struct node_t
{
long l;
struct node_t *flink;
struct node_t *blink;
} node_t;
typedef struct
{
long l;
} struct_t;
typedef struct_t *struct_p;
typedef struct struct_list_t
{
struct struct_list_t *next;
struct_t *struct_ref;
struct_p struct_ptr;
} struct_list_t;