Update oplist to reflect all methods.

This commit is contained in:
Patrick Pelissier committed 2018-05-07 23:08:12 +02:00
1 parent 951a9d7989
commit cf063b75ff
1 file changed
+5 -2
+5 -2
View File
@@ -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