summaryrefslogtreecommitdiff
path: root/ext/intl/breakiterator/breakiterator_methods.h
diff options
context:
space:
mode:
authorGustavo André dos Santos Lopes <cataphract@php.net>2012-06-22 18:19:54 +0200
committerGustavo André dos Santos Lopes <cataphract@php.net>2012-06-22 18:19:54 +0200
commit0a7ae87e91368fe17c52767cfb31dabf3a94e38f (patch)
tree66d32ab8bed0c0e364b4990565f20a1caefced64 /ext/intl/breakiterator/breakiterator_methods.h
parentcee31091a960014ce5315008fc64437d04174caf (diff)
downloadphp-git-0a7ae87e91368fe17c52767cfb31dabf3a94e38f.tar.gz
Added IntlCodePointBreakIterator.
Objects of this class can be instantiated with IntlBreakIterator::createCodePointInstance() The method does not take a locale, as it would not make sense in this context. This class has one additional method: long IntlCodePointIterator::getLastCodePoint() which returns either -1 or the last code point we moved over, if any (and discounting any movement before the last call to IntlBreakIterator::first() or IntlBreakIterator::last()).
Diffstat (limited to 'ext/intl/breakiterator/breakiterator_methods.h')
-rw-r--r--ext/intl/breakiterator/breakiterator_methods.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/intl/breakiterator/breakiterator_methods.h b/ext/intl/breakiterator/breakiterator_methods.h
index e0d13b0f45..a479ac92e8 100644
--- a/ext/intl/breakiterator/breakiterator_methods.h
+++ b/ext/intl/breakiterator/breakiterator_methods.h
@@ -31,6 +31,8 @@ PHP_FUNCTION(breakiter_create_sentence_instance);
PHP_FUNCTION(breakiter_create_title_instance);
+PHP_FUNCTION(breakiter_create_code_point_instance);
+
PHP_FUNCTION(breakiter_get_text);
PHP_FUNCTION(breakiter_set_text);