Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
yangql
googletest
Commits
963932e7
Commit
963932e7
authored
Oct 15, 2017
by
Gennadiy Civil
Committed by
GitHub
Oct 15, 2017
Browse files
Merge pull request #1292 from DariuszOstolski/master
#1282: Doc typo fix
parents
7b6561c5
ecb1c3dd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
googlemock/docs/CheatSheet.md
googlemock/docs/CheatSheet.md
+1
-1
No files found.
googlemock/docs/CheatSheet.md
View file @
963932e7
...
@@ -65,7 +65,7 @@ can specify it by appending `_WITH_CALLTYPE` to any of the macros
...
@@ -65,7 +65,7 @@ can specify it by appending `_WITH_CALLTYPE` to any of the macros
described in the previous two sections and supplying the calling
described in the previous two sections and supplying the calling
convention as the first argument to the macro. For example,
convention as the first argument to the macro. For example,
```
```
MOCK_METHOD
_
1_WITH_CALLTYPE(STDMETHODCALLTYPE, Foo, bool(int n));
MOCK_METHOD1_WITH_CALLTYPE(STDMETHODCALLTYPE, Foo, bool(int n));
MOCK_CONST_METHOD2_WITH_CALLTYPE(STDMETHODCALLTYPE, Bar, int(double x, double y));
MOCK_CONST_METHOD2_WITH_CALLTYPE(STDMETHODCALLTYPE, Bar, int(double x, double y));
```
```
where
`STDMETHODCALLTYPE`
is defined by
`<objbase.h>`
on Windows.
where
`STDMETHODCALLTYPE`
is defined by
`<objbase.h>`
on Windows.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment