From 316022cde4210ee86857eada766202952abdbd4c Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Tue, 3 Apr 2018 18:28:51 +0200 Subject: [PATCH] Add oplist with CMP operator --- tests/mympz.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/mympz.h b/tests/mympz.h index e9bfa4a9..e449eb1f 100644 --- a/tests/mympz.h +++ b/tests/mympz.h @@ -102,4 +102,9 @@ static void my_mpz_str(string_t str, const my_mpz_t z, bool append) OUT_STR(my_mpz_out_str), IN_STR(my_mpz_in_str), EQUAL(my_mpz_equal_p), \ GET_STR(my_mpz_str) ) +#define MYMPZ2_OPLIST \ + (INIT(my_mpz_init), INIT_SET(my_mpz_init_set), SET(my_mpz_set), CLEAR(my_mpz_clear), \ + OUT_STR(my_mpz_out_str), IN_STR(my_mpz_in_str), EQUAL(my_mpz_equal_p), \ + GET_STR(my_mpz_str), CMP(my_mpz_cmp) ) + #endif