diff options
author | Josh Haberman <jhaberman@gmail.com> | 2016-03-08 16:21:37 -0800 |
---|---|---|
committer | Josh Haberman <jhaberman@gmail.com> | 2016-03-08 16:21:37 -0800 |
commit | 7f0d3bb83dbb7590f3008182a8b27ecf9f0220d3 (patch) | |
tree | 783d68c8df77a2a628f1517c0576f20df634dec3 /upb/bindings/lua/upb.c | |
parent | f73baf670e8b14ef15fedfaa593ba71ba94dcfc8 (diff) |
Make OneofDef stop deriving from Def.
It is clear now that oneofs are different form other
defs in one important way: they are not top-level
constructs that can stand on their own in a SymbolTable,
for example. If you are iterating over a list of Defs
in a SymbolTable, there is no chance you will run into
a oneof. To reflect this reality, OneofDef no longer
derives from Def, and the UPB_DEF_ONEOF is no longer
an enum value that needs to be handled.
Diffstat (limited to 'upb/bindings/lua/upb.c')
0 files changed, 0 insertions, 0 deletions