diff options
author | Moriyoshi Koizumi <moriyoshi@php.net> | 2002-10-23 16:54:31 +0000 |
---|---|---|
committer | Moriyoshi Koizumi <moriyoshi@php.net> | 2002-10-23 16:54:31 +0000 |
commit | b7703551edd4dc3107bbe3e0916ac53e869354ed (patch) | |
tree | 6a6f2bbad6a3e7ac02e58a2a7f6f61f120d42df5 /ext | |
parent | cbc9256fc9ca9f3db7fdae19c0b9d6222735487d (diff) | |
download | php-git-b7703551edd4dc3107bbe3e0916ac53e869354ed.tar.gz |
Remaned the functions for consistency
Diffstat (limited to 'ext')
-rw-r--r-- | ext/mbstring/mbstring.c | 4 | ||||
-rw-r--r-- | ext/mbstring/mbstring.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/ext/mbstring/mbstring.c b/ext/mbstring/mbstring.c index d325be628b..4668547155 100644 --- a/ext/mbstring/mbstring.c +++ b/ext/mbstring/mbstring.c @@ -1495,7 +1495,7 @@ char *mbstr_strrchr(const char *s, char c TSRMLS_DC){ return last; } -int mbstr_is_mb_leadbyte(const char *s TSRMLS_DC){ +PHPAPI int php_mb_is_mb_leadbyte(const char *s TSRMLS_DC){ unsigned char *p = (unsigned char *)s; if (MBSTRG(current_language) == mbfl_no_language_japanese && IS_SJIS1(*p) && IS_SJIS2(*(p+1))){ @@ -3457,7 +3457,7 @@ PHP_FUNCTION(mb_get_info) } /* }}} */ -PHPAPI int mbstr_encoding_translation(TSRMLS_D) +PHPAPI int php_mb_encoding_translation(TSRMLS_D) { return MBSTRG(encoding_translation); } diff --git a/ext/mbstring/mbstring.h b/ext/mbstring/mbstring.h index d553ff2ee2..99c98ef673 100644 --- a/ext/mbstring/mbstring.h +++ b/ext/mbstring/mbstring.h @@ -110,8 +110,8 @@ PHP_FUNCTION(mb_send_mail); PHP_FUNCTION(mb_get_info); char *mbstr_strrchr(const char *s, char c TSRMLS_DC); -int mbstr_is_mb_leadbyte(const char *s TSRMLS_DC); -PHPAPI int mbstr_encoding_translation(TSRMLS_D); +int php_mb_is_leadbyte(const char *s TSRMLS_DC); +PHPAPI int php_mb_encoding_translation(TSRMLS_D); ZEND_BEGIN_MODULE_GLOBALS(mbstring) int language; |