aboutsummaryrefslogtreecommitdiffstats
path: root/example/common.c
AgeCommit message (Collapse)AuthorFilesLines
2012-10-18Remove the "buf = NULL" => skip requirement from pb_istream_t callbacks.Petteri Aimonen1-9/+0
Rationale: it's easy to implement the callback wrong. Doing so introduces io errors when unknown fields are present in the input. If code is not tested with unknown fields, these bugs can remain hidden for long time. Added a special case for the memory buffer stream, where it gives a small speed benefit. Added testcase for skipping fields with test_decode2 implementation. Update issue 37 Status: FixedInGit
2012-05-19Fix 64-bitness warnings in the example.Petteri Aimonen1-4/+4
Fixes issues 9 and 10.
2011-08-22example clientPetteri Aimonen1-0/+49
git-svn-id: https://svn.kapsi.fi/jpa/nanopb@958 e3a754e5-d11d-0410-8d38-ebb782a927b9