From 246a36998bc0e6800959ff76c2a8c76ff8de3561 Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Fri, 27 Nov 2009 11:59:38 -0800 Subject: WIP of cleaning up defs. --- src/upb_context.h | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'src/upb_context.h') diff --git a/src/upb_context.h b/src/upb_context.h index 77c2db8..b20f169 100644 --- a/src/upb_context.h +++ b/src/upb_context.h @@ -24,18 +24,9 @@ extern "C" { /* Definitions. ***************************************************************/ -/* The symbol table maps names to various kinds of symbols. */ -enum upb_symbol_type { - UPB_SYM_MESSAGE, - UPB_SYM_ENUM, - UPB_SYM_SERVICE, - UPB_SYM_EXTENSION -}; - struct upb_symtab_entry { struct upb_strtable_entry e; - enum upb_symbol_type type; - union upb_symbol_ref ref; + struct upb_def *def; /* We own one ref. */ }; struct upb_context { -- cgit v1.2.3