fix TS build

This commit is contained in:
Stanislav Malyshev 2010-01-21 18:07:28 +00:00
parent 50016d9dec
commit df15e2cde6
2 changed files with 4 additions and 4 deletions

View File

@ -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 );

View File

@ -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 );