Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(159)

Unified Diff: src/gtest-internal-inl.h

Issue 5641053: eCos support Base URL: http://googletest.googlecode.com/svn/trunk/
Patch Set: Created 12 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/gtest.cc ('k') | src/gtest-port.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gtest-internal-inl.h
===================================================================
--- src/gtest-internal-inl.h (revision 610)
+++ src/gtest-internal-inl.h (working copy)
@@ -219,6 +219,7 @@
bool throw_on_failure_;
} GTEST_ATTRIBUTE_UNUSED_;
+#if GTEST_HAS_WCHAR
// Converts a Unicode code point to a narrow string in UTF-8 encoding.
// code_point parameter is of type UInt32 because wchar_t may not be
// wide enough to contain a code point.
@@ -243,6 +244,7 @@
// and contains invalid UTF-16 surrogate pairs, values in those pairs
// will be encoded as individual Unicode characters from Basic Normal Plane.
GTEST_API_ String WideStringToUtf8(const wchar_t* str, int num_chars);
+#endif
// Reads the GTEST_SHARD_STATUS_FILE environment variable, and creates the file
// if the variable is present. If a file already exists at this location, this
@@ -947,7 +949,9 @@
// Parses the command line for Google Test flags, without initializing
// other parts of Google Test.
GTEST_API_ void ParseGoogleTestFlagsOnly(int* argc, char** argv);
+#if GTEST_HAS_WCHAR
GTEST_API_ void ParseGoogleTestFlagsOnly(int* argc, wchar_t** argv);
+#endif
#if GTEST_HAS_DEATH_TEST
« no previous file with comments | « src/gtest.cc ('k') | src/gtest-port.cc » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b