| Index: testing/gmock/src/gmock-printers.cc
|
| diff --git a/testing/gmock/src/gmock-printers.cc b/testing/gmock/src/gmock-printers.cc
|
| index e6d4001aafb5fd542d628bd5a556014a448a3083..922a7b2d8c03573069fa0cc0ea59efa1f6cf4d05 100644
|
| --- a/testing/gmock/src/gmock-printers.cc
|
| +++ b/testing/gmock/src/gmock-printers.cc
|
| @@ -242,6 +242,11 @@ static void PrintCharsAsStringTo(const char* begin, size_t len, ostream* os) {
|
| *os << "\"";
|
| }
|
|
|
| +// Prints a (const) char array of 'len' elements, starting at address 'begin'.
|
| +void UniversalPrintArray(const char* begin, size_t len, ostream* os) {
|
| + PrintCharsAsStringTo(begin, len, os);
|
| +}
|
| +
|
| // Prints the given array of wide characters to the ostream.
|
| // The array starts at *begin, the length is len, it may include L'\0'
|
| // characters and may not be null-terminated.
|
|
|