Fix build problem with Cython v0.24

Fixes #97
This commit is contained in:
Jason Paryani
2016-05-27 13:52:46 -07:00
parent b45152dba2
commit 589400f53a
2 changed files with 7 additions and 2 deletions

View File

@@ -559,9 +559,9 @@ cdef class _DynamicListBuilder:
return '<capnp list builder %s>' % <char*>strListBuilder(self.thisptr).cStr()
cdef class _List_NestedNode_Reader:
cdef List[C_Node.NestedNode].Reader thisptr
cdef C_Node.NestedNode.Reader.ListNestedNodeReader thisptr
cdef _init(self, List[C_Node.NestedNode].Reader other):
self.thisptr = other
self.thisptr = <C_Node.NestedNode.Reader.ListNestedNodeReader>other
return self
def __getitem__(self, index):