diff options
author | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2013-12-09 19:19:12 +0200 |
---|---|---|
committer | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2013-12-29 18:35:57 +0200 |
commit | 25516b059137be64735276bbe3a96029f4c926be (patch) | |
tree | 046dc037c96cf9b4243e2eba533d4a555bf15f1f /examples | |
parent | 414e637867c513ba9aa199e106c6d576e5b60287 (diff) |
Organize allocation logic in generator, add pb_bytes_ptr_t.
Allocation decision is now made before the field data type is decided.
This way the data type decisions can more cleanly account for the allocation
type, i.e. FT_DEFAULT logic etc.
Added pb_bytes_ptr_t for pointer-allocated bytes-fields. There is no point
generating separate structs for these, as they would all be of the same type.
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions