@@ -950,7 +950,7 @@ PHP_METHOD(Uri_WhatWg_Url, __debugInfo)
950
950
RETURN_ARR (uri_get_debug_properties (object ));
951
951
}
952
952
953
- static uri_object_t * uri_create_object_handler (zend_class_entry * class_type , const uri_parser_t * parser )
953
+ PHPAPI uri_object_t * php_uri_object_create (zend_class_entry * class_type , const uri_parser_t * parser )
954
954
{
955
955
uri_object_t * uri_object = zend_object_alloc (sizeof (* uri_object ), class_type );
956
956
@@ -965,17 +965,17 @@ static uri_object_t *uri_create_object_handler(zend_class_entry *class_type, con
965
965
return uri_object ;
966
966
}
967
967
968
- static zend_object * uri_create_object_handler_rfc3986 (zend_class_entry * ce )
968
+ static zend_object * php_uri_object_create_rfc3986 (zend_class_entry * ce )
969
969
{
970
- return & uri_create_object_handler (ce , & php_uri_parser_rfc3986 )-> std ;
970
+ return & php_uri_object_create (ce , & php_uri_parser_rfc3986 )-> std ;
971
971
}
972
972
973
- static zend_object * uri_create_object_handler_whatwg (zend_class_entry * ce )
973
+ static zend_object * php_uri_object_create_whatwg (zend_class_entry * ce )
974
974
{
975
- return & uri_create_object_handler (ce , & php_uri_parser_whatwg )-> std ;
975
+ return & php_uri_object_create (ce , & php_uri_parser_whatwg )-> std ;
976
976
}
977
977
978
- static void uri_free_obj_handler (zend_object * object )
978
+ PHPAPI void php_uri_object_handler_free (zend_object * object )
979
979
{
980
980
uri_object_t * uri_object = uri_object_from_obj (object );
981
981
@@ -988,7 +988,7 @@ static void uri_free_obj_handler(zend_object *object)
988
988
zend_object_std_dtor (& uri_object -> std );
989
989
}
990
990
991
- static zend_object * uri_clone_obj_handler (zend_object * object )
991
+ PHPAPI zend_object * php_uri_object_handler_clone (zend_object * object )
992
992
{
993
993
uri_object_t * uri_object = uri_object_from_obj (object );
994
994
uri_internal_t * internal_uri = uri_internal_from_obj (object );
@@ -1028,20 +1028,20 @@ PHPAPI zend_result php_uri_parser_register(const uri_parser_t *uri_parser)
1028
1028
static PHP_MINIT_FUNCTION (uri )
1029
1029
{
1030
1030
uri_rfc3986_uri_ce = register_class_Uri_Rfc3986_Uri ();
1031
- uri_rfc3986_uri_ce -> create_object = uri_create_object_handler_rfc3986 ;
1031
+ uri_rfc3986_uri_ce -> create_object = php_uri_object_create_rfc3986 ;
1032
1032
uri_rfc3986_uri_ce -> default_object_handlers = & uri_rfc3986_uri_object_handlers ;
1033
1033
memcpy (& uri_rfc3986_uri_object_handlers , zend_get_std_object_handlers (), sizeof (zend_object_handlers ));
1034
1034
uri_rfc3986_uri_object_handlers .offset = XtOffsetOf (uri_object_t , std );
1035
- uri_rfc3986_uri_object_handlers .free_obj = uri_free_obj_handler ;
1036
- uri_rfc3986_uri_object_handlers .clone_obj = uri_clone_obj_handler ;
1035
+ uri_rfc3986_uri_object_handlers .free_obj = php_uri_object_handler_free ;
1036
+ uri_rfc3986_uri_object_handlers .clone_obj = php_uri_object_handler_clone ;
1037
1037
1038
1038
uri_whatwg_url_ce = register_class_Uri_WhatWg_Url ();
1039
- uri_whatwg_url_ce -> create_object = uri_create_object_handler_whatwg ;
1039
+ uri_whatwg_url_ce -> create_object = php_uri_object_create_whatwg ;
1040
1040
uri_whatwg_url_ce -> default_object_handlers = & uri_whatwg_uri_object_handlers ;
1041
1041
memcpy (& uri_whatwg_uri_object_handlers , zend_get_std_object_handlers (), sizeof (zend_object_handlers ));
1042
1042
uri_whatwg_uri_object_handlers .offset = XtOffsetOf (uri_object_t , std );
1043
- uri_whatwg_uri_object_handlers .free_obj = uri_free_obj_handler ;
1044
- uri_whatwg_uri_object_handlers .clone_obj = uri_clone_obj_handler ;
1043
+ uri_whatwg_uri_object_handlers .free_obj = php_uri_object_handler_free ;
1044
+ uri_whatwg_uri_object_handlers .clone_obj = php_uri_object_handler_clone ;
1045
1045
1046
1046
uri_comparison_mode_ce = register_class_Uri_UriComparisonMode ();
1047
1047
uri_exception_ce = register_class_Uri_UriException (zend_ce_exception );
0 commit comments