summaryrefslogtreecommitdiff
path: root/upb.h
diff options
context:
space:
mode:
authorJoshua Haberman <joshua@reverberate.org>2009-06-24 21:30:04 -0700
committerJoshua Haberman <joshua@reverberate.org>2009-06-24 21:30:04 -0700
commit88cc3f2fc88aa233e9357f1c5194494e7de4c0ee (patch)
tree2be82557fb69f26c04c89854ecff6b3f372f1b6a /upb.h
parentec67a5ded6a3f9c77e265e1beb3efff9fd68aa32 (diff)
Progress implementing upb_msg.
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