From 538d58dd5f13a3ffda958ec002733dcbbc965352 Mon Sep 17 00:00:00 2001 From: Zeev Suraski Date: Sun, 3 Aug 2003 17:44:39 +0000 Subject: Use new infrastructure. There are bound to be some messups, please report build/runtime bugs! --- ext/gmp/gmp.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'ext/gmp') 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) -- cgit v1.2.1