cvs: php4 /ext/mbstring mbstring.c mbstring.h

From: Date: Sat, 03 Aug 2002 09:48:34 +0000
Subject: cvs: php4 /ext/mbstring mbstring.c mbstring.h
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-13096@lists.php.net to get a copy of this message
andi Sat Aug 3 05:48:34 2002 EDT Modified files: /php4/ext/mbstring mbstring.c mbstring.h Log: - Fix build on Windows. Also please don't use Java style opening function - bracket indentation. Index: php4/ext/mbstring/mbstring.c diff -u php4/ext/mbstring/mbstring.c:1.86 php4/ext/mbstring/mbstring.c:1.87 --- php4/ext/mbstring/mbstring.c:1.86 Fri Aug 2 06:22:31 2002 +++ php4/ext/mbstring/mbstring.c Sat Aug 3 05:48:34 2002 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: mbstring.c,v 1.86 2002/08/02 10:22:31 helly Exp $ */ +/* $Id: mbstring.c,v 1.87 2002/08/03 09:48:34 andi Exp $ */ /* * PHP4 Multibyte String module "mbstring" (currently only for Japanese) @@ -3340,7 +3340,8 @@ } /* }}} */ -PHPAPI int mbstr_encoding_translation(TSRMLS_D) { +PHPAPI int mbstr_encoding_translation(TSRMLS_D) +{ return MBSTRG(encoding_translation); } Index: php4/ext/mbstring/mbstring.h diff -u php4/ext/mbstring/mbstring.h:1.26 php4/ext/mbstring/mbstring.h:1.27 --- php4/ext/mbstring/mbstring.h:1.26 Fri Aug 2 06:22:31 2002 +++ php4/ext/mbstring/mbstring.h Sat Aug 3 05:48:34 2002 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: mbstring.h,v 1.26 2002/08/02 10:22:31 helly Exp $ */ +/* $Id: mbstring.h,v 1.27 2002/08/03 09:48:34 andi Exp $ */ /* * PHP4 Multibyte String module "mbstring" (currently only for Japanese) @@ -127,7 +127,7 @@ char *mbstr_strrchr(const char *s, char c TSRMLS_DC); int mbstr_is_mb_leadbyte(const char *s TSRMLS_DC); -int mbstr_encoding_translation(TSRMLS_D); +PHPAPI int mbstr_encoding_translation(TSRMLS_D); ZEND_BEGIN_MODULE_GLOBALS(mbstring) int language;

« previous php.cvs (#13096) next »