add missing macro (and revert test mod of .travis.yml)

This commit is contained in:
Brian Gladman 2018-02-28 15:12:24 +00:00
parent 0fcb6412ae
commit c3c33b1560
2 changed files with 16 additions and 2 deletions

View File

@ -592,7 +592,21 @@ __GMP_DECLSPEC void __gmp_tmp_debug_free(const char *, int, int,
(yp) = (xp) + (xsize); \
} \
} while (0)
#define TMP_ALLOC_LIMBS_3(xp,xsize, yp,ysize, zp,zsize) \
do { \
if (WANT_TMP_DEBUG) \
{ \
(xp) = TMP_ALLOC_LIMBS (xsize); \
(yp) = TMP_ALLOC_LIMBS (ysize); \
(zp) = TMP_ALLOC_LIMBS (zsize); \
} \
else \
{ \
(xp) = TMP_ALLOC_LIMBS ((xsize) + (ysize) + (zsize)); \
(yp) = (xp) + (xsize); \
(zp) = (yp) + (ysize); \
} \
} while (0)
/* From mpir.h, nicer names for internal use. */
#define MPN_CMP(result, xp, yp, size) __GMPN_CMP(result, xp, yp, size)