summaryrefslogtreecommitdiff
path: root/src/upb_context.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/upb_context.h')
-rw-r--r--src/upb_context.h11
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 {
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback