Add compile-time option PB_BUFFER_ONLY.
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>
Wed, 6 Feb 2013 18:54:25 +0000 (20:54 +0200)
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>
Wed, 6 Feb 2013 18:54:25 +0000 (20:54 +0200)
commit4ba6a3027d7a5d8c17abeb031622389f8be234fe
tree3c2fdba47e9b9c11a0e3b0996c9f733abb4c07c1
parent39b8a5e2bbd5da85f23b48280e81a5ce6672b09d
Add compile-time option PB_BUFFER_ONLY.

This allows slight optimizations if only memory buffer support
(as opposed to stream callbacks) is wanted. On ARM difference
is -12% execution time, -4% code size when enabled.
docs/reference.rst
pb_decode.c
pb_decode.h
pb_encode.c
pb_encode.h
tests/Makefile