summaryrefslogtreecommitdiff
path: root/upb
diff options
context:
space:
mode:
authorJoshua Haberman <jhaberman@gmail.com>2018-12-13 11:20:26 -0800
committerJoshua Haberman <jhaberman@gmail.com>2018-12-13 11:20:26 -0800
commitaa2d5a609bc714e90300f26e04e729a4822a2aa5 (patch)
tree31ee9e43f85cab69322daa5f1dc6e0a758208ec4 /upb
parent10e682cf2a0e8dcfd79f9dfbad5367f6b6bf8a61 (diff)
Fixed generated code for C++.
Diffstat (limited to 'upb')
-rw-r--r--upb/msg.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/upb/msg.h b/upb/msg.h
index c72e9f0..6b4fd3b 100644
--- a/upb/msg.h
+++ b/upb/msg.h
@@ -36,10 +36,12 @@ class MessageLayout;
#endif
-UPB_DECLARE_TYPE(upb::Array, upb_array)
UPB_DECLARE_TYPE(upb::Map, upb_map)
UPB_DECLARE_TYPE(upb::MapIterator, upb_mapiter)
+struct upb_array;
+typedef struct upb_array upb_array;
+
/* TODO(haberman): C++ accessors */
UPB_BEGIN_EXTERN_C
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback