diff options
author | Joshua Haberman <joshua@reverberate.org> | 2011-02-24 00:09:27 -0800 |
---|---|---|
committer | Joshua Haberman <joshua@reverberate.org> | 2011-02-24 00:09:27 -0800 |
commit | abfc897b50532e5ed64f7f5497f80ef56abd3b26 (patch) | |
tree | 003c19da802085acb293d0b7d30026e9ad1adc56 /src/upb_textprinter.c | |
parent | 4d6585290955613b23e5ade89794fb465cb7ec3a (diff) |
Pass the upb_fielddef* to the endmsg callback.
Diffstat (limited to 'src/upb_textprinter.c')
-rw-r--r-- | src/upb_textprinter.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/upb_textprinter.c b/src/upb_textprinter.c index 894a1ea..c0fb944 100644 --- a/src/upb_textprinter.c +++ b/src/upb_textprinter.c @@ -107,8 +107,9 @@ err: return UPB_BREAK; } -static upb_flow_t upb_textprinter_endsubmsg(void *_p) +static upb_flow_t upb_textprinter_endsubmsg(void *_p, upb_fielddef *f) { + (void)f; upb_textprinter *p = _p; p->indent_depth--; upb_textprinter_indent(p); |