ObjFW  Artifact [de0318d27c]

Artifact de0318d27cccec6a6b448bcd76e20548938861573705ed848afe686b66e6655c:

  • File src/unicode.h — part of check-in [be4c0f34c5] at 2010-01-08 15:26:34 on branch trunk — Generate and use smaller Unicode tables. (user: js size: 717)

/*
 * Copyright (c) 2008 - 2009
 *   Jonathan Schleifer <js@webkeks.org>
 *
 * All rights reserved.
 *
 * This file is part of ObjFW. It may be distributed under the terms of the
 * Q Public License 1.0, which can be found in the file LICENSE included in
 * the packaging of this file.
 */

#import "OFString.h"

#define OF_UNICODE_UPPER_TABLE_SIZE 0x105
#define OF_UNICODE_LOWER_TABLE_SIZE 0x105
#define OF_UNICODE_CASEFOLDING_TABLE_SIZE 0xA8

extern const int16_t* const
    of_unicode_upper_table[OF_UNICODE_UPPER_TABLE_SIZE];
extern const int16_t* const
    of_unicode_lower_table[OF_UNICODE_LOWER_TABLE_SIZE];
extern const of_unichar_t* const
    of_unicode_casefolding_table[OF_UNICODE_CASEFOLDING_TABLE_SIZE];