Use functions, not macros, for XINT etc.