summaryrefslogtreecommitdiff
path: root/upb/structs.int.h
blob: ec7a4ae9fe36aa0af4f1cb81520a6c242c8962d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
** structs.int.h: structures definitions that are internal to upb.
*/

#ifndef UPB_STRUCTS_H_
#define UPB_STRUCTS_H_

#include "upb/upb.h"

struct upb_array {
  upb_fieldtype_t type;
  uint8_t element_size;
  void *data;   /* Each element is element_size. */
  size_t len;   /* Measured in elements. */
  size_t size;  /* Measured in elements. */
  upb_arena *arena;
};

#endif  /* UPB_STRUCTS_H_ */

generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback