Revert "Change the substream implementation in pb_decode."
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>
Fri, 24 Aug 2012 17:43:21 +0000 (20:43 +0300)
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>
Fri, 24 Aug 2012 17:43:39 +0000 (20:43 +0300)
commit9383f305dc42eeca8b043c5c6dff3fe2e3e8f4f2
treef612bef3fe96720101b2e4c8a6bb4387ea8f8361
parent2941e90e041b0d7872a4ea458e77dcc787ca6ff2
Revert "Change the substream implementation in pb_decode."

This reverts commit dc2da0edc568b29361479fb7405c96b1a13442cf.

Add pb_close_string_substream() for copying back the state.
This makes adding error messages easier in the future, as also
them need to be propagated back from the substream.
example_unions/decode.c
pb_decode.c
pb_decode.h