Refactor proto3 logic into pb_check_proto3_default_value()
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>
Fri, 9 Dec 2016 16:37:55 +0000 (18:37 +0200)
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>
Fri, 9 Dec 2016 16:37:55 +0000 (18:37 +0200)
commitbb78ba51642de29194ff70f6f7e602c393210e83
tree18cb9924c37d1f865a3fbb9d3e4fe3000bd0773f
parent69aaa491fbe57e7dbb2eded28248a6e5b570e535
Refactor proto3 logic into pb_check_proto3_default_value()

Mainly to clean up the code. Also fixed handling of
PB_LTYPE_FIXED_LENGTH_BYTES for proto3 files.
pb_encode.c