diff options
author | Joshua Haberman <jhaberman@gmail.com> | 2011-06-17 10:34:29 -0700 |
---|---|---|
committer | Joshua Haberman <jhaberman@gmail.com> | 2011-06-17 10:34:29 -0700 |
commit | 559e23c796f973a65d05c76e211835b126ee8ac8 (patch) | |
tree | ec359628f3b93b88718cc34e5ec86ca6e6c6c1e2 /src/upb_glue.h | |
parent | a503b8859c37906ab5012db163daca43bfe393bb (diff) |
Major refactoring: abandon upb_msg, add upb_accessors.
Next on the chopping block is upb_string.
Diffstat (limited to 'src/upb_glue.h')
-rw-r--r-- | src/upb_glue.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/upb_glue.h b/src/upb_glue.h index d1a26d1..27611cd 100644 --- a/src/upb_glue.h +++ b/src/upb_glue.h @@ -42,14 +42,14 @@ struct _upb_symtab; // Decodes the given string, which must be in protobuf binary format, to the // given upb_msg with msgdef "md", storing the status of the operation in "s". -void upb_strtomsg(struct _upb_string *str, struct _upb_msg *msg, +void upb_strtomsg(struct _upb_string *str, void *msg, struct _upb_msgdef *md, struct _upb_status *s); -void upb_msgtotext(struct _upb_string *str, struct _upb_msg *msg, +void upb_msgtotext(struct _upb_string *str, void *msg, struct _upb_msgdef *md, bool single_line); -void upb_parsedesc(struct _upb_symtab *symtab, struct _upb_string *str, - struct _upb_status *status); +void upb_read_descriptor(struct _upb_symtab *symtab, struct _upb_string *str, + struct _upb_status *status); #ifdef __cplusplus } /* extern "C" */ |