andrei Tue Jul 11 16:20:21 2006 UTC Modified files: /php-src/ext/unicode unicode_iterators.c Log: Use object flags. http://cvs.php.net/viewvc.cgi/php-src/ext/unicode/unicode_iterators.c?r1=1.39&r2=1.40&diff_format=u Index: php-src/ext/unicode/unicode_iterators.c diff -u php-src/ext/unicode/unicode_iterators.c:1.39 php-src/ext/unicode/unicode_iterators.c:1.40 --- php-src/ext/unicode/unicode_iterators.c:1.39 Mon Jul 10 23:19:05 2006 +++ php-src/ext/unicode/unicode_iterators.c Tue Jul 11 16:20:21 2006 @@ -14,7 +14,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: unicode_iterators.c,v 1.39 2006/07/10 23:19:05 andrei Exp $ */ +/* $Id: unicode_iterators.c,v 1.40 2006/07/11 16:20:21 andrei Exp $ */ /* * TODO @@ -1132,7 +1132,7 @@ PHP_METHOD(TextIterator, isBoundary) { - long flags, offset; + long offset; zval *object = getThis(); text_iter_obj *intern = (text_iter_obj*) zend_object_store_get_object(object TSRMLS_CC); @@ -1143,7 +1143,7 @@ /* * ReverseTextIterator will behave the same as the normal one. */ - RETURN_BOOL(iter_ops[intern->type]->isBoundary(intern, offset, flags TSRMLS_CC)); + RETURN_BOOL(iter_ops[intern->type]->isBoundary(intern, offset, intern->flags TSRMLS_CC)); } PHP_METHOD(TextIterator, getAvailableLocales)
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php