1 /* AUTOGENERATED FILE. DO NOT EDIT. */
2 #ifndef _MOCKFWK_IO_H
3 #define _MOCKFWK_IO_H
4 
5 #include "unity.h"
6 #include "fwk_io.h"
7 
8 /* Ignore the following warnings, since we are copying code */
9 #if defined(__GNUC__) && !defined(__ICC) && !defined(__TMS470__)
10 #if __GNUC__ > 4 || (__GNUC__ == 4 && (__GNUC_MINOR__ > 6 || (__GNUC_MINOR__ == 6 && __GNUC_PATCHLEVEL__ > 0)))
11 #pragma GCC diagnostic push
12 #endif
13 #if !defined(__clang__)
14 #pragma GCC diagnostic ignored "-Wpragmas"
15 #endif
16 #pragma GCC diagnostic ignored "-Wunknown-pragmas"
17 #pragma GCC diagnostic ignored "-Wduplicate-decl-specifier"
18 #endif
19 
20 void Mockfwk_io_Init(void);
21 void Mockfwk_io_Destroy(void);
22 void Mockfwk_io_Verify(void);
23 
24 
25 
26 
27 #define fwk_io_open_IgnoreAndReturn(cmock_retval) fwk_io_open_CMockIgnoreAndReturn(__LINE__, cmock_retval)
28 void fwk_io_open_CMockIgnoreAndReturn(UNITY_LINE_TYPE cmock_line, int cmock_to_return);
29 #define fwk_io_open_StopIgnore() fwk_io_open_CMockStopIgnore()
30 void fwk_io_open_CMockStopIgnore(void);
31 #define fwk_io_open_ExpectAnyArgsAndReturn(cmock_retval) fwk_io_open_CMockExpectAnyArgsAndReturn(__LINE__, cmock_retval)
32 void fwk_io_open_CMockExpectAnyArgsAndReturn(UNITY_LINE_TYPE cmock_line, int cmock_to_return);
33 #define fwk_io_open_ExpectAndReturn(stream, id, mode, cmock_retval) fwk_io_open_CMockExpectAndReturn(__LINE__, stream, id, mode, cmock_retval)
34 void fwk_io_open_CMockExpectAndReturn(UNITY_LINE_TYPE cmock_line, struct fwk_io_stream* stream, fwk_id_t id, enum fwk_io_mode mode, int cmock_to_return);
35 typedef int (* CMOCK_fwk_io_open_CALLBACK)(struct fwk_io_stream* stream, fwk_id_t id, enum fwk_io_mode mode, int cmock_num_calls);
36 void fwk_io_open_AddCallback(CMOCK_fwk_io_open_CALLBACK Callback);
37 void fwk_io_open_Stub(CMOCK_fwk_io_open_CALLBACK Callback);
38 #define fwk_io_open_StubWithCallback fwk_io_open_Stub
39 #define fwk_io_open_ExpectWithArrayAndReturn(stream, stream_Depth, id, mode, cmock_retval) fwk_io_open_CMockExpectWithArrayAndReturn(__LINE__, stream, stream_Depth, id, mode, cmock_retval)
40 void fwk_io_open_CMockExpectWithArrayAndReturn(UNITY_LINE_TYPE cmock_line, struct fwk_io_stream* stream, int stream_Depth, fwk_id_t id, enum fwk_io_mode mode, int cmock_to_return);
41 #define fwk_io_open_ReturnThruPtr_stream(stream) fwk_io_open_CMockReturnMemThruPtr_stream(__LINE__, stream, sizeof(struct fwk_io_stream))
42 #define fwk_io_open_ReturnArrayThruPtr_stream(stream, cmock_len) fwk_io_open_CMockReturnMemThruPtr_stream(__LINE__, stream, cmock_len * sizeof(*stream))
43 #define fwk_io_open_ReturnMemThruPtr_stream(stream, cmock_size) fwk_io_open_CMockReturnMemThruPtr_stream(__LINE__, stream, cmock_size)
44 void fwk_io_open_CMockReturnMemThruPtr_stream(UNITY_LINE_TYPE cmock_line, struct fwk_io_stream* stream, size_t cmock_size);
45 #define fwk_io_open_IgnoreArg_stream() fwk_io_open_CMockIgnoreArg_stream(__LINE__)
46 void fwk_io_open_CMockIgnoreArg_stream(UNITY_LINE_TYPE cmock_line);
47 #define fwk_io_open_IgnoreArg_id() fwk_io_open_CMockIgnoreArg_id(__LINE__)
48 void fwk_io_open_CMockIgnoreArg_id(UNITY_LINE_TYPE cmock_line);
49 #define fwk_io_open_IgnoreArg_mode() fwk_io_open_CMockIgnoreArg_mode(__LINE__)
50 void fwk_io_open_CMockIgnoreArg_mode(UNITY_LINE_TYPE cmock_line);
51 #define fwk_io_getch_IgnoreAndReturn(cmock_retval) fwk_io_getch_CMockIgnoreAndReturn(__LINE__, cmock_retval)
52 void fwk_io_getch_CMockIgnoreAndReturn(UNITY_LINE_TYPE cmock_line, int cmock_to_return);
53 #define fwk_io_getch_StopIgnore() fwk_io_getch_CMockStopIgnore()
54 void fwk_io_getch_CMockStopIgnore(void);
55 #define fwk_io_getch_ExpectAnyArgsAndReturn(cmock_retval) fwk_io_getch_CMockExpectAnyArgsAndReturn(__LINE__, cmock_retval)
56 void fwk_io_getch_CMockExpectAnyArgsAndReturn(UNITY_LINE_TYPE cmock_line, int cmock_to_return);
57 #define fwk_io_getch_ExpectAndReturn(stream, ch, cmock_retval) fwk_io_getch_CMockExpectAndReturn(__LINE__, stream, ch, cmock_retval)
58 void fwk_io_getch_CMockExpectAndReturn(UNITY_LINE_TYPE cmock_line, const struct fwk_io_stream* stream, char* ch, int cmock_to_return);
59 typedef int (* CMOCK_fwk_io_getch_CALLBACK)(const struct fwk_io_stream* stream, char* ch, int cmock_num_calls);
60 void fwk_io_getch_AddCallback(CMOCK_fwk_io_getch_CALLBACK Callback);
61 void fwk_io_getch_Stub(CMOCK_fwk_io_getch_CALLBACK Callback);
62 #define fwk_io_getch_StubWithCallback fwk_io_getch_Stub
63 #define fwk_io_getch_ExpectWithArrayAndReturn(stream, stream_Depth, ch, cmock_retval) fwk_io_getch_CMockExpectWithArrayAndReturn(__LINE__, stream, stream_Depth, ch, cmock_retval)
64 void fwk_io_getch_CMockExpectWithArrayAndReturn(UNITY_LINE_TYPE cmock_line, const struct fwk_io_stream* stream, int stream_Depth, char* ch, int cmock_to_return);
65 #define fwk_io_getch_ReturnThruPtr_ch(ch) fwk_io_getch_CMockReturnMemThruPtr_ch(__LINE__, ch, sizeof(char))
66 #define fwk_io_getch_ReturnArrayThruPtr_ch(ch, cmock_len) fwk_io_getch_CMockReturnMemThruPtr_ch(__LINE__, ch, cmock_len * sizeof(*ch))
67 #define fwk_io_getch_ReturnMemThruPtr_ch(ch, cmock_size) fwk_io_getch_CMockReturnMemThruPtr_ch(__LINE__, ch, cmock_size)
68 void fwk_io_getch_CMockReturnMemThruPtr_ch(UNITY_LINE_TYPE cmock_line, char* ch, size_t cmock_size);
69 #define fwk_io_getch_IgnoreArg_stream() fwk_io_getch_CMockIgnoreArg_stream(__LINE__)
70 void fwk_io_getch_CMockIgnoreArg_stream(UNITY_LINE_TYPE cmock_line);
71 #define fwk_io_getch_IgnoreArg_ch() fwk_io_getch_CMockIgnoreArg_ch(__LINE__)
72 void fwk_io_getch_CMockIgnoreArg_ch(UNITY_LINE_TYPE cmock_line);
73 #define fwk_io_putch_IgnoreAndReturn(cmock_retval) fwk_io_putch_CMockIgnoreAndReturn(__LINE__, cmock_retval)
74 void fwk_io_putch_CMockIgnoreAndReturn(UNITY_LINE_TYPE cmock_line, int cmock_to_return);
75 #define fwk_io_putch_StopIgnore() fwk_io_putch_CMockStopIgnore()
76 void fwk_io_putch_CMockStopIgnore(void);
77 #define fwk_io_putch_ExpectAnyArgsAndReturn(cmock_retval) fwk_io_putch_CMockExpectAnyArgsAndReturn(__LINE__, cmock_retval)
78 void fwk_io_putch_CMockExpectAnyArgsAndReturn(UNITY_LINE_TYPE cmock_line, int cmock_to_return);
79 #define fwk_io_putch_ExpectAndReturn(stream, ch, cmock_retval) fwk_io_putch_CMockExpectAndReturn(__LINE__, stream, ch, cmock_retval)
80 void fwk_io_putch_CMockExpectAndReturn(UNITY_LINE_TYPE cmock_line, const struct fwk_io_stream* stream, char ch, int cmock_to_return);
81 typedef int (* CMOCK_fwk_io_putch_CALLBACK)(const struct fwk_io_stream* stream, char ch, int cmock_num_calls);
82 void fwk_io_putch_AddCallback(CMOCK_fwk_io_putch_CALLBACK Callback);
83 void fwk_io_putch_Stub(CMOCK_fwk_io_putch_CALLBACK Callback);
84 #define fwk_io_putch_StubWithCallback fwk_io_putch_Stub
85 #define fwk_io_putch_ExpectWithArrayAndReturn(stream, stream_Depth, ch, cmock_retval) fwk_io_putch_CMockExpectWithArrayAndReturn(__LINE__, stream, stream_Depth, ch, cmock_retval)
86 void fwk_io_putch_CMockExpectWithArrayAndReturn(UNITY_LINE_TYPE cmock_line, const struct fwk_io_stream* stream, int stream_Depth, char ch, int cmock_to_return);
87 #define fwk_io_putch_IgnoreArg_stream() fwk_io_putch_CMockIgnoreArg_stream(__LINE__)
88 void fwk_io_putch_CMockIgnoreArg_stream(UNITY_LINE_TYPE cmock_line);
89 #define fwk_io_putch_IgnoreArg_ch() fwk_io_putch_CMockIgnoreArg_ch(__LINE__)
90 void fwk_io_putch_CMockIgnoreArg_ch(UNITY_LINE_TYPE cmock_line);
91 #define fwk_io_read_IgnoreAndReturn(cmock_retval) fwk_io_read_CMockIgnoreAndReturn(__LINE__, cmock_retval)
92 void fwk_io_read_CMockIgnoreAndReturn(UNITY_LINE_TYPE cmock_line, int cmock_to_return);
93 #define fwk_io_read_StopIgnore() fwk_io_read_CMockStopIgnore()
94 void fwk_io_read_CMockStopIgnore(void);
95 #define fwk_io_read_ExpectAnyArgsAndReturn(cmock_retval) fwk_io_read_CMockExpectAnyArgsAndReturn(__LINE__, cmock_retval)
96 void fwk_io_read_CMockExpectAnyArgsAndReturn(UNITY_LINE_TYPE cmock_line, int cmock_to_return);
97 #define fwk_io_read_ExpectAndReturn(stream, read, buffer, size, count, cmock_retval) fwk_io_read_CMockExpectAndReturn(__LINE__, stream, read, buffer, size, count, cmock_retval)
98 void fwk_io_read_CMockExpectAndReturn(UNITY_LINE_TYPE cmock_line, const struct fwk_io_stream* stream, size_t* read, void* buffer, size_t size, size_t count, int cmock_to_return);
99 typedef int (* CMOCK_fwk_io_read_CALLBACK)(const struct fwk_io_stream* stream, size_t* read, void* buffer, size_t size, size_t count, int cmock_num_calls);
100 void fwk_io_read_AddCallback(CMOCK_fwk_io_read_CALLBACK Callback);
101 void fwk_io_read_Stub(CMOCK_fwk_io_read_CALLBACK Callback);
102 #define fwk_io_read_StubWithCallback fwk_io_read_Stub
103 #define fwk_io_read_ExpectWithArrayAndReturn(stream, stream_Depth, read, read_Depth, buffer, buffer_Depth, size, count, cmock_retval) fwk_io_read_CMockExpectWithArrayAndReturn(__LINE__, stream, stream_Depth, read, read_Depth, buffer, buffer_Depth, size, count, cmock_retval)
104 void fwk_io_read_CMockExpectWithArrayAndReturn(UNITY_LINE_TYPE cmock_line, const struct fwk_io_stream* stream, int stream_Depth, size_t* read, int read_Depth, void* buffer, int buffer_Depth, size_t size, size_t count, int cmock_to_return);
105 #define fwk_io_read_ReturnThruPtr_read(read) fwk_io_read_CMockReturnMemThruPtr_read(__LINE__, read, sizeof(size_t))
106 #define fwk_io_read_ReturnArrayThruPtr_read(read, cmock_len) fwk_io_read_CMockReturnMemThruPtr_read(__LINE__, read, cmock_len * sizeof(*read))
107 #define fwk_io_read_ReturnMemThruPtr_read(read, cmock_size) fwk_io_read_CMockReturnMemThruPtr_read(__LINE__, read, cmock_size)
108 void fwk_io_read_CMockReturnMemThruPtr_read(UNITY_LINE_TYPE cmock_line, size_t* read, size_t cmock_size);
109 #define fwk_io_read_ReturnThruPtr_buffer(buffer) fwk_io_read_CMockReturnMemThruPtr_buffer(__LINE__, buffer, sizeof(void))
110 #define fwk_io_read_ReturnArrayThruPtr_buffer(buffer, cmock_len) fwk_io_read_CMockReturnMemThruPtr_buffer(__LINE__, buffer, cmock_len * sizeof(*buffer))
111 #define fwk_io_read_ReturnMemThruPtr_buffer(buffer, cmock_size) fwk_io_read_CMockReturnMemThruPtr_buffer(__LINE__, buffer, cmock_size)
112 void fwk_io_read_CMockReturnMemThruPtr_buffer(UNITY_LINE_TYPE cmock_line, void* buffer, size_t cmock_size);
113 #define fwk_io_read_IgnoreArg_stream() fwk_io_read_CMockIgnoreArg_stream(__LINE__)
114 void fwk_io_read_CMockIgnoreArg_stream(UNITY_LINE_TYPE cmock_line);
115 #define fwk_io_read_IgnoreArg_read() fwk_io_read_CMockIgnoreArg_read(__LINE__)
116 void fwk_io_read_CMockIgnoreArg_read(UNITY_LINE_TYPE cmock_line);
117 #define fwk_io_read_IgnoreArg_buffer() fwk_io_read_CMockIgnoreArg_buffer(__LINE__)
118 void fwk_io_read_CMockIgnoreArg_buffer(UNITY_LINE_TYPE cmock_line);
119 #define fwk_io_read_IgnoreArg_size() fwk_io_read_CMockIgnoreArg_size(__LINE__)
120 void fwk_io_read_CMockIgnoreArg_size(UNITY_LINE_TYPE cmock_line);
121 #define fwk_io_read_IgnoreArg_count() fwk_io_read_CMockIgnoreArg_count(__LINE__)
122 void fwk_io_read_CMockIgnoreArg_count(UNITY_LINE_TYPE cmock_line);
123 #define fwk_io_write_IgnoreAndReturn(cmock_retval) fwk_io_write_CMockIgnoreAndReturn(__LINE__, cmock_retval)
124 void fwk_io_write_CMockIgnoreAndReturn(UNITY_LINE_TYPE cmock_line, int cmock_to_return);
125 #define fwk_io_write_StopIgnore() fwk_io_write_CMockStopIgnore()
126 void fwk_io_write_CMockStopIgnore(void);
127 #define fwk_io_write_ExpectAnyArgsAndReturn(cmock_retval) fwk_io_write_CMockExpectAnyArgsAndReturn(__LINE__, cmock_retval)
128 void fwk_io_write_CMockExpectAnyArgsAndReturn(UNITY_LINE_TYPE cmock_line, int cmock_to_return);
129 #define fwk_io_write_ExpectAndReturn(stream, written, buffer, size, count, cmock_retval) fwk_io_write_CMockExpectAndReturn(__LINE__, stream, written, buffer, size, count, cmock_retval)
130 void fwk_io_write_CMockExpectAndReturn(UNITY_LINE_TYPE cmock_line, const struct fwk_io_stream* stream, size_t* written, const void* buffer, size_t size, size_t count, int cmock_to_return);
131 typedef int (* CMOCK_fwk_io_write_CALLBACK)(const struct fwk_io_stream* stream, size_t* written, const void* buffer, size_t size, size_t count, int cmock_num_calls);
132 void fwk_io_write_AddCallback(CMOCK_fwk_io_write_CALLBACK Callback);
133 void fwk_io_write_Stub(CMOCK_fwk_io_write_CALLBACK Callback);
134 #define fwk_io_write_StubWithCallback fwk_io_write_Stub
135 #define fwk_io_write_ExpectWithArrayAndReturn(stream, stream_Depth, written, written_Depth, buffer, buffer_Depth, size, count, cmock_retval) fwk_io_write_CMockExpectWithArrayAndReturn(__LINE__, stream, stream_Depth, written, written_Depth, buffer, buffer_Depth, size, count, cmock_retval)
136 void fwk_io_write_CMockExpectWithArrayAndReturn(UNITY_LINE_TYPE cmock_line, const struct fwk_io_stream* stream, int stream_Depth, size_t* written, int written_Depth, const void* buffer, int buffer_Depth, size_t size, size_t count, int cmock_to_return);
137 #define fwk_io_write_ReturnThruPtr_written(written) fwk_io_write_CMockReturnMemThruPtr_written(__LINE__, written, sizeof(size_t))
138 #define fwk_io_write_ReturnArrayThruPtr_written(written, cmock_len) fwk_io_write_CMockReturnMemThruPtr_written(__LINE__, written, cmock_len * sizeof(*written))
139 #define fwk_io_write_ReturnMemThruPtr_written(written, cmock_size) fwk_io_write_CMockReturnMemThruPtr_written(__LINE__, written, cmock_size)
140 void fwk_io_write_CMockReturnMemThruPtr_written(UNITY_LINE_TYPE cmock_line, size_t* written, size_t cmock_size);
141 #define fwk_io_write_IgnoreArg_stream() fwk_io_write_CMockIgnoreArg_stream(__LINE__)
142 void fwk_io_write_CMockIgnoreArg_stream(UNITY_LINE_TYPE cmock_line);
143 #define fwk_io_write_IgnoreArg_written() fwk_io_write_CMockIgnoreArg_written(__LINE__)
144 void fwk_io_write_CMockIgnoreArg_written(UNITY_LINE_TYPE cmock_line);
145 #define fwk_io_write_IgnoreArg_buffer() fwk_io_write_CMockIgnoreArg_buffer(__LINE__)
146 void fwk_io_write_CMockIgnoreArg_buffer(UNITY_LINE_TYPE cmock_line);
147 #define fwk_io_write_IgnoreArg_size() fwk_io_write_CMockIgnoreArg_size(__LINE__)
148 void fwk_io_write_CMockIgnoreArg_size(UNITY_LINE_TYPE cmock_line);
149 #define fwk_io_write_IgnoreArg_count() fwk_io_write_CMockIgnoreArg_count(__LINE__)
150 void fwk_io_write_CMockIgnoreArg_count(UNITY_LINE_TYPE cmock_line);
151 #define fwk_io_puts_IgnoreAndReturn(cmock_retval) fwk_io_puts_CMockIgnoreAndReturn(__LINE__, cmock_retval)
152 void fwk_io_puts_CMockIgnoreAndReturn(UNITY_LINE_TYPE cmock_line, int cmock_to_return);
153 #define fwk_io_puts_StopIgnore() fwk_io_puts_CMockStopIgnore()
154 void fwk_io_puts_CMockStopIgnore(void);
155 #define fwk_io_puts_ExpectAnyArgsAndReturn(cmock_retval) fwk_io_puts_CMockExpectAnyArgsAndReturn(__LINE__, cmock_retval)
156 void fwk_io_puts_CMockExpectAnyArgsAndReturn(UNITY_LINE_TYPE cmock_line, int cmock_to_return);
157 #define fwk_io_puts_ExpectAndReturn(stream, str, cmock_retval) fwk_io_puts_CMockExpectAndReturn(__LINE__, stream, str, cmock_retval)
158 void fwk_io_puts_CMockExpectAndReturn(UNITY_LINE_TYPE cmock_line, const struct fwk_io_stream* stream, const char* str, int cmock_to_return);
159 typedef int (* CMOCK_fwk_io_puts_CALLBACK)(const struct fwk_io_stream* stream, const char* str, int cmock_num_calls);
160 void fwk_io_puts_AddCallback(CMOCK_fwk_io_puts_CALLBACK Callback);
161 void fwk_io_puts_Stub(CMOCK_fwk_io_puts_CALLBACK Callback);
162 #define fwk_io_puts_StubWithCallback fwk_io_puts_Stub
163 #define fwk_io_puts_ExpectWithArrayAndReturn(stream, stream_Depth, str, cmock_retval) fwk_io_puts_CMockExpectWithArrayAndReturn(__LINE__, stream, stream_Depth, str, cmock_retval)
164 void fwk_io_puts_CMockExpectWithArrayAndReturn(UNITY_LINE_TYPE cmock_line, const struct fwk_io_stream* stream, int stream_Depth, const char* str, int cmock_to_return);
165 #define fwk_io_puts_IgnoreArg_stream() fwk_io_puts_CMockIgnoreArg_stream(__LINE__)
166 void fwk_io_puts_CMockIgnoreArg_stream(UNITY_LINE_TYPE cmock_line);
167 #define fwk_io_puts_IgnoreArg_str() fwk_io_puts_CMockIgnoreArg_str(__LINE__)
168 void fwk_io_puts_CMockIgnoreArg_str(UNITY_LINE_TYPE cmock_line);
169 #define fwk_io_vprintf_IgnoreAndReturn(cmock_retval) fwk_io_vprintf_CMockIgnoreAndReturn(__LINE__, cmock_retval)
170 void fwk_io_vprintf_CMockIgnoreAndReturn(UNITY_LINE_TYPE cmock_line, int cmock_to_return);
171 #define fwk_io_vprintf_StopIgnore() fwk_io_vprintf_CMockStopIgnore()
172 void fwk_io_vprintf_CMockStopIgnore(void);
173 #define fwk_io_vprintf_ExpectAnyArgsAndReturn(cmock_retval) fwk_io_vprintf_CMockExpectAnyArgsAndReturn(__LINE__, cmock_retval)
174 void fwk_io_vprintf_CMockExpectAnyArgsAndReturn(UNITY_LINE_TYPE cmock_line, int cmock_to_return);
175 #define fwk_io_vprintf_ExpectAndReturn(stream, format, args, cmock_retval) fwk_io_vprintf_CMockExpectAndReturn(__LINE__, stream, format, args, cmock_retval)
176 void fwk_io_vprintf_CMockExpectAndReturn(UNITY_LINE_TYPE cmock_line, const struct fwk_io_stream* stream, const char* format, va_list args, int cmock_to_return);
177 typedef int (* CMOCK_fwk_io_vprintf_CALLBACK)(const struct fwk_io_stream* stream, const char* format, va_list args, int cmock_num_calls);
178 void fwk_io_vprintf_AddCallback(CMOCK_fwk_io_vprintf_CALLBACK Callback);
179 void fwk_io_vprintf_Stub(CMOCK_fwk_io_vprintf_CALLBACK Callback);
180 #define fwk_io_vprintf_StubWithCallback fwk_io_vprintf_Stub
181 #define fwk_io_vprintf_ExpectWithArrayAndReturn(stream, stream_Depth, format, args, cmock_retval) fwk_io_vprintf_CMockExpectWithArrayAndReturn(__LINE__, stream, stream_Depth, format, args, cmock_retval)
182 void fwk_io_vprintf_CMockExpectWithArrayAndReturn(UNITY_LINE_TYPE cmock_line, const struct fwk_io_stream* stream, int stream_Depth, const char* format, va_list args, int cmock_to_return);
183 #define fwk_io_vprintf_IgnoreArg_stream() fwk_io_vprintf_CMockIgnoreArg_stream(__LINE__)
184 void fwk_io_vprintf_CMockIgnoreArg_stream(UNITY_LINE_TYPE cmock_line);
185 #define fwk_io_vprintf_IgnoreArg_format() fwk_io_vprintf_CMockIgnoreArg_format(__LINE__)
186 void fwk_io_vprintf_CMockIgnoreArg_format(UNITY_LINE_TYPE cmock_line);
187 #define fwk_io_vprintf_IgnoreArg_args() fwk_io_vprintf_CMockIgnoreArg_args(__LINE__)
188 void fwk_io_vprintf_CMockIgnoreArg_args(UNITY_LINE_TYPE cmock_line);
189 #define fwk_io_printf_IgnoreAndReturn(cmock_retval) fwk_io_printf_CMockIgnoreAndReturn(__LINE__, cmock_retval)
190 void fwk_io_printf_CMockIgnoreAndReturn(UNITY_LINE_TYPE cmock_line, int cmock_to_return);
191 #define fwk_io_printf_StopIgnore() fwk_io_printf_CMockStopIgnore()
192 void fwk_io_printf_CMockStopIgnore(void);
193 #define fwk_io_printf_ExpectAnyArgsAndReturn(cmock_retval) fwk_io_printf_CMockExpectAnyArgsAndReturn(__LINE__, cmock_retval)
194 void fwk_io_printf_CMockExpectAnyArgsAndReturn(UNITY_LINE_TYPE cmock_line, int cmock_to_return);
195 #define fwk_io_printf_ExpectAndReturn(stream, format, cmock_retval) fwk_io_printf_CMockExpectAndReturn(__LINE__, stream, format, cmock_retval)
196 void fwk_io_printf_CMockExpectAndReturn(UNITY_LINE_TYPE cmock_line, const struct fwk_io_stream* stream, const char* format, int cmock_to_return);
197 typedef int (* CMOCK_fwk_io_printf_CALLBACK)(const struct fwk_io_stream* stream, const char* format, int cmock_num_calls);
198 void fwk_io_printf_AddCallback(CMOCK_fwk_io_printf_CALLBACK Callback);
199 void fwk_io_printf_Stub(CMOCK_fwk_io_printf_CALLBACK Callback);
200 #define fwk_io_printf_StubWithCallback fwk_io_printf_Stub
201 #define fwk_io_printf_ExpectWithArrayAndReturn(stream, stream_Depth, format, cmock_retval) fwk_io_printf_CMockExpectWithArrayAndReturn(__LINE__, stream, stream_Depth, format, cmock_retval)
202 void fwk_io_printf_CMockExpectWithArrayAndReturn(UNITY_LINE_TYPE cmock_line, const struct fwk_io_stream* stream, int stream_Depth, const char* format, int cmock_to_return);
203 #define fwk_io_printf_IgnoreArg_stream() fwk_io_printf_CMockIgnoreArg_stream(__LINE__)
204 void fwk_io_printf_CMockIgnoreArg_stream(UNITY_LINE_TYPE cmock_line);
205 #define fwk_io_printf_IgnoreArg_format() fwk_io_printf_CMockIgnoreArg_format(__LINE__)
206 void fwk_io_printf_CMockIgnoreArg_format(UNITY_LINE_TYPE cmock_line);
207 #define fwk_io_close_IgnoreAndReturn(cmock_retval) fwk_io_close_CMockIgnoreAndReturn(__LINE__, cmock_retval)
208 void fwk_io_close_CMockIgnoreAndReturn(UNITY_LINE_TYPE cmock_line, int cmock_to_return);
209 #define fwk_io_close_StopIgnore() fwk_io_close_CMockStopIgnore()
210 void fwk_io_close_CMockStopIgnore(void);
211 #define fwk_io_close_ExpectAnyArgsAndReturn(cmock_retval) fwk_io_close_CMockExpectAnyArgsAndReturn(__LINE__, cmock_retval)
212 void fwk_io_close_CMockExpectAnyArgsAndReturn(UNITY_LINE_TYPE cmock_line, int cmock_to_return);
213 #define fwk_io_close_ExpectAndReturn(stream, cmock_retval) fwk_io_close_CMockExpectAndReturn(__LINE__, stream, cmock_retval)
214 void fwk_io_close_CMockExpectAndReturn(UNITY_LINE_TYPE cmock_line, struct fwk_io_stream* stream, int cmock_to_return);
215 typedef int (* CMOCK_fwk_io_close_CALLBACK)(struct fwk_io_stream* stream, int cmock_num_calls);
216 void fwk_io_close_AddCallback(CMOCK_fwk_io_close_CALLBACK Callback);
217 void fwk_io_close_Stub(CMOCK_fwk_io_close_CALLBACK Callback);
218 #define fwk_io_close_StubWithCallback fwk_io_close_Stub
219 #define fwk_io_close_ExpectWithArrayAndReturn(stream, stream_Depth, cmock_retval) fwk_io_close_CMockExpectWithArrayAndReturn(__LINE__, stream, stream_Depth, cmock_retval)
220 void fwk_io_close_CMockExpectWithArrayAndReturn(UNITY_LINE_TYPE cmock_line, struct fwk_io_stream* stream, int stream_Depth, int cmock_to_return);
221 #define fwk_io_close_ReturnThruPtr_stream(stream) fwk_io_close_CMockReturnMemThruPtr_stream(__LINE__, stream, sizeof(struct fwk_io_stream))
222 #define fwk_io_close_ReturnArrayThruPtr_stream(stream, cmock_len) fwk_io_close_CMockReturnMemThruPtr_stream(__LINE__, stream, cmock_len * sizeof(*stream))
223 #define fwk_io_close_ReturnMemThruPtr_stream(stream, cmock_size) fwk_io_close_CMockReturnMemThruPtr_stream(__LINE__, stream, cmock_size)
224 void fwk_io_close_CMockReturnMemThruPtr_stream(UNITY_LINE_TYPE cmock_line, struct fwk_io_stream* stream, size_t cmock_size);
225 #define fwk_io_close_IgnoreArg_stream() fwk_io_close_CMockIgnoreArg_stream(__LINE__)
226 void fwk_io_close_CMockIgnoreArg_stream(UNITY_LINE_TYPE cmock_line);
227 #define fwk_io_init_IgnoreAndReturn(cmock_retval) fwk_io_init_CMockIgnoreAndReturn(__LINE__, cmock_retval)
228 void fwk_io_init_CMockIgnoreAndReturn(UNITY_LINE_TYPE cmock_line, int cmock_to_return);
229 #define fwk_io_init_StopIgnore() fwk_io_init_CMockStopIgnore()
230 void fwk_io_init_CMockStopIgnore(void);
231 #define fwk_io_init_ExpectAndReturn(cmock_retval) fwk_io_init_CMockExpectAndReturn(__LINE__, cmock_retval)
232 void fwk_io_init_CMockExpectAndReturn(UNITY_LINE_TYPE cmock_line, int cmock_to_return);
233 typedef int (* CMOCK_fwk_io_init_CALLBACK)(int cmock_num_calls);
234 void fwk_io_init_AddCallback(CMOCK_fwk_io_init_CALLBACK Callback);
235 void fwk_io_init_Stub(CMOCK_fwk_io_init_CALLBACK Callback);
236 #define fwk_io_init_StubWithCallback fwk_io_init_Stub
237 
238 #if defined(__GNUC__) && !defined(__ICC) && !defined(__TMS470__)
239 #if __GNUC__ > 4 || (__GNUC__ == 4 && (__GNUC_MINOR__ > 6 || (__GNUC_MINOR__ == 6 && __GNUC_PATCHLEVEL__ > 0)))
240 #pragma GCC diagnostic pop
241 #endif
242 #endif
243 
244 #endif
245