annotate lib/unitypes.h @ 9258:bee5960c276a

Rename search_.h to search.in.h.
author Bruno Haible <bruno@clisp.org>
date Tue, 02 Oct 2007 00:24:48 +0200
parents dc1b4b5f8246
children ad8a75a45dc9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7791
dc1b4b5f8246 Basic types for Unicode strings.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1 /* Elementary types for the GNU UniString library.
dc1b4b5f8246 Basic types for Unicode strings.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
2 Copyright (C) 2002, 2005-2006 Free Software Foundation, Inc.
dc1b4b5f8246 Basic types for Unicode strings.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
3
dc1b4b5f8246 Basic types for Unicode strings.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
4 This program is free software; you can redistribute it and/or modify it
dc1b4b5f8246 Basic types for Unicode strings.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
5 under the terms of the GNU Library General Public License as published
dc1b4b5f8246 Basic types for Unicode strings.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
6 by the Free Software Foundation; either version 2, or (at your option)
dc1b4b5f8246 Basic types for Unicode strings.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
7 any later version.
dc1b4b5f8246 Basic types for Unicode strings.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
8
dc1b4b5f8246 Basic types for Unicode strings.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
9 This program is distributed in the hope that it will be useful,
dc1b4b5f8246 Basic types for Unicode strings.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
dc1b4b5f8246 Basic types for Unicode strings.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
dc1b4b5f8246 Basic types for Unicode strings.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
12 Library General Public License for more details.
dc1b4b5f8246 Basic types for Unicode strings.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
13
dc1b4b5f8246 Basic types for Unicode strings.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
14 You should have received a copy of the GNU Library General Public
dc1b4b5f8246 Basic types for Unicode strings.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
15 License along with this program; if not, write to the Free Software
dc1b4b5f8246 Basic types for Unicode strings.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
16 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
dc1b4b5f8246 Basic types for Unicode strings.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
17 USA. */
dc1b4b5f8246 Basic types for Unicode strings.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
18
dc1b4b5f8246 Basic types for Unicode strings.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
19 #ifndef _UNITYPES_H
dc1b4b5f8246 Basic types for Unicode strings.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
20 #define _UNITYPES_H
dc1b4b5f8246 Basic types for Unicode strings.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
21
dc1b4b5f8246 Basic types for Unicode strings.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
22 /* Get uint8_t, uint16_t, uint32_t. */
dc1b4b5f8246 Basic types for Unicode strings.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
23 #include <stdint.h>
dc1b4b5f8246 Basic types for Unicode strings.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
24
dc1b4b5f8246 Basic types for Unicode strings.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
25 /* Type representing a Unicode character. */
dc1b4b5f8246 Basic types for Unicode strings.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
26 typedef uint32_t ucs4_t;
dc1b4b5f8246 Basic types for Unicode strings.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
27
dc1b4b5f8246 Basic types for Unicode strings.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
28 #endif /* _UNITYPES_H */