Commit 9f287b46 authored by Abseil Team's avatar Abseil Team Committed by vslashg
Browse files

Googletest export

Make visible ParseInt32 in case users have separate gmock/gtest libraries and hidden-by-default symbols.

This function is still considered an internal implementation detail and is subject to change without notice. It is still unsafe/unsupported to link together libraries built at different commits.

PiperOrigin-RevId: 315405429
parent ec94d9f2
...@@ -2220,7 +2220,8 @@ using TimeInMillis = int64_t; // Represents time in milliseconds. ...@@ -2220,7 +2220,8 @@ using TimeInMillis = int64_t; // Represents time in milliseconds.
// Parses 'str' for a 32-bit signed integer. If successful, writes the result // Parses 'str' for a 32-bit signed integer. If successful, writes the result
// to *value and returns true; otherwise leaves *value unchanged and returns // to *value and returns true; otherwise leaves *value unchanged and returns
// false. // false.
bool ParseInt32(const Message& src_text, const char* str, int32_t* value); GTEST_API_ bool ParseInt32(const Message& src_text, const char* str,
int32_t* value);
// Parses a bool/int32_t/string from the environment variable // Parses a bool/int32_t/string from the environment variable
// corresponding to the given Google Test flag. // corresponding to the given Google Test flag.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment