<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.15"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>ANTLR3C: src/antlr3encodings.c File Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="navtree.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="resize.js"></script> <script type="text/javascript" src="navtreedata.js"></script> <script type="text/javascript" src="navtree.js"></script> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(document).ready(initResizable); /* @license-end */</script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">ANTLR3C  <span id="projectnumber">3.3.1</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.15 --> <script type="text/javascript" src="menudata.js"></script> <script type="text/javascript" src="menu.js"></script> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(function() { initMenu('',false,false,'search.php','Search'); }); /* @license-end */</script> <div id="main-nav"></div> </div><!-- top --> <div id="side-nav" class="ui-resizable side-nav-resizable"> <div id="nav-tree"> <div id="nav-tree-contents"> <div id="nav-sync" class="sync"></div> </div> </div> <div id="splitbar" style="-moz-user-select:none;" class="ui-resizable-handle"> </div> </div> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(document).ready(function(){initNavTree('antlr3encodings_8c.html','');}); /* @license-end */ </script> <div id="doc-content"> <div class="header"> <div class="summary"> <a href="#func-members">Functions</a> </div> <div class="headertitle"> <div class="title">antlr3encodings.c File Reference</div> </div> </div><!--header--> <div class="contents"> <div class="textblock"><code>#include <<a class="el" href="antlr3_8h.html">antlr3.h</a>></code><br /> </div><div class="textblock"><div class="dynheader"> Include dependency graph for antlr3encodings.c:</div> <div class="dyncontent"> <div class="center"><img src="antlr3encodings_8c__incl.png" border="0" usemap="#src_2antlr3encodings_8c" alt=""/></div> <map name="src_2antlr3encodings_8c" id="src_2antlr3encodings_8c"> <area shape="rect" title=" " alt="" coords="1349,5,1502,32"/> <area shape="rect" href="antlr3_8h.html" title=" " alt="" coords="1390,80,1461,107"/> <area shape="rect" href="antlr3defs_8h.html" title="Basic type and constant definitions for ANTLR3 Runtime." alt="" coords="1258,976,1355,1003"/> <area shape="rect" href="antlr3errors_8h.html" title=" " alt="" coords="19,1051,125,1077"/> <area shape="rect" href="antlr3exception_8h.html" title="Contains the definition of a basic ANTLR3 exception structure created by a recognizer when errors are..." alt="" coords="91,304,221,331"/> <area shape="rect" href="antlr3encodings_8h.html" title=" " alt="" coords="2512,229,2645,256"/> <area shape="rect" href="antlr3string_8h.html" title="Simple string interface allows indiscriminate allocation of strings such that they can be allocated a..." alt="" coords="1403,752,1509,779"/> <area shape="rect" href="antlr3collections_8h.html" title=" " alt="" coords="1565,827,1701,853"/> <area shape="rect" href="antlr3bitset_8h.html" title="Defines the basic structures of an ANTLR3 bitset." alt="" coords="1490,901,1595,928"/> <area shape="rect" href="antlr3input_8h.html" title="Defines the basic structures used to manipulate character streams from any input source." alt="" coords="309,528,411,555"/> <area shape="rect" href="antlr3commontoken_8h.html" title="Defines the interface for a common token." alt="" coords="533,677,693,704"/> <area shape="rect" href="antlr3intstream_8h.html" title="Defines the the class interface for an antlr3 INTSTREAM." alt="" coords="702,603,831,629"/> <area shape="rect" href="antlr3cyclicdfa_8h.html" title=" " alt="" coords="963,155,1085,181"/> <area shape="rect" href="antlr3baserecognizer_8h.html" title="Defines the basic structure to support recognizing by either a lexer, parser, or tree parser." alt="" coords="824,229,987,256"/> <area shape="rect" href="antlr3tokenstream_8h.html" title="Defines the interface for an ANTLR3 common token stream." alt="" coords="682,453,830,480"/> <area shape="rect" href="antlr3debugeventlistener_8h.html" title="The definition of all debugging events that a recognizer can trigger." alt="" coords="856,603,1043,629"/> <area shape="rect" href="antlr3commontreeadaptor_8h.html" title="Definition of the ANTLR3 common tree adaptor." alt="" coords="1463,453,1660,480"/> <area shape="rect" href="antlr3basetreeadaptor_8h.html" title="Definition of the ANTLR3 base tree adaptor." alt="" coords="1412,528,1583,555"/> <area shape="rect" href="antlr3recognizersharedstate_8h.html" title="While the C runtime does not need to model the state of multiple lexers and parsers in the same way a..." alt="" coords="1944,304,2149,331"/> <area shape="rect" href="antlr3lexer_8h.html" title="Base interface for any ANTLR3 lexer." alt="" coords="506,379,606,405"/> <area shape="rect" href="antlr3parser_8h.html" title="Base implementation of an ANTLR3 parser." alt="" coords="2173,304,2283,331"/> <area shape="rect" href="antlr3filestream_8h.html" title=" " alt="" coords="2305,752,2437,779"/> <area shape="rect" href="antlr3rewritestreams_8h.html" title=" " alt="" coords="1657,155,1818,181"/> <area shape="rect" title=" " alt="" coords="2312,1051,2421,1077"/> <area shape="rect" title=" " alt="" coords="2445,1051,2509,1077"/> <area shape="rect" title=" " alt="" coords="372,1051,441,1077"/> <area shape="rect" title=" " alt="" coords="466,1051,555,1077"/> <area shape="rect" title=" " alt="" coords="580,1051,660,1077"/> <area shape="rect" title=" " alt="" coords="685,1051,753,1077"/> <area shape="rect" title=" " alt="" coords="777,1051,850,1077"/> <area shape="rect" title=" " alt="" coords="874,1051,947,1077"/> <area shape="rect" title=" " alt="" coords="972,1051,1041,1077"/> <area shape="rect" title=" " alt="" coords="1065,1051,1140,1077"/> <area shape="rect" title=" " alt="" coords="1164,1051,1247,1077"/> <area shape="rect" title=" " alt="" coords="1271,1051,1342,1077"/> <area shape="rect" title=" " alt="" coords="1367,1051,1460,1077"/> <area shape="rect" title=" " alt="" coords="1484,1051,1580,1077"/> <area shape="rect" title=" " alt="" coords="1604,1051,1705,1077"/> <area shape="rect" title=" " alt="" coords="1730,1051,1849,1077"/> <area shape="rect" title=" " alt="" coords="1873,1051,1943,1077"/> <area shape="rect" title=" " alt="" coords="1968,1051,2043,1077"/> <area shape="rect" title=" " alt="" coords="2067,1051,2133,1077"/> <area shape="rect" href="antlr3interfaces_8h.html" title="Declarations for all the antlr3 C runtime interfaces/classes." alt="" coords="2157,1051,2288,1077"/> <area shape="rect" href="antlr3convertutf_8h.html" title=" " alt="" coords="215,1051,348,1077"/> <area shape="rect" href="antlr3commontreenodestream_8h.html" title="Definition of the ANTLR3 common tree node stream." alt="" coords="1110,379,1333,405"/> <area shape="rect" href="antlr3treeparser_8h.html" title=" " alt="" coords="1104,304,1237,331"/> <area shape="rect" href="antlr3basetree_8h.html" title="Definition of the ANTLR3 base tree." alt="" coords="1245,677,1368,704"/> <area shape="rect" href="antlr3commontree_8h.html" title=" " alt="" coords="1168,603,1317,629"/> </map> </div> </div><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> Functions</h2></td></tr> <tr class="memitem:a3a67004f09213f9d957e0f5de90836ed"><td class="memItemLeft" align="right" valign="top"><a class="el" href="antlr3defs_8h.html#ac6724ab3b71a7f4b3c340f52312e8488">ANTLR3_API</a> <a class="el" href="antlr3defs_8h.html#a078eec1343cdbb862af80f352ea701da">ANTLR3_UCHAR</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="antlr3encodings_8c.html#a3a67004f09213f9d957e0f5de90836ed">antlr3c8toAntlrc</a> (<a class="el" href="antlr3defs_8h.html#a3a21ba3b56d771ae6fb58a90fcbd831d">ANTLR3_INT8</a> inc)</td></tr> <tr class="memdesc:a3a67004f09213f9d957e0f5de90836ed"><td class="mdescLeft"> </td><td class="mdescRight">\File Provides basic utility functions to convert between the various Unicode character conversions. <a href="#a3a67004f09213f9d957e0f5de90836ed">More...</a><br /></td></tr> <tr class="separator:a3a67004f09213f9d957e0f5de90836ed"><td class="memSeparator" colspan="2"> </td></tr> </table> <h2 class="groupheader">Function Documentation</h2> <a id="a3a67004f09213f9d957e0f5de90836ed"></a> <h2 class="memtitle"><span class="permalink"><a href="#a3a67004f09213f9d957e0f5de90836ed">◆ </a></span>antlr3c8toAntlrc()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="antlr3defs_8h.html#ac6724ab3b71a7f4b3c340f52312e8488">ANTLR3_API</a> <a class="el" href="antlr3defs_8h.html#a078eec1343cdbb862af80f352ea701da">ANTLR3_UCHAR</a> antlr3c8toAntlrc </td> <td>(</td> <td class="paramtype"><a class="el" href="antlr3defs_8h.html#a3a21ba3b56d771ae6fb58a90fcbd831d">ANTLR3_INT8</a> </td> <td class="paramname"><em>inc</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>\File Provides basic utility functions to convert between the various Unicode character conversions. </p> <p>There are of course various packages that could be used instead of these functions, but then the Antlr 3 C runtime would be dependant on the particular package. Using ICU for this is a good idea if your project is already dependant on it.Convert 8 bit character to ANTLR char form.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramdir">[in]</td><td class="paramname">inc</td><td>Input character to transform from 8 bit form. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>ANTLR3_UCHAR encoding of the character. </dd></dl> </div> </div> </div><!-- contents --> </div><!-- doc-content --> <!-- start footer part --> <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> <ul> <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="antlr3encodings_8c.html">antlr3encodings.c</a></li> <li class="footer">Generated on Fri May 3 2019 05:59:11 for ANTLR3C by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.15 </li> </ul> </div> </body> </html>