From 566401dc0bbbc8675a3b6885703c39a9a8f63ec5 Mon Sep 17 00:00:00 2001 From: "evan@chromium.org" Date: Fri, 6 May 2011 22:52:45 +0000 Subject: linux components: expose more functions from base These function calls are exposed below in the char_traits, which can then be inlined into user callsites. TEST=chrome builds in release mode Review URL: http://codereview.chromium.org/6949008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84516 0039d316-1c4b-4281-b951-d872f2087c98 --- base/string16.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'base') diff --git a/base/string16.h b/base/string16.h index be0c7d9..16ba86e 100644 --- a/base/string16.h +++ b/base/string16.h @@ -47,12 +47,12 @@ namespace base { // char16 versions of the functions required by string16_char_traits; these // are based on the wide character functions of similar names ("w" or "wcs" // instead of "c16"). -int c16memcmp(const char16* s1, const char16* s2, size_t n); -size_t c16len(const char16* s); -const char16* c16memchr(const char16* s, char16 c, size_t n); -char16* c16memmove(char16* s1, const char16* s2, size_t n); -char16* c16memcpy(char16* s1, const char16* s2, size_t n); -char16* c16memset(char16* s, char16 c, size_t n); +BASE_API int c16memcmp(const char16* s1, const char16* s2, size_t n); +BASE_API size_t c16len(const char16* s); +BASE_API const char16* c16memchr(const char16* s, char16 c, size_t n); +BASE_API char16* c16memmove(char16* s1, const char16* s2, size_t n); +BASE_API char16* c16memcpy(char16* s1, const char16* s2, size_t n); +BASE_API char16* c16memset(char16* s, char16 c, size_t n); struct string16_char_traits { typedef char16 char_type; -- cgit v1.1