From 127adf4036baa5d6c41d59b4e2b3462b4180c2d6 Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Tue, 7 Jul 2009 16:59:08 -0700 Subject: More work on the benchmark. --- upb_msg.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'upb_msg.h') 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 -- cgit v1.2.3