Documentation updates

This commit is contained in:
Petteri Aimonen
2014-03-16 15:52:19 +02:00
parent 108864963f
commit ab62402059
4 changed files with 63 additions and 8 deletions

View File

@@ -21,10 +21,7 @@ bool check_alltypes(pb_istream_t *stream, int mode)
memset(&alltypes, 0xAA, sizeof(alltypes));
if (!pb_decode(stream, AllTypes_fields, &alltypes))
{
pb_release(AllTypes_fields, &alltypes);
return false;
}
TEST(alltypes.req_int32 && *alltypes.req_int32 == -1001);
TEST(alltypes.req_int64 && *alltypes.req_int64 == -1002);