ANTLR3C  3.3.1
antlr3encodings.c File Reference
#include <antlr3.h>
Include dependency graph for antlr3encodings.c:

Functions

ANTLR3_API ANTLR3_UCHAR antlr3c8toAntlrc (ANTLR3_INT8 inc)
 \File Provides basic utility functions to convert between the various Unicode character conversions. More...
 

Function Documentation

◆ antlr3c8toAntlrc()

ANTLR3_API ANTLR3_UCHAR antlr3c8toAntlrc ( ANTLR3_INT8  inc)

\File Provides basic utility functions to convert between the various Unicode character conversions.

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.

Parameters
[in]incInput character to transform from 8 bit form.
Returns
ANTLR3_UCHAR encoding of the character.