ICU-3389 Reduce the number of exported symbols
X-SVN-Rev: 14793
This commit is contained in:
parent
919d6d3f2a
commit
c5a0a54ec1
@ -18,12 +18,12 @@ and print it to stderr
|
||||
/* Set the path to wmsg's bundle.
|
||||
Caller owns storage.
|
||||
*/
|
||||
U_CAPI UResourceBundle *u_wmsg_setPath(const char *path, UErrorCode *err);
|
||||
U_CFUNC UResourceBundle *u_wmsg_setPath(const char *path, UErrorCode *err);
|
||||
|
||||
/* Format a message and print it's output to a given file stream */
|
||||
U_CAPI int u_wmsg(FILE *fp, const char *tag, ... );
|
||||
U_CFUNC int u_wmsg(FILE *fp, const char *tag, ... );
|
||||
|
||||
/* format an error message */
|
||||
U_CAPI const UChar* u_wmsg_errorName(UErrorCode err);
|
||||
U_CFUNC const UChar* u_wmsg_errorName(UErrorCode err);
|
||||
|
||||
#endif
|
||||
|
@ -88,7 +88,7 @@ static UResourceBundle *gBundle = NULL;
|
||||
|
||||
U_STRING_DECL(gNoFormatting, " (UCONFIG_NO_FORMATTING see uconfig.h)", 38);
|
||||
|
||||
U_CAPI UResourceBundle *u_wmsg_setPath(const char *path, UErrorCode *err)
|
||||
U_CFUNC UResourceBundle *u_wmsg_setPath(const char *path, UErrorCode *err)
|
||||
{
|
||||
if(U_FAILURE(*err))
|
||||
{
|
||||
@ -119,7 +119,7 @@ U_CAPI UResourceBundle *u_wmsg_setPath(const char *path, UErrorCode *err)
|
||||
}
|
||||
|
||||
/* Format a message and print it's output to fp */
|
||||
U_CAPI int u_wmsg(FILE *fp, const char *tag, ... )
|
||||
U_CFUNC int u_wmsg(FILE *fp, const char *tag, ... )
|
||||
{
|
||||
const UChar *msg;
|
||||
int32_t msgLen;
|
||||
@ -216,7 +216,7 @@ static const UChar *fetchErrorName(UErrorCode err)
|
||||
return gInfoMessages[err-U_ERROR_WARNING_START];
|
||||
}
|
||||
|
||||
U_CAPI const UChar *u_wmsg_errorName(UErrorCode err)
|
||||
U_CFUNC const UChar *u_wmsg_errorName(UErrorCode err)
|
||||
{
|
||||
UChar *msg;
|
||||
int32_t msgLen;
|
||||
|
Loading…
Reference in New Issue
Block a user