version 1.1.1.1, 2012/02/21 23:47:56
|
version 1.1.1.2, 2012/05/29 12:34:39
|
Line 667 static inline void gmp_zval_unary_op(zval *return_valu
|
Line 667 static inline void gmp_zval_unary_op(zval *return_valu
|
|
|
/* {{{ gmp_zval_unary_ui_op |
/* {{{ gmp_zval_unary_ui_op |
*/ |
*/ |
static inline void gmp_zval_unary_ui_op(zval *return_value, zval **a_arg, gmp_unary_ui_op_t gmp_op) | static inline void gmp_zval_unary_ui_op(zval *return_value, zval **a_arg, gmp_unary_ui_op_t gmp_op TSRMLS_DC) |
{ |
{ |
mpz_t *gmpnum_result; |
mpz_t *gmpnum_result; |
|
|
Line 691 static inline void _gmp_unary_ui_op(INTERNAL_FUNCTION_
|
Line 691 static inline void _gmp_unary_ui_op(INTERNAL_FUNCTION_
|
return; |
return; |
} |
} |
|
|
gmp_zval_unary_ui_op(return_value, a_arg, gmp_op); | gmp_zval_unary_ui_op(return_value, a_arg, gmp_op TSRMLS_CC); |
} |
} |
/* }}} */ |
/* }}} */ |
|
|
Line 960 ZEND_FUNCTION(gmp_mod)
|
Line 960 ZEND_FUNCTION(gmp_mod)
|
|
|
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ZZ", &a_arg, &b_arg) == FAILURE){ |
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ZZ", &a_arg, &b_arg) == FAILURE){ |
return; |
return; |
} | } |
|
|
gmp_zval_binary_ui_op_ex(return_value, a_arg, b_arg, mpz_mod, (gmp_binary_ui_op_t)mpz_mod_ui, 1, 1, 0 TSRMLS_CC); |
gmp_zval_binary_ui_op_ex(return_value, a_arg, b_arg, mpz_mod, (gmp_binary_ui_op_t)mpz_mod_ui, 1, 1, 0 TSRMLS_CC); |
} |
} |
Line 1022 ZEND_FUNCTION(gmp_fact)
|
Line 1022 ZEND_FUNCTION(gmp_fact)
|
} |
} |
} |
} |
|
|
gmp_zval_unary_ui_op(return_value, a_arg, mpz_fac_ui); | gmp_zval_unary_ui_op(return_value, a_arg, mpz_fac_ui TSRMLS_CC); |
} |
} |
/* }}} */ |
/* }}} */ |
|
|