summaryrefslogtreecommitdiff
path: root/src/upb.h
diff options
context:
space:
mode:
authorJoshua Haberman <joshua@reverberate.org>2010-01-13 19:06:42 -0800
committerJoshua Haberman <joshua@reverberate.org>2010-01-13 19:06:42 -0800
commit90e4f086788169f870405646bc22ca866aa21b67 (patch)
tree7cb6a47298782d691c5e28d8fd0c1195369c7d4a /src/upb.h
parent50451ea441280fe193c1c344e299977d8fcbdcc7 (diff)
Incremental work on serialization.
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