diff options
author | zherczeg <zherczeg@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2012-10-29 11:30:45 +0000 |
---|---|---|
committer | zherczeg <zherczeg@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2012-10-29 11:30:45 +0000 |
commit | 27eb02887f815c18a29e53a7f8e8fe4b44a78566 (patch) | |
tree | 6096e47222407a1945b3bcce71427ce75a067463 /pcre_internal.h | |
parent | 06099ad498a98479733c039712e45a4cb610611b (diff) | |
download | pcre-27eb02887f815c18a29e53a7f8e8fe4b44a78566.tar.gz |
JIT native interface.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1187 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcre_internal.h')
-rw-r--r-- | pcre_internal.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pcre_internal.h b/pcre_internal.h index ccbf966..1d47ac7 100644 --- a/pcre_internal.h +++ b/pcre_internal.h @@ -1183,6 +1183,10 @@ time, run time, or study time, respectively. */ (PCRE_STUDY_JIT_COMPILE|PCRE_STUDY_JIT_PARTIAL_SOFT_COMPILE| \ PCRE_STUDY_JIT_PARTIAL_HARD_COMPILE|PCRE_STUDY_EXTRA_NEEDED) +#define PUBLIC_JIT_EXEC_OPTIONS \ + (PCRE_NO_UTF8_CHECK|PCRE_NOTBOL|PCRE_NOTEOL|PCRE_NOTEMPTY|\ + PCRE_NOTEMPTY_ATSTART|PCRE_PARTIAL_SOFT|PCRE_PARTIAL_HARD) + /* Magic number to provide a small check against being handed junk. */ #define MAGIC_NUMBER 0x50435245UL /* 'PCRE' */ @@ -2703,7 +2707,7 @@ extern BOOL PRIV(xclass)(pcre_uint32, const pcre_uchar *, BOOL); #ifdef SUPPORT_JIT extern void PRIV(jit_compile)(const REAL_PCRE *, PUBL(extra) *, int); -extern int PRIV(jit_exec)(const REAL_PCRE *, const PUBL(extra) *, +extern int PRIV(jit_exec)(const PUBL(extra) *, const pcre_uchar *, int, int, int, int *, int); extern void PRIV(jit_free)(void *); extern int PRIV(jit_get_size)(void *); |