105 |
regoff_t rm_eo; |
regoff_t rm_eo; |
106 |
} regmatch_t; |
} regmatch_t; |
107 |
|
|
108 |
|
/* Win32 uses DLL by default; it needs special stuff for exported functions |
109 |
|
when building PCRE. */ |
110 |
|
|
111 |
|
#ifndef PCRE_DATA_SCOPE |
112 |
|
#ifdef _WIN32 |
113 |
|
# ifdef PCRE_DEFINITION |
114 |
|
# ifdef DLL_EXPORT |
115 |
|
# define PCRE_DATA_SCOPE __declspec(dllexport) |
116 |
|
# endif |
117 |
|
# else |
118 |
|
# ifndef PCRE_STATIC |
119 |
|
# define PCRE_DATA_SCOPE extern __declspec(dllimport) |
120 |
|
# endif |
121 |
|
# endif |
122 |
|
#endif |
123 |
|
#endif |
124 |
|
|
125 |
|
/* Otherwise, we use the standard "extern". */ |
126 |
|
|
127 |
|
#ifndef PCRE_DATA_SCOPE |
128 |
|
# ifdef __cplusplus |
129 |
|
# define PCRE_DATA_SCOPE extern "C" |
130 |
|
# else |
131 |
|
# define PCRE_DATA_SCOPE extern |
132 |
|
# endif |
133 |
|
#endif |
134 |
|
|
135 |
/* The functions */ |
/* The functions */ |
136 |
|
|
137 |
PCRE_DATA_SCOPE int regcomp(regex_t *, const char *, int); |
PCRE_DATA_SCOPE int regcomp(regex_t *, const char *, int); |