Change library to use dynamic API of capnproto.

Currently only get is working on DynamicStructReader, but
the mechanics are mostly there.
This commit is contained in:
Jason Paryani
2013-06-26 23:01:37 -07:00
parent 481841730c
commit 40a16470cf
9 changed files with 217 additions and 56612 deletions

View File

@@ -41,7 +41,7 @@ cdef extern from "capnp/message.h" namespace "::capnp":
T operator[](uint)
uint size()
cdef extern from "schema.capnp.h" namespace "::capnp::schema":
cdef extern from "capnp/schema.capnp.h" namespace "::capnp::schema":
{%- for node_dict in enum_types %}
enum {{node_name|capitalize}}:
{%- for member_name, member_dict in node_dict['members'].items() %}