cvs: php-src /ext/unicode unicode_iterators.c
| From: | Andrei Zmievski | Date: | Mon, 06 Feb 2006 18:18:41 +0000 |
| Subject: | cvs: php-src /ext/unicode unicode_iterators.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-36797@lists.php.net to get a copy of this message | ||
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;