From 6fe860171378a32da84b8e5bc2502c522bd9d9c7 Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Mon, 20 Jul 2009 13:27:25 -0700 Subject: Move upb_array into its own header, upb_context parses fds instead of fd. --- src/upb_context.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/upb_context.h') diff --git a/src/upb_context.h b/src/upb_context.h index 4ddaed6..3031124 100644 --- a/src/upb_context.h +++ b/src/upb_context.h @@ -94,8 +94,11 @@ INLINE struct upb_symtab_entry *upb_context_symnext( * upb_context_addfd only returns true or false; it does not give any hint * about what happened in the case of failure. This is because the descriptor * is expected to have been validated at the time it was parsed/generated. */ -bool upb_context_addfd(struct upb_context *c, - struct google_protobuf_FileDescriptorProto *fd); +bool upb_context_addfds(struct upb_context *c, + struct google_protobuf_FileDescriptorSet *fds); + +bool upb_context_addfds(struct upb_context *c, + struct google_protobuf_FileDescriptorSet *fds); bool upb_context_parsefds(struct upb_context *c, struct upb_string *fds); -- cgit v1.2.3