antlr3encodings.c File Reference

#include <antlr3.h>
Include dependency graph for antlr3encodings.c:

Functions

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

Function Documentation

ANTLR3_API ANTLR3_UCHAR antlr3c8toAntlrc ( ANTLR3_INT8  inc  ) 

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] inc Input character to transform in 8 bit ASCII form.
Returns:
ANTLR3_UCHAR encoding of the character.

Generated on 29 Apr 2010 for ANTLR3C by  doxygen 1.6.1