diff options
author | Joshua Haberman <joshua@reverberate.org> | 2009-11-27 11:59:38 -0800 |
---|---|---|
committer | Joshua Haberman <joshua@reverberate.org> | 2009-11-27 14:21:59 -0800 |
commit | 246a36998bc0e6800959ff76c2a8c76ff8de3561 (patch) | |
tree | 466504163ea910ed5564a28923a2fc6801a5328c /src/upb_context.h | |
parent | d16038073629b3f89acabfbd2f2d9911b2a771d4 (diff) |
WIP of cleaning up defs.
Diffstat (limited to 'src/upb_context.h')
-rw-r--r-- | src/upb_context.h | 11 |
1 files changed, 1 insertions, 10 deletions
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 { |