-typedef struct { size_t data_count; int32_t data[10]; } IntegerArray;
-const pb_field_t IntegerArray_fields[] = {
- {1, PB_HTYPE_ARRAY | PB_LTYPE_VARINT, offsetof(IntegerArray, data),
- pb_delta(IntegerArray, data_count, data),
- pb_membersize(IntegerArray, data[0]),
- pb_membersize(IntegerArray, data) / pb_membersize(IntegerArray, data[0])},
-
- PB_LAST_FIELD
-};
-
-typedef struct { pb_callback_t data; } CallbackArray;
-const pb_field_t CallbackArray_fields[] = {
- {1, PB_HTYPE_CALLBACK | PB_LTYPE_VARINT, offsetof(CallbackArray, data),
- 0, pb_membersize(CallbackArray, data), 0},
-
- PB_LAST_FIELD
-};
-