summaryrefslogtreecommitdiff
path: root/upb.h
diff options
context:
space:
mode:
Diffstat (limited to 'upb.h')
-rw-r--r--upb.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/upb.h b/upb.h
index 457e9ee..bb1563a 100644
--- a/upb.h
+++ b/upb.h
@@ -67,6 +67,14 @@ union upb_wire_value {
* represent exceptional circumstances. */
typedef uint8_t upb_field_type_t;
+struct upb_type_info {
+ uint8_t align;
+ uint8_t size;
+ uint8_t expected_wire_type;
+};
+
+extern struct upb_type_info upb_type_info[];
+
/* A value as described in a .proto file, except delimited, which is handled
* separately. */
union upb_value {
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback