Add oplist with CMP operator
This commit is contained in:
1 parent
8d1abca8de
commit
316022cde4
1 file changed
+5
@@ -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), \
|
OUT_STR(my_mpz_out_str), IN_STR(my_mpz_in_str), EQUAL(my_mpz_equal_p), \
|
||||||
GET_STR(my_mpz_str) )
|
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
|
#endif
|
||||||
Reference in new issue
Block a user