home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 160.lha / StructureBrowser_v1.3 / Sources / header / sb.h next >
Encoding:
C/C++ Source or Header  |  1988-04-27  |  633 b   |  28 lines

  1. #include <intuition/intuitionbase.h>
  2.  
  3. #define SZ(x) sizeof(struct x)
  4. #define DATASIZE (sizeof(structdata) / sizeof(struct StructData))
  5. #define PTRSIZE   (sizeof(APTR))
  6. #define INTSIZE   (sizeof(int))
  7. #define BYTESIZE  (sizeof(char))
  8. #define MAXGADG 16
  9. #define MOREGADG 25  /* ID of "more" gadget */
  10.  
  11. /* defines for print formats */
  12. #define PRNULL      0
  13. #define PRLONG      1
  14. #define PRINT       2
  15. #define PRBYTE      3
  16. #define PRSTRING    4
  17. #define PRPTR       5
  18. #define PRULONG     6
  19. #define PRUINT      7
  20. #define PRUBYTE     8
  21.  
  22. struct StructData {
  23.    char *membername;
  24.    char *membertype;
  25.    int  printtype;
  26.    int  datasize;
  27. };
  28.