diff options
Diffstat (limited to 'core/upb_def.h')
-rw-r--r-- | core/upb_def.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/upb_def.h b/core/upb_def.h index 34f31ec..28cc258 100644 --- a/core/upb_def.h +++ b/core/upb_def.h @@ -101,14 +101,16 @@ typedef struct _upb_fielddef { uint32_t byte_offset; // Where in a upb_msg to find the data. // These are set only when this fielddef is part of a msgdef. + upb_field_number_t number; upb_field_count_t field_index; // Indicates set bit. - upb_field_number_t number; upb_fieldtype_t type; upb_label_t label; // True if we own a ref on "def" (above). This is true unless this edge is // part of a cycle. bool owned; + uint8_t set_bit_mask; + uint16_t set_bit_offset; } upb_fielddef; // A variety of tests about the type of a field. |