From 4637685ea9ffd163adabe4e8fd6babf165c6d5e9 Mon Sep 17 00:00:00 2001 From: "K.Kosako" Date: Thu, 22 Mar 2018 09:56:07 +0900 Subject: [PATCH] add some member values into OnigEncodingXXX --- src/sjis.c | 3 ++- src/utf16_be.c | 3 ++- src/utf16_le.c | 3 ++- src/utf32_be.c | 3 ++- src/utf32_le.c | 3 ++- src/utf8.c | 3 ++- 6 files changed, 12 insertions(+), 6 deletions(-) diff --git a/src/sjis.c b/src/sjis.c index e1bf3e1..50a1eb4 100644 --- a/src/sjis.c +++ b/src/sjis.c @@ -337,5 +337,6 @@ OnigEncodingType OnigEncodingSJIS = { is_allowed_reverse_match, NULL, /* init */ NULL, /* is_initialized */ - is_valid_mbc_string + is_valid_mbc_string, + 0, 0, 0 }; diff --git a/src/utf16_be.c b/src/utf16_be.c index 098ab54..079986b 100644 --- a/src/utf16_be.c +++ b/src/utf16_be.c @@ -274,5 +274,6 @@ OnigEncodingType OnigEncodingUTF16_BE = { onigenc_always_false_is_allowed_reverse_match, init, 0, /* is_initialized */ - is_valid_mbc_string + is_valid_mbc_string, + 0, 0, 0 }; diff --git a/src/utf16_le.c b/src/utf16_le.c index dc0d3f1..e258185 100644 --- a/src/utf16_le.c +++ b/src/utf16_le.c @@ -282,5 +282,6 @@ OnigEncodingType OnigEncodingUTF16_LE = { onigenc_always_false_is_allowed_reverse_match, init, 0, /* is_initialized */ - is_valid_mbc_string + is_valid_mbc_string, + 0, 0, 0 }; diff --git a/src/utf32_be.c b/src/utf32_be.c index 68760bb..93fb326 100644 --- a/src/utf32_be.c +++ b/src/utf32_be.c @@ -190,5 +190,6 @@ OnigEncodingType OnigEncodingUTF32_BE = { onigenc_always_false_is_allowed_reverse_match, NULL, /* init */ NULL, /* is_initialized */ - is_valid_mbc_string + is_valid_mbc_string, + 0, 0, 0 }; diff --git a/src/utf32_le.c b/src/utf32_le.c index 8208cd0..0cc45ed 100644 --- a/src/utf32_le.c +++ b/src/utf32_le.c @@ -190,5 +190,6 @@ OnigEncodingType OnigEncodingUTF32_LE = { onigenc_always_false_is_allowed_reverse_match, NULL, /* init */ NULL, /* is_initialized */ - is_valid_mbc_string + is_valid_mbc_string, + 0, 0, 0 }; diff --git a/src/utf8.c b/src/utf8.c index a5c4dbe..55b571b 100644 --- a/src/utf8.c +++ b/src/utf8.c @@ -296,5 +296,6 @@ OnigEncodingType OnigEncodingUTF8 = { onigenc_always_true_is_allowed_reverse_match, NULL, /* init */ NULL, /* is_initialized */ - is_valid_mbc_string + is_valid_mbc_string, + 0, 0, 0 }; -- 2.40.0