diff options
author | zherczeg <zherczeg@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2012-01-09 20:12:58 +0000 |
---|---|---|
committer | zherczeg <zherczeg@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2012-01-09 20:12:58 +0000 |
commit | f2488124fa9818754bd6c2178b64e3a7874f5de1 (patch) | |
tree | 43b2e15637f9abe5e944744418a2b42127f846c8 /pcre_get.c | |
parent | 7d9f10d751dfb23d4343c095e1c10ec8a08cf302 (diff) | |
download | pcre-f2488124fa9818754bd6c2178b64e3a7874f5de1.tar.gz |
rename PCRE_SCHAR16 to PCRE_UCHAR16 and JIT compiler update
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@860 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcre_get.c')
-rw-r--r-- | pcre_get.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -139,7 +139,7 @@ pcre_get_stringtable_entries(const pcre *code, const char *stringname, #else PCRE_EXP_DEFN int PCRE_CALL_CONVENTION pcre16_get_stringtable_entries(const pcre16 *code, PCRE_SPTR16 stringname, - PCRE_SCHAR16 **firstptr, PCRE_SCHAR16 **lastptr) + PCRE_UCHAR16 **firstptr, PCRE_UCHAR16 **lastptr) #endif { int rc; @@ -196,8 +196,8 @@ while (top > bot) *firstptr = (char *)first; *lastptr = (char *)last; #else - *firstptr = (PCRE_SCHAR16 *)first; - *lastptr = (PCRE_SCHAR16 *)last; + *firstptr = (PCRE_UCHAR16 *)first; + *lastptr = (PCRE_UCHAR16 *)last; #endif return entrysize; } @@ -247,7 +247,7 @@ entrysize = pcre_get_stringtable_entries(code, stringname, if ((re->options & PCRE_DUPNAMES) == 0 && (re->flags & PCRE_JCHANGED) == 0) return pcre16_get_stringnumber(code, stringname); entrysize = pcre16_get_stringtable_entries(code, stringname, - (PCRE_SCHAR16 **)&first, (PCRE_SCHAR16 **)&last); + (PCRE_UCHAR16 **)&first, (PCRE_UCHAR16 **)&last); #endif if (entrysize <= 0) return entrysize; for (entry = (pcre_uchar *)first; entry <= (pcre_uchar *)last; entry += entrysize) @@ -295,7 +295,7 @@ pcre_copy_substring(const char *subject, int *ovector, int stringcount, #else PCRE_EXP_DEFN int PCRE_CALL_CONVENTION pcre16_copy_substring(PCRE_SPTR16 subject, int *ovector, int stringcount, - int stringnumber, PCRE_SCHAR16 *buffer, int size) + int stringnumber, PCRE_UCHAR16 *buffer, int size) #endif { int yield; @@ -348,7 +348,7 @@ pcre_copy_named_substring(const pcre *code, const char *subject, PCRE_EXP_DEFN int PCRE_CALL_CONVENTION pcre16_copy_named_substring(const pcre16 *code, PCRE_SPTR16 subject, int *ovector, int stringcount, PCRE_SPTR16 stringname, - PCRE_SCHAR16 *buffer, int size) + PCRE_UCHAR16 *buffer, int size) #endif { int n = get_first_set(code, stringname, ovector); |