diff options
author | Joshua Haberman <joshua@reverberate.org> | 2009-07-20 10:52:37 -0700 |
---|---|---|
committer | Joshua Haberman <joshua@reverberate.org> | 2009-07-20 10:52:37 -0700 |
commit | 1e388b0af3d7c2384cd350a349ba756914620466 (patch) | |
tree | d2b515f706dc15ba18b74c0cfd2da5a7052be468 /src/upb_msg.h | |
parent | 293cbe5135d64a1c85bb5125d9d4a1f6f39886f8 (diff) |
Significant, experimental changes (setjmp/longjmp, group handling).
Diffstat (limited to 'src/upb_msg.h')
-rw-r--r-- | src/upb_msg.h | 6 |
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 |