From 9e3f5e343b8a729331dd6448bddb9150ae60d63c Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Thu, 26 Nov 2009 20:03:07 -0800 Subject: 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. --- src/upb.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/upb.h') 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 -- cgit v1.2.3