diff options
Diffstat (limited to 'src/upb_sink.h')
-rw-r--r-- | src/upb_sink.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/upb_sink.h b/src/upb_sink.h index 2b8369e..5dc5b52 100644 --- a/src/upb_sink.h +++ b/src/upb_sink.h @@ -85,7 +85,8 @@ typedef upb_sink_status (*upb_str_cb)(upb_sink *s, upb_fielddef *f, upb_status *status); // The start and end callbacks are called when a submessage begins and ends, -// respectively. +// respectively. The caller is responsible for ensuring that the nesting +// level never exceeds UPB_MAX_NESTING. typedef upb_sink_status (*upb_start_cb)(upb_sink *s, upb_fielddef *f, upb_status *status); typedef upb_sink_status (*upb_end_cb)(upb_sink *s, upb_fielddef *f, |