mock_pb_decode.h 35 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311
  1. /* AUTOGENERATED FILE. DO NOT EDIT. */
  2. #ifndef _MOCK_PB_DECODE_H
  3. #define _MOCK_PB_DECODE_H
  4. #ifndef __STATIC_INLINE
  5. #define __STATIC_INLINE
  6. #else
  7. #undef __STATIC_INLINE
  8. #define __STATIC_INLINE
  9. #endif
  10. #define SUPPRESS_INLINE_IMPLEMENTATION
  11. #include <pb_decode.h>
  12. #undef SUPPRESS_INLINE_IMPLEMENTATION
  13. #undef __STATIC_INLINE
  14. #define __STATIC_INLINE __STATIC_INLINE1
  15. #include <cmock_typedefs.h>
  16. void mock_pb_decode_Init(void);
  17. void mock_pb_decode_Destroy(void);
  18. void mock_pb_decode_Verify(void);
  19. #define pb_decode_IgnoreAndReturn(cmock_retval) pb_decode_CMockIgnoreAndReturn(__LINE__, cmock_retval)
  20. void pb_decode_CMockIgnoreAndReturn(UNITY_LINE_TYPE cmock_line, bool cmock_to_return);
  21. #define pb_decode_ExpectAndReturn(stream, fields, dest_struct, cmock_retval) pb_decode_CMockExpectAndReturn(__LINE__, stream, fields, dest_struct, cmock_retval)
  22. void pb_decode_CMockExpectAndReturn(UNITY_LINE_TYPE cmock_line, pb_istream_t* stream, const pb_field_t* fields, void* dest_struct, bool cmock_to_return);
  23. typedef bool (* CMOCK_pb_decode_CALLBACK)(pb_istream_t* stream, const pb_field_t* fields, void* dest_struct, int cmock_num_calls);
  24. void pb_decode_StubWithCallback(CMOCK_pb_decode_CALLBACK Callback);
  25. #define pb_decode_ExpectWithArrayAndReturn(stream, stream_Depth, fields, fields_Depth, dest_struct, dest_struct_Depth, cmock_retval) pb_decode_CMockExpectWithArrayAndReturn(__LINE__, stream, stream_Depth, fields, fields_Depth, dest_struct, dest_struct_Depth, cmock_retval)
  26. void pb_decode_CMockExpectWithArrayAndReturn(UNITY_LINE_TYPE cmock_line, pb_istream_t* stream, int stream_Depth, pb_field_t* fields, int fields_Depth, void* dest_struct, int dest_struct_Depth, bool cmock_to_return);
  27. #define pb_decode_ReturnThruPtr_stream(stream) pb_decode_CMockReturnMemThruPtr_stream(__LINE__, stream, sizeof(*stream))
  28. #define pb_decode_ReturnArrayThruPtr_stream(stream, cmock_len) pb_decode_CMockReturnMemThruPtr_stream(__LINE__, stream, cmock_len * sizeof(*stream))
  29. #define pb_decode_ReturnMemThruPtr_stream(stream, cmock_size) pb_decode_CMockReturnMemThruPtr_stream(__LINE__, stream, cmock_size)
  30. void pb_decode_CMockReturnMemThruPtr_stream(UNITY_LINE_TYPE cmock_line, pb_istream_t* stream, int cmock_size);
  31. #define pb_decode_ReturnThruPtr_dest_struct(dest_struct) pb_decode_CMockReturnMemThruPtr_dest_struct(__LINE__, dest_struct, sizeof(*dest_struct))
  32. #define pb_decode_ReturnArrayThruPtr_dest_struct(dest_struct, cmock_len) pb_decode_CMockReturnMemThruPtr_dest_struct(__LINE__, dest_struct, cmock_len * sizeof(*dest_struct))
  33. #define pb_decode_ReturnMemThruPtr_dest_struct(dest_struct, cmock_size) pb_decode_CMockReturnMemThruPtr_dest_struct(__LINE__, dest_struct, cmock_size)
  34. void pb_decode_CMockReturnMemThruPtr_dest_struct(UNITY_LINE_TYPE cmock_line, void* dest_struct, int cmock_size);
  35. #define pb_decode_IgnoreArg_stream() pb_decode_CMockIgnoreArg_stream(__LINE__)
  36. void pb_decode_CMockIgnoreArg_stream(UNITY_LINE_TYPE cmock_line);
  37. #define pb_decode_IgnoreArg_fields() pb_decode_CMockIgnoreArg_fields(__LINE__)
  38. void pb_decode_CMockIgnoreArg_fields(UNITY_LINE_TYPE cmock_line);
  39. #define pb_decode_IgnoreArg_dest_struct() pb_decode_CMockIgnoreArg_dest_struct(__LINE__)
  40. void pb_decode_CMockIgnoreArg_dest_struct(UNITY_LINE_TYPE cmock_line);
  41. #define pb_decode_noinit_IgnoreAndReturn(cmock_retval) pb_decode_noinit_CMockIgnoreAndReturn(__LINE__, cmock_retval)
  42. void pb_decode_noinit_CMockIgnoreAndReturn(UNITY_LINE_TYPE cmock_line, bool cmock_to_return);
  43. #define pb_decode_noinit_ExpectAndReturn(stream, fields, dest_struct, cmock_retval) pb_decode_noinit_CMockExpectAndReturn(__LINE__, stream, fields, dest_struct, cmock_retval)
  44. void pb_decode_noinit_CMockExpectAndReturn(UNITY_LINE_TYPE cmock_line, pb_istream_t* stream, const pb_field_t* fields, void* dest_struct, bool cmock_to_return);
  45. typedef bool (* CMOCK_pb_decode_noinit_CALLBACK)(pb_istream_t* stream, const pb_field_t* fields, void* dest_struct, int cmock_num_calls);
  46. void pb_decode_noinit_StubWithCallback(CMOCK_pb_decode_noinit_CALLBACK Callback);
  47. #define pb_decode_noinit_ExpectWithArrayAndReturn(stream, stream_Depth, fields, fields_Depth, dest_struct, dest_struct_Depth, cmock_retval) pb_decode_noinit_CMockExpectWithArrayAndReturn(__LINE__, stream, stream_Depth, fields, fields_Depth, dest_struct, dest_struct_Depth, cmock_retval)
  48. void pb_decode_noinit_CMockExpectWithArrayAndReturn(UNITY_LINE_TYPE cmock_line, pb_istream_t* stream, int stream_Depth, pb_field_t* fields, int fields_Depth, void* dest_struct, int dest_struct_Depth, bool cmock_to_return);
  49. #define pb_decode_noinit_ReturnThruPtr_stream(stream) pb_decode_noinit_CMockReturnMemThruPtr_stream(__LINE__, stream, sizeof(*stream))
  50. #define pb_decode_noinit_ReturnArrayThruPtr_stream(stream, cmock_len) pb_decode_noinit_CMockReturnMemThruPtr_stream(__LINE__, stream, cmock_len * sizeof(*stream))
  51. #define pb_decode_noinit_ReturnMemThruPtr_stream(stream, cmock_size) pb_decode_noinit_CMockReturnMemThruPtr_stream(__LINE__, stream, cmock_size)
  52. void pb_decode_noinit_CMockReturnMemThruPtr_stream(UNITY_LINE_TYPE cmock_line, pb_istream_t* stream, int cmock_size);
  53. #define pb_decode_noinit_ReturnThruPtr_dest_struct(dest_struct) pb_decode_noinit_CMockReturnMemThruPtr_dest_struct(__LINE__, dest_struct, sizeof(*dest_struct))
  54. #define pb_decode_noinit_ReturnArrayThruPtr_dest_struct(dest_struct, cmock_len) pb_decode_noinit_CMockReturnMemThruPtr_dest_struct(__LINE__, dest_struct, cmock_len * sizeof(*dest_struct))
  55. #define pb_decode_noinit_ReturnMemThruPtr_dest_struct(dest_struct, cmock_size) pb_decode_noinit_CMockReturnMemThruPtr_dest_struct(__LINE__, dest_struct, cmock_size)
  56. void pb_decode_noinit_CMockReturnMemThruPtr_dest_struct(UNITY_LINE_TYPE cmock_line, void* dest_struct, int cmock_size);
  57. #define pb_decode_noinit_IgnoreArg_stream() pb_decode_noinit_CMockIgnoreArg_stream(__LINE__)
  58. void pb_decode_noinit_CMockIgnoreArg_stream(UNITY_LINE_TYPE cmock_line);
  59. #define pb_decode_noinit_IgnoreArg_fields() pb_decode_noinit_CMockIgnoreArg_fields(__LINE__)
  60. void pb_decode_noinit_CMockIgnoreArg_fields(UNITY_LINE_TYPE cmock_line);
  61. #define pb_decode_noinit_IgnoreArg_dest_struct() pb_decode_noinit_CMockIgnoreArg_dest_struct(__LINE__)
  62. void pb_decode_noinit_CMockIgnoreArg_dest_struct(UNITY_LINE_TYPE cmock_line);
  63. #define pb_decode_delimited_IgnoreAndReturn(cmock_retval) pb_decode_delimited_CMockIgnoreAndReturn(__LINE__, cmock_retval)
  64. void pb_decode_delimited_CMockIgnoreAndReturn(UNITY_LINE_TYPE cmock_line, bool cmock_to_return);
  65. #define pb_decode_delimited_ExpectAndReturn(stream, fields, dest_struct, cmock_retval) pb_decode_delimited_CMockExpectAndReturn(__LINE__, stream, fields, dest_struct, cmock_retval)
  66. void pb_decode_delimited_CMockExpectAndReturn(UNITY_LINE_TYPE cmock_line, pb_istream_t* stream, const pb_field_t* fields, void* dest_struct, bool cmock_to_return);
  67. typedef bool (* CMOCK_pb_decode_delimited_CALLBACK)(pb_istream_t* stream, const pb_field_t* fields, void* dest_struct, int cmock_num_calls);
  68. void pb_decode_delimited_StubWithCallback(CMOCK_pb_decode_delimited_CALLBACK Callback);
  69. #define pb_decode_delimited_ExpectWithArrayAndReturn(stream, stream_Depth, fields, fields_Depth, dest_struct, dest_struct_Depth, cmock_retval) pb_decode_delimited_CMockExpectWithArrayAndReturn(__LINE__, stream, stream_Depth, fields, fields_Depth, dest_struct, dest_struct_Depth, cmock_retval)
  70. void pb_decode_delimited_CMockExpectWithArrayAndReturn(UNITY_LINE_TYPE cmock_line, pb_istream_t* stream, int stream_Depth, pb_field_t* fields, int fields_Depth, void* dest_struct, int dest_struct_Depth, bool cmock_to_return);
  71. #define pb_decode_delimited_ReturnThruPtr_stream(stream) pb_decode_delimited_CMockReturnMemThruPtr_stream(__LINE__, stream, sizeof(*stream))
  72. #define pb_decode_delimited_ReturnArrayThruPtr_stream(stream, cmock_len) pb_decode_delimited_CMockReturnMemThruPtr_stream(__LINE__, stream, cmock_len * sizeof(*stream))
  73. #define pb_decode_delimited_ReturnMemThruPtr_stream(stream, cmock_size) pb_decode_delimited_CMockReturnMemThruPtr_stream(__LINE__, stream, cmock_size)
  74. void pb_decode_delimited_CMockReturnMemThruPtr_stream(UNITY_LINE_TYPE cmock_line, pb_istream_t* stream, int cmock_size);
  75. #define pb_decode_delimited_ReturnThruPtr_dest_struct(dest_struct) pb_decode_delimited_CMockReturnMemThruPtr_dest_struct(__LINE__, dest_struct, sizeof(*dest_struct))
  76. #define pb_decode_delimited_ReturnArrayThruPtr_dest_struct(dest_struct, cmock_len) pb_decode_delimited_CMockReturnMemThruPtr_dest_struct(__LINE__, dest_struct, cmock_len * sizeof(*dest_struct))
  77. #define pb_decode_delimited_ReturnMemThruPtr_dest_struct(dest_struct, cmock_size) pb_decode_delimited_CMockReturnMemThruPtr_dest_struct(__LINE__, dest_struct, cmock_size)
  78. void pb_decode_delimited_CMockReturnMemThruPtr_dest_struct(UNITY_LINE_TYPE cmock_line, void* dest_struct, int cmock_size);
  79. #define pb_decode_delimited_IgnoreArg_stream() pb_decode_delimited_CMockIgnoreArg_stream(__LINE__)
  80. void pb_decode_delimited_CMockIgnoreArg_stream(UNITY_LINE_TYPE cmock_line);
  81. #define pb_decode_delimited_IgnoreArg_fields() pb_decode_delimited_CMockIgnoreArg_fields(__LINE__)
  82. void pb_decode_delimited_CMockIgnoreArg_fields(UNITY_LINE_TYPE cmock_line);
  83. #define pb_decode_delimited_IgnoreArg_dest_struct() pb_decode_delimited_CMockIgnoreArg_dest_struct(__LINE__)
  84. void pb_decode_delimited_CMockIgnoreArg_dest_struct(UNITY_LINE_TYPE cmock_line);
  85. #define pb_release_Ignore() pb_release_CMockIgnore()
  86. void pb_release_CMockIgnore(void);
  87. #define pb_release_Expect(fields, dest_struct) pb_release_CMockExpect(__LINE__, fields, dest_struct)
  88. void pb_release_CMockExpect(UNITY_LINE_TYPE cmock_line, const pb_field_t* fields, void* dest_struct);
  89. typedef void (* CMOCK_pb_release_CALLBACK)(const pb_field_t* fields, void* dest_struct, int cmock_num_calls);
  90. void pb_release_StubWithCallback(CMOCK_pb_release_CALLBACK Callback);
  91. #define pb_release_ExpectWithArray(fields, fields_Depth, dest_struct, dest_struct_Depth) pb_release_CMockExpectWithArray(__LINE__, fields, fields_Depth, dest_struct, dest_struct_Depth)
  92. void pb_release_CMockExpectWithArray(UNITY_LINE_TYPE cmock_line, pb_field_t* fields, int fields_Depth, void* dest_struct, int dest_struct_Depth);
  93. #define pb_release_ReturnThruPtr_dest_struct(dest_struct) pb_release_CMockReturnMemThruPtr_dest_struct(__LINE__, dest_struct, sizeof(*dest_struct))
  94. #define pb_release_ReturnArrayThruPtr_dest_struct(dest_struct, cmock_len) pb_release_CMockReturnMemThruPtr_dest_struct(__LINE__, dest_struct, cmock_len * sizeof(*dest_struct))
  95. #define pb_release_ReturnMemThruPtr_dest_struct(dest_struct, cmock_size) pb_release_CMockReturnMemThruPtr_dest_struct(__LINE__, dest_struct, cmock_size)
  96. void pb_release_CMockReturnMemThruPtr_dest_struct(UNITY_LINE_TYPE cmock_line, void* dest_struct, int cmock_size);
  97. #define pb_release_IgnoreArg_fields() pb_release_CMockIgnoreArg_fields(__LINE__)
  98. void pb_release_CMockIgnoreArg_fields(UNITY_LINE_TYPE cmock_line);
  99. #define pb_release_IgnoreArg_dest_struct() pb_release_CMockIgnoreArg_dest_struct(__LINE__)
  100. void pb_release_CMockIgnoreArg_dest_struct(UNITY_LINE_TYPE cmock_line);
  101. #define pb_istream_from_buffer_IgnoreAndReturn(cmock_retval) pb_istream_from_buffer_CMockIgnoreAndReturn(__LINE__, cmock_retval)
  102. void pb_istream_from_buffer_CMockIgnoreAndReturn(UNITY_LINE_TYPE cmock_line, pb_istream_t cmock_to_return);
  103. #define pb_istream_from_buffer_ExpectAndReturn(buf, bufsize, cmock_retval) pb_istream_from_buffer_CMockExpectAndReturn(__LINE__, buf, bufsize, cmock_retval)
  104. void pb_istream_from_buffer_CMockExpectAndReturn(UNITY_LINE_TYPE cmock_line, const pb_byte_t* buf, size_t bufsize, pb_istream_t cmock_to_return);
  105. typedef pb_istream_t (* CMOCK_pb_istream_from_buffer_CALLBACK)(const pb_byte_t* buf, size_t bufsize, int cmock_num_calls);
  106. void pb_istream_from_buffer_StubWithCallback(CMOCK_pb_istream_from_buffer_CALLBACK Callback);
  107. #define pb_istream_from_buffer_ExpectWithArrayAndReturn(buf, buf_Depth, bufsize, cmock_retval) pb_istream_from_buffer_CMockExpectWithArrayAndReturn(__LINE__, buf, buf_Depth, bufsize, cmock_retval)
  108. void pb_istream_from_buffer_CMockExpectWithArrayAndReturn(UNITY_LINE_TYPE cmock_line, pb_byte_t* buf, int buf_Depth, size_t bufsize, pb_istream_t cmock_to_return);
  109. #define pb_istream_from_buffer_IgnoreArg_buf() pb_istream_from_buffer_CMockIgnoreArg_buf(__LINE__)
  110. void pb_istream_from_buffer_CMockIgnoreArg_buf(UNITY_LINE_TYPE cmock_line);
  111. #define pb_istream_from_buffer_IgnoreArg_bufsize() pb_istream_from_buffer_CMockIgnoreArg_bufsize(__LINE__)
  112. void pb_istream_from_buffer_CMockIgnoreArg_bufsize(UNITY_LINE_TYPE cmock_line);
  113. #define pb_read_IgnoreAndReturn(cmock_retval) pb_read_CMockIgnoreAndReturn(__LINE__, cmock_retval)
  114. void pb_read_CMockIgnoreAndReturn(UNITY_LINE_TYPE cmock_line, bool cmock_to_return);
  115. #define pb_read_ExpectAndReturn(stream, buf, count, cmock_retval) pb_read_CMockExpectAndReturn(__LINE__, stream, buf, count, cmock_retval)
  116. void pb_read_CMockExpectAndReturn(UNITY_LINE_TYPE cmock_line, pb_istream_t* stream, pb_byte_t* buf, size_t count, bool cmock_to_return);
  117. typedef bool (* CMOCK_pb_read_CALLBACK)(pb_istream_t* stream, pb_byte_t* buf, size_t count, int cmock_num_calls);
  118. void pb_read_StubWithCallback(CMOCK_pb_read_CALLBACK Callback);
  119. #define pb_read_ExpectWithArrayAndReturn(stream, stream_Depth, buf, buf_Depth, count, cmock_retval) pb_read_CMockExpectWithArrayAndReturn(__LINE__, stream, stream_Depth, buf, buf_Depth, count, cmock_retval)
  120. void pb_read_CMockExpectWithArrayAndReturn(UNITY_LINE_TYPE cmock_line, pb_istream_t* stream, int stream_Depth, pb_byte_t* buf, int buf_Depth, size_t count, bool cmock_to_return);
  121. #define pb_read_ReturnThruPtr_stream(stream) pb_read_CMockReturnMemThruPtr_stream(__LINE__, stream, sizeof(*stream))
  122. #define pb_read_ReturnArrayThruPtr_stream(stream, cmock_len) pb_read_CMockReturnMemThruPtr_stream(__LINE__, stream, cmock_len * sizeof(*stream))
  123. #define pb_read_ReturnMemThruPtr_stream(stream, cmock_size) pb_read_CMockReturnMemThruPtr_stream(__LINE__, stream, cmock_size)
  124. void pb_read_CMockReturnMemThruPtr_stream(UNITY_LINE_TYPE cmock_line, pb_istream_t* stream, int cmock_size);
  125. #define pb_read_ReturnThruPtr_buf(buf) pb_read_CMockReturnMemThruPtr_buf(__LINE__, buf, sizeof(*buf))
  126. #define pb_read_ReturnArrayThruPtr_buf(buf, cmock_len) pb_read_CMockReturnMemThruPtr_buf(__LINE__, buf, cmock_len * sizeof(*buf))
  127. #define pb_read_ReturnMemThruPtr_buf(buf, cmock_size) pb_read_CMockReturnMemThruPtr_buf(__LINE__, buf, cmock_size)
  128. void pb_read_CMockReturnMemThruPtr_buf(UNITY_LINE_TYPE cmock_line, pb_byte_t* buf, int cmock_size);
  129. #define pb_read_IgnoreArg_stream() pb_read_CMockIgnoreArg_stream(__LINE__)
  130. void pb_read_CMockIgnoreArg_stream(UNITY_LINE_TYPE cmock_line);
  131. #define pb_read_IgnoreArg_buf() pb_read_CMockIgnoreArg_buf(__LINE__)
  132. void pb_read_CMockIgnoreArg_buf(UNITY_LINE_TYPE cmock_line);
  133. #define pb_read_IgnoreArg_count() pb_read_CMockIgnoreArg_count(__LINE__)
  134. void pb_read_CMockIgnoreArg_count(UNITY_LINE_TYPE cmock_line);
  135. #define pb_decode_tag_IgnoreAndReturn(cmock_retval) pb_decode_tag_CMockIgnoreAndReturn(__LINE__, cmock_retval)
  136. void pb_decode_tag_CMockIgnoreAndReturn(UNITY_LINE_TYPE cmock_line, bool cmock_to_return);
  137. #define pb_decode_tag_ExpectAndReturn(stream, wire_type, tag, eof, cmock_retval) pb_decode_tag_CMockExpectAndReturn(__LINE__, stream, wire_type, tag, eof, cmock_retval)
  138. void pb_decode_tag_CMockExpectAndReturn(UNITY_LINE_TYPE cmock_line, pb_istream_t* stream, pb_wire_type_t* wire_type, uint32_t* tag, bool* eof, bool cmock_to_return);
  139. typedef bool (* CMOCK_pb_decode_tag_CALLBACK)(pb_istream_t* stream, pb_wire_type_t* wire_type, uint32_t* tag, bool* eof, int cmock_num_calls);
  140. void pb_decode_tag_StubWithCallback(CMOCK_pb_decode_tag_CALLBACK Callback);
  141. #define pb_decode_tag_ExpectWithArrayAndReturn(stream, stream_Depth, wire_type, wire_type_Depth, tag, tag_Depth, eof, eof_Depth, cmock_retval) pb_decode_tag_CMockExpectWithArrayAndReturn(__LINE__, stream, stream_Depth, wire_type, wire_type_Depth, tag, tag_Depth, eof, eof_Depth, cmock_retval)
  142. void pb_decode_tag_CMockExpectWithArrayAndReturn(UNITY_LINE_TYPE cmock_line, pb_istream_t* stream, int stream_Depth, pb_wire_type_t* wire_type, int wire_type_Depth, uint32_t* tag, int tag_Depth, bool* eof, int eof_Depth, bool cmock_to_return);
  143. #define pb_decode_tag_ReturnThruPtr_stream(stream) pb_decode_tag_CMockReturnMemThruPtr_stream(__LINE__, stream, sizeof(*stream))
  144. #define pb_decode_tag_ReturnArrayThruPtr_stream(stream, cmock_len) pb_decode_tag_CMockReturnMemThruPtr_stream(__LINE__, stream, cmock_len * sizeof(*stream))
  145. #define pb_decode_tag_ReturnMemThruPtr_stream(stream, cmock_size) pb_decode_tag_CMockReturnMemThruPtr_stream(__LINE__, stream, cmock_size)
  146. void pb_decode_tag_CMockReturnMemThruPtr_stream(UNITY_LINE_TYPE cmock_line, pb_istream_t* stream, int cmock_size);
  147. #define pb_decode_tag_ReturnThruPtr_wire_type(wire_type) pb_decode_tag_CMockReturnMemThruPtr_wire_type(__LINE__, wire_type, sizeof(*wire_type))
  148. #define pb_decode_tag_ReturnArrayThruPtr_wire_type(wire_type, cmock_len) pb_decode_tag_CMockReturnMemThruPtr_wire_type(__LINE__, wire_type, cmock_len * sizeof(*wire_type))
  149. #define pb_decode_tag_ReturnMemThruPtr_wire_type(wire_type, cmock_size) pb_decode_tag_CMockReturnMemThruPtr_wire_type(__LINE__, wire_type, cmock_size)
  150. void pb_decode_tag_CMockReturnMemThruPtr_wire_type(UNITY_LINE_TYPE cmock_line, pb_wire_type_t* wire_type, int cmock_size);
  151. #define pb_decode_tag_ReturnThruPtr_tag(tag) pb_decode_tag_CMockReturnMemThruPtr_tag(__LINE__, tag, sizeof(*tag))
  152. #define pb_decode_tag_ReturnArrayThruPtr_tag(tag, cmock_len) pb_decode_tag_CMockReturnMemThruPtr_tag(__LINE__, tag, cmock_len * sizeof(*tag))
  153. #define pb_decode_tag_ReturnMemThruPtr_tag(tag, cmock_size) pb_decode_tag_CMockReturnMemThruPtr_tag(__LINE__, tag, cmock_size)
  154. void pb_decode_tag_CMockReturnMemThruPtr_tag(UNITY_LINE_TYPE cmock_line, uint32_t* tag, int cmock_size);
  155. #define pb_decode_tag_ReturnThruPtr_eof(eof) pb_decode_tag_CMockReturnMemThruPtr_eof(__LINE__, eof, sizeof(*eof))
  156. #define pb_decode_tag_ReturnArrayThruPtr_eof(eof, cmock_len) pb_decode_tag_CMockReturnMemThruPtr_eof(__LINE__, eof, cmock_len * sizeof(*eof))
  157. #define pb_decode_tag_ReturnMemThruPtr_eof(eof, cmock_size) pb_decode_tag_CMockReturnMemThruPtr_eof(__LINE__, eof, cmock_size)
  158. void pb_decode_tag_CMockReturnMemThruPtr_eof(UNITY_LINE_TYPE cmock_line, bool* eof, int cmock_size);
  159. #define pb_decode_tag_IgnoreArg_stream() pb_decode_tag_CMockIgnoreArg_stream(__LINE__)
  160. void pb_decode_tag_CMockIgnoreArg_stream(UNITY_LINE_TYPE cmock_line);
  161. #define pb_decode_tag_IgnoreArg_wire_type() pb_decode_tag_CMockIgnoreArg_wire_type(__LINE__)
  162. void pb_decode_tag_CMockIgnoreArg_wire_type(UNITY_LINE_TYPE cmock_line);
  163. #define pb_decode_tag_IgnoreArg_tag() pb_decode_tag_CMockIgnoreArg_tag(__LINE__)
  164. void pb_decode_tag_CMockIgnoreArg_tag(UNITY_LINE_TYPE cmock_line);
  165. #define pb_decode_tag_IgnoreArg_eof() pb_decode_tag_CMockIgnoreArg_eof(__LINE__)
  166. void pb_decode_tag_CMockIgnoreArg_eof(UNITY_LINE_TYPE cmock_line);
  167. #define pb_skip_field_IgnoreAndReturn(cmock_retval) pb_skip_field_CMockIgnoreAndReturn(__LINE__, cmock_retval)
  168. void pb_skip_field_CMockIgnoreAndReturn(UNITY_LINE_TYPE cmock_line, bool cmock_to_return);
  169. #define pb_skip_field_ExpectAndReturn(stream, wire_type, cmock_retval) pb_skip_field_CMockExpectAndReturn(__LINE__, stream, wire_type, cmock_retval)
  170. void pb_skip_field_CMockExpectAndReturn(UNITY_LINE_TYPE cmock_line, pb_istream_t* stream, pb_wire_type_t wire_type, bool cmock_to_return);
  171. typedef bool (* CMOCK_pb_skip_field_CALLBACK)(pb_istream_t* stream, pb_wire_type_t wire_type, int cmock_num_calls);
  172. void pb_skip_field_StubWithCallback(CMOCK_pb_skip_field_CALLBACK Callback);
  173. #define pb_skip_field_ExpectWithArrayAndReturn(stream, stream_Depth, wire_type, cmock_retval) pb_skip_field_CMockExpectWithArrayAndReturn(__LINE__, stream, stream_Depth, wire_type, cmock_retval)
  174. void pb_skip_field_CMockExpectWithArrayAndReturn(UNITY_LINE_TYPE cmock_line, pb_istream_t* stream, int stream_Depth, pb_wire_type_t wire_type, bool cmock_to_return);
  175. #define pb_skip_field_ReturnThruPtr_stream(stream) pb_skip_field_CMockReturnMemThruPtr_stream(__LINE__, stream, sizeof(*stream))
  176. #define pb_skip_field_ReturnArrayThruPtr_stream(stream, cmock_len) pb_skip_field_CMockReturnMemThruPtr_stream(__LINE__, stream, cmock_len * sizeof(*stream))
  177. #define pb_skip_field_ReturnMemThruPtr_stream(stream, cmock_size) pb_skip_field_CMockReturnMemThruPtr_stream(__LINE__, stream, cmock_size)
  178. void pb_skip_field_CMockReturnMemThruPtr_stream(UNITY_LINE_TYPE cmock_line, pb_istream_t* stream, int cmock_size);
  179. #define pb_skip_field_IgnoreArg_stream() pb_skip_field_CMockIgnoreArg_stream(__LINE__)
  180. void pb_skip_field_CMockIgnoreArg_stream(UNITY_LINE_TYPE cmock_line);
  181. #define pb_skip_field_IgnoreArg_wire_type() pb_skip_field_CMockIgnoreArg_wire_type(__LINE__)
  182. void pb_skip_field_CMockIgnoreArg_wire_type(UNITY_LINE_TYPE cmock_line);
  183. #define pb_decode_varint_IgnoreAndReturn(cmock_retval) pb_decode_varint_CMockIgnoreAndReturn(__LINE__, cmock_retval)
  184. void pb_decode_varint_CMockIgnoreAndReturn(UNITY_LINE_TYPE cmock_line, bool cmock_to_return);
  185. #define pb_decode_varint_ExpectAndReturn(stream, dest, cmock_retval) pb_decode_varint_CMockExpectAndReturn(__LINE__, stream, dest, cmock_retval)
  186. void pb_decode_varint_CMockExpectAndReturn(UNITY_LINE_TYPE cmock_line, pb_istream_t* stream, uint64_t* dest, bool cmock_to_return);
  187. typedef bool (* CMOCK_pb_decode_varint_CALLBACK)(pb_istream_t* stream, uint64_t* dest, int cmock_num_calls);
  188. void pb_decode_varint_StubWithCallback(CMOCK_pb_decode_varint_CALLBACK Callback);
  189. #define pb_decode_varint_ExpectWithArrayAndReturn(stream, stream_Depth, dest, dest_Depth, cmock_retval) pb_decode_varint_CMockExpectWithArrayAndReturn(__LINE__, stream, stream_Depth, dest, dest_Depth, cmock_retval)
  190. void pb_decode_varint_CMockExpectWithArrayAndReturn(UNITY_LINE_TYPE cmock_line, pb_istream_t* stream, int stream_Depth, uint64_t* dest, int dest_Depth, bool cmock_to_return);
  191. #define pb_decode_varint_ReturnThruPtr_stream(stream) pb_decode_varint_CMockReturnMemThruPtr_stream(__LINE__, stream, sizeof(*stream))
  192. #define pb_decode_varint_ReturnArrayThruPtr_stream(stream, cmock_len) pb_decode_varint_CMockReturnMemThruPtr_stream(__LINE__, stream, cmock_len * sizeof(*stream))
  193. #define pb_decode_varint_ReturnMemThruPtr_stream(stream, cmock_size) pb_decode_varint_CMockReturnMemThruPtr_stream(__LINE__, stream, cmock_size)
  194. void pb_decode_varint_CMockReturnMemThruPtr_stream(UNITY_LINE_TYPE cmock_line, pb_istream_t* stream, int cmock_size);
  195. #define pb_decode_varint_ReturnThruPtr_dest(dest) pb_decode_varint_CMockReturnMemThruPtr_dest(__LINE__, dest, sizeof(*dest))
  196. #define pb_decode_varint_ReturnArrayThruPtr_dest(dest, cmock_len) pb_decode_varint_CMockReturnMemThruPtr_dest(__LINE__, dest, cmock_len * sizeof(*dest))
  197. #define pb_decode_varint_ReturnMemThruPtr_dest(dest, cmock_size) pb_decode_varint_CMockReturnMemThruPtr_dest(__LINE__, dest, cmock_size)
  198. void pb_decode_varint_CMockReturnMemThruPtr_dest(UNITY_LINE_TYPE cmock_line, uint64_t* dest, int cmock_size);
  199. #define pb_decode_varint_IgnoreArg_stream() pb_decode_varint_CMockIgnoreArg_stream(__LINE__)
  200. void pb_decode_varint_CMockIgnoreArg_stream(UNITY_LINE_TYPE cmock_line);
  201. #define pb_decode_varint_IgnoreArg_dest() pb_decode_varint_CMockIgnoreArg_dest(__LINE__)
  202. void pb_decode_varint_CMockIgnoreArg_dest(UNITY_LINE_TYPE cmock_line);
  203. #define pb_decode_svarint_IgnoreAndReturn(cmock_retval) pb_decode_svarint_CMockIgnoreAndReturn(__LINE__, cmock_retval)
  204. void pb_decode_svarint_CMockIgnoreAndReturn(UNITY_LINE_TYPE cmock_line, bool cmock_to_return);
  205. #define pb_decode_svarint_ExpectAndReturn(stream, dest, cmock_retval) pb_decode_svarint_CMockExpectAndReturn(__LINE__, stream, dest, cmock_retval)
  206. void pb_decode_svarint_CMockExpectAndReturn(UNITY_LINE_TYPE cmock_line, pb_istream_t* stream, int64_t* dest, bool cmock_to_return);
  207. typedef bool (* CMOCK_pb_decode_svarint_CALLBACK)(pb_istream_t* stream, int64_t* dest, int cmock_num_calls);
  208. void pb_decode_svarint_StubWithCallback(CMOCK_pb_decode_svarint_CALLBACK Callback);
  209. #define pb_decode_svarint_ExpectWithArrayAndReturn(stream, stream_Depth, dest, dest_Depth, cmock_retval) pb_decode_svarint_CMockExpectWithArrayAndReturn(__LINE__, stream, stream_Depth, dest, dest_Depth, cmock_retval)
  210. void pb_decode_svarint_CMockExpectWithArrayAndReturn(UNITY_LINE_TYPE cmock_line, pb_istream_t* stream, int stream_Depth, int64_t* dest, int dest_Depth, bool cmock_to_return);
  211. #define pb_decode_svarint_ReturnThruPtr_stream(stream) pb_decode_svarint_CMockReturnMemThruPtr_stream(__LINE__, stream, sizeof(*stream))
  212. #define pb_decode_svarint_ReturnArrayThruPtr_stream(stream, cmock_len) pb_decode_svarint_CMockReturnMemThruPtr_stream(__LINE__, stream, cmock_len * sizeof(*stream))
  213. #define pb_decode_svarint_ReturnMemThruPtr_stream(stream, cmock_size) pb_decode_svarint_CMockReturnMemThruPtr_stream(__LINE__, stream, cmock_size)
  214. void pb_decode_svarint_CMockReturnMemThruPtr_stream(UNITY_LINE_TYPE cmock_line, pb_istream_t* stream, int cmock_size);
  215. #define pb_decode_svarint_ReturnThruPtr_dest(dest) pb_decode_svarint_CMockReturnMemThruPtr_dest(__LINE__, dest, sizeof(*dest))
  216. #define pb_decode_svarint_ReturnArrayThruPtr_dest(dest, cmock_len) pb_decode_svarint_CMockReturnMemThruPtr_dest(__LINE__, dest, cmock_len * sizeof(*dest))
  217. #define pb_decode_svarint_ReturnMemThruPtr_dest(dest, cmock_size) pb_decode_svarint_CMockReturnMemThruPtr_dest(__LINE__, dest, cmock_size)
  218. void pb_decode_svarint_CMockReturnMemThruPtr_dest(UNITY_LINE_TYPE cmock_line, int64_t* dest, int cmock_size);
  219. #define pb_decode_svarint_IgnoreArg_stream() pb_decode_svarint_CMockIgnoreArg_stream(__LINE__)
  220. void pb_decode_svarint_CMockIgnoreArg_stream(UNITY_LINE_TYPE cmock_line);
  221. #define pb_decode_svarint_IgnoreArg_dest() pb_decode_svarint_CMockIgnoreArg_dest(__LINE__)
  222. void pb_decode_svarint_CMockIgnoreArg_dest(UNITY_LINE_TYPE cmock_line);
  223. #define pb_decode_fixed32_IgnoreAndReturn(cmock_retval) pb_decode_fixed32_CMockIgnoreAndReturn(__LINE__, cmock_retval)
  224. void pb_decode_fixed32_CMockIgnoreAndReturn(UNITY_LINE_TYPE cmock_line, bool cmock_to_return);
  225. #define pb_decode_fixed32_ExpectAndReturn(stream, dest, cmock_retval) pb_decode_fixed32_CMockExpectAndReturn(__LINE__, stream, dest, cmock_retval)
  226. void pb_decode_fixed32_CMockExpectAndReturn(UNITY_LINE_TYPE cmock_line, pb_istream_t* stream, void* dest, bool cmock_to_return);
  227. typedef bool (* CMOCK_pb_decode_fixed32_CALLBACK)(pb_istream_t* stream, void* dest, int cmock_num_calls);
  228. void pb_decode_fixed32_StubWithCallback(CMOCK_pb_decode_fixed32_CALLBACK Callback);
  229. #define pb_decode_fixed32_ExpectWithArrayAndReturn(stream, stream_Depth, dest, dest_Depth, cmock_retval) pb_decode_fixed32_CMockExpectWithArrayAndReturn(__LINE__, stream, stream_Depth, dest, dest_Depth, cmock_retval)
  230. void pb_decode_fixed32_CMockExpectWithArrayAndReturn(UNITY_LINE_TYPE cmock_line, pb_istream_t* stream, int stream_Depth, void* dest, int dest_Depth, bool cmock_to_return);
  231. #define pb_decode_fixed32_ReturnThruPtr_stream(stream) pb_decode_fixed32_CMockReturnMemThruPtr_stream(__LINE__, stream, sizeof(*stream))
  232. #define pb_decode_fixed32_ReturnArrayThruPtr_stream(stream, cmock_len) pb_decode_fixed32_CMockReturnMemThruPtr_stream(__LINE__, stream, cmock_len * sizeof(*stream))
  233. #define pb_decode_fixed32_ReturnMemThruPtr_stream(stream, cmock_size) pb_decode_fixed32_CMockReturnMemThruPtr_stream(__LINE__, stream, cmock_size)
  234. void pb_decode_fixed32_CMockReturnMemThruPtr_stream(UNITY_LINE_TYPE cmock_line, pb_istream_t* stream, int cmock_size);
  235. #define pb_decode_fixed32_ReturnThruPtr_dest(dest) pb_decode_fixed32_CMockReturnMemThruPtr_dest(__LINE__, dest, sizeof(*dest))
  236. #define pb_decode_fixed32_ReturnArrayThruPtr_dest(dest, cmock_len) pb_decode_fixed32_CMockReturnMemThruPtr_dest(__LINE__, dest, cmock_len * sizeof(*dest))
  237. #define pb_decode_fixed32_ReturnMemThruPtr_dest(dest, cmock_size) pb_decode_fixed32_CMockReturnMemThruPtr_dest(__LINE__, dest, cmock_size)
  238. void pb_decode_fixed32_CMockReturnMemThruPtr_dest(UNITY_LINE_TYPE cmock_line, void* dest, int cmock_size);
  239. #define pb_decode_fixed32_IgnoreArg_stream() pb_decode_fixed32_CMockIgnoreArg_stream(__LINE__)
  240. void pb_decode_fixed32_CMockIgnoreArg_stream(UNITY_LINE_TYPE cmock_line);
  241. #define pb_decode_fixed32_IgnoreArg_dest() pb_decode_fixed32_CMockIgnoreArg_dest(__LINE__)
  242. void pb_decode_fixed32_CMockIgnoreArg_dest(UNITY_LINE_TYPE cmock_line);
  243. #define pb_decode_fixed64_IgnoreAndReturn(cmock_retval) pb_decode_fixed64_CMockIgnoreAndReturn(__LINE__, cmock_retval)
  244. void pb_decode_fixed64_CMockIgnoreAndReturn(UNITY_LINE_TYPE cmock_line, bool cmock_to_return);
  245. #define pb_decode_fixed64_ExpectAndReturn(stream, dest, cmock_retval) pb_decode_fixed64_CMockExpectAndReturn(__LINE__, stream, dest, cmock_retval)
  246. void pb_decode_fixed64_CMockExpectAndReturn(UNITY_LINE_TYPE cmock_line, pb_istream_t* stream, void* dest, bool cmock_to_return);
  247. typedef bool (* CMOCK_pb_decode_fixed64_CALLBACK)(pb_istream_t* stream, void* dest, int cmock_num_calls);
  248. void pb_decode_fixed64_StubWithCallback(CMOCK_pb_decode_fixed64_CALLBACK Callback);
  249. #define pb_decode_fixed64_ExpectWithArrayAndReturn(stream, stream_Depth, dest, dest_Depth, cmock_retval) pb_decode_fixed64_CMockExpectWithArrayAndReturn(__LINE__, stream, stream_Depth, dest, dest_Depth, cmock_retval)
  250. void pb_decode_fixed64_CMockExpectWithArrayAndReturn(UNITY_LINE_TYPE cmock_line, pb_istream_t* stream, int stream_Depth, void* dest, int dest_Depth, bool cmock_to_return);
  251. #define pb_decode_fixed64_ReturnThruPtr_stream(stream) pb_decode_fixed64_CMockReturnMemThruPtr_stream(__LINE__, stream, sizeof(*stream))
  252. #define pb_decode_fixed64_ReturnArrayThruPtr_stream(stream, cmock_len) pb_decode_fixed64_CMockReturnMemThruPtr_stream(__LINE__, stream, cmock_len * sizeof(*stream))
  253. #define pb_decode_fixed64_ReturnMemThruPtr_stream(stream, cmock_size) pb_decode_fixed64_CMockReturnMemThruPtr_stream(__LINE__, stream, cmock_size)
  254. void pb_decode_fixed64_CMockReturnMemThruPtr_stream(UNITY_LINE_TYPE cmock_line, pb_istream_t* stream, int cmock_size);
  255. #define pb_decode_fixed64_ReturnThruPtr_dest(dest) pb_decode_fixed64_CMockReturnMemThruPtr_dest(__LINE__, dest, sizeof(*dest))
  256. #define pb_decode_fixed64_ReturnArrayThruPtr_dest(dest, cmock_len) pb_decode_fixed64_CMockReturnMemThruPtr_dest(__LINE__, dest, cmock_len * sizeof(*dest))
  257. #define pb_decode_fixed64_ReturnMemThruPtr_dest(dest, cmock_size) pb_decode_fixed64_CMockReturnMemThruPtr_dest(__LINE__, dest, cmock_size)
  258. void pb_decode_fixed64_CMockReturnMemThruPtr_dest(UNITY_LINE_TYPE cmock_line, void* dest, int cmock_size);
  259. #define pb_decode_fixed64_IgnoreArg_stream() pb_decode_fixed64_CMockIgnoreArg_stream(__LINE__)
  260. void pb_decode_fixed64_CMockIgnoreArg_stream(UNITY_LINE_TYPE cmock_line);
  261. #define pb_decode_fixed64_IgnoreArg_dest() pb_decode_fixed64_CMockIgnoreArg_dest(__LINE__)
  262. void pb_decode_fixed64_CMockIgnoreArg_dest(UNITY_LINE_TYPE cmock_line);
  263. #define pb_make_string_substream_IgnoreAndReturn(cmock_retval) pb_make_string_substream_CMockIgnoreAndReturn(__LINE__, cmock_retval)
  264. void pb_make_string_substream_CMockIgnoreAndReturn(UNITY_LINE_TYPE cmock_line, bool cmock_to_return);
  265. #define pb_make_string_substream_ExpectAndReturn(stream, substream, cmock_retval) pb_make_string_substream_CMockExpectAndReturn(__LINE__, stream, substream, cmock_retval)
  266. void pb_make_string_substream_CMockExpectAndReturn(UNITY_LINE_TYPE cmock_line, pb_istream_t* stream, pb_istream_t* substream, bool cmock_to_return);
  267. typedef bool (* CMOCK_pb_make_string_substream_CALLBACK)(pb_istream_t* stream, pb_istream_t* substream, int cmock_num_calls);
  268. void pb_make_string_substream_StubWithCallback(CMOCK_pb_make_string_substream_CALLBACK Callback);
  269. #define pb_make_string_substream_ExpectWithArrayAndReturn(stream, stream_Depth, substream, substream_Depth, cmock_retval) pb_make_string_substream_CMockExpectWithArrayAndReturn(__LINE__, stream, stream_Depth, substream, substream_Depth, cmock_retval)
  270. void pb_make_string_substream_CMockExpectWithArrayAndReturn(UNITY_LINE_TYPE cmock_line, pb_istream_t* stream, int stream_Depth, pb_istream_t* substream, int substream_Depth, bool cmock_to_return);
  271. #define pb_make_string_substream_ReturnThruPtr_stream(stream) pb_make_string_substream_CMockReturnMemThruPtr_stream(__LINE__, stream, sizeof(*stream))
  272. #define pb_make_string_substream_ReturnArrayThruPtr_stream(stream, cmock_len) pb_make_string_substream_CMockReturnMemThruPtr_stream(__LINE__, stream, cmock_len * sizeof(*stream))
  273. #define pb_make_string_substream_ReturnMemThruPtr_stream(stream, cmock_size) pb_make_string_substream_CMockReturnMemThruPtr_stream(__LINE__, stream, cmock_size)
  274. void pb_make_string_substream_CMockReturnMemThruPtr_stream(UNITY_LINE_TYPE cmock_line, pb_istream_t* stream, int cmock_size);
  275. #define pb_make_string_substream_ReturnThruPtr_substream(substream) pb_make_string_substream_CMockReturnMemThruPtr_substream(__LINE__, substream, sizeof(*substream))
  276. #define pb_make_string_substream_ReturnArrayThruPtr_substream(substream, cmock_len) pb_make_string_substream_CMockReturnMemThruPtr_substream(__LINE__, substream, cmock_len * sizeof(*substream))
  277. #define pb_make_string_substream_ReturnMemThruPtr_substream(substream, cmock_size) pb_make_string_substream_CMockReturnMemThruPtr_substream(__LINE__, substream, cmock_size)
  278. void pb_make_string_substream_CMockReturnMemThruPtr_substream(UNITY_LINE_TYPE cmock_line, pb_istream_t* substream, int cmock_size);
  279. #define pb_make_string_substream_IgnoreArg_stream() pb_make_string_substream_CMockIgnoreArg_stream(__LINE__)
  280. void pb_make_string_substream_CMockIgnoreArg_stream(UNITY_LINE_TYPE cmock_line);
  281. #define pb_make_string_substream_IgnoreArg_substream() pb_make_string_substream_CMockIgnoreArg_substream(__LINE__)
  282. void pb_make_string_substream_CMockIgnoreArg_substream(UNITY_LINE_TYPE cmock_line);
  283. #define pb_close_string_substream_Ignore() pb_close_string_substream_CMockIgnore()
  284. void pb_close_string_substream_CMockIgnore(void);
  285. #define pb_close_string_substream_Expect(stream, substream) pb_close_string_substream_CMockExpect(__LINE__, stream, substream)
  286. void pb_close_string_substream_CMockExpect(UNITY_LINE_TYPE cmock_line, pb_istream_t* stream, pb_istream_t* substream);
  287. typedef void (* CMOCK_pb_close_string_substream_CALLBACK)(pb_istream_t* stream, pb_istream_t* substream, int cmock_num_calls);
  288. void pb_close_string_substream_StubWithCallback(CMOCK_pb_close_string_substream_CALLBACK Callback);
  289. #define pb_close_string_substream_ExpectWithArray(stream, stream_Depth, substream, substream_Depth) pb_close_string_substream_CMockExpectWithArray(__LINE__, stream, stream_Depth, substream, substream_Depth)
  290. void pb_close_string_substream_CMockExpectWithArray(UNITY_LINE_TYPE cmock_line, pb_istream_t* stream, int stream_Depth, pb_istream_t* substream, int substream_Depth);
  291. #define pb_close_string_substream_ReturnThruPtr_stream(stream) pb_close_string_substream_CMockReturnMemThruPtr_stream(__LINE__, stream, sizeof(*stream))
  292. #define pb_close_string_substream_ReturnArrayThruPtr_stream(stream, cmock_len) pb_close_string_substream_CMockReturnMemThruPtr_stream(__LINE__, stream, cmock_len * sizeof(*stream))
  293. #define pb_close_string_substream_ReturnMemThruPtr_stream(stream, cmock_size) pb_close_string_substream_CMockReturnMemThruPtr_stream(__LINE__, stream, cmock_size)
  294. void pb_close_string_substream_CMockReturnMemThruPtr_stream(UNITY_LINE_TYPE cmock_line, pb_istream_t* stream, int cmock_size);
  295. #define pb_close_string_substream_ReturnThruPtr_substream(substream) pb_close_string_substream_CMockReturnMemThruPtr_substream(__LINE__, substream, sizeof(*substream))
  296. #define pb_close_string_substream_ReturnArrayThruPtr_substream(substream, cmock_len) pb_close_string_substream_CMockReturnMemThruPtr_substream(__LINE__, substream, cmock_len * sizeof(*substream))
  297. #define pb_close_string_substream_ReturnMemThruPtr_substream(substream, cmock_size) pb_close_string_substream_CMockReturnMemThruPtr_substream(__LINE__, substream, cmock_size)
  298. void pb_close_string_substream_CMockReturnMemThruPtr_substream(UNITY_LINE_TYPE cmock_line, pb_istream_t* substream, int cmock_size);
  299. #define pb_close_string_substream_IgnoreArg_stream() pb_close_string_substream_CMockIgnoreArg_stream(__LINE__)
  300. void pb_close_string_substream_CMockIgnoreArg_stream(UNITY_LINE_TYPE cmock_line);
  301. #define pb_close_string_substream_IgnoreArg_substream() pb_close_string_substream_CMockIgnoreArg_substream(__LINE__)
  302. void pb_close_string_substream_CMockIgnoreArg_substream(UNITY_LINE_TYPE cmock_line);
  303. #endif