diff options
author | Johannes Schlüter <johannes@php.net> | 2010-03-30 23:03:02 +0000 |
---|---|---|
committer | Johannes Schlüter <johannes@php.net> | 2010-03-30 23:03:02 +0000 |
commit | 26b08f9857e79b3281d580846e8eb9c27b24af32 (patch) | |
tree | 76e047f503871cb304b2d3427caffffb7fc1c7ba /ext/intl | |
parent | d5b2d647c069d9df1eb9ca91813dc7f285bbd015 (diff) | |
download | php-git-26b08f9857e79b3281d580846e8eb9c27b24af32.tar.gz |
Remove main/php3_compat.h, for that a few references to `function_entry` have
to be replaced by `zend_function_entry`.
Diffstat (limited to 'ext/intl')
-rwxr-xr-x | ext/intl/collator/collator_class.c | 2 | ||||
-rwxr-xr-x | ext/intl/dateformat/dateformat_class.c | 2 | ||||
-rwxr-xr-x | ext/intl/formatter/formatter_class.c | 2 | ||||
-rwxr-xr-x | ext/intl/locale/locale_class.c | 2 | ||||
-rwxr-xr-x | ext/intl/msgformat/msgformat_class.c | 2 | ||||
-rwxr-xr-x | ext/intl/normalizer/normalizer_class.c | 2 | ||||
-rw-r--r-- | ext/intl/resourcebundle/resourcebundle_class.c | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/ext/intl/collator/collator_class.c b/ext/intl/collator/collator_class.c index ee16ee03e1..d73126a859 100755 --- a/ext/intl/collator/collator_class.c +++ b/ext/intl/collator/collator_class.c @@ -111,7 +111,7 @@ ZEND_END_ARG_INFO() * Every 'Collator' class method has an entry in this table */ -function_entry Collator_class_functions[] = { +zend_function_entry Collator_class_functions[] = { PHP_ME( Collator, __construct, collator_1_arg, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR ) ZEND_FENTRY( create, ZEND_FN( collator_create ), collator_1_arg, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC ) PHP_NAMED_FE( compare, ZEND_FN( collator_compare ), collator_2_args ) diff --git a/ext/intl/dateformat/dateformat_class.c b/ext/intl/dateformat/dateformat_class.c index 7df95816e2..3976951d0b 100755 --- a/ext/intl/dateformat/dateformat_class.c +++ b/ext/intl/dateformat/dateformat_class.c @@ -126,7 +126,7 @@ ZEND_END_ARG_INFO() /* {{{ IntlDateFormatter_class_functions * Every 'IntlDateFormatter' class method has an entry in this table */ -static function_entry IntlDateFormatter_class_functions[] = { +static zend_function_entry IntlDateFormatter_class_functions[] = { PHP_ME( IntlDateFormatter, __construct, arginfo_intldateformatter___construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR ) ZEND_FENTRY( create, ZEND_FN( datefmt_create ), arginfo_intldateformatter___construct, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC ) PHP_NAMED_FE( getDateType, ZEND_FN( datefmt_get_datetype ), arginfo_intldateformatter_getdatetype ) diff --git a/ext/intl/formatter/formatter_class.c b/ext/intl/formatter/formatter_class.c index a6f45108ea..43d4d741d5 100755 --- a/ext/intl/formatter/formatter_class.c +++ b/ext/intl/formatter/formatter_class.c @@ -137,7 +137,7 @@ ZEND_END_ARG_INFO() /* {{{ NumberFormatter_class_functions * Every 'NumberFormatter' class method has an entry in this table */ -static function_entry NumberFormatter_class_functions[] = { +static zend_function_entry NumberFormatter_class_functions[] = { PHP_ME( NumberFormatter, __construct, arginfo_numberformatter___construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR ) ZEND_FENTRY( create, ZEND_FN( numfmt_create ), arginfo_numberformatter___construct, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC ) PHP_NAMED_FE( format, ZEND_FN( numfmt_format ), arginfo_numberformatter_format ) diff --git a/ext/intl/locale/locale_class.c b/ext/intl/locale/locale_class.c index 8a9efbd832..bba6449ac7 100755 --- a/ext/intl/locale/locale_class.c +++ b/ext/intl/locale/locale_class.c @@ -66,7 +66,7 @@ ZEND_END_ARG_INFO() * Every 'Locale' class method has an entry in this table */ -function_entry Locale_class_functions[] = { +zend_function_entry Locale_class_functions[] = { ZEND_FENTRY( getDefault, zif_locale_get_default , locale_0_args , ZEND_ACC_PUBLIC|ZEND_ACC_STATIC ) ZEND_FENTRY( setDefault, zif_locale_set_default , locale_1_arg , ZEND_ACC_PUBLIC|ZEND_ACC_STATIC ) ZEND_FENTRY( getPrimaryLanguage, ZEND_FN( locale_get_primary_language ), locale_1_arg , ZEND_ACC_PUBLIC|ZEND_ACC_STATIC ) diff --git a/ext/intl/msgformat/msgformat_class.c b/ext/intl/msgformat/msgformat_class.c index b710ee7086..28906d4e4c 100755 --- a/ext/intl/msgformat/msgformat_class.c +++ b/ext/intl/msgformat/msgformat_class.c @@ -107,7 +107,7 @@ ZEND_END_ARG_INFO() /* {{{ MessageFormatter_class_functions * Every 'MessageFormatter' class method has an entry in this table */ -static function_entry MessageFormatter_class_functions[] = { +static zend_function_entry MessageFormatter_class_functions[] = { PHP_ME( MessageFormatter, __construct, arginfo_messageformatter___construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR ) ZEND_FENTRY( create, ZEND_FN( msgfmt_create ), arginfo_messageformatter___construct, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC ) PHP_NAMED_FE( format, ZEND_FN( msgfmt_format ), arginfo_messageformatter_format ) diff --git a/ext/intl/normalizer/normalizer_class.c b/ext/intl/normalizer/normalizer_class.c index 75894fffc3..736f7ecbf4 100755 --- a/ext/intl/normalizer/normalizer_class.c +++ b/ext/intl/normalizer/normalizer_class.c @@ -41,7 +41,7 @@ ZEND_END_ARG_INFO() * Every 'Normalizer' class method has an entry in this table */ -function_entry Normalizer_class_functions[] = { +zend_function_entry Normalizer_class_functions[] = { ZEND_FENTRY( normalize, ZEND_FN( normalizer_normalize ), normalizer_3_args, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC ) ZEND_FENTRY( isNormalized, ZEND_FN( normalizer_is_normalized ), normalizer_3_args, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC ) { NULL, NULL, NULL } diff --git a/ext/intl/resourcebundle/resourcebundle_class.c b/ext/intl/resourcebundle/resourcebundle_class.c index bebd0e8282..85a3f9d700 100644 --- a/ext/intl/resourcebundle/resourcebundle_class.c +++ b/ext/intl/resourcebundle/resourcebundle_class.c @@ -387,7 +387,7 @@ PHP_FUNCTION( resourcebundle_get_error_message ) /* {{{ ResourceBundle_class_functions * Every 'ResourceBundle' class method has an entry in this table */ -static function_entry ResourceBundle_class_functions[] = { +static zend_function_entry ResourceBundle_class_functions[] = { PHP_ME( ResourceBundle, __construct, arginfo_resourcebundle___construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR ) ZEND_NAMED_ME( create, ZEND_FN( resourcebundle_create ), arginfo_resourcebundle___construct, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC ) ZEND_NAMED_ME( get, ZEND_FN(resourcebundle_get), arginfo_resourcebundle_get, ZEND_ACC_PUBLIC ) |