• Ilya Lipnitskiy's avatar
    protoc-c: add use_oneof_field_name option · f486c8ed
    Ilya Lipnitskiy authored
    Allows for generic oneof offset lookups based on the name of the oneof,
    instead of having to know the field name. All oneof fields should have
    the same offset, since they are members of a union.
    
    Fixes #204
    f486c8ed
c_field.cc 9.38 KB