Commit graph

7 commits

Author SHA1 Message Date
Josep Lluis Ferrer
c802ad3a1a Support creation of struct lists with size 0
The case of creating capnp lists of size 0 didn't consider lists of
composite elements (structs), which requires the addition of list
element information.

This commit removes the case of size 0 when creating the list in order
to enable the creation of 0 sized lists of any element type (struct).
2017-05-17 18:23:33 +02:00
Alex Helfet
ef88fd8e9d Fixed some issues raised by eqvinox in pull request.
PR URL: 1b25eae747
2017-03-23 04:33:03 +00:00
Alex Helfet
0be620602a Fix compiler warnings and errors in GCC. 2017-03-22 17:40:05 +00:00
Nathanael Jones
8f37e0f618 Define default value for char *e
Visual studio's execution flow analysis insists that (e) could be
undefined. I don't see it, but this permits compilation.
2016-05-11 09:58:42 -07:00
Nathanael Jones
8d0ccbeeae Define ssize_t for MSVC
ssize_t is not available in visual studio, nor is sys/param.h We typedef
intmax_t to ssize_t
2016-05-11 09:57:41 -07:00
Michael Gartsbein
90c3473406 support set of non terminated string (with len) 2016-04-06 11:40:18 +03:00
David Lamparter
811d3046e1 rename to "[lib]capnp_c", use lib/ subdir 2016-03-19 00:39:29 +01:00
Renamed from capn.c (Browse further)