diff options
author | Joshua Haberman <jhaberman@gmail.com> | 2011-05-10 21:59:46 -0700 |
---|---|---|
committer | Joshua Haberman <jhaberman@gmail.com> | 2011-05-10 21:59:46 -0700 |
commit | 3231fd0fdd64bc6355bce921a988713524726f23 (patch) | |
tree | 326d6c6d334d14005db80c448fca485f641ed516 /src/upb_def.h | |
parent | ea2a80840e08887e6e5ea59bce1f56a3c69bd38c (diff) |
Vastly improved/simplified the upb_handlers API.
Diffstat (limited to 'src/upb_def.h')
-rw-r--r-- | src/upb_def.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/upb_def.h b/src/upb_def.h index ba1c410..d02fbf4 100644 --- a/src/upb_def.h +++ b/src/upb_def.h @@ -328,6 +328,7 @@ upb_def **upb_symtab_getdefs(upb_symtab *s, int *count, upb_deftype_t type); struct _upb_defbuilder; typedef struct _upb_defbuilder upb_defbuilder; struct _upb_handlers; +struct _upb_handlers; // Allocates a new defbuilder that will add defs to the given symtab. upb_defbuilder *upb_defbuilder_new(upb_symtab *s); @@ -337,7 +338,7 @@ upb_defbuilder *upb_defbuilder_new(upb_symtab *s); // // TODO: should this allow redefinition? Either is possible, but which is // more useful? Maybe it should be an option. -void upb_defbuilder_reghandlers(struct _upb_handlers *h); +struct _upb_mhandlers *upb_defbuilder_reghandlers(struct _upb_handlers *h); /* upb_def casts **************************************************************/ |