summaryrefslogtreecommitdiffstats
path: root/Modules/pcre.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-12-17 00:24:13 (GMT)
committerGuido van Rossum <guido@python.org>1997-12-17 00:24:13 (GMT)
commit58132c6799fe89ed5f08da4ff5d0f5631e075b8c (patch)
tree93a27cf0407f33af302d98dd279fafc65ab037a7 /Modules/pcre.h
parente4eb2231fda4fa370296f18a39f710d550ed950c (diff)
downloadcpython-58132c6799fe89ed5f08da4ff5d0f5631e075b8c.zip
cpython-58132c6799fe89ed5f08da4ff5d0f5631e075b8c.tar.gz
cpython-58132c6799fe89ed5f08da4ff5d0f5631e075b8c.tar.bz2
AMK's latest; plus three null bytes that I added for purify
Diffstat (limited to 'Modules/pcre.h')
-rw-r--r--Modules/pcre.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Modules/pcre.h b/Modules/pcre.h
index 3a215d5..4ba9d9c 100644
--- a/Modules/pcre.h
+++ b/Modules/pcre.h
@@ -55,14 +55,14 @@ extern void (*pcre_free)(void *);
/* Functions */
#ifdef FOR_PYTHON
-extern pcre *pcre_compile(const char *, int, char **, int *, PyObject *);
+extern pcre *pcre_compile(const char *, int, const char **, int *, PyObject *);
#else
-extern pcre *pcre_compile(const char *, int, char **, int *);
+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);
extern int pcre_info(const pcre *, int *, int *);
-extern pcre_extra *pcre_study(const pcre *, int, char **);
-extern char *pcre_version(void);
+extern pcre_extra *pcre_study(const pcre *, int, const char **);
+extern const char *pcre_version(void);
#endif /* End of pcre.h */