diff options
Diffstat (limited to 'trex.h')
| -rw-r--r-- | trex.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -27,6 +27,10 @@ ****************************************************************/ +#ifdef __cplusplus +extern "C" { +#endif + #ifdef _UNICODE #define TRexChar unsigned short #define MAX_CHAR 0xFFFF @@ -66,4 +70,8 @@ TREX_API TRexBool trex_searchrange(TRex* exp,const TRexChar* text_begin,const TR TREX_API int trex_getsubexpcount(TRex* exp); TREX_API TRexBool trex_getsubexp(TRex* exp, int n, TRexMatch *subexp); +#ifdef __cplusplus +} +#endif + #endif |
