91 #ifndef U_HIDE_INTERNAL_API 120 #if U_PLATFORM_USES_ONLY_WIN32_API 121 # define U_FILE_SEP_CHAR '\\' 122 # define U_FILE_ALT_SEP_CHAR '/' 123 # define U_PATH_SEP_CHAR ';' 124 # define U_FILE_SEP_STRING "\\" 125 # define U_FILE_ALT_SEP_STRING "/" 126 # define U_PATH_SEP_STRING ";" 128 # define U_FILE_SEP_CHAR '/' 129 # define U_FILE_ALT_SEP_CHAR '/' 130 # define U_PATH_SEP_CHAR ':' 131 # define U_FILE_SEP_STRING "/" 132 # define U_FILE_ALT_SEP_STRING "/" 133 # define U_PATH_SEP_STRING ":" const char * u_getDataDirectory(void)
Platform utilities isolates the platform dependencies of the libarary.
void u_charsToUChars(const char *cs, UChar *us, int32_t length)
Convert char characters to UChar characters.
#define U_INTERNAL
This is used to declare a function as an internal ICU C API.
void u_UCharsToChars(const UChar *us, char *cs, int32_t length)
Convert UChar characters to char characters.
void u_setDataDirectory(const char *directory)
Set the ICU data directory.
uint16_t UChar
Define UChar to be UCHAR_TYPE, if that is #defined (for example, to char16_t), or wchar_t if that is ...
UErrorCode
Error code to replace exception handling, so that the code is compatible with all C++ compilers...
void u_setTimeZoneFilesDirectory(const char *path, UErrorCode *status)
Set the time zone files override directory.
Basic definitions for ICU, for both C and C++ APIs.
const char * u_getTimeZoneFilesDirectory(UErrorCode *status)
Return the time zone files override directory, or an empty string if no directory was specified...
#define U_STABLE
This is used to declare a function as a stable public ICU C API.