From 56984e8db8e1c43687535cc77fb6ce43df0b3d1f Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Fri, 29 Jul 2011 17:49:59 -0700 Subject: Significant work on Lua extension. Also changes in core library to accommodate. --- upb/upb.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'upb/upb.h') diff --git a/upb/upb.h b/upb/upb.h index 0c49597..633fd00 100644 --- a/upb/upb.h +++ b/upb/upb.h @@ -64,6 +64,8 @@ INLINE size_t upb_align_up(size_t val, size_t align) { // An individual string or array is unaffected by this 16k byte limit. #define UPB_MAX_FIELDS (2048) +#define UPB_MAX_FIELDNUMBER ((1 << 29) - 1) + // Nested type names are separated by periods. #define UPB_SYMBOL_SEPARATOR '.' -- cgit v1.2.3