mirror of
https://github.com/php/php-src.git
synced 2024-11-28 04:14:26 +08:00
fix TS build
This commit is contained in:
parent
50016d9dec
commit
df15e2cde6
@ -87,7 +87,7 @@ static void resourcebundle_ctor(INTERNAL_FUNCTION_PARAMETERS)
|
||||
char * pbuf;
|
||||
|
||||
zval *object = return_value;
|
||||
ResourceBundle_object *rb = (ResourceBundle_object *) zend_object_store_get_object( object );
|
||||
ResourceBundle_object *rb = (ResourceBundle_object *) zend_object_store_get_object( object TSRMLS_CC);
|
||||
|
||||
intl_error_reset( NULL TSRMLS_CC );
|
||||
|
||||
@ -247,7 +247,7 @@ PHP_FUNCTION( resourcebundle_get )
|
||||
/* {{{ resourcebundle_array_count */
|
||||
int resourcebundle_array_count(zval *object, long *count TSRMLS_DC)
|
||||
{
|
||||
ResourceBundle_object *rb = (ResourceBundle_object *) zend_object_store_get_object( object );
|
||||
ResourceBundle_object *rb = (ResourceBundle_object *) zend_object_store_get_object( object TSRMLS_CC);
|
||||
|
||||
*count = ures_getSize( rb->me );
|
||||
|
||||
|
@ -94,7 +94,7 @@ static void resourcebundle_iterator_current( zend_object_iterator *iter, zval **
|
||||
{
|
||||
ResourceBundle_iterator *iterator = (ResourceBundle_iterator *) iter;
|
||||
if (!iterator->current) {
|
||||
resourcebundle_iterator_read( iterator );
|
||||
resourcebundle_iterator_read( iterator TSRMLS_CC);
|
||||
}
|
||||
*data = &iterator->current;
|
||||
}
|
||||
@ -106,7 +106,7 @@ static int resourcebundle_iterator_key( zend_object_iterator *iter, char **str_k
|
||||
ResourceBundle_iterator *iterator = (ResourceBundle_iterator *) iter;
|
||||
|
||||
if (!iterator->current) {
|
||||
resourcebundle_iterator_read( iterator );
|
||||
resourcebundle_iterator_read( iterator TSRMLS_CC);
|
||||
}
|
||||
if (iterator->is_table) {
|
||||
*str_key = estrdup( iterator->currentkey );
|
||||
|
Loading…
Reference in New Issue
Block a user