summaryrefslogtreecommitdiffstats
path: root/Modules/pcre.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-03-10 04:55:29 (GMT)
committerGuido van Rossum <guido@python.org>1998-03-10 04:55:29 (GMT)
commit816671c66641fe0b115c82a98efc5cdb693c235c (patch)
treed298272eec9e9a6baca97735fb19246e2733b2cc /Modules/pcre.h
parent193338afeb42c591b24d74939bff1715ba4671c5 (diff)
downloadcpython-816671c66641fe0b115c82a98efc5cdb693c235c.zip
cpython-816671c66641fe0b115c82a98efc5cdb693c235c.tar.gz
cpython-816671c66641fe0b115c82a98efc5cdb693c235c.tar.bz2
patch for re.sub bug, by AMK.
Diffstat (limited to 'Modules/pcre.h')
-rw-r--r--Modules/pcre.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Modules/pcre.h b/Modules/pcre.h
index e914084..4a01bd2 100644
--- a/Modules/pcre.h
+++ b/Modules/pcre.h
@@ -57,11 +57,13 @@ extern void (*pcre_free)(void *);
#ifdef FOR_PYTHON
extern pcre *pcre_compile(const char *, int, const char **, int *, PyObject *);
+extern int pcre_exec(const pcre *, const pcre_extra *, const char *,
+ int, int, int, int *, int);
#else
extern pcre *pcre_compile(const char *, int, const char **, int *);
-#endif
extern int pcre_exec(const pcre *, const pcre_extra *, const char *,
int, int, int *, int);
+#endif
extern int pcre_info(const pcre *, int *, int *);
extern pcre_extra *pcre_study(const pcre *, int, const char **);
extern const char *pcre_version(void);