summaryrefslogtreecommitdiff
path: root/src/upb_sink.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/upb_sink.h')
-rw-r--r--src/upb_sink.h3
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,
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback