don't autoresolve pointers
This commit is contained in:
parent
e6c57a665e
commit
081c783bbf
7 changed files with 344 additions and 214 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue