mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
ext/gmp: Remove now unused FETCH_GMP_ZVAL_DEP_DEP macro
This commit is contained in:
parent
fabfb6fe00
commit
5199904c57
1 changed files with 0 additions and 16 deletions
|
@ -135,22 +135,6 @@ typedef struct _gmp_temp {
|
|||
mpz_clear(temp.num); \
|
||||
}
|
||||
|
||||
#define FETCH_GMP_ZVAL_DEP_DEP(gmpnumber, zval, temp, dep1, dep2, arg_pos) \
|
||||
if (IS_GMP(zval)) { \
|
||||
gmpnumber = GET_GMP_FROM_ZVAL(zval); \
|
||||
temp.is_used = 0; \
|
||||
} else { \
|
||||
mpz_init(temp.num); \
|
||||
if (convert_to_gmp(temp.num, zval, 0, arg_pos) == FAILURE) { \
|
||||
mpz_clear(temp.num); \
|
||||
FREE_GMP_TEMP(dep1); \
|
||||
FREE_GMP_TEMP(dep2); \
|
||||
RETURN_THROWS(); \
|
||||
} \
|
||||
temp.is_used = 1; \
|
||||
gmpnumber = temp.num; \
|
||||
}
|
||||
|
||||
#define FETCH_GMP_ZVAL_DEP(gmpnumber, zval, temp, dep, arg_pos) \
|
||||
if (IS_GMP(zval)) { \
|
||||
gmpnumber = GET_GMP_FROM_ZVAL(zval); \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue