diff options
Diffstat (limited to 'src/upb_context.h')
-rw-r--r-- | src/upb_context.h | 7 |
1 files changed, 5 insertions, 2 deletions
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); |