summaryrefslogtreecommitdiff
path: root/src/upb_msg.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/upb_msg.h')
-rw-r--r--src/upb_msg.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/upb_msg.h b/src/upb_msg.h
index 1d41805..14fc870 100644
--- a/src/upb_msg.h
+++ b/src/upb_msg.h
@@ -331,11 +331,17 @@ void upb_msg_reuse_submsg(void **msg, struct upb_msg *m);
/* This is all just a layer on top of the stream-oriented facility in
* upb_parse.h. */
+struct upb_msg_parse_frame {
+ struct upb_msg *m;
+ void *data;
+};
+
struct upb_msg_parse_state {
struct upb_parse_state s;
bool merge;
bool byref;
struct upb_msg *m;
+ struct upb_msg_parse_frame stack[UPB_MAX_NESTING], *top;
};
/* Initializes/frees a message parser. The parser will write the data to the
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback