Logo Search packages:      
Sourcecode: icu version File versions  Download package

U_STABLE int32_t U_EXPORT2 uldn_scriptCodeDisplayName ( const ULocaleDisplayNames ldn,
UScriptCode  scriptCode,
UChar result,
int32_t  maxResultSize,
UErrorCode pErrorCode 

Returns the display name of the provided script code.

ldnthe LocaleDisplayNames instance
scriptCodethe script code whose display name to return
resultreceives the display name
maxResultSizethe size of the result buffer
pErrorCodethe status code
the actual buffer size needed for the display name. If it's greater than maxResultSize, the returned name will be truncated. ICU 4.4

Definition at line 612 of file locdspnm.cpp.

  return uldn_scriptDisplayName(ldn, uscript_getName(scriptCode), result, maxResultSize, pErrorCode);

Generated by  Doxygen 1.6.0   Back to index