summaryrefslogtreecommitdiffstats
path: root/googletest/include/gtest/internal
diff options
context:
space:
mode:
authorAbseil Team <absl-team@google.com>2020-06-09 02:57:37 (GMT)
committervslashg <gfalcon@google.com>2020-06-10 21:37:31 (GMT)
commit9f287b46d1b103010748899ddd47250176565179 (patch)
treea1e2526cf9c80dee2c40b79293a122b70d024d06 /googletest/include/gtest/internal
parentec94d9f24c92a5090fda5567156d6dde99cdbf31 (diff)
downloadgoogletest-9f287b46d1b103010748899ddd47250176565179.zip
googletest-9f287b46d1b103010748899ddd47250176565179.tar.gz
googletest-9f287b46d1b103010748899ddd47250176565179.tar.bz2
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
Diffstat (limited to 'googletest/include/gtest/internal')
-rw-r--r--googletest/include/gtest/internal/gtest-port.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/googletest/include/gtest/internal/gtest-port.h b/googletest/include/gtest/internal/gtest-port.h
index 6f9c14a..d5eea8e 100644
--- a/googletest/include/gtest/internal/gtest-port.h
+++ b/googletest/include/gtest/internal/gtest-port.h
@@ -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
// to *value and returns true; otherwise leaves *value unchanged and returns
// 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
// corresponding to the given Google Test flag.