diff options
author | Guido van Rossum <guido@python.org> | 1998-04-03 21:13:31 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-04-03 21:13:31 (GMT) |
commit | 042ff9eb3afb3e0853bf650f5ab3742f592aa0aa (patch) | |
tree | 1865c64cc228d85433d3ee4ca910f7c05482201d /Modules/pcre.h | |
parent | 104be4a4a797bfc6f8982c81839736083fa54fac (diff) | |
download | cpython-042ff9eb3afb3e0853bf650f5ab3742f592aa0aa.zip cpython-042ff9eb3afb3e0853bf650f5ab3742f592aa0aa.tar.gz cpython-042ff9eb3afb3e0853bf650f5ab3742f592aa0aa.tar.bz2 |
AMK's latest
Diffstat (limited to 'Modules/pcre.h')
-rw-r--r-- | Modules/pcre.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/Modules/pcre.h b/Modules/pcre.h index 4a01bd2..06768a9 100644 --- a/Modules/pcre.h +++ b/Modules/pcre.h @@ -2,7 +2,7 @@ * Perl-Compatible Regular Expressions * *************************************************/ -/* Copyright (c) 1997 University of Cambridge */ +/* Copyright (c) 1998 University of Cambridge */ #ifndef _PCRE_H #define _PCRE_H @@ -17,6 +17,12 @@ it is needed here for malloc. */ #include <sys/types.h> #include <stdlib.h> +/* Allow for C++ users */ + +#ifdef __cplusplus +extern "C" { +#endif + /* Options */ #define PCRE_CASELESS 0x0001 @@ -68,4 +74,8 @@ extern int pcre_info(const pcre *, int *, int *); extern pcre_extra *pcre_study(const pcre *, int, const char **); extern const char *pcre_version(void); +#ifdef __cplusplus +} /* extern "C" */ +#endif + #endif /* End of pcre.h */ |