diff options
author | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2013-07-17 19:23:19 +0300 |
---|---|---|
committer | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2013-07-17 19:23:19 +0300 |
commit | ebddda9b5cdda5d082f07bbb6beb010f48c8f9b3 (patch) | |
tree | 396b1bf9c3e210e84dadd0ef3455ceb8adbb10a4 /pb.h | |
parent | 7c5e184c261bd5f5652993232f2125a6802004ab (diff) |
Implement extension support for the encoder
Diffstat (limited to 'pb.h')
-rw-r--r-- | pb.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -298,7 +298,7 @@ struct _pb_extension_type_t { * If you run into an error, return false. * Set to NULL for default handler. */ - bool (*encode)(pb_ostream_t *stream, pb_extension_t *extension); + bool (*encode)(pb_ostream_t *stream, const pb_extension_t *extension); /* Free field for use by the callback. */ const void *arg; |