From: Andi Gutmans Date: Sat, 24 Feb 2001 21:16:58 +0000 (+0000) Subject: - Add exports from Daniel Beulshausen X-Git-Tag: php-4.0.5RC1~171 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0bed99453157067727e374786fecf6be75b4c986;p=php - Add exports from Daniel Beulshausen --- diff --git a/Zend/zend_builtin_functions.c b/Zend/zend_builtin_functions.c index 77c09c37d8..12e894852e 100644 --- a/Zend/zend_builtin_functions.c +++ b/Zend/zend_builtin_functions.c @@ -64,10 +64,10 @@ static ZEND_FUNCTION(get_resource_type); static ZEND_FUNCTION(zend_test_func); #endif -unsigned char first_arg_force_ref[] = { 1, BYREF_FORCE }; -unsigned char first_arg_allow_ref[] = { 1, BYREF_ALLOW }; -unsigned char second_arg_force_ref[] = { 2, BYREF_NONE, BYREF_FORCE }; -unsigned char second_arg_allow_ref[] = { 2, BYREF_NONE, BYREF_ALLOW }; +ZEND_API unsigned char first_arg_force_ref[] = { 1, BYREF_FORCE }; +ZEND_API unsigned char first_arg_allow_ref[] = { 1, BYREF_ALLOW }; +ZEND_API unsigned char second_arg_force_ref[] = { 2, BYREF_NONE, BYREF_FORCE }; +ZEND_API unsigned char second_arg_allow_ref[] = { 2, BYREF_NONE, BYREF_ALLOW }; static zend_function_entry builtin_functions[] = { ZEND_FE(zend_version, NULL) diff --git a/Zend/zend_modules.h b/Zend/zend_modules.h index e03e13dd3d..c8be5949ee 100644 --- a/Zend/zend_modules.h +++ b/Zend/zend_modules.h @@ -30,10 +30,10 @@ #define GINIT_FUNC_ARGS void #define GINIT_FUNC_ARGS_PASSTHRU -extern unsigned char first_arg_force_ref[]; -extern unsigned char first_arg_allow_ref[]; -extern unsigned char second_arg_force_ref[]; -extern unsigned char second_arg_allow_ref[]; +ZEND_API extern unsigned char first_arg_force_ref[]; +ZEND_API extern unsigned char first_arg_allow_ref[]; +ZEND_API extern unsigned char second_arg_force_ref[]; +ZEND_API extern unsigned char second_arg_allow_ref[]; #include "zend.h"