diff --git a/tests/mympz.h b/tests/mympz.h index 13ca0d64..fdd34fd9 100644 --- a/tests/mympz.h +++ b/tests/mympz.h @@ -108,6 +108,7 @@ static void my_mpz_str(string_t str, const my_mpz_t z, bool append) #define MY_MPZ_OPLIST \ (INIT(my_mpz_init), INIT_SET(my_mpz_init_set), SET(my_mpz_set), CLEAR(my_mpz_clear), \ + TYPE(my_mpz_t), \ OUT_STR(my_mpz_out_str), IN_STR(my_mpz_in_str), \ PARSE_STR(my_mpz_parse_str), GET_STR(my_mpz_str), \ EQUAL(my_mpz_equal_p), \ @@ -115,7 +116,9 @@ static void my_mpz_str(string_t str, const my_mpz_t z, bool append) #define MY_MPZ_CMP_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) ) + TYPE(my_mpz_t), \ + OUT_STR(my_mpz_out_str), IN_STR(my_mpz_in_str), \ + PARSE_STR(my_mpz_parse_str), GET_STR(my_mpz_str), \ + EQUAL(my_mpz_equal_p), CMP(my_mpz_cmp) ) #endif