bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

new module unitypes


From: Bruno Haible
Subject: new module unitypes
Date: Mon, 8 Jan 2007 21:25:05 +0100
User-agent: KMail/1.9.1

Here's the beginning of the Unicode library modules: the basic types.


2006-12-25  Bruno Haible  <address@hidden>

        * modules/unitypes: New file.
        * lib/unitypes.h: New file.
        * MODULES.html.sh (func_all_modules): New section "Unicode string
        functions". Move ucs4-utf8, ucs4-utf16, utf8-ucs4, utf16-ucs4 to
        this section. Add unitypes.

*** /dev/null   2003-09-23 19:59:22.000000000 +0200
--- modules/unitypes    2006-12-25 03:22:30.000000000 +0100
***************
*** 0 ****
--- 1,22 ----
+ Description:
+ Base types for Unicode string functions.
+ 
+ Files:
+ lib/unitypes.h
+ 
+ Depends-on:
+ stdint
+ 
+ configure.ac:
+ 
+ Makefile.am:
+ 
+ Include:
+ "unitypes.h"
+ 
+ License:
+ LGPL
+ 
+ Maintainer:
+ Bruno Haible
+ 
*** /dev/null   2003-09-23 19:59:22.000000000 +0200
--- lib/unitypes.h      2006-12-25 02:54:03.000000000 +0100
***************
*** 0 ****
--- 1,28 ----
+ /* Elementary types for the GNU UniString library.
+    Copyright (C) 2002, 2005-2006 Free Software Foundation, Inc.
+ 
+    This program is free software; you can redistribute it and/or modify it
+    under the terms of the GNU Library General Public License as published
+    by the Free Software Foundation; either version 2, or (at your option)
+    any later version.
+ 
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+    Library General Public License for more details.
+ 
+    You should have received a copy of the GNU Library General Public
+    License along with this program; if not, write to the Free Software
+    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
+    USA.  */
+ 
+ #ifndef _UNITYPES_H
+ #define _UNITYPES_H
+ 
+ /* Get uint8_t, uint16_t, uint32_t.  */
+ #include <stdint.h>
+ 
+ /* Type representing a Unicode character.  */
+ typedef uint32_t ucs4_t;
+ 
+ #endif /* _UNITYPES_H */




reply via email to

[Prev in Thread] Current Thread [Next in Thread]