Browse Source

Some TODO items.

migration/RELEASE_1_0_0
Andrei Zmievski 21 years ago
parent
commit
9e07b59f9c
  1. 3
      ext/unicode/unicode_iterators.c

3
ext/unicode/unicode_iterators.c

@ -22,6 +22,7 @@
* - optimize current() to pass return_value to the handler so that it fills it * - optimize current() to pass return_value to the handler so that it fills it
* in directly instead of creating a new zval * in directly instead of creating a new zval
* - return code units as binary strings? integers? or leave as unicode strings? * - return code units as binary strings? integers? or leave as unicode strings?
* - implement Countable (or count_elements handler) and Seekable interfaces
*/ */
#include "php.h" #include "php.h"
@ -43,8 +44,8 @@ typedef struct {
zval* current; zval* current;
union { union {
struct { struct {
int32_t offset;
int32_t index; int32_t index;
int32_t offset;
} cp; } cp;
struct { struct {
int32_t index; int32_t index;

Loading…
Cancel
Save