summaryrefslogtreecommitdiffstats
path: root/base/utf_string_conversion_utils.h
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-19 21:56:30 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-19 21:56:30 +0000
commitfb2dafd12b749c047ac50346a7cf05a6c2dd71ac (patch)
tree0e32873c57a0cda9057d507829da6539b209007d /base/utf_string_conversion_utils.h
parentf89860148fa573627e19e6c9a3aa3cbfb58fb7cc (diff)
downloadchromium_src-fb2dafd12b749c047ac50346a7cf05a6c2dd71ac.zip
chromium_src-fb2dafd12b749c047ac50346a7cf05a6c2dd71ac.tar.gz
chromium_src-fb2dafd12b749c047ac50346a7cf05a6c2dd71ac.tar.bz2
components: tag more functions with BASE_API
Needed for the ChromeOS components build. Review URL: http://codereview.chromium.org/7049025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85983 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/utf_string_conversion_utils.h')
-rw-r--r--base/utf_string_conversion_utils.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/base/utf_string_conversion_utils.h b/base/utf_string_conversion_utils.h
index baa7b5c..d86d8a3 100644
--- a/base/utf_string_conversion_utils.h
+++ b/base/utf_string_conversion_utils.h
@@ -38,23 +38,23 @@ inline bool IsValidCharacter(uint32 code_point) {
// (as in a for loop) will take the reader to the next character.
//
// Returns true on success. On false, |*code_point| will be invalid.
-bool ReadUnicodeCharacter(const char* src,
- int32 src_len,
- int32* char_index,
- uint32* code_point_out);
+BASE_API bool ReadUnicodeCharacter(const char* src,
+ int32 src_len,
+ int32* char_index,
+ uint32* code_point_out);
// Reads a UTF-16 character. The usage is the same as the 8-bit version above.
-bool ReadUnicodeCharacter(const char16* src,
- int32 src_len,
- int32* char_index,
- uint32* code_point);
+BASE_API bool ReadUnicodeCharacter(const char16* src,
+ int32 src_len,
+ int32* char_index,
+ uint32* code_point);
#if defined(WCHAR_T_IS_UTF32)
// Reads UTF-32 character. The usage is the same as the 8-bit version above.
-bool ReadUnicodeCharacter(const wchar_t* src,
- int32 src_len,
- int32* char_index,
- uint32* code_point);
+BASE_API bool ReadUnicodeCharacter(const wchar_t* src,
+ int32 src_len,
+ int32* char_index,
+ uint32* code_point);
#endif // defined(WCHAR_T_IS_UTF32)
// WriteUnicodeCharacter -------------------------------------------------------