diff options
author | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2014-04-05 11:11:05 +0300 |
---|---|---|
committer | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2014-04-05 11:11:05 +0300 |
commit | e5b855fec5d2977971f96d817728c7a3ee8077b2 (patch) | |
tree | 33dbf33ea17c072d4db878ee043d2244f2ab638c /pb.h | |
parent | 70dee34da6578ab76dbf00009357d679e154e04b (diff) |
Add a 'found' field to pb_extension_t.
Update issue 112
Status: FixedInGit
Diffstat (limited to 'pb.h')
-rw-r--r-- | pb.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -341,6 +341,10 @@ struct _pb_extension_t { * If this extension does not match a field, the next handler is * automatically called. */ pb_extension_t *next; + + /* The decoder sets this to true if the extension was found. + * Ignored for encoding. */ + bool found; }; /* Memory allocation functions to use. You can define pb_realloc and |