diff options
author | Joshua Haberman <jhaberman@gmail.com> | 2018-12-13 11:20:26 -0800 |
---|---|---|
committer | Joshua Haberman <jhaberman@gmail.com> | 2018-12-13 11:20:26 -0800 |
commit | aa2d5a609bc714e90300f26e04e729a4822a2aa5 (patch) | |
tree | 31ee9e43f85cab69322daa5f1dc6e0a758208ec4 /upb/msg.h | |
parent | 10e682cf2a0e8dcfd79f9dfbad5367f6b6bf8a61 (diff) |
Fixed generated code for C++.
Diffstat (limited to 'upb/msg.h')
-rw-r--r-- | upb/msg.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |