don't autoresolve pointers

This commit is contained in:
James McKaskill 2013-09-12 16:51:10 -04:00
parent e6c57a665e
commit 081c783bbf
7 changed files with 344 additions and 214 deletions

View file

@ -184,7 +184,7 @@ TEST(Schema, ReadSimple) {
struct capn ctx;
ASSERT_EQ(0, capn_init_mem(&ctx, simple_schema, sizeof(simple_schema), 0));
CodeGeneratorRequest_ptr root = {capn_getp(capn_root(&ctx), 0)};
CodeGeneratorRequest_ptr root = {capn_getp(capn_root(&ctx), 0, 1)};
EXPECT_EQ(CAPN_STRUCT, root.p.type);
struct CodeGeneratorRequest req;