summaryrefslogtreecommitdiff
path: root/src/upb.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/upb.h')
-rw-r--r--src/upb.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/upb.h b/src/upb.h
index 2c0a23d..4242cdc 100644
--- a/src/upb.h
+++ b/src/upb.h
@@ -53,7 +53,9 @@ typedef int16_t upb_field_count_t;
// }
#define UPB_MAX_TYPE_CYCLE_LEN 16
-// The maximum depth that the type graph can have.
+// The maximum depth that the type graph can have. Note that this setting does
+// not automatically constrain UPB_MAX_NESTING, because type cycles allow for
+// unlimited nesting if we do not limit it.
#define UPB_MAX_TYPE_DEPTH 64
/* Fundamental types and type constants. **************************************/
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback