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
ecb1c3dd
Commit
ecb1c3dd
authored
Oct 14, 2017
by
Dariusz Ostolski
Browse files
#1282: Doc typo fix
parent
7b6561c5
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 @
ecb1c3dd
...
@@ -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