@@ -628,6 +628,11 @@ cdef extern from "capnp/schema.capnp.h" namespace " ::capnp::schema":
|
|||||||
void setId(UInt64)
|
void setId(UInt64)
|
||||||
Value getValue()
|
Value getValue()
|
||||||
void setValue(Value)
|
void setValue(Value)
|
||||||
|
cdef cppclass ListNestedNodeReader"capnp::List<capnp::schema::Node::NestedNode>::Reader":
|
||||||
|
ListNestedNodeReader()
|
||||||
|
ListNestedNodeReader(ListNestedNodeReader)
|
||||||
|
Node.NestedNode.Reader operator[](uint)
|
||||||
|
uint size()
|
||||||
|
|
||||||
cdef extern from "capnp/message.h" namespace " ::capnp":
|
cdef extern from "capnp/message.h" namespace " ::capnp":
|
||||||
cdef cppclass ReaderOptions:
|
cdef cppclass ReaderOptions:
|
||||||
|
|||||||
@@ -559,9 +559,9 @@ cdef class _DynamicListBuilder:
|
|||||||
return '<capnp list builder %s>' % <char*>strListBuilder(self.thisptr).cStr()
|
return '<capnp list builder %s>' % <char*>strListBuilder(self.thisptr).cStr()
|
||||||
|
|
||||||
cdef class _List_NestedNode_Reader:
|
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):
|
cdef _init(self, List[C_Node.NestedNode].Reader other):
|
||||||
self.thisptr = other
|
self.thisptr = <C_Node.NestedNode.Reader.ListNestedNodeReader>other
|
||||||
return self
|
return self
|
||||||
|
|
||||||
def __getitem__(self, index):
|
def __getitem__(self, index):
|
||||||
|
|||||||
Reference in New Issue
Block a user