Add TODO and fail on packed writes
This commit is contained in:
parent
ca03b34318
commit
45b95c38d0
1 changed files with 4 additions and 0 deletions
|
|
@ -166,6 +166,10 @@ capn_write_mem(struct capn *c, uint8_t *p, size_t sz, int packed)
|
|||
size_t datasz;
|
||||
uint32_t *header;
|
||||
|
||||
/* TODO support packing */
|
||||
if (packed)
|
||||
return -1;
|
||||
|
||||
if (c->segnum == 0)
|
||||
return -1;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue