summaryrefslogtreecommitdiff
path: root/src/upb.h
diff options
context:
space:
mode:
authorJoshua Haberman <joshua@reverberate.org>2009-11-26 20:03:07 -0800
committerJoshua Haberman <joshua@reverberate.org>2009-11-26 20:03:07 -0800
commit9e3f5e343b8a729331dd6448bddb9150ae60d63c (patch)
treec37742bb66ec8782e684c0f031a8ab7615fa9f8c /src/upb.h
parentf231856c48ced0b95027c58fbf7bdd5569d02e75 (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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/upb.h b/src/upb.h
index cc09ab1..092ea66 100644
--- a/src/upb.h
+++ b/src/upb.h
@@ -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
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback