summaryrefslogtreecommitdiff
path: root/pcre_jit_test.c
diff options
context:
space:
mode:
authorzherczeg <zherczeg@2f5784b3-3f2a-0410-8824-cb99058d5e15>2012-01-09 20:12:58 +0000
committerzherczeg <zherczeg@2f5784b3-3f2a-0410-8824-cb99058d5e15>2012-01-09 20:12:58 +0000
commitf2488124fa9818754bd6c2178b64e3a7874f5de1 (patch)
tree43b2e15637f9abe5e944744418a2b42127f846c8 /pcre_jit_test.c
parent7d9f10d751dfb23d4343c095e1c10ec8a08cf302 (diff)
downloadpcre-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_jit_test.c')
-rw-r--r--pcre_jit_test.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/pcre_jit_test.c b/pcre_jit_test.c
index f9e9991..0f394f7 100644
--- a/pcre_jit_test.c
+++ b/pcre_jit_test.c
@@ -680,7 +680,7 @@ static const unsigned char *tables(int mode)
char null_str[1] = { 0 };
#else
pcre16 *regex;
- PCRE_SCHAR16 null_str[1] = { 0 };
+ PCRE_UCHAR16 null_str[1] = { 0 };
#endif
if (mode) {
@@ -771,7 +771,7 @@ static void setstack16(pcre16_extra *extra)
#ifdef SUPPORT_PCRE16
-static int convert_utf8_to_utf16(const char *input, PCRE_SCHAR16 *output, int *offsetmap, int max_length)
+static int convert_utf8_to_utf16(const char *input, PCRE_UCHAR16 *output, int *offsetmap, int max_length)
{
unsigned char *iptr = (unsigned char*)input;
unsigned short *optr = (unsigned short *)output;
@@ -819,7 +819,7 @@ static int convert_utf8_to_utf16(const char *input, PCRE_SCHAR16 *output, int *o
return (int)(optr - (unsigned short *)output);
}
-static int copy_char8_to_char16(const char *input, PCRE_SCHAR16 *output, int max_length)
+static int copy_char8_to_char16(const char *input, PCRE_UCHAR16 *output, int max_length)
{
unsigned char *iptr = (unsigned char*)input;
unsigned short *optr = (unsigned short *)output;
@@ -836,7 +836,7 @@ static int copy_char8_to_char16(const char *input, PCRE_SCHAR16 *output, int max
}
#define REGTEST_MAX_LENGTH 4096
-static PCRE_SCHAR16 regtest_buf[REGTEST_MAX_LENGTH];
+static PCRE_UCHAR16 regtest_buf[REGTEST_MAX_LENGTH];
static int regtest_offsetmap[REGTEST_MAX_LENGTH];
#endif /* SUPPORT_PCRE16 */