Last change
on this file since 471 was 457, checked in by coas-nagasima, 4 years ago |
ファイルを追加
|
-
Property svn:eol-style
set to
native
-
Property svn:mime-type
set to
text/x-chdr;charset=UTF-8
|
File size:
826 bytes
|
Line | |
---|
1 | // Copyright (c) Microsoft. All rights reserved.
|
---|
2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
---|
3 |
|
---|
4 | #ifndef METHODRETURN_H
|
---|
5 | #define METHODRETURN_H
|
---|
6 |
|
---|
7 | typedef struct METHODRETURN_HANDLE_DATA_TAG* METHODRETURN_HANDLE;
|
---|
8 |
|
---|
9 | #include "azure_macro_utils/macro_utils.h"
|
---|
10 |
|
---|
11 | typedef struct METHODRETURN_DATA_TAG
|
---|
12 | {
|
---|
13 | int statusCode;
|
---|
14 | char* jsonValue;
|
---|
15 | }METHODRETURN_DATA;
|
---|
16 |
|
---|
17 | #include "umock_c/umock_c_prod.h"
|
---|
18 |
|
---|
19 | #ifdef __cplusplus
|
---|
20 | extern "C"
|
---|
21 | {
|
---|
22 | #endif
|
---|
23 |
|
---|
24 | MOCKABLE_FUNCTION(, METHODRETURN_HANDLE, MethodReturn_Create, int, statusCode, const char*, jsonValue);
|
---|
25 | MOCKABLE_FUNCTION(, void, MethodReturn_Destroy, METHODRETURN_HANDLE, handle);
|
---|
26 | MOCKABLE_FUNCTION(, const METHODRETURN_DATA*, MethodReturn_GetReturn, METHODRETURN_HANDLE, handle);
|
---|
27 |
|
---|
28 | #ifdef __cplusplus
|
---|
29 | }
|
---|
30 | #endif
|
---|
31 |
|
---|
32 |
|
---|
33 | #endif /*METHODRETURN_H*/
|
---|
34 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.