Improve the detection of missing required fields.
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>
Sat, 30 Jun 2012 15:10:08 +0000 (18:10 +0300)
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>
Sat, 30 Jun 2012 15:10:08 +0000 (18:10 +0300)
commit95eb4a549981dc556dd30c5d76a6b437bb5ed06d
treec0344bb22676b1167d66c41bcde9bb228c1a16f3
parent7bcf7ef5796c66125a2a4df1317b55a27adedd89
Improve the detection of missing required fields.

Now the limit of tracked fields is configurable at compile-time using
PB_MAX_REQUIRED_FIELDS. Added related test and updated documentation.

Fixes issue #18.
docs/reference.rst
pb.h
pb_decode.c
tests/Makefile
tests/missing_fields.proto [new file with mode: 0644]
tests/test_missing_fields.c [new file with mode: 0644]