/*
 * Permission is hereby granted, free of charge, to any person obtaining a copy of
 * this software and associated documentation files (the "Software"), to deal in
 * the Software without restriction, including without limitation the rights to
 * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
 * of the Software, and to permit persons to whom the Software is furnished to do
 * so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in all
 * copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */
package org.jcodings;

public interface Config {
    /* work size */
    final int ENC_CODE_TO_MBC_MAXLEN            = 7;
    final int ENC_MBC_CASE_FOLD_MAXLEN          = 18;

    final int ENC_MAX_COMP_CASE_FOLD_CODE_LEN   = 3;
    final int ENC_GET_CASE_FOLD_CODES_MAX_NUM   = 13;       /* 13 => Unicode:0x1ffc */

    final boolean USE_UNICODE_CASE_FOLD_TURKISH_AZERI = false;
    final boolean USE_UNICODE_ALL_LINE_TERMINATORS = false;
    final boolean USE_CRNL_AS_LINE_TERMINATOR = false;

    final boolean USE_UNICODE_PROPERTIES = true;

    final int CodePointMaskWidth =                  3;
    final int CodePointMask =                       (1 << CodePointMaskWidth) - 1;

    final int SpecialIndexShift =                   3;
    final int SpecialIndexWidth =                   10;
    final int SpecialIndexMask =                    ((1 << SpecialIndexWidth) - 1) << SpecialIndexShift;

    final int SpecialsLengthOffset =                25;

    final int CASE_UPCASE =                         (1<<13); /* has/needs uppercase mapping */
    final int CASE_DOWNCASE =                       (1<<14); /* has/needs lowercase mapping */
    final int CASE_TITLECASE =                      (1<<15); /* has/needs (special) titlecase mapping */
    final int CASE_SPECIAL_OFFSET =                 3;       /* offset in bits from ONIGENC_CASE to ONIGENC_CASE_SPECIAL */
    final int CASE_UP_SPECIAL =                     (1<<16); /* has special upcase mapping */
    final int CASE_DOWN_SPECIAL =                   (1<<17); /* has special downcase mapping */
    final int CASE_MODIFIED =                       (1<<18); /* data has been modified */
    final int CASE_FOLD =                           (1<<19); /* has/needs case folding */

    final int CASE_FOLD_TURKISH_AZERI =             (1<<20); /* needs mapping specific to Turkic languages; better not change original value! */

    final int CASE_FOLD_LITHUANIAN =                (1<<21); /* needs Lithuanian-specific mapping */
    final int CASE_ASCII_ONLY =                     (1<<22); /* only modify ASCII range */
    final int CASE_IS_TITLECASE =                   (1<<23); /* character itself is already titlecase */
    final int CASE_SPECIALS =                       (CASE_TITLECASE | CASE_IS_TITLECASE | CASE_UP_SPECIAL | CASE_DOWN_SPECIAL);

    final int INTERNAL_ENC_CASE_FOLD_MULTI_CHAR =   (1<<30); /* better not change original value! */
    final int ENC_CASE_FOLD_MIN = INTERNAL_ENC_CASE_FOLD_MULTI_CHAR;
    final int ENC_CASE_FOLD_DEFAULT = ENC_CASE_FOLD_MIN;

    final String UNICODE_VERSION_STRING = "12.1.0";
    final int UNICODE_VERSION_MAJOR = 12;
    final int UNICODE_VERSION_MINOR = 1;
    final int UNICODE_VERSION_TEENY = 0;
    final String UNICODE_EMOJI_VERSION_STRING = "12.0";
    final int UNICODE_EMOJI_VERSION_MAJOR = 12;
    final int UNICODE_EMOJI_VERSION_MINOR = 0;

}

@@ -3670,11 +3670,11 @@
 = %221
-2.1
+3.0
 .0%22;
@@ -3705,33 +3705,33 @@
 ERSION_MAJOR = 1
-2
+3
 ;%0A    final int 
@@ -3754,17 +3754,17 @@
 MINOR = 
-1
+0
 ;%0A    fi
@@ -3852,11 +3852,11 @@
 = %221
-2.0
+3.1
 %22;%0A 
@@ -3899,17 +3899,17 @@
 AJOR = 1
-2
+3
 ;%0A    fi
@@ -3946,14 +3946,14 @@
 MINOR = 
-0
+1
 ;%0A%0A%7D%0A

Update unicode and emoji version