summaryrefslogtreecommitdiff
path: root/ext/mbstring/php_mbregex.h
diff options
context:
space:
mode:
authorMoriyoshi Koizumi <moriyoshi@php.net>2004-02-28 20:45:27 +0000
committerMoriyoshi Koizumi <moriyoshi@php.net>2004-02-28 20:45:27 +0000
commit11b0f469f00bf2b80d453dbff1aa274db5dfb500 (patch)
treefbc96b4e6eb411882b08562a437affe28e07a741 /ext/mbstring/php_mbregex.h
parentdc03dbc699eced5eb067662447f8007df5562255 (diff)
downloadphp-git-11b0f469f00bf2b80d453dbff1aa274db5dfb500.tar.gz
- Upgrade bundled oniguruma regex library to 2.2.2 (Rui, Moriyoshi)
. Supports various encodings such as BIG5, GB2312 and ISO-8859-* . Fixes bug #26677 (mbstring compile errors with IRIX) . Many thanks to K.Kosako. - Remove redundant files that are not relevant to the build.
Diffstat (limited to 'ext/mbstring/php_mbregex.h')
-rw-r--r--ext/mbstring/php_mbregex.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/ext/mbstring/php_mbregex.h b/ext/mbstring/php_mbregex.h
index 86c9bf970a..7d99953a70 100644
--- a/ext/mbstring/php_mbregex.h
+++ b/ext/mbstring/php_mbregex.h
@@ -29,16 +29,16 @@
/* {{{ PHP_MBREGEX_GLOBALS */
#define PHP_MBREGEX_GLOBALS \
- php_mb_reg_char_encoding default_mbctype; \
- php_mb_reg_char_encoding current_mbctype; \
+ OnigEncoding default_mbctype; \
+ OnigEncoding current_mbctype; \
HashTable ht_rc; \
zval *search_str; \
zval *search_str_val; \
unsigned int search_pos; \
php_mb_regex_t *search_re; \
- struct php_mb_re_registers *search_regs; \
- int regex_default_options; \
- php_mb_reg_syntax_type *regex_default_syntax;
+ OnigRegion *search_regs; \
+ OnigOptionType regex_default_options; \
+ OnigSyntaxType *regex_default_syntax;
/* }}} */
/* {{{ PHP_MBREGEX_FUNCTION_ENTRIES */
@@ -83,10 +83,10 @@ PHP_MSHUTDOWN_FUNCTION(mb_regex);
PHP_RINIT_FUNCTION(mb_regex);
PHP_RSHUTDOWN_FUNCTION(mb_regex);
void _php_mb_regex_globals_ctor(zend_mbstring_globals_ptr pglobals TSRMLS_DC);
-void php_mb_regex_set_options(php_mb_reg_option_type options, php_mb_reg_syntax_type *syntax, php_mb_reg_option_type *prev_options, php_mb_reg_syntax_type **prev_syntax TSRMLS_DC);
+void php_mb_regex_set_options(OnigOptionType options, OnigSyntaxType *syntax, OnigOptionType *prev_options, OnigSyntaxType **prev_syntax TSRMLS_DC);
void _php_mb_regex_globals_dtor(zend_mbstring_globals_ptr pglobals TSRMLS_DC);
-php_mb_reg_char_encoding php_mb_regex_name2mbctype(const char *pname);
-const char *php_mb_regex_mbctype2name(php_mb_reg_char_encoding mbctype);
+OnigEncoding php_mb_regex_name2mbctype(const char *pname);
+const char *php_mb_regex_mbctype2name(OnigEncoding mbctype);
PHP_FUNCTION(mb_regex_encoding);
PHP_FUNCTION(mb_ereg);