diff options
| author | Zeev Suraski <zeev@php.net> | 2003-08-03 17:44:39 +0000 |
|---|---|---|
| committer | Zeev Suraski <zeev@php.net> | 2003-08-03 17:44:39 +0000 |
| commit | 538d58dd5f13a3ffda958ec002733dcbbc965352 (patch) | |
| tree | 6d82510f96846c52de5ca250ddb337e1a21918c7 /ext/gmp/gmp.c | |
| parent | 4e796a70802e42ed03b12a18375b0f446a251e59 (diff) | |
| download | php-git-538d58dd5f13a3ffda958ec002733dcbbc965352.tar.gz | |
Use new infrastructure.
There are bound to be some messups, please report build/runtime bugs!
Diffstat (limited to 'ext/gmp/gmp.c')
| -rw-r--r-- | ext/gmp/gmp.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/ext/gmp/gmp.c b/ext/gmp/gmp.c index c294116337..1363b6710d 100644 --- a/ext/gmp/gmp.c +++ b/ext/gmp/gmp.c @@ -35,8 +35,6 @@ ZEND_DECLARE_MODULE_GLOBALS(gmp) /* True global resources - no need for thread safety here */ static int le_gmp; -static unsigned char first_of_two_force_ref[] = { 2, BYREF_FORCE, BYREF_NONE }; - /* {{{ gmp_functions[] */ function_entry gmp_functions[] = { @@ -73,8 +71,8 @@ function_entry gmp_functions[] = { ZEND_FE(gmp_or, NULL) ZEND_FE(gmp_com, NULL) ZEND_FE(gmp_xor, NULL) - ZEND_FE(gmp_setbit, first_of_two_force_ref) - ZEND_FE(gmp_clrbit, first_of_two_force_ref) + ZEND_FE(gmp_setbit, first_arg_force_ref) + ZEND_FE(gmp_clrbit, first_arg_force_ref) ZEND_FE(gmp_scan0, NULL) ZEND_FE(gmp_scan1, NULL) ZEND_FE(gmp_popcount, NULL) |
