summaryrefslogtreecommitdiff
path: root/ext/pcre/pcrelib/pcre_get.c
diff options
context:
space:
mode:
authorSVN Migration <svn@php.net>2008-12-03 20:30:45 +0000
committerSVN Migration <svn@php.net>2008-12-03 20:30:45 +0000
commit2876046398950e59c3b3c460e67e6fec7ff2ba3c (patch)
tree33b2b8b4b859960a6446ad19d0ada1c55f9cfcda /ext/pcre/pcrelib/pcre_get.c
parent3fb86b0b9e79e6a3312b694f30ee627e2e1b325c (diff)
downloadphp-git-php-5.3.0alpha2.tar.gz
This commit was manufactured by cvs2svn to create tag 'php_5_3_0alpha2'.php-5.3.0alpha2
Diffstat (limited to 'ext/pcre/pcrelib/pcre_get.c')
-rw-r--r--ext/pcre/pcrelib/pcre_get.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/ext/pcre/pcrelib/pcre_get.c b/ext/pcre/pcrelib/pcre_get.c
index 92b3808820..c185c331ab 100644
--- a/ext/pcre/pcrelib/pcre_get.c
+++ b/ext/pcre/pcrelib/pcre_get.c
@@ -63,7 +63,7 @@ Returns: the number of the named parentheses, or a negative number
(PCRE_ERROR_NOSUBSTRING) if not found
*/
-PCRE_EXP_DEFN int PCRE_CALL_CONVENTION
+int
pcre_get_stringnumber(const pcre *code, const char *stringname)
{
int rc;
@@ -112,7 +112,7 @@ Returns: the length of each entry, or a negative number
(PCRE_ERROR_NOSUBSTRING) if not found
*/
-PCRE_EXP_DEFN int PCRE_CALL_CONVENTION
+int
pcre_get_stringtable_entries(const pcre *code, const char *stringname,
char **firstptr, char **lastptr)
{
@@ -229,7 +229,7 @@ Returns: if successful:
PCRE_ERROR_NOSUBSTRING (-7) no such captured substring
*/
-PCRE_EXP_DEFN int PCRE_CALL_CONVENTION
+int
pcre_copy_substring(const char *subject, int *ovector, int stringcount,
int stringnumber, char *buffer, int size)
{
@@ -274,7 +274,7 @@ Returns: if successful:
PCRE_ERROR_NOSUBSTRING (-7) no such captured substring
*/
-PCRE_EXP_DEFN int PCRE_CALL_CONVENTION
+int
pcre_copy_named_substring(const pcre *code, const char *subject, int *ovector,
int stringcount, const char *stringname, char *buffer, int size)
{
@@ -306,7 +306,7 @@ Returns: if successful: 0
PCRE_ERROR_NOMEMORY (-6) failed to get store
*/
-PCRE_EXP_DEFN int PCRE_CALL_CONVENTION
+int
pcre_get_substring_list(const char *subject, int *ovector, int stringcount,
const char ***listptr)
{
@@ -351,7 +351,7 @@ Argument: the result of a previous pcre_get_substring_list()
Returns: nothing
*/
-PCRE_EXP_DEFN void PCRE_CALL_CONVENTION
+void
pcre_free_substring_list(const char **pointer)
{
(pcre_free)((void *)pointer);
@@ -384,7 +384,7 @@ Returns: if successful:
PCRE_ERROR_NOSUBSTRING (-7) substring not present
*/
-PCRE_EXP_DEFN int PCRE_CALL_CONVENTION
+int
pcre_get_substring(const char *subject, int *ovector, int stringcount,
int stringnumber, const char **stringptr)
{
@@ -431,7 +431,7 @@ Returns: if successful:
PCRE_ERROR_NOSUBSTRING (-7) no such captured substring
*/
-PCRE_EXP_DEFN int PCRE_CALL_CONVENTION
+int
pcre_get_named_substring(const pcre *code, const char *subject, int *ovector,
int stringcount, const char *stringname, const char **stringptr)
{
@@ -454,7 +454,7 @@ Argument: the result of a previous pcre_get_substring()
Returns: nothing
*/
-PCRE_EXP_DEFN void PCRE_CALL_CONVENTION
+void
pcre_free_substring(const char *pointer)
{
(pcre_free)((void *)pointer);