| 6 |
and semantics are as close as possible to those of the Perl 5 language. |
and semantics are as close as possible to those of the Perl 5 language. |
| 7 |
|
|
| 8 |
Written by Philip Hazel |
Written by Philip Hazel |
| 9 |
Copyright (c) 1997-2008 University of Cambridge |
Copyright (c) 1997-2012 University of Cambridge |
| 10 |
|
|
| 11 |
----------------------------------------------------------------------------- |
----------------------------------------------------------------------------- |
| 12 |
Redistribution and use in source and binary forms, with or without |
Redistribution and use in source and binary forms, with or without |
| 79 |
pre-processor time. This hack uses a standard trick for avoiding calling |
pre-processor time. This hack uses a standard trick for avoiding calling |
| 80 |
the STRING macro with an empty argument when doing the test. */ |
the STRING macro with an empty argument when doing the test. */ |
| 81 |
|
|
| 82 |
|
#ifdef COMPILE_PCRE8 |
| 83 |
PCRE_EXP_DEFN const char * PCRE_CALL_CONVENTION |
PCRE_EXP_DEFN const char * PCRE_CALL_CONVENTION |
| 84 |
pcre_version(void) |
pcre_version(void) |
| 85 |
|
#else |
| 86 |
|
PCRE_EXP_DEFN const char * PCRE_CALL_CONVENTION |
| 87 |
|
pcre16_version(void) |
| 88 |
|
#endif |
| 89 |
{ |
{ |
| 90 |
return (XSTRING(Z PCRE_PRERELEASE)[1] == 0)? |
return (XSTRING(Z PCRE_PRERELEASE)[1] == 0)? |
| 91 |
XSTRING(PCRE_MAJOR.PCRE_MINOR PCRE_DATE) : |
XSTRING(PCRE_MAJOR.PCRE_MINOR PCRE_DATE) : |