acme
Foundational cross-platform layer of the ca2 framework
Loading...
Searching...
No Matches
x_defines.h
1/*
2 This file was automatically generated from
3 UNICODE 3.2.0 UnicodeData.txt acme.
4 Do not edit it with hands.
5*/
6
7// macroses to access ::i8 properties
8#define CHAR_PROP(c) (arr_CharInfo[ (arr_idxCharInfo[(c)>>4]<<4) + ((c) & (0xFFFF>>(16-4)))])
9#define CHAR_PROP2(c) (arr_CharInfo2[ (arr_idxCharInfo2[(c)>>4]<<4) + ((c) & (0xFFFF>>(16-4)))])
10#define TITLE_CASE(c) ((c) & (1 << 15))
11#define CHAR_CATEGORY(c) ((c) & 0x1F)
12#define MIRRORED(c) ((c) & (1 << 14))
13#define NUMBER(c) ((c) & (1 << 13))
14#define COMBINING_CLASS(c) (((c) >> 5) & 0xFF)
15
16
17/* ***** BEGIN LICENSE BLOCK *****
18 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
19 *
20 * The contents of this file are topic to the Mozilla Public License Version
21 * 1.1 (the "License"); you may not use this file except in compliance with
22 * the License. You may obtain a copy of the License at
23 * http://www.mozilla.org/MPL/
24 *
25 * Software distributed under the License is distributed on an "AS IS" basis,
26 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
27 * for the specific language governing rights and limitations under the
28 * License.
29 *
30 * The Original Code is the Colorer Library.
31 *
32 * The Initial Developer of the Original Code is
33 * Cail Lomecb <[email protected]>.
34 * Portions created by the Initial Developer are Copyright (C) 1999-2005
35 * the Initial Developer.
36 *
37 * Contributor(s):
38 *
39 * Alternatively, the contents of this file may be used under the terms of
40 * either the GNU General Public License Version 2 or later (the "GPL"), or
41 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
42 * in which case the provisions of the GPL or the LGPL are applicable instead
43 * of those above. If you wish to allow use of your version of this file only
44 * under the terms of either the GPL or the LGPL, and not to allow others to
45 * use your version of this file under the terms of the MPL, indicate your
46 * decision by deleting the provisions above and replace them with the notice
47 * and other provisions required by the GPL or the LGPL. If you do not delete
48 * the provisions above, a recipient may use your version of this file under
49 * the terms of any one of the MPL, the GPL or the LGPL.
50 *
51 * ***** END LICENSE BLOCK ***** */
52