We could do the same for the integer constants by using the stuff from
stdint.h:
/* Definitions used in the operations of the pdf_i64_t type. */
#define PDF_I32_MAX INT32_MAX
#define PDF_I32_MIN (-PDF_I32_MAX)
#define PDF_I32_DIV (PDF_I32_MAX + 1)
#define PDF_U32_MAX UINT32_MAX
#define PDF_U16_MAX UINT16_MAX
#define PDF_U16_DIV (PDF_U16_MAX + 1)
#define PDF_U8_MAX UINT8_MAX
#define PDF_U8_DIV (UINT8_MAX + 1)
I just applied a patch that does just that.
--
Jose E. Marchesi [email protected]
GNU Project http://www.gnu.org