summaryrefslogtreecommitdiff
path: root/upb_msg.h
diff options
context:
space:
mode:
authorJoshua Haberman <joshua@reverberate.org>2009-07-07 16:59:08 -0700
committerJoshua Haberman <joshua@reverberate.org>2009-07-07 16:59:08 -0700
commit127adf4036baa5d6c41d59b4e2b3462b4180c2d6 (patch)
treec4ddfa465ccdbcf695ca3e9804ecf2c8f75eaa86 /upb_msg.h
parent137991c7b2def357b9f18d0cd01ba671ebf1392d (diff)
More work on the benchmark.
Diffstat (limited to 'upb_msg.h')
-rw-r--r--upb_msg.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/upb_msg.h b/upb_msg.h
index a3f8c92..e06fa6e 100644
--- a/upb_msg.h
+++ b/upb_msg.h
@@ -340,6 +340,8 @@ struct upb_msg_parse_state {
* must remain unchanged and must outlive data. */
void upb_msg_parse_init(struct upb_msg_parse_state *s, void *data,
struct upb_msg *m, bool merge, bool byref);
+void upb_msg_parse_reset(struct upb_msg_parse_state *s, void *data,
+ struct upb_msg *m, bool merge, bool byref);
void upb_msg_parse_free(struct upb_msg_parse_state *s);
/* Parses a protobuf fragment, writing the data to the message that was passed
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback