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 >
Text File  |  1994-05-08  |  613b  |  39 lines

  1. /*
  2. ** COMPONENT_NAME:  MakeDCE/examples/alias/list.h
  3. **
  4. */
  5.  
  6. /*
  7. ** Basic tests of pointer aliasing.
  8. */
  9. #define ARRAY_SIZE 2000
  10. #define NUM_NODES  100
  11. #define LIST_SIZE  5
  12.  
  13. /*
  14. ** Define long_t to check generated routines for pointed-to scalar type.
  15. */
  16. typedef long long_t;
  17.  
  18. typedef struct node_t
  19. {
  20.     long l;
  21.     struct node_t *flink;
  22.     struct node_t *blink;
  23. } node_t;
  24.  
  25. typedef struct
  26. {
  27.     long l;
  28. } struct_t;
  29.  
  30. typedef struct_t *struct_p;
  31.  
  32. typedef struct struct_list_t
  33. {
  34.     struct struct_list_t *next;
  35.     struct_t *struct_ref;
  36.     struct_p struct_ptr;
  37. } struct_list_t;
  38.  
  39.