diff options
author | Joshua Haberman <joshua@reverberate.org> | 2011-02-18 18:17:06 -0800 |
---|---|---|
committer | Joshua Haberman <joshua@reverberate.org> | 2011-02-18 18:17:06 -0800 |
commit | 61e5d367ff180a4fcd48dd06b9918a9d37edc766 (patch) | |
tree | db9b726919615984bc2bc4750340b90f58777cb2 /benchmarks/parsetostruct.upb_table.c | |
parent | ff23340fe2983b1f034b0e156807b328417d2310 (diff) |
Change the API for getting the bootstrapped defs.
The symtab that contains them is now hidden, and
you can look them up by name but there is no access
to the symtab itself, so there is no risk of
mutating it (by extending it, adding other defs
to it, etc).
Diffstat (limited to 'benchmarks/parsetostruct.upb_table.c')
-rw-r--r-- | benchmarks/parsetostruct.upb_table.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/benchmarks/parsetostruct.upb_table.c b/benchmarks/parsetostruct.upb_table.c index 592f86e..dfdd5b2 100644 --- a/benchmarks/parsetostruct.upb_table.c +++ b/benchmarks/parsetostruct.upb_table.c @@ -20,7 +20,6 @@ static bool initialize() // Initialize upb state, decode descriptor. upb_status status = UPB_STATUS_INIT; upb_symtab *s = upb_symtab_new(); - upb_symtab_add_descriptorproto(s); upb_string *fds_str = upb_strreadfile(MESSAGE_DESCRIPTOR_FILE); if(fds_str == NULL) { |