summaryrefslogtreecommitdiff
path: root/Build/source/libs/icu/icu-4.8.1/samples/msgfmt/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/icu/icu-4.8.1/samples/msgfmt/util.h')
-rw-r--r--Build/source/libs/icu/icu-4.8.1/samples/msgfmt/util.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/Build/source/libs/icu/icu-4.8.1/samples/msgfmt/util.h b/Build/source/libs/icu/icu-4.8.1/samples/msgfmt/util.h
new file mode 100644
index 00000000000..2d9c4c724e2
--- /dev/null
+++ b/Build/source/libs/icu/icu-4.8.1/samples/msgfmt/util.h
@@ -0,0 +1,16 @@
+/********************************************************************
+ * COPYRIGHT:
+ * Copyright (c) 1999-2002, International Business Machines Corporation and
+ * others. All Rights Reserved.
+ ********************************************************************/
+
+#include "unicode/unistr.h"
+
+// Verify that a UErrorCode is successful; exit(1) if not
+void check(UErrorCode& status, const char* msg);
+
+// Replace nonprintable characters with unicode escapes
+UnicodeString escape(const UnicodeString &source);
+
+// Print the given string to stdout
+void uprintf(const UnicodeString &str);