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-2005 University of Cambridge |
Copyright (c) 1997-2006 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 |
52 |
#define STRING(a) # a |
#define STRING(a) # a |
53 |
#define XSTRING(s) STRING(s) |
#define XSTRING(s) STRING(s) |
54 |
|
|
55 |
PCRE_EXPORT const char * |
PCRE_DATA_SCOPE const char * |
56 |
pcre_version(void) |
pcre_version(void) |
57 |
{ |
{ |
58 |
return XSTRING(PCRE_MAJOR) "." XSTRING(PCRE_MINOR) " " XSTRING(PCRE_DATE); |
return XSTRING(PCRE_MAJOR) |
59 |
|
"." XSTRING(PCRE_MINOR) |
60 |
|
XSTRING(PCRE_PRERELEASE) |
61 |
|
" " XSTRING(PCRE_DATE); |
62 |
} |
} |
63 |
|
|
64 |
/* End of pcre_version.c */ |
/* End of pcre_version.c */ |