From 90e4f086788169f870405646bc22ca866aa21b67 Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Wed, 13 Jan 2010 19:06:42 -0800 Subject: Incremental work on serialization. --- src/upb.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/upb.h') 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. **************************************/ -- cgit v1.2.3