summaryrefslogtreecommitdiff
path: root/upb/def.h
diff options
context:
space:
mode:
Diffstat (limited to 'upb/def.h')
-rw-r--r--upb/def.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/upb/def.h b/upb/def.h
index 81c553b..10fa510 100644
--- a/upb/def.h
+++ b/upb/def.h
@@ -279,6 +279,9 @@ typedef enum {
UPB_SYNTAX_PROTO3 = 3
} upb_syntax_t;
+/* Maps descriptor type -> upb field type. */
+extern const uint8_t upb_desctype_to_fieldtype[];
+
/* Maximum field number allowed for FieldDefs. This is an inherent limit of the
* protobuf wire format. */
#define UPB_MAX_FIELDNUMBER ((1 << 29) - 1)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback