summaryrefslogtreecommitdiff
path: root/ext/pcre
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2006-07-20 22:07:09 +0000
committerMarcus Boerger <helly@php.net>2006-07-20 22:07:09 +0000
commitc2c5201872065f2f1b1aa80746c599b9ac04dbea (patch)
treecd37d424a781adf1f15775d49d312931e4ae33d3 /ext/pcre
parent0dc6d3e25706711686b10094c7601a6b0ead22dc (diff)
downloadphp-git-c2c5201872065f2f1b1aa80746c599b9ac04dbea.tar.gz
- TSRM fixes
Diffstat (limited to 'ext/pcre')
-rw-r--r--ext/pcre/php_pcre.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/pcre/php_pcre.c b/ext/pcre/php_pcre.c
index 5b00233649..ed079a19d0 100644
--- a/ext/pcre/php_pcre.c
+++ b/ext/pcre/php_pcre.c
@@ -463,7 +463,7 @@ static void php_do_pcre_match(INTERNAL_FUNCTION_PARAMETERS, int global) /* {{{ *
}
PHPAPI void php_pcre_match_impl(pcre_cache_entry *pce, char *subject, int subject_len, zval *return_value,
- zval *subpats, int global, int use_flags, long flags, long start_offset TSRMLS_DC)
+ zval *subpats, int global, int use_flags, long flags, long start_offset TSRMLS_CC)
{
zval *result_set, /* Holds a set of subpatterns after
a global match */
@@ -926,7 +926,7 @@ PHPAPI char *php_pcre_replace(char *regex, int regex_len,
}
return php_pcre_replace_impl(pce, subject, subject_len, replace_val,
- is_callable_replace, result_len, limit, replace_count TSRMLS_DC);
+ is_callable_replace, result_len, limit, replace_count TSRMLS_CC);
}
PHPAPI char *php_pcre_replace_impl(pcre_cache_entry *pce, char *subject, int subject_len, zval *replace_val,