diff options
author | Joshua Haberman <joshua@reverberate.org> | 2009-11-26 20:03:07 -0800 |
---|---|---|
committer | Joshua Haberman <joshua@reverberate.org> | 2009-11-26 20:03:07 -0800 |
commit | 9e3f5e343b8a729331dd6448bddb9150ae60d63c (patch) | |
tree | c37742bb66ec8782e684c0f031a8ab7615fa9f8c /src/upb.h | |
parent | f231856c48ced0b95027c58fbf7bdd5569d02e75 (diff) |
Make upb_msgdef own all its data.
This is in anticipation of making upb_msgdef's easy
to dup. This involved removing all traces of any
descriptors from the defs.
Diffstat (limited to 'src/upb.h')
-rw-r--r-- | src/upb.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -223,6 +223,9 @@ union upb_symbol_ref { struct upb_msgdef *msg; struct upb_enumdef *_enum; struct upb_svc *svc; + + /* Used only temporarily before a reference has been resolved. */ + struct upb_string *str; }; // Status codes used as a return value. Codes >0 are not fatal and can be |