1<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html401/loose.dtd"> 2<html> 3<!-- Created on March, 19 2013 by texi2html 1.78a --> 4<!-- 5Written by: Lionel Cons <Lionel.Cons@cern.ch> (original author) 6 Karl Berry <karl@freefriends.org> 7 Olaf Bachmann <obachman@mathematik.uni-kl.de> 8 and many others. 9Maintained by: Many creative people. 10Send bugs and suggestions to <texi2html-bug@nongnu.org> 11 12--> 13<head> 14<title>GNU libunistring: 3. Elementary types <unitypes.h></title> 15 16<meta name="description" content="GNU libunistring: 3. Elementary types <unitypes.h>"> 17<meta name="keywords" content="GNU libunistring: 3. Elementary types <unitypes.h>"> 18<meta name="resource-type" content="document"> 19<meta name="distribution" content="global"> 20<meta name="Generator" content="texi2html 1.78a"> 21<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 22<style type="text/css"> 23<!-- 24a.summary-letter {text-decoration: none} 25pre.display {font-family: serif} 26pre.format {font-family: serif} 27pre.menu-comment {font-family: serif} 28pre.menu-preformatted {font-family: serif} 29pre.smalldisplay {font-family: serif; font-size: smaller} 30pre.smallexample {font-size: smaller} 31pre.smallformat {font-family: serif; font-size: smaller} 32pre.smalllisp {font-size: smaller} 33span.roman {font-family:serif; font-weight:normal;} 34span.sansserif {font-family:sans-serif; font-weight:normal;} 35ul.toc {list-style: none} 36--> 37</style> 38 39 40</head> 41 42<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000"> 43 44<table cellpadding="1" cellspacing="1" border="0"> 45<tr><td valign="middle" align="left">[<a href="libunistring_2.html#SEC9" title="Beginning of this chapter or previous chapter"> << </a>]</td> 46<td valign="middle" align="left">[<a href="libunistring_4.html#SEC11" title="Next chapter"> >> </a>]</td> 47<td valign="middle" align="left"> </td> 48<td valign="middle" align="left"> </td> 49<td valign="middle" align="left"> </td> 50<td valign="middle" align="left"> </td> 51<td valign="middle" align="left"> </td> 52<td valign="middle" align="left">[<a href="libunistring.html#SEC_Top" title="Cover (top) of document">Top</a>]</td> 53<td valign="middle" align="left">[<a href="libunistring.html#SEC_Contents" title="Table of contents">Contents</a>]</td> 54<td valign="middle" align="left">[<a href="libunistring_18.html#SEC71" title="Index">Index</a>]</td> 55<td valign="middle" align="left">[<a href="libunistring_abt.html#SEC_About" title="About (help)"> ? </a>]</td> 56</tr></table> 57 58<hr size="2"> 59<a name="unitypes_002eh"></a> 60<a name="SEC10"></a> 61<h1 class="chapter"> <a href="libunistring.html#TOC10">3. Elementary types <code><unitypes.h></code></a> </h1> 62 63<p>The include file <code><unitypes.h></code> provides the following basic types. 64</p> 65<dl> 66<dt><u>Type:</u> <b>uint8_t</b> 67<a name="IDX16"></a> 68</dt> 69<dt><u>Type:</u> <b>uint16_t</b> 70<a name="IDX17"></a> 71</dt> 72<dt><u>Type:</u> <b>uint32_t</b> 73<a name="IDX18"></a> 74</dt> 75<dd><p>These are the storage units of UTF-8/16/32 strings, respectively. The definitions are 76taken from <code><stdint.h></code>, on platforms where this include file is present. 77</p></dd></dl> 78 79<dl> 80<dt><u>Type:</u> <b>ucs4_t</b> 81<a name="IDX19"></a> 82</dt> 83<dd><p>This type represents a single Unicode character, outside of an UTF-32 string. 84</p></dd></dl> 85<hr size="6"> 86<table cellpadding="1" cellspacing="1" border="0"> 87<tr><td valign="middle" align="left">[<a href="libunistring_2.html#SEC9" title="Beginning of this chapter or previous chapter"> << </a>]</td> 88<td valign="middle" align="left">[<a href="libunistring_4.html#SEC11" title="Next chapter"> >> </a>]</td> 89<td valign="middle" align="left"> </td> 90<td valign="middle" align="left"> </td> 91<td valign="middle" align="left"> </td> 92<td valign="middle" align="left"> </td> 93<td valign="middle" align="left"> </td> 94<td valign="middle" align="left">[<a href="libunistring.html#SEC_Top" title="Cover (top) of document">Top</a>]</td> 95<td valign="middle" align="left">[<a href="libunistring.html#SEC_Contents" title="Table of contents">Contents</a>]</td> 96<td valign="middle" align="left">[<a href="libunistring_18.html#SEC71" title="Index">Index</a>]</td> 97<td valign="middle" align="left">[<a href="libunistring_abt.html#SEC_About" title="About (help)"> ? </a>]</td> 98</tr></table> 99<p> 100 <font size="-1"> 101 This document was generated on <i>March, 19 2013</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 1.78a</i></a>. 102 </font> 103 <br> 104 105</p> 106</body> 107</html> 108