summaryrefslogtreecommitdiff
path: root/ext/intl/breakiterator/breakiterator_iterators.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/intl/breakiterator/breakiterator_iterators.h')
-rw-r--r--ext/intl/breakiterator/breakiterator_iterators.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/ext/intl/breakiterator/breakiterator_iterators.h b/ext/intl/breakiterator/breakiterator_iterators.h
index 855246ff77..7162072414 100644
--- a/ext/intl/breakiterator/breakiterator_iterators.h
+++ b/ext/intl/breakiterator/breakiterator_iterators.h
@@ -23,9 +23,16 @@ U_CDECL_BEGIN
#include <php.h>
U_CDECL_END
+typedef enum {
+ PARTS_ITERATOR_KEY_SEQUENTIAL,
+ PARTS_ITERATOR_KEY_LEFT,
+ PARTS_ITERATOR_KEY_RIGHT,
+} parts_iter_key_type;
+
#ifdef __cplusplus
void IntlIterator_from_BreakIterator_parts(zval *break_iter_zv,
- zval *object TSRMLS_DC);
+ zval *object,
+ parts_iter_key_type key_type TSRMLS_DC);
#endif
U_CFUNC zend_object_iterator *_breakiterator_get_iterator(