cvs: php4 /ext/standard reg.c reg.h

From: Date: Mon, 03 Dec 2001 05:15:30 +0000
Subject: cvs: php4 /ext/standard reg.c reg.h
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-8400@lists.php.net to get a copy of this message
fmk Mon Dec 3 00:15:30 2001 EDT Modified files: /php4/ext/standard reg.c reg.h Log: Make php_reg_replace available from shared extensions Index: php4/ext/standard/reg.c diff -u php4/ext/standard/reg.c:1.51 php4/ext/standard/reg.c:1.52 --- php4/ext/standard/reg.c:1.51 Sun Sep 9 09:29:19 2001 +++ php4/ext/standard/reg.c Mon Dec 3 00:15:29 2001 @@ -17,7 +17,7 @@ | Jaakko Hyvätti <jaakko@hyvatti.iki.fi> | +----------------------------------------------------------------------+ */ -/* $Id: reg.c,v 1.51 2001/09/09 13:29:19 derick Exp $ */ +/* $Id: reg.c,v 1.52 2001/12/03 05:15:29 fmk Exp $ */ #include <stdio.h> #include "php.h" @@ -263,7 +263,7 @@ /* {{{ php_reg_replace * this is the meat and potatoes of regex replacement! */ -char *php_reg_replace(const char *pattern, const char *replace, const char *string, int icase, int extended) +PHPAPI char *php_reg_replace(const char *pattern, const char *replace, const char *string, int icase, int extended) { regex_t re; regmatch_t subs[NS]; Index: php4/ext/standard/reg.h diff -u php4/ext/standard/reg.h:1.12 php4/ext/standard/reg.h:1.13 --- php4/ext/standard/reg.h:1.12 Sat Jul 28 07:36:18 2001 +++ php4/ext/standard/reg.h Mon Dec 3 00:15:29 2001 @@ -17,12 +17,12 @@ */ -/* $Id: reg.h,v 1.12 2001/07/28 11:36:18 zeev Exp $ */ +/* $Id: reg.h,v 1.13 2001/12/03 05:15:29 fmk Exp $ */ #ifndef REG_H #define REG_H -char *php_reg_replace(const char *pattern, const char *replace, const char *string, int icase, int extended); +PHPAPI char *php_reg_replace(const char *pattern, const char *replace, const char *string, int icase, int extended); PHP_FUNCTION(ereg); PHP_FUNCTION(eregi);

« previous php.cvs (#8400) next »