andrei Mon Feb 6 18:18:41 2006 UTC
Modified files:
/php-src/ext/unicode unicode_iterators.c
Log:
Some TODO items.
http://cvs.php.net/viewcvs.cgi/php-src/ext/unicode/unicode_iterators.c?r1=1.12&r2=1.13&diff_format=u
Index: php-src/ext/unicode/unicode_iterators.c
diff -u php-src/ext/unicode/unicode_iterators.c:1.12
php-src/ext/unicode/unicode_iterators.c:1.13
--- php-src/ext/unicode/unicode_iterators.c:1.12 Mon Feb 6 17:42:28 2006
+++ php-src/ext/unicode/unicode_iterators.c Mon Feb 6 18:18:41 2006
@@ -14,7 +14,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: unicode_iterators.c,v 1.12 2006/02/06 17:42:28 andrei Exp $ */
+/* $Id: unicode_iterators.c,v 1.13 2006/02/06 18:18:41 andrei Exp $ */
/*
* TODO
@@ -22,6 +22,7 @@
* - optimize current() to pass return_value to the handler so that it fills it
* in directly instead of creating a new zval
* - return code units as binary strings? integers? or leave as unicode
strings?
+ * - implement Countable (or count_elements handler) and Seekable interfaces
*/
#include "php.h"
@@ -43,8 +44,8 @@
zval* current;
union {
struct {
- int32_t offset;
int32_t index;
+ int32_t offset;
} cp;
struct {
int32_t index;
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php