diff options
author | Frank M. Kromann <fmk@php.net> | 2001-12-03 05:15:29 +0000 |
---|---|---|
committer | Frank M. Kromann <fmk@php.net> | 2001-12-03 05:15:29 +0000 |
commit | 03b5cb6775aeb4adf82d31a05be6d1034807d584 (patch) | |
tree | dfbd80da754c33a5b2831512ab5b3ab279300fdf /ext/standard | |
parent | e7ef5041d52933660f84c8994186b88be7718b04 (diff) | |
download | php-git-03b5cb6775aeb4adf82d31a05be6d1034807d584.tar.gz |
Make php_reg_replace available from shared extensions
Diffstat (limited to 'ext/standard')
-rw-r--r-- | ext/standard/reg.c | 2 | ||||
-rw-r--r-- | ext/standard/reg.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/reg.c b/ext/standard/reg.c index 5bc7639c0f..a711f4abb5 100644 --- a/ext/standard/reg.c +++ b/ext/standard/reg.c @@ -263,7 +263,7 @@ PHP_FUNCTION(eregi) /* {{{ 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]; diff --git a/ext/standard/reg.h b/ext/standard/reg.h index c8adf74956..26edfe9af9 100644 --- a/ext/standard/reg.h +++ b/ext/standard/reg.h @@ -22,7 +22,7 @@ #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); |