]> granicus.if.org Git - php/commitdiff
Some TODO items.
authorAndrei Zmievski <andrei@php.net>
Mon, 6 Feb 2006 18:18:41 +0000 (18:18 +0000)
committerAndrei Zmievski <andrei@php.net>
Mon, 6 Feb 2006 18:18:41 +0000 (18:18 +0000)
ext/unicode/unicode_iterators.c

index 6c79efc4ddb9ea265de02d58c5d64201ce50d062..8c20c072a11222ce1d73bc0f24c51b8f87964d0e 100644 (file)
@@ -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 @@ typedef struct {
        zval*                   current;
        union {
                struct {
-                       int32_t offset;
                        int32_t index;
+                       int32_t offset;
                } cp;
                struct {
                        int32_t index;