summaryrefslogtreecommitdiff
path: root/src/upb_def.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/upb_def.h')
-rw-r--r--src/upb_def.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/upb_def.h b/src/upb_def.h
index 033dcde..b73b0f9 100644
--- a/src/upb_def.h
+++ b/src/upb_def.h
@@ -257,6 +257,11 @@ upb_def **upb_symtab_getdefs(upb_symtab *s, int *count, upb_def_type_t type);
// more useful? Maybe it should be an option.
void upb_symtab_addfds(upb_symtab *s, upb_src *desc, upb_status *status);
+// Returns a symtab that defines google.protobuf.DescriptorProto and all other
+// types that are defined in descriptor.proto. This allows you to load other
+// proto types. The caller owns a ref on the returned symtab.
+upb_symtab *upb_get_descriptor_symtab();
+
/* upb_def casts **************************************************************/
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback