Refactoring the field encoder interface.
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>
Thu, 1 Mar 2012 11:46:52 +0000 (13:46 +0200)
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>
Thu, 1 Mar 2012 11:46:52 +0000 (13:46 +0200)
Replaced the confusing pb_enc_* functions with new pb_encode_* functions that
have a cleaner interface. Updated documentation.

Got rid of the endian_copy stuff in pb_encode.c, instead using C casts to do it automatically.
This makes the code safer and also reduces binary size by about 5%.

Fixes Issue 6.


No differences found