home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS - Coast to Coast / simteldosarchivecoasttocoast2.iso / pgmutil / val_link.zip / DEFINES.H < prev    next >
Text File  |  1989-02-18  |  941b  |  20 lines

  1. /*                                 DEFINES.H                               */
  2.  
  3. #define Now                            get_time()
  4.  
  5. #define MAX_ELEMENT_SIZE               2052
  6. #define MAX_OBJECT_FILE_READ_SIZE      2048
  7. #define MAX_PUBLICS_IN_LIBRARY         8192
  8. #define TEMP_STRING_LENGTH             256
  9. /* The following string must be one more than TEMP_STRING_LENGTH */
  10. #define TEMP_STRING_SIZE               257
  11.  
  12. #define AlignmentGap(exp, bound)       (-(exp And bound) And bound)
  13. #define CanonicFrame(exp)              ((bit_16) (exp >> 4L))
  14. #define Frame(exp)                     ((bit_32) ((*(*exp).segment).address & \
  15.                                                   0xFFFFFFF0L))
  16. #define Target(exp)                    ((bit_32) ((*exp).address-Frame(exp)))
  17. #define TokenIs(exp)                   (compare_string(token,exp) == 0)
  18. #define TokenStartsWith(exp)           (compare_short_string(token,exp) == 0)
  19.  
  20.