summaryrefslogtreecommitdiff
path: root/upb/upb.h
diff options
context:
space:
mode:
authorJoshua Haberman <jhaberman@gmail.com>2011-07-29 17:49:59 -0700
committerJoshua Haberman <jhaberman@gmail.com>2011-07-29 17:49:59 -0700
commit56984e8db8e1c43687535cc77fb6ce43df0b3d1f (patch)
treedc8c85d1311458a68408ff4c43d009b6193ac221 /upb/upb.h
parent92b4c38fa5f137cbcf835ad359bed8711c1c9c51 (diff)
Significant work on Lua extension.
Also changes in core library to accommodate.
Diffstat (limited to 'upb/upb.h')
-rw-r--r--upb/upb.h2
1 files changed, 2 insertions, 0 deletions
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 '.'
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback