diff options
author | Joshua Haberman <joshua@reverberate.org> | 2011-08-19 17:19:53 -0700 |
---|---|---|
committer | Joshua Haberman <joshua@reverberate.org> | 2011-08-19 17:19:53 -0700 |
commit | 06b8181f975d66341fe8b96999c911a8ed24447c (patch) | |
tree | de95c722ffdc9e69dc5b54d5b3c034e40b538de4 /upb/pb/glue.h | |
parent | 40f271b8543abb6fadda19c350b61cd06f176648 (diff) |
Benchmark to parse into proto2 messages.
Diffstat (limited to 'upb/pb/glue.h')
-rw-r--r-- | upb/pb/glue.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/upb/pb/glue.h b/upb/pb/glue.h index 5359120..a2a478c 100644 --- a/upb/pb/glue.h +++ b/upb/pb/glue.h @@ -47,6 +47,9 @@ void upb_strtomsg(const char *str, size_t len, void *msg, //void upb_msgtotext(struct _upb_string *str, void *msg, // struct _upb_msgdef *md, bool single_line); +upb_def **upb_load_descriptor(const char *str, size_t len, int *n, + upb_status *status); + void upb_read_descriptor(struct _upb_symtab *symtab, const char *str, size_t len, upb_status *status); |