From: Antony Dovgal Date: Thu, 22 Sep 2005 16:42:21 +0000 (+0000) Subject: .. and the fix X-Git-Tag: RELEASE_0_9_0~142 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0b57661b2daebba0d22da41f96d1fffbc926b137;p=php .. and the fix --- diff --git a/ext/oci8/oci8.c b/ext/oci8/oci8.c index 6b75df935f..40bed0116d 100644 --- a/ext/oci8/oci8.c +++ b/ext/oci8/oci8.c @@ -99,8 +99,20 @@ ZEND_GET_MODULE(oci8) #endif /* COMPILE_DL */ /* }}} */ +#ifdef ZEND_ENGINE_2 +ZEND_BEGIN_ARG_INFO(oci_second_arg_force_ref, 0) + ZEND_ARG_PASS_INFO(0) + ZEND_ARG_PASS_INFO(0) +ZEND_END_ARG_INFO() +ZEND_BEGIN_ARG_INFO(oci_third_arg_force_ref, 0) + ZEND_ARG_PASS_INFO(0) + ZEND_ARG_PASS_INFO(0) + ZEND_ARG_PASS_INFO(1) +ZEND_END_ARG_INFO() +#else static unsigned char oci_second_arg_force_ref[] = { 2, BYREF_NONE, BYREF_FORCE }; static unsigned char oci_third_arg_force_ref[] = { 3, BYREF_NONE, BYREF_NONE, BYREF_FORCE }; +#endif /* {{{ extension function prototypes */