Commit graph

14 commits

Author SHA1 Message Date
Kyle Manna
5b3e8f1132 test: Remove unused variables
* Never referenced and generate warnings on modern compilers
* Tested on gcc-5.2.0 and clang-3.6.2
2015-08-17 18:49:48 -07:00
Kyle Manna
7d2e122f2f signedness: Fix obvious sign problems
* These should be easily verified as correct.
* Tested on gcc-5.2.0 and clang-3.6.2
2015-08-17 18:48:17 -07:00
James McKaskill
ff44e4df26 remove CAPN_COMPOSITE_LIST and add capn_len 2013-09-16 16:53:33 -04:00
James McKaskill
59f827e93d change ptrsz to ptrs to free up space in capn_ptr 2013-09-13 10:02:03 -04:00
James McKaskill
081c783bbf don't autoresolve pointers 2013-09-12 17:26:51 -04:00
James McKaskill
e6c57a665e Remove interface code 2013-09-12 16:44:20 -04:00
James McKaskill
21e7c29a96 add interface to base lib and improve handling of empty lists 2013-05-12 22:58:48 -04:00
James McKaskill
c85722874d switch back to capn_root
capn_root now returns a ptr that can be used with capn_getp/setp.
This replaces capn_new_root and capn_get_root.
2013-05-12 00:59:47 -04:00
James McKaskill
69b838a092 fix capn_setp to copy nulls correctly 2013-05-12 00:59:47 -04:00
James McKaskill
65c23b9218 get recursive copy to work 2013-05-12 00:59:47 -04:00
James McKaskill
923393d543 size -> len and add capn_list* back in 2013-05-08 22:38:07 -04:00
James McKaskill
f99af86cb3 Move capn_init_* all into capn-malloc.c with a common create and free function 2013-05-08 22:35:52 -04:00
James McKaskill
b8da11676a Pass capn_ptr by value, better handling of tags 2013-05-07 22:44:21 -04:00
James McKaskill
3a235fe8c6 Add unit test for memory layout based off the Kenton's layout-test.c++ and whole slew of fixes to get the test to pass 2013-05-07 11:04:49 -04:00