From 8fa6a92f534cb01b6f5b4f48e3982f686d6c3123 Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Fri, 7 Aug 2009 20:47:26 -0700 Subject: Major refactoring of upb_msg. Temporary functionality regression. There is significant refactoring here, as well as some more trivial name changes. upb_msg has become upb_msgdef, to reflect the fact that a upb_msg is not *itself* a message, it describes a message. There are other renamings, such as upb_parse_state -> upb_stream_parser. More significantly, the upb_msg class and parser have been refactored to reflect my recent realization about how memory management should work. upb_msg now has no memory management, and a memory mangement scheme (that works beautifully with multiple language runtimes) will be layered on top of it. This iteration has the new, read-only upb_msg. upb_mm_msg (a memory-managed message class) will come in the next change. --- src/upb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/upb.h') diff --git a/src/upb.h b/src/upb.h index 0db5369..83917af 100644 --- a/src/upb.h +++ b/src/upb.h @@ -133,7 +133,7 @@ INLINE union upb_value upb_deref(union upb_value_ptr ptr, upb_field_type_t t) { } union upb_symbol_ref { - struct upb_msg *msg; + struct upb_msgdef *msg; struct upb_enum *_enum; struct upb_svc *svc; }; -- cgit v1.2.3