From 559e23c796f973a65d05c76e211835b126ee8ac8 Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Fri, 17 Jun 2011 10:34:29 -0700 Subject: Major refactoring: abandon upb_msg, add upb_accessors. Next on the chopping block is upb_string. --- src/upb_glue.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/upb_glue.h') 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" */ -- cgit v1.2.3