wrong file name

git-svn-id: https://svn.kapsi.fi/jpa/nanopb@967 e3a754e5-d11d-0410-8d38-ebb782a927b9
This commit is contained in:
Petteri Aimonen
2011-08-24 12:13:24 +00:00
parent a353417021
commit 9cb63dd266
3 changed files with 3 additions and 3 deletions

View File

@@ -262,7 +262,7 @@ int main()
TEST(WRITES(pb_encode(&s, CallbackContainerContainer_fields, &msg2), TEST(WRITES(pb_encode(&s, CallbackContainerContainer_fields, &msg2),
"\x0A\x04\x0A\x02\x08\x55")) "\x0A\x04\x0A\x02\x08\x55"))
/* Misbehaving callback */ /* Misbehaving callback: varying output between calls */
msg.submsg.data.funcs.encode = &crazyfieldcallback; msg.submsg.data.funcs.encode = &crazyfieldcallback;
msg.submsg.data.arg = &state; msg.submsg.data.arg = &state;
msg2.submsg.submsg.data.funcs.encode = &crazyfieldcallback; msg2.submsg.submsg.data.funcs.encode = &crazyfieldcallback;

View File

@@ -1,6 +1,6 @@
#include <stdio.h> #include <stdio.h>
#include <pb_decode.h> #include <pb_decode.h>
#include "person.h" #include "person.pb.h"
bool print_person(pb_istream_t *stream) bool print_person(pb_istream_t *stream)
{ {

View File

@@ -1,6 +1,6 @@
#include <stdio.h> #include <stdio.h>
#include <pb_encode.h> #include <pb_encode.h>
#include "person.h" #include "person.pb.h"
bool streamcallback(pb_ostream_t *stream, const uint8_t *buf, size_t count) bool streamcallback(pb_ostream_t *stream, const uint8_t *buf, size_t count)
{ {