Move the declarations of _pb_ostream_t and _pb_istream_t before first use.
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>
Mon, 9 Sep 2013 07:53:04 +0000 (10:53 +0300)
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>
Mon, 9 Sep 2013 07:53:04 +0000 (10:53 +0300)
commit5b9ad17dc2014d7506a7dde92281d8c36a1433e4
tree268552554ab4cba03c9a42eae5d73af33ed28da0
parent4821e7f457ebd28aabcbdea726ebce11265f402f
Move the declarations of _pb_ostream_t and _pb_istream_t before first use.

Otherwise Microsoft Visual C++ threats them as C++ classes instead of plain
structs, forbidding use in C linkage functions.

Thanks to Markus Schwarzenberg for the patch.

Update issue 84
Status: Started
pb_decode.h
pb_encode.h