aboutsummaryrefslogtreecommitdiffstats
path: root/include/gmock/gmock.h
diff options
context:
space:
mode:
authorvladlosev <vladlosev@8415998a-534a-0410-bf83-d39667b30386>2011-05-20 00:42:22 +0000
committervladlosev <vladlosev@8415998a-534a-0410-bf83-d39667b30386>2011-05-20 00:42:22 +0000
commit587c1b37c2f0b6d430fb13ce09326db0135b557c (patch)
tree9396b2a9b8eb5d3c30beb9001e983bba37bc7774 /include/gmock/gmock.h
parent47be72a952e672e2635c62353d25e611e9a70dac (diff)
downloadgoogletest-587c1b37c2f0b6d430fb13ce09326db0135b557c.tar.gz
googletest-587c1b37c2f0b6d430fb13ce09326db0135b557c.tar.bz2
googletest-587c1b37c2f0b6d430fb13ce09326db0135b557c.zip
Adds support for building Google Mock as a shared library (DLL).
Diffstat (limited to 'include/gmock/gmock.h')
-rw-r--r--include/gmock/gmock.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/gmock/gmock.h b/include/gmock/gmock.h
index ba9fa286..481e5706 100644
--- a/include/gmock/gmock.h
+++ b/include/gmock/gmock.h
@@ -82,11 +82,11 @@ GMOCK_DECLARE_string_(verbose);
// Since Google Test is needed for Google Mock to work, this function
// also initializes Google Test and parses its flags, if that hasn't
// been done.
-void InitGoogleMock(int* argc, char** argv);
+GTEST_API_ void InitGoogleMock(int* argc, char** argv);
// This overloaded version can be used in Windows programs compiled in
// UNICODE mode.
-void InitGoogleMock(int* argc, wchar_t** argv);
+GTEST_API_ void InitGoogleMock(int* argc, wchar_t** argv);
} // namespace testing