summaryrefslogtreecommitdiff
path: root/src/upb_context.h
diff options
context:
space:
mode:
authorJoshua Haberman <joshua@reverberate.org>2009-07-20 13:27:25 -0700
committerJoshua Haberman <joshua@reverberate.org>2009-07-20 13:27:25 -0700
commit6fe860171378a32da84b8e5bc2502c522bd9d9c7 (patch)
tree511aa43fcf4ad6329b921ea5cc3ccd1c37dd204b /src/upb_context.h
parent1e388b0af3d7c2384cd350a349ba756914620466 (diff)
Move upb_array into its own header, upb_context parses fds instead of fd.
Diffstat (limited to 'src/upb_context.h')
-rw-r--r--src/upb_context.h7
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);
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback