You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
933 B

  1. #ifndef Ctyp_includeD
  2. #define Ctyp_includeD
  3. struct CtyP {
  4. /* if 1 : .name contains comment text, all other elements are invalid */
  5. int is_comment;
  6. int is_pointer; /* number of asterisks */
  7. int is_struct;
  8. int is_unsigned;
  9. int is_volatile;
  10. unsigned long array_size;
  11. int management; /*
  12. -v 0= just a value
  13. -m 1= allocated memory which needs to be freed
  14. -c 2= mutual link with the next element
  15. -c 3= mutual link with the prev element
  16. -l 4= list of -m , chained by -c pair named 'prev','next'
  17. supposed to be followed by a -v of the same type
  18. which will mark the end of the list
  19. */
  20. int with_getter;
  21. int with_setter;
  22. int bossless_list;
  23. int no_initializer;
  24. char *dtype;
  25. char *name;
  26. struct CtyP *prev;
  27. struct CtyP *next;
  28. };
  29. #endif /* Ctyp_includeD */