From 40a16470cf4d2cb51fd553c37716e6c7b008a293 Mon Sep 17 00:00:00 2001 From: Jason Paryani Date: Wed, 26 Jun 2013 23:01:37 -0700 Subject: [PATCH] Change library to use dynamic API of capnproto. Currently only get is working on DynamicStructReader, but the mechanics are mostly there. --- bootstrap/capnp.tmpl.pxd | 2 +- bootstrap/setup.py | 2 +- capnp.pyx | 171 + capnp_cpp.pxd | 26 + schema.capnp.c++ | 2510 -- schema.capnp.h | 5301 ---- schema.cpp | 48796 ------------------------------------- schema_cpp.pxd | 18 +- setup.py | 3 +- 9 files changed, 217 insertions(+), 56612 deletions(-) create mode 100644 capnp.pyx create mode 100644 capnp_cpp.pxd delete mode 100644 schema.capnp.c++ delete mode 100644 schema.capnp.h delete mode 100644 schema.cpp diff --git a/bootstrap/capnp.tmpl.pxd b/bootstrap/capnp.tmpl.pxd index 5fcd2ef..79514c6 100644 --- a/bootstrap/capnp.tmpl.pxd +++ b/bootstrap/capnp.tmpl.pxd @@ -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() %} diff --git a/bootstrap/setup.py b/bootstrap/setup.py index 42bf206..c15e36a 100644 --- a/bootstrap/setup.py +++ b/bootstrap/setup.py @@ -251,7 +251,7 @@ env.filters['capitalize'] = capitalize env.filters['upper_and_under'] = upper_and_under nodes = fixNodes(nodes) tmpl = env.get_template('capnp.tmpl.pxd') -open(os.path.join(curr_dir, 'capnp_schema.pxd'), 'w').write(tmpl.render(nodes=nodes, namespace='::capnp::schema', built_in_types=built_in_types, enum_types=enum_types, union_types=union_types)) +open(os.path.join(curr_dir, 'schema_cpp.pxd'), 'w').write(tmpl.render(nodes=nodes, namespace='::capnp::schema', built_in_types=built_in_types, enum_types=enum_types, union_types=union_types)) tmpl = env.get_template('capnp.tmpl.pyx') open(os.path.join(curr_dir, 'schema.capnp.cpp.pyx'), 'w').write(tmpl.render(nodes=nodes, namespace='::capnp::schema', primitive_types=primitive_types, built_in_types=built_in_types, list_types=list_types, enum_types=enum_types, union_types=union_types)) diff --git a/capnp.pyx b/capnp.pyx new file mode 100644 index 0000000..2acf398 --- /dev/null +++ b/capnp.pyx @@ -0,0 +1,171 @@ +# capnp.pyx +# distutils: language = c++ +# distutils: extra_compile_args = --std=c++11 +# distutils: libraries = capnp + +cimport capnp_cpp as capnp +cimport schema_cpp +from capnp_cpp cimport SchemaLoader as C_SchemaLoader, Schema as C_Schema, StructSchema as C_StructSchema, DynamicStruct as C_DynamicStruct, DynamicValue as C_DynamicValue +from schema_cpp cimport CodeGeneratorRequest as C_CodeGeneratorRequest, Node as C_Node +from cython.operator cimport dereference as deref + +from libc.stdint cimport * +ctypedef unsigned int uint +ctypedef uint8_t UInt8 +ctypedef uint16_t UInt16 +ctypedef uint32_t UInt32 +ctypedef uint64_t UInt64 +ctypedef int8_t Int8 +ctypedef int16_t Int16 +ctypedef int32_t Int32 +ctypedef int64_t Int64 + +ctypedef char * Object +ctypedef bint Bool +ctypedef float Float32 +ctypedef double Float64 + +cdef extern from "capnp/list.h" namespace "::capnp": + cdef cppclass List[T]: + cppclass Reader: + T operator[](uint) except +ValueError + uint size() + cppclass Builder: + T operator[](uint) except +ValueError + uint size() + +cdef class _List_UInt64_Reader: + cdef List[UInt64].Reader thisptr + cdef init(self, List[UInt64].Reader other): + self.thisptr = other + return self + def __getitem__(self, index): + size = self.thisptr.size() + if index >= size: + raise IndexError('Out of bounds') + index = index % size + return self.thisptr[index] + + def __len__(self): + return self.thisptr.size() + +cdef class _List_Node_Reader: + cdef List[C_Node].Reader thisptr + cdef init(self, List[C_Node].Reader other): + self.thisptr = other + return self + def __getitem__(self, index): + size = self.thisptr.size() + if index >= size: + raise IndexError('Out of bounds') + index = index % size + return _NodeReader().init(self.thisptr[index]) + + def __len__(self): + return self.thisptr.size() + +cdef class _DynamicValueReader: + cdef C_DynamicValue.Reader thisptr + cdef init(self, C_DynamicValue.Reader other): + self.thisptr = other + return self + + +cdef class _DynamicStructReader: + cdef C_DynamicStruct.Reader thisptr + cdef init(self, C_DynamicStruct.Reader other): + self.thisptr = other + return self + + def get(self, field): + return _DynamicValueReader().init(self.thisptr.get(field)) + + def has(self, field): + return self.thisptr.has(field) + +cdef class _CodeGeneratorRequestReader: + cdef C_CodeGeneratorRequest.Reader thisptr + cdef init(self, C_CodeGeneratorRequest.Reader other): + self.thisptr = other + return self + + property nodes: + def __get__(self): + return _List_Node_Reader().init(self.thisptr.getNodes()) + property requestedFiles: + def __get__(self): + return _List_UInt64_Reader().init(self.thisptr.getRequestedFiles()) + +cdef class _NodeReader: + cdef C_Node.Reader thisptr + cdef init(self, C_Node.Reader other): + self.thisptr = other + return self + property displayName: + def __get__(self): + return self.thisptr.getDisplayName().cStr() + property scopeId: + def __get__(self): + return self.thisptr.getScopeId() + property id: + def __get__(self): + return self.thisptr.getId() + +cdef class Schema: + cdef C_Schema thisptr + cdef init(self, C_Schema other): + self.thisptr = other + return self + + cpdef asStruct(self): + return StructSchema().init(self.thisptr.asStruct()) + +cdef class StructSchema: + cdef C_StructSchema thisptr + cdef init(self, C_StructSchema other): + self.thisptr = other + return self + +cdef class SchemaLoader: + cdef C_SchemaLoader * thisptr + def __cinit__(self): + self.thisptr = new C_SchemaLoader() + + def __dealloc__(self): + del self.thisptr + + cpdef load(self, _NodeReader node): + return Schema().init(self.thisptr.load(node.thisptr)) + +cdef class MessageBuilder: + cdef schema_cpp.MessageBuilder * thisptr + def __dealloc__(self): + del self.thisptr + +cdef class MallocMessageBuilder(MessageBuilder): + def __cinit__(self): + self.thisptr = new schema_cpp.MallocMessageBuilder() + +cdef class MessageReader: + cdef schema_cpp.MessageReader * thisptr + def __dealloc__(self): + del self.thisptr + cpdef getRootNode(self): + return _NodeReader().init(self.thisptr.getRootNode()) + cpdef getRootCodeGeneratorRequest(self): + return _CodeGeneratorRequestReader().init(self.thisptr.getRootCodeGeneratorRequest()) + cpdef getRootDynamicStruct(self, StructSchema schema): + return _DynamicStructReader().init(self.thisptr.getRootDynamicStruct(schema.thisptr)) + +cdef class StreamFdMessageReader(MessageReader): + def __cinit__(self, int fd): + self.thisptr = new schema_cpp.StreamFdMessageReader(fd) + +cdef class PackedFdMessageReader(MessageReader): + def __cinit__(self, int fd): + self.thisptr = new schema_cpp.PackedFdMessageReader(fd) + +def writeMessageToFd(int fd, MessageBuilder m): + schema_cpp.writeMessageToFd(fd, deref(m.thisptr)) +def writePackedMessageToFd(int fd, MessageBuilder m): + schema_cpp.writePackedMessageToFd(fd, deref(m.thisptr)) \ No newline at end of file diff --git a/capnp_cpp.pxd b/capnp_cpp.pxd new file mode 100644 index 0000000..28d1f61 --- /dev/null +++ b/capnp_cpp.pxd @@ -0,0 +1,26 @@ +# schema.capnp.cpp.pyx +# distutils: language = c++ +# distutils: extra_compile_args = --std=c++11 +# distutils: libraries = capnp +from schema_cpp cimport Node + +cdef extern from "capnp/dynamic.h" namespace "::capnp": + cdef cppclass DynamicValue: + cppclass Reader: + pass + cdef cppclass DynamicStruct: + cppclass Reader: + DynamicValue.Reader get(char *) except +ValueError + bint has(char *) + +cdef extern from "capnp/schema.h" namespace "::capnp": + cdef cppclass Schema: + Node.Reader getProto() + StructSchema asStruct() + cdef cppclass StructSchema(Schema): + pass + +cdef extern from "capnp/schema-loader.h" namespace "::capnp": + cdef cppclass SchemaLoader: + SchemaLoader() + Schema load(Node.Reader &) except + \ No newline at end of file diff --git a/schema.capnp.c++ b/schema.capnp.c++ deleted file mode 100644 index 3827f57..0000000 --- a/schema.capnp.c++ +++ /dev/null @@ -1,2510 +0,0 @@ -// Generated code, DO NOT EDIT - -#include "schema.capnp.h" - -namespace capnp { -namespace schema { - - -} // namespace -} // namespace - -namespace capnp { -namespace schemas { - -static const ::capnp::_::AlignedData<46> b_db785131c0cfee73 = { - { 0, 0, 0, 0, 3, 0, 4, 0, - 115, 238, 207, 192, 49, 81, 120, 219, - 199, 50, 202, 69, 47, 223, 113, 180, - 1, 0, 0, 0, 0, 0, 0, 0, - 13, 0, 0, 0, 194, 0, 0, 0, - 21, 0, 0, 0, 7, 0, 0, 0, - 21, 0, 0, 0, 7, 0, 0, 0, - 20, 0, 0, 0, 1, 0, 1, 0, - 115, 99, 104, 101, 109, 97, 46, 99, - 97, 112, 110, 112, 58, 65, 110, 110, - 111, 116, 97, 116, 105, 111, 110, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 1, 0, 1, 0, 7, 0, 0, 0, - 1, 0, 0, 0, 71, 0, 0, 0, - 8, 0, 0, 0, 1, 0, 3, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 25, 0, 0, 0, 26, 0, 0, 0, - 25, 0, 0, 0, 7, 0, 0, 0, - 24, 0, 0, 0, 1, 0, 2, 0, - 1, 0, 1, 0, 0, 0, 0, 0, - 53, 0, 0, 0, 50, 0, 0, 0, - 53, 0, 0, 0, 7, 0, 0, 0, - 52, 0, 0, 0, 1, 0, 2, 0, - 105, 100, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 9, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 118, 97, 108, 117, 101, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 16, 0, 0, 0, 0, 0, 0, 0, - 238, 105, 34, 226, 174, 104, 199, 194, - 0, 0, 0, 0, 0, 0, 0, 0, - 16, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0 } -}; -static const ::capnp::_::RawSchema* const d_db785131c0cfee73[] = { - &s_c2c768aee22269ee, -}; -static const ::capnp::_::RawSchema::MemberInfo m_db785131c0cfee73[] = { - { 0, 0 }, - { 0, 1 }, -}; -const ::capnp::_::RawSchema s_db785131c0cfee73 = { - b_db785131c0cfee73.words, d_db785131c0cfee73, m_db785131c0cfee73, - 1, 2, nullptr -}; -static const ::capnp::_::AlignedData<211> b_f386f41ae9f5cbe5 = { - { 0, 0, 0, 0, 3, 0, 4, 0, - 229, 203, 245, 233, 26, 244, 134, 243, - 199, 50, 202, 69, 47, 223, 113, 180, - 1, 0, 0, 0, 0, 0, 0, 0, - 13, 0, 0, 0, 226, 0, 0, 0, - 25, 0, 0, 0, 7, 0, 0, 0, - 25, 0, 0, 0, 7, 0, 0, 0, - 24, 0, 0, 0, 1, 0, 1, 0, - 115, 99, 104, 101, 109, 97, 46, 99, - 97, 112, 110, 112, 58, 65, 110, 110, - 111, 116, 97, 116, 105, 111, 110, 78, - 111, 100, 101, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 1, 0, 1, 0, 7, 0, 0, 0, - 1, 0, 0, 0, 135, 1, 0, 0, - 48, 0, 0, 0, 1, 0, 3, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 185, 0, 0, 0, 42, 0, 0, 0, - 185, 0, 0, 0, 7, 0, 0, 0, - 184, 0, 0, 0, 1, 0, 2, 0, - 1, 0, 1, 0, 0, 0, 0, 0, - 213, 0, 0, 0, 98, 0, 0, 0, - 217, 0, 0, 0, 7, 0, 0, 0, - 216, 0, 0, 0, 1, 0, 2, 0, - 2, 0, 2, 0, 0, 0, 0, 0, - 245, 0, 0, 0, 106, 0, 0, 0, - 249, 0, 0, 0, 7, 0, 0, 0, - 248, 0, 0, 0, 1, 0, 2, 0, - 3, 0, 3, 0, 0, 0, 0, 0, - 21, 1, 0, 0, 98, 0, 0, 0, - 25, 1, 0, 0, 7, 0, 0, 0, - 24, 1, 0, 0, 1, 0, 2, 0, - 4, 0, 4, 0, 0, 0, 0, 0, - 53, 1, 0, 0, 138, 0, 0, 0, - 61, 1, 0, 0, 7, 0, 0, 0, - 60, 1, 0, 0, 1, 0, 2, 0, - 5, 0, 5, 0, 0, 0, 0, 0, - 89, 1, 0, 0, 114, 0, 0, 0, - 93, 1, 0, 0, 7, 0, 0, 0, - 92, 1, 0, 0, 1, 0, 2, 0, - 6, 0, 6, 0, 0, 0, 0, 0, - 121, 1, 0, 0, 106, 0, 0, 0, - 125, 1, 0, 0, 7, 0, 0, 0, - 124, 1, 0, 0, 1, 0, 2, 0, - 7, 0, 7, 0, 0, 0, 0, 0, - 153, 1, 0, 0, 106, 0, 0, 0, - 157, 1, 0, 0, 7, 0, 0, 0, - 156, 1, 0, 0, 1, 0, 2, 0, - 8, 0, 8, 0, 0, 0, 0, 0, - 185, 1, 0, 0, 138, 0, 0, 0, - 193, 1, 0, 0, 7, 0, 0, 0, - 192, 1, 0, 0, 1, 0, 2, 0, - 9, 0, 9, 0, 0, 0, 0, 0, - 221, 1, 0, 0, 114, 0, 0, 0, - 225, 1, 0, 0, 7, 0, 0, 0, - 224, 1, 0, 0, 1, 0, 2, 0, - 10, 0, 10, 0, 0, 0, 0, 0, - 253, 1, 0, 0, 106, 0, 0, 0, - 1, 2, 0, 0, 7, 0, 0, 0, - 0, 2, 0, 0, 1, 0, 2, 0, - 11, 0, 11, 0, 0, 0, 0, 0, - 29, 2, 0, 0, 146, 0, 0, 0, - 37, 2, 0, 0, 7, 0, 0, 0, - 36, 2, 0, 0, 1, 0, 2, 0, - 116, 121, 112, 101, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 16, 0, 0, 0, 0, 0, 0, 0, - 66, 158, 41, 238, 169, 169, 220, 221, - 0, 0, 0, 0, 0, 0, 0, 0, - 16, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 116, 97, 114, 103, 101, 116, 115, 70, - 105, 108, 101, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 1, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 1, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 116, 97, 114, 103, 101, 116, 115, 67, - 111, 110, 115, 116, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 1, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 1, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 1, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 116, 97, 114, 103, 101, 116, 115, 69, - 110, 117, 109, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 2, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 1, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 1, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 116, 97, 114, 103, 101, 116, 115, 69, - 110, 117, 109, 101, 114, 97, 110, 116, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 3, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 1, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 1, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 116, 97, 114, 103, 101, 116, 115, 83, - 116, 114, 117, 99, 116, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 4, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 1, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 1, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 116, 97, 114, 103, 101, 116, 115, 70, - 105, 101, 108, 100, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 5, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 1, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 1, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 116, 97, 114, 103, 101, 116, 115, 85, - 110, 105, 111, 110, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 6, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 1, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 1, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 116, 97, 114, 103, 101, 116, 115, 73, - 110, 116, 101, 114, 102, 97, 99, 101, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 7, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 1, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 1, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 116, 97, 114, 103, 101, 116, 115, 77, - 101, 116, 104, 111, 100, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 8, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 1, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 1, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 116, 97, 114, 103, 101, 116, 115, 80, - 97, 114, 97, 109, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 9, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 1, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 1, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 116, 97, 114, 103, 101, 116, 115, 65, - 110, 110, 111, 116, 97, 116, 105, 111, - 110, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 10, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 1, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 1, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0 } -}; -static const ::capnp::_::RawSchema* const d_f386f41ae9f5cbe5[] = { - &s_dddca9a9ee299e42, -}; -static const ::capnp::_::RawSchema::MemberInfo m_f386f41ae9f5cbe5[] = { - { 0, 11 }, - { 0, 2 }, - { 0, 3 }, - { 0, 4 }, - { 0, 6 }, - { 0, 1 }, - { 0, 8 }, - { 0, 9 }, - { 0, 10 }, - { 0, 5 }, - { 0, 7 }, - { 0, 0 }, -}; -const ::capnp::_::RawSchema s_f386f41ae9f5cbe5 = { - b_f386f41ae9f5cbe5.words, d_f386f41ae9f5cbe5, m_f386f41ae9f5cbe5, - 1, 12, nullptr -}; -static const ::capnp::_::AlignedData<55> b_d095654a26e15f1d = { - { 0, 0, 0, 0, 3, 0, 4, 0, - 29, 95, 225, 38, 74, 101, 149, 208, - 199, 50, 202, 69, 47, 223, 113, 180, - 1, 0, 0, 0, 0, 0, 0, 0, - 13, 0, 0, 0, 18, 1, 0, 0, - 29, 0, 0, 0, 7, 0, 0, 0, - 29, 0, 0, 0, 7, 0, 0, 0, - 28, 0, 0, 0, 1, 0, 1, 0, - 115, 99, 104, 101, 109, 97, 46, 99, - 97, 112, 110, 112, 58, 67, 111, 100, - 101, 71, 101, 110, 101, 114, 97, 116, - 111, 114, 82, 101, 113, 117, 101, 115, - 116, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 0, 0, 2, 0, 7, 0, 0, 0, - 1, 0, 0, 0, 71, 0, 0, 0, - 8, 0, 0, 0, 1, 0, 3, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 25, 0, 0, 0, 50, 0, 0, 0, - 25, 0, 0, 0, 7, 0, 0, 0, - 24, 0, 0, 0, 1, 0, 2, 0, - 1, 0, 1, 0, 0, 0, 0, 0, - 65, 0, 0, 0, 122, 0, 0, 0, - 69, 0, 0, 0, 7, 0, 0, 0, - 68, 0, 0, 0, 1, 0, 2, 0, - 110, 111, 100, 101, 115, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 24, 0, 0, 0, 2, 0, 1, 0, - 14, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 2, 0, 1, 0, - 16, 0, 0, 0, 0, 0, 0, 0, - 149, 193, 100, 230, 190, 155, 174, 150, - 0, 0, 0, 0, 0, 0, 0, 0, - 14, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 114, 101, 113, 117, 101, 115, 116, 101, - 100, 70, 105, 108, 101, 115, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 1, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 24, 0, 0, 0, 2, 0, 1, 0, - 14, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 2, 0, 1, 0, - 9, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 14, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0 } -}; -static const ::capnp::_::RawSchema* const d_d095654a26e15f1d[] = { - &s_96ae9bbee664c195, -}; -static const ::capnp::_::RawSchema::MemberInfo m_d095654a26e15f1d[] = { - { 0, 0 }, - { 0, 1 }, -}; -const ::capnp::_::RawSchema s_d095654a26e15f1d = { - b_d095654a26e15f1d.words, d_d095654a26e15f1d, m_d095654a26e15f1d, - 1, 2, nullptr -}; -static const ::capnp::_::AlignedData<46> b_8f0cf892b24a8062 = { - { 0, 0, 0, 0, 3, 0, 4, 0, - 98, 128, 74, 178, 146, 248, 12, 143, - 199, 50, 202, 69, 47, 223, 113, 180, - 1, 0, 0, 0, 0, 0, 0, 0, - 13, 0, 0, 0, 186, 0, 0, 0, - 21, 0, 0, 0, 7, 0, 0, 0, - 21, 0, 0, 0, 7, 0, 0, 0, - 20, 0, 0, 0, 1, 0, 1, 0, - 115, 99, 104, 101, 109, 97, 46, 99, - 97, 112, 110, 112, 58, 67, 111, 110, - 115, 116, 78, 111, 100, 101, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 0, 0, 2, 0, 7, 0, 0, 0, - 1, 0, 0, 0, 71, 0, 0, 0, - 8, 0, 0, 0, 1, 0, 3, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 25, 0, 0, 0, 42, 0, 0, 0, - 25, 0, 0, 0, 7, 0, 0, 0, - 24, 0, 0, 0, 1, 0, 2, 0, - 1, 0, 1, 0, 0, 0, 0, 0, - 53, 0, 0, 0, 50, 0, 0, 0, - 53, 0, 0, 0, 7, 0, 0, 0, - 52, 0, 0, 0, 1, 0, 2, 0, - 116, 121, 112, 101, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 16, 0, 0, 0, 0, 0, 0, 0, - 66, 158, 41, 238, 169, 169, 220, 221, - 0, 0, 0, 0, 0, 0, 0, 0, - 16, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 118, 97, 108, 117, 101, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 1, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 16, 0, 0, 0, 0, 0, 0, 0, - 238, 105, 34, 226, 174, 104, 199, 194, - 0, 0, 0, 0, 0, 0, 0, 0, - 16, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0 } -}; -static const ::capnp::_::RawSchema* const d_8f0cf892b24a8062[] = { - &s_c2c768aee22269ee, - &s_dddca9a9ee299e42, -}; -static const ::capnp::_::RawSchema::MemberInfo m_8f0cf892b24a8062[] = { - { 0, 0 }, - { 0, 1 }, -}; -const ::capnp::_::RawSchema s_8f0cf892b24a8062 = { - b_8f0cf892b24a8062.words, d_8f0cf892b24a8062, m_8f0cf892b24a8062, - 2, 2, nullptr -}; -static const ::capnp::_::AlignedData<60> b_d7326bd22e1c298c = { - { 0, 0, 0, 0, 3, 0, 4, 0, - 140, 41, 28, 46, 210, 107, 50, 215, - 199, 50, 202, 69, 47, 223, 113, 180, - 2, 0, 0, 0, 0, 0, 0, 0, - 13, 0, 0, 0, 202, 0, 0, 0, - 25, 0, 0, 0, 7, 0, 0, 0, - 25, 0, 0, 0, 7, 0, 0, 0, - 24, 0, 0, 0, 0, 0, 1, 0, - 115, 99, 104, 101, 109, 97, 46, 99, - 97, 112, 110, 112, 58, 69, 108, 101, - 109, 101, 110, 116, 83, 105, 122, 101, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 1, 0, 0, 0, 199, 0, 0, 0, - 32, 0, 0, 0, 1, 0, 2, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 89, 0, 0, 0, 50, 0, 0, 0, - 89, 0, 0, 0, 7, 0, 0, 0, - 1, 0, 0, 0, 0, 0, 0, 0, - 85, 0, 0, 0, 34, 0, 0, 0, - 85, 0, 0, 0, 7, 0, 0, 0, - 2, 0, 0, 0, 0, 0, 0, 0, - 81, 0, 0, 0, 42, 0, 0, 0, - 81, 0, 0, 0, 7, 0, 0, 0, - 3, 0, 0, 0, 0, 0, 0, 0, - 77, 0, 0, 0, 74, 0, 0, 0, - 81, 0, 0, 0, 7, 0, 0, 0, - 4, 0, 0, 0, 0, 0, 0, 0, - 77, 0, 0, 0, 82, 0, 0, 0, - 81, 0, 0, 0, 7, 0, 0, 0, - 5, 0, 0, 0, 0, 0, 0, 0, - 77, 0, 0, 0, 90, 0, 0, 0, - 81, 0, 0, 0, 7, 0, 0, 0, - 6, 0, 0, 0, 0, 0, 0, 0, - 77, 0, 0, 0, 66, 0, 0, 0, - 77, 0, 0, 0, 7, 0, 0, 0, - 7, 0, 0, 0, 0, 0, 0, 0, - 73, 0, 0, 0, 130, 0, 0, 0, - 77, 0, 0, 0, 7, 0, 0, 0, - 101, 109, 112, 116, 121, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 98, 105, 116, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 98, 121, 116, 101, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 116, 119, 111, 66, 121, 116, 101, 115, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 102, 111, 117, 114, 66, 121, 116, 101, - 115, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 101, 105, 103, 104, 116, 66, 121, 116, - 101, 115, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 112, 111, 105, 110, 116, 101, 114, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 105, 110, 108, 105, 110, 101, 67, 111, - 109, 112, 111, 115, 105, 116, 101, 0, - 0, 0, 0, 0, 1, 0, 1, 0 } -}; -static const ::capnp::_::RawSchema* const d_d7326bd22e1c298c[] = { -}; -static const ::capnp::_::RawSchema::MemberInfo m_d7326bd22e1c298c[] = { - { 0, 1 }, - { 0, 2 }, - { 0, 5 }, - { 0, 0 }, - { 0, 4 }, - { 0, 7 }, - { 0, 6 }, - { 0, 3 }, -}; -const ::capnp::_::RawSchema s_d7326bd22e1c298c = { - b_d7326bd22e1c298c.words, d_d7326bd22e1c298c, m_d7326bd22e1c298c, - 0, 8, nullptr -}; -static const ::capnp::_::AlignedData<39> b_d612f44d78962abf = { - { 0, 0, 0, 0, 3, 0, 4, 0, - 191, 42, 150, 120, 77, 244, 18, 214, - 199, 50, 202, 69, 47, 223, 113, 180, - 1, 0, 0, 0, 0, 0, 0, 0, - 13, 0, 0, 0, 178, 0, 0, 0, - 21, 0, 0, 0, 23, 0, 0, 0, - 37, 0, 0, 0, 7, 0, 0, 0, - 36, 0, 0, 0, 1, 0, 1, 0, - 115, 99, 104, 101, 109, 97, 46, 99, - 97, 112, 110, 112, 58, 69, 110, 117, - 109, 78, 111, 100, 101, 0, 0, 0, - 4, 0, 0, 0, 1, 0, 1, 0, - 119, 241, 185, 115, 25, 68, 172, 201, - 1, 0, 0, 0, 82, 0, 0, 0, - 69, 110, 117, 109, 101, 114, 97, 110, - 116, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 0, 0, 1, 0, 6, 0, 0, 0, - 1, 0, 0, 0, 39, 0, 0, 0, - 4, 0, 0, 0, 1, 0, 3, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 9, 0, 0, 0, 90, 0, 0, 0, - 13, 0, 0, 0, 7, 0, 0, 0, - 12, 0, 0, 0, 1, 0, 2, 0, - 101, 110, 117, 109, 101, 114, 97, 110, - 116, 115, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 24, 0, 0, 0, 2, 0, 1, 0, - 14, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 2, 0, 1, 0, - 16, 0, 0, 0, 0, 0, 0, 0, - 119, 241, 185, 115, 25, 68, 172, 201, - 0, 0, 0, 0, 0, 0, 0, 0, - 14, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0 } -}; -static const ::capnp::_::RawSchema* const d_d612f44d78962abf[] = { - &s_c9ac441973b9f177, - &s_db785131c0cfee73, -}; -static const ::capnp::_::RawSchema::MemberInfo m_d612f44d78962abf[] = { - { 0, 0 }, -}; -const ::capnp::_::RawSchema s_d612f44d78962abf = { - b_d612f44d78962abf.words, d_d612f44d78962abf, m_d612f44d78962abf, - 2, 1, nullptr -}; -static const ::capnp::_::AlignedData<66> b_c9ac441973b9f177 = { - { 0, 0, 0, 0, 3, 0, 4, 0, - 119, 241, 185, 115, 25, 68, 172, 201, - 191, 42, 150, 120, 77, 244, 18, 214, - 1, 0, 0, 0, 0, 0, 0, 0, - 13, 0, 0, 0, 186, 0, 0, 0, - 21, 0, 0, 0, 7, 0, 0, 0, - 21, 0, 0, 0, 7, 0, 0, 0, - 20, 0, 0, 0, 1, 0, 1, 0, - 115, 99, 104, 101, 109, 97, 46, 99, - 97, 112, 110, 112, 58, 69, 110, 117, - 109, 101, 114, 97, 110, 116, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 1, 0, 2, 0, 7, 0, 0, 0, - 1, 0, 0, 0, 103, 0, 0, 0, - 12, 0, 0, 0, 1, 0, 3, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 41, 0, 0, 0, 42, 0, 0, 0, - 41, 0, 0, 0, 7, 0, 0, 0, - 40, 0, 0, 0, 1, 0, 2, 0, - 1, 0, 1, 0, 0, 0, 0, 0, - 69, 0, 0, 0, 82, 0, 0, 0, - 73, 0, 0, 0, 7, 0, 0, 0, - 72, 0, 0, 0, 1, 0, 2, 0, - 2, 0, 2, 0, 0, 0, 0, 0, - 101, 0, 0, 0, 98, 0, 0, 0, - 105, 0, 0, 0, 7, 0, 0, 0, - 104, 0, 0, 0, 1, 0, 2, 0, - 110, 97, 109, 101, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 12, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 99, 111, 100, 101, 79, 114, 100, 101, - 114, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 7, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 7, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 97, 110, 110, 111, 116, 97, 116, 105, - 111, 110, 115, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 1, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 24, 0, 0, 0, 2, 0, 1, 0, - 14, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 2, 0, 1, 0, - 16, 0, 0, 0, 0, 0, 0, 0, - 115, 238, 207, 192, 49, 81, 120, 219, - 0, 0, 0, 0, 0, 0, 0, 0, - 14, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0 } -}; -static const ::capnp::_::RawSchema* const d_c9ac441973b9f177[] = { - &s_db785131c0cfee73, -}; -static const ::capnp::_::RawSchema::MemberInfo m_c9ac441973b9f177[] = { - { 0, 2 }, - { 0, 1 }, - { 0, 0 }, -}; -const ::capnp::_::RawSchema s_c9ac441973b9f177 = { - b_c9ac441973b9f177.words, d_c9ac441973b9f177, m_c9ac441973b9f177, - 1, 3, nullptr -}; -static const ::capnp::_::AlignedData<37> b_d59c380b31b76b1f = { - { 0, 0, 0, 0, 3, 0, 4, 0, - 31, 107, 183, 49, 11, 56, 156, 213, - 199, 50, 202, 69, 47, 223, 113, 180, - 1, 0, 0, 0, 0, 0, 0, 0, - 13, 0, 0, 0, 178, 0, 0, 0, - 21, 0, 0, 0, 23, 0, 0, 0, - 33, 0, 0, 0, 7, 0, 0, 0, - 32, 0, 0, 0, 1, 0, 1, 0, - 115, 99, 104, 101, 109, 97, 46, 99, - 97, 112, 110, 112, 58, 70, 105, 108, - 101, 78, 111, 100, 101, 0, 0, 0, - 4, 0, 0, 0, 1, 0, 1, 0, - 88, 193, 99, 77, 4, 169, 214, 213, - 1, 0, 0, 0, 58, 0, 0, 0, - 73, 109, 112, 111, 114, 116, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 0, 0, 1, 0, 6, 0, 0, 0, - 1, 0, 0, 0, 39, 0, 0, 0, - 4, 0, 0, 0, 1, 0, 3, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 9, 0, 0, 0, 66, 0, 0, 0, - 9, 0, 0, 0, 7, 0, 0, 0, - 8, 0, 0, 0, 1, 0, 2, 0, - 105, 109, 112, 111, 114, 116, 115, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 24, 0, 0, 0, 2, 0, 1, 0, - 14, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 2, 0, 1, 0, - 16, 0, 0, 0, 0, 0, 0, 0, - 88, 193, 99, 77, 4, 169, 214, 213, - 0, 0, 0, 0, 0, 0, 0, 0, - 14, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0 } -}; -static const ::capnp::_::RawSchema* const d_d59c380b31b76b1f[] = { - &s_d5d6a9044d63c158, -}; -static const ::capnp::_::RawSchema::MemberInfo m_d59c380b31b76b1f[] = { - { 0, 0 }, -}; -const ::capnp::_::RawSchema s_d59c380b31b76b1f = { - b_d59c380b31b76b1f.words, d_d59c380b31b76b1f, m_d59c380b31b76b1f, - 1, 1, nullptr -}; -static const ::capnp::_::AlignedData<46> b_d5d6a9044d63c158 = { - { 0, 0, 0, 0, 3, 0, 4, 0, - 88, 193, 99, 77, 4, 169, 214, 213, - 31, 107, 183, 49, 11, 56, 156, 213, - 1, 0, 0, 0, 0, 0, 0, 0, - 13, 0, 0, 0, 162, 0, 0, 0, - 21, 0, 0, 0, 7, 0, 0, 0, - 21, 0, 0, 0, 7, 0, 0, 0, - 20, 0, 0, 0, 1, 0, 1, 0, - 115, 99, 104, 101, 109, 97, 46, 99, - 97, 112, 110, 112, 58, 73, 109, 112, - 111, 114, 116, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 1, 0, 1, 0, 7, 0, 0, 0, - 1, 0, 0, 0, 71, 0, 0, 0, - 8, 0, 0, 0, 1, 0, 3, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 25, 0, 0, 0, 26, 0, 0, 0, - 25, 0, 0, 0, 7, 0, 0, 0, - 24, 0, 0, 0, 1, 0, 2, 0, - 1, 0, 1, 0, 0, 0, 0, 0, - 53, 0, 0, 0, 42, 0, 0, 0, - 53, 0, 0, 0, 7, 0, 0, 0, - 52, 0, 0, 0, 1, 0, 2, 0, - 105, 100, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 9, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 110, 97, 109, 101, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 12, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0 } -}; -static const ::capnp::_::RawSchema* const d_d5d6a9044d63c158[] = { -}; -static const ::capnp::_::RawSchema::MemberInfo m_d5d6a9044d63c158[] = { - { 0, 0 }, - { 0, 1 }, -}; -const ::capnp::_::RawSchema s_d5d6a9044d63c158 = { - b_d5d6a9044d63c158.words, d_d5d6a9044d63c158, m_d5d6a9044d63c158, - 0, 2, nullptr -}; -static const ::capnp::_::AlignedData<38> b_b8a6ecfa2d5121e6 = { - { 0, 0, 0, 0, 3, 0, 4, 0, - 230, 33, 81, 45, 250, 236, 166, 184, - 199, 50, 202, 69, 47, 223, 113, 180, - 1, 0, 0, 0, 0, 0, 0, 0, - 13, 0, 0, 0, 218, 0, 0, 0, - 25, 0, 0, 0, 23, 0, 0, 0, - 37, 0, 0, 0, 7, 0, 0, 0, - 36, 0, 0, 0, 1, 0, 1, 0, - 115, 99, 104, 101, 109, 97, 46, 99, - 97, 112, 110, 112, 58, 73, 110, 116, - 101, 114, 102, 97, 99, 101, 78, 111, - 100, 101, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 1, 0, 1, 0, - 172, 135, 35, 131, 240, 246, 215, 189, - 1, 0, 0, 0, 58, 0, 0, 0, - 77, 101, 116, 104, 111, 100, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 0, 0, 1, 0, 6, 0, 0, 0, - 1, 0, 0, 0, 39, 0, 0, 0, - 4, 0, 0, 0, 1, 0, 3, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 9, 0, 0, 0, 66, 0, 0, 0, - 9, 0, 0, 0, 7, 0, 0, 0, - 8, 0, 0, 0, 1, 0, 2, 0, - 109, 101, 116, 104, 111, 100, 115, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 24, 0, 0, 0, 2, 0, 1, 0, - 14, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 2, 0, 1, 0, - 16, 0, 0, 0, 0, 0, 0, 0, - 172, 135, 35, 131, 240, 246, 215, 189, - 0, 0, 0, 0, 0, 0, 0, 0, - 14, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0 } -}; -static const ::capnp::_::RawSchema* const d_b8a6ecfa2d5121e6[] = { - &s_bdd7f6f0832387ac, - &s_c2c768aee22269ee, - &s_d6d38cf4e366e91c, - &s_db785131c0cfee73, - &s_dddca9a9ee299e42, -}; -static const ::capnp::_::RawSchema::MemberInfo m_b8a6ecfa2d5121e6[] = { - { 0, 0 }, -}; -const ::capnp::_::RawSchema s_b8a6ecfa2d5121e6 = { - b_b8a6ecfa2d5121e6.words, d_b8a6ecfa2d5121e6, m_b8a6ecfa2d5121e6, - 5, 1, nullptr -}; -static const ::capnp::_::AlignedData<120> b_bdd7f6f0832387ac = { - { 0, 0, 0, 0, 3, 0, 4, 0, - 172, 135, 35, 131, 240, 246, 215, 189, - 230, 33, 81, 45, 250, 236, 166, 184, - 1, 0, 0, 0, 0, 0, 0, 0, - 13, 0, 0, 0, 162, 0, 0, 0, - 21, 0, 0, 0, 23, 0, 0, 0, - 33, 0, 0, 0, 7, 0, 0, 0, - 32, 0, 0, 0, 1, 0, 1, 0, - 115, 99, 104, 101, 109, 97, 46, 99, - 97, 112, 110, 112, 58, 77, 101, 116, - 104, 111, 100, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 1, 0, 1, 0, - 28, 233, 102, 227, 244, 140, 211, 214, - 1, 0, 0, 0, 50, 0, 0, 0, - 80, 97, 114, 97, 109, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 1, 0, 4, 0, 7, 0, 0, 0, - 1, 0, 0, 0, 199, 0, 0, 0, - 24, 0, 0, 0, 1, 0, 3, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 89, 0, 0, 0, 42, 0, 0, 0, - 89, 0, 0, 0, 7, 0, 0, 0, - 88, 0, 0, 0, 1, 0, 2, 0, - 1, 0, 1, 0, 0, 0, 0, 0, - 117, 0, 0, 0, 82, 0, 0, 0, - 121, 0, 0, 0, 7, 0, 0, 0, - 120, 0, 0, 0, 1, 0, 2, 0, - 2, 0, 2, 0, 0, 0, 0, 0, - 149, 0, 0, 0, 58, 0, 0, 0, - 149, 0, 0, 0, 7, 0, 0, 0, - 148, 0, 0, 0, 1, 0, 2, 0, - 3, 0, 3, 0, 0, 0, 0, 0, - 189, 0, 0, 0, 154, 0, 0, 0, - 197, 0, 0, 0, 7, 0, 0, 0, - 196, 0, 0, 0, 1, 0, 2, 0, - 4, 0, 4, 0, 0, 0, 0, 0, - 225, 0, 0, 0, 90, 0, 0, 0, - 229, 0, 0, 0, 7, 0, 0, 0, - 228, 0, 0, 0, 1, 0, 2, 0, - 5, 0, 5, 0, 0, 0, 0, 0, - 1, 1, 0, 0, 98, 0, 0, 0, - 5, 1, 0, 0, 7, 0, 0, 0, - 4, 1, 0, 0, 1, 0, 2, 0, - 110, 97, 109, 101, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 12, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 99, 111, 100, 101, 79, 114, 100, 101, - 114, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 7, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 7, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 112, 97, 114, 97, 109, 115, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 1, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 24, 0, 0, 0, 2, 0, 1, 0, - 14, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 2, 0, 1, 0, - 16, 0, 0, 0, 0, 0, 0, 0, - 28, 233, 102, 227, 244, 140, 211, 214, - 0, 0, 0, 0, 0, 0, 0, 0, - 14, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 114, 101, 113, 117, 105, 114, 101, 100, - 80, 97, 114, 97, 109, 67, 111, 117, - 110, 116, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 1, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 7, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 7, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 114, 101, 116, 117, 114, 110, 84, 121, - 112, 101, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 2, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 16, 0, 0, 0, 0, 0, 0, 0, - 66, 158, 41, 238, 169, 169, 220, 221, - 0, 0, 0, 0, 0, 0, 0, 0, - 16, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 97, 110, 110, 111, 116, 97, 116, 105, - 111, 110, 115, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 3, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 24, 0, 0, 0, 2, 0, 1, 0, - 14, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 2, 0, 1, 0, - 16, 0, 0, 0, 0, 0, 0, 0, - 115, 238, 207, 192, 49, 81, 120, 219, - 0, 0, 0, 0, 0, 0, 0, 0, - 14, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0 } -}; -static const ::capnp::_::RawSchema* const d_bdd7f6f0832387ac[] = { - &s_c2c768aee22269ee, - &s_d6d38cf4e366e91c, - &s_db785131c0cfee73, - &s_dddca9a9ee299e42, -}; -static const ::capnp::_::RawSchema::MemberInfo m_bdd7f6f0832387ac[] = { - { 0, 5 }, - { 0, 1 }, - { 0, 0 }, - { 0, 2 }, - { 0, 3 }, - { 0, 4 }, -}; -const ::capnp::_::RawSchema s_bdd7f6f0832387ac = { - b_bdd7f6f0832387ac.words, d_bdd7f6f0832387ac, m_bdd7f6f0832387ac, - 4, 6, nullptr -}; -static const ::capnp::_::AlignedData<81> b_d6d38cf4e366e91c = { - { 0, 0, 0, 0, 3, 0, 4, 0, - 28, 233, 102, 227, 244, 140, 211, 214, - 172, 135, 35, 131, 240, 246, 215, 189, - 1, 0, 0, 0, 0, 0, 0, 0, - 13, 0, 0, 0, 154, 0, 0, 0, - 21, 0, 0, 0, 7, 0, 0, 0, - 21, 0, 0, 0, 7, 0, 0, 0, - 20, 0, 0, 0, 1, 0, 1, 0, - 115, 99, 104, 101, 109, 97, 46, 99, - 97, 112, 110, 112, 58, 80, 97, 114, - 97, 109, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 0, 0, 4, 0, 7, 0, 0, 0, - 1, 0, 0, 0, 135, 0, 0, 0, - 16, 0, 0, 0, 1, 0, 3, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 57, 0, 0, 0, 42, 0, 0, 0, - 57, 0, 0, 0, 7, 0, 0, 0, - 56, 0, 0, 0, 1, 0, 2, 0, - 1, 0, 1, 0, 0, 0, 0, 0, - 85, 0, 0, 0, 42, 0, 0, 0, - 85, 0, 0, 0, 7, 0, 0, 0, - 84, 0, 0, 0, 1, 0, 2, 0, - 2, 0, 2, 0, 0, 0, 0, 0, - 113, 0, 0, 0, 106, 0, 0, 0, - 117, 0, 0, 0, 7, 0, 0, 0, - 116, 0, 0, 0, 1, 0, 2, 0, - 3, 0, 3, 0, 0, 0, 0, 0, - 145, 0, 0, 0, 98, 0, 0, 0, - 149, 0, 0, 0, 7, 0, 0, 0, - 148, 0, 0, 0, 1, 0, 2, 0, - 110, 97, 109, 101, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 12, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 116, 121, 112, 101, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 1, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 16, 0, 0, 0, 0, 0, 0, 0, - 66, 158, 41, 238, 169, 169, 220, 221, - 0, 0, 0, 0, 0, 0, 0, 0, - 16, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 100, 101, 102, 97, 117, 108, 116, 86, - 97, 108, 117, 101, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 2, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 16, 0, 0, 0, 0, 0, 0, 0, - 238, 105, 34, 226, 174, 104, 199, 194, - 0, 0, 0, 0, 0, 0, 0, 0, - 16, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 97, 110, 110, 111, 116, 97, 116, 105, - 111, 110, 115, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 3, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 24, 0, 0, 0, 2, 0, 1, 0, - 14, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 2, 0, 1, 0, - 16, 0, 0, 0, 0, 0, 0, 0, - 115, 238, 207, 192, 49, 81, 120, 219, - 0, 0, 0, 0, 0, 0, 0, 0, - 14, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0 } -}; -static const ::capnp::_::RawSchema* const d_d6d38cf4e366e91c[] = { - &s_c2c768aee22269ee, - &s_db785131c0cfee73, - &s_dddca9a9ee299e42, -}; -static const ::capnp::_::RawSchema::MemberInfo m_d6d38cf4e366e91c[] = { - { 0, 3 }, - { 0, 2 }, - { 0, 0 }, - { 0, 1 }, -}; -const ::capnp::_::RawSchema s_d6d38cf4e366e91c = { - b_d6d38cf4e366e91c.words, d_d6d38cf4e366e91c, m_d6d38cf4e366e91c, - 3, 4, nullptr -}; -static const ::capnp::_::AlignedData<209> b_96ae9bbee664c195 = { - { 0, 0, 0, 0, 3, 0, 4, 0, - 149, 193, 100, 230, 190, 155, 174, 150, - 199, 50, 202, 69, 47, 223, 113, 180, - 1, 0, 0, 0, 0, 0, 0, 0, - 13, 0, 0, 0, 146, 0, 0, 0, - 21, 0, 0, 0, 23, 0, 0, 0, - 37, 0, 0, 0, 7, 0, 0, 0, - 36, 0, 0, 0, 1, 0, 1, 0, - 115, 99, 104, 101, 109, 97, 46, 99, - 97, 112, 110, 112, 58, 78, 111, 100, - 101, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 1, 0, 1, 0, - 40, 238, 41, 148, 136, 142, 254, 173, - 1, 0, 0, 0, 90, 0, 0, 0, - 78, 101, 115, 116, 101, 100, 78, 111, - 100, 101, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 3, 0, 4, 0, 7, 0, 0, 0, - 1, 0, 0, 0, 199, 0, 0, 0, - 24, 0, 0, 0, 1, 0, 3, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 89, 0, 0, 0, 26, 0, 0, 0, - 89, 0, 0, 0, 7, 0, 0, 0, - 88, 0, 0, 0, 1, 0, 2, 0, - 1, 0, 1, 0, 0, 0, 0, 0, - 117, 0, 0, 0, 98, 0, 0, 0, - 121, 0, 0, 0, 7, 0, 0, 0, - 120, 0, 0, 0, 1, 0, 2, 0, - 2, 0, 2, 0, 0, 0, 0, 0, - 149, 0, 0, 0, 66, 0, 0, 0, - 149, 0, 0, 0, 7, 0, 0, 0, - 148, 0, 0, 0, 1, 0, 2, 0, - 3, 0, 3, 0, 0, 0, 0, 0, - 177, 0, 0, 0, 98, 0, 0, 0, - 181, 0, 0, 0, 7, 0, 0, 0, - 180, 0, 0, 0, 1, 0, 2, 0, - 4, 0, 4, 0, 0, 0, 0, 0, - 221, 0, 0, 0, 98, 0, 0, 0, - 225, 0, 0, 0, 7, 0, 0, 0, - 224, 0, 0, 0, 1, 0, 2, 0, - 5, 0, 5, 0, 1, 0, 0, 0, - 9, 1, 0, 0, 42, 0, 0, 0, - 9, 1, 0, 0, 7, 0, 0, 0, - 8, 1, 0, 0, 1, 0, 1, 0, - 105, 100, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 9, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 100, 105, 115, 112, 108, 97, 121, 78, - 97, 109, 101, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 12, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 115, 99, 111, 112, 101, 73, 100, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 1, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 9, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 110, 101, 115, 116, 101, 100, 78, 111, - 100, 101, 115, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 1, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 24, 0, 0, 0, 2, 0, 1, 0, - 14, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 2, 0, 1, 0, - 16, 0, 0, 0, 0, 0, 0, 0, - 40, 238, 41, 148, 136, 142, 254, 173, - 0, 0, 0, 0, 0, 0, 0, 0, - 14, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 97, 110, 110, 111, 116, 97, 116, 105, - 111, 110, 115, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 2, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 24, 0, 0, 0, 2, 0, 1, 0, - 14, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 2, 0, 1, 0, - 16, 0, 0, 0, 0, 0, 0, 0, - 115, 238, 207, 192, 49, 81, 120, 219, - 0, 0, 0, 0, 0, 0, 0, 0, - 14, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 98, 111, 100, 121, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 8, 0, 0, 0, 0, 0, 0, 0, - 1, 0, 0, 0, 199, 0, 0, 0, - 24, 0, 0, 0, 1, 0, 3, 0, - 6, 0, 0, 0, 0, 0, 0, 0, - 89, 0, 0, 0, 74, 0, 0, 0, - 93, 0, 0, 0, 7, 0, 0, 0, - 92, 0, 0, 0, 1, 0, 2, 0, - 7, 0, 1, 0, 0, 0, 0, 0, - 121, 0, 0, 0, 90, 0, 0, 0, - 125, 0, 0, 0, 7, 0, 0, 0, - 124, 0, 0, 0, 1, 0, 2, 0, - 8, 0, 2, 0, 0, 0, 0, 0, - 153, 0, 0, 0, 74, 0, 0, 0, - 157, 0, 0, 0, 7, 0, 0, 0, - 156, 0, 0, 0, 1, 0, 2, 0, - 9, 0, 3, 0, 0, 0, 0, 0, - 185, 0, 0, 0, 114, 0, 0, 0, - 189, 0, 0, 0, 7, 0, 0, 0, - 188, 0, 0, 0, 1, 0, 2, 0, - 10, 0, 4, 0, 0, 0, 0, 0, - 217, 0, 0, 0, 82, 0, 0, 0, - 221, 0, 0, 0, 7, 0, 0, 0, - 220, 0, 0, 0, 1, 0, 2, 0, - 11, 0, 5, 0, 0, 0, 0, 0, - 249, 0, 0, 0, 122, 0, 0, 0, - 253, 0, 0, 0, 7, 0, 0, 0, - 252, 0, 0, 0, 1, 0, 2, 0, - 102, 105, 108, 101, 78, 111, 100, 101, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 3, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 16, 0, 0, 0, 0, 0, 0, 0, - 31, 107, 183, 49, 11, 56, 156, 213, - 0, 0, 0, 0, 0, 0, 0, 0, - 16, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 115, 116, 114, 117, 99, 116, 78, 111, - 100, 101, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 3, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 16, 0, 0, 0, 0, 0, 0, 0, - 31, 12, 126, 11, 42, 217, 129, 191, - 0, 0, 0, 0, 0, 0, 0, 0, - 16, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 101, 110, 117, 109, 78, 111, 100, 101, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 3, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 16, 0, 0, 0, 0, 0, 0, 0, - 191, 42, 150, 120, 77, 244, 18, 214, - 0, 0, 0, 0, 0, 0, 0, 0, - 16, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 105, 110, 116, 101, 114, 102, 97, 99, - 101, 78, 111, 100, 101, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 3, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 16, 0, 0, 0, 0, 0, 0, 0, - 230, 33, 81, 45, 250, 236, 166, 184, - 0, 0, 0, 0, 0, 0, 0, 0, - 16, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 99, 111, 110, 115, 116, 78, 111, 100, - 101, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 3, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 16, 0, 0, 0, 0, 0, 0, 0, - 98, 128, 74, 178, 146, 248, 12, 143, - 0, 0, 0, 0, 0, 0, 0, 0, - 16, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 97, 110, 110, 111, 116, 97, 116, 105, - 111, 110, 78, 111, 100, 101, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 3, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 16, 0, 0, 0, 0, 0, 0, 0, - 229, 203, 245, 233, 26, 244, 134, 243, - 0, 0, 0, 0, 0, 0, 0, 0, - 16, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0 } -}; -static const ::capnp::_::RawSchema* const d_96ae9bbee664c195[] = { - &s_8f0cf892b24a8062, - &s_adfe8e889429ee28, - &s_b8a6ecfa2d5121e6, - &s_bf81d92a0b7e0c1f, - &s_d59c380b31b76b1f, - &s_d612f44d78962abf, - &s_db785131c0cfee73, - &s_f386f41ae9f5cbe5, -}; -static const ::capnp::_::RawSchema::MemberInfo m_96ae9bbee664c195[] = { - { 0, 4 }, - { 0, 5 }, - { 0, 1 }, - { 0, 0 }, - { 0, 3 }, - { 0, 2 }, - { 6, 5 }, - { 6, 4 }, - { 6, 2 }, - { 6, 0 }, - { 6, 3 }, - { 6, 1 }, -}; -const ::capnp::_::RawSchema s_96ae9bbee664c195 = { - b_96ae9bbee664c195.words, d_96ae9bbee664c195, m_96ae9bbee664c195, - 8, 12, nullptr -}; -static const ::capnp::_::AlignedData<46> b_adfe8e889429ee28 = { - { 0, 0, 0, 0, 3, 0, 4, 0, - 40, 238, 41, 148, 136, 142, 254, 173, - 149, 193, 100, 230, 190, 155, 174, 150, - 1, 0, 0, 0, 0, 0, 0, 0, - 13, 0, 0, 0, 194, 0, 0, 0, - 21, 0, 0, 0, 7, 0, 0, 0, - 21, 0, 0, 0, 7, 0, 0, 0, - 20, 0, 0, 0, 1, 0, 1, 0, - 115, 99, 104, 101, 109, 97, 46, 99, - 97, 112, 110, 112, 58, 78, 101, 115, - 116, 101, 100, 78, 111, 100, 101, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 1, 0, 1, 0, 7, 0, 0, 0, - 1, 0, 0, 0, 71, 0, 0, 0, - 8, 0, 0, 0, 1, 0, 3, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 25, 0, 0, 0, 42, 0, 0, 0, - 25, 0, 0, 0, 7, 0, 0, 0, - 24, 0, 0, 0, 1, 0, 2, 0, - 1, 0, 1, 0, 0, 0, 0, 0, - 53, 0, 0, 0, 26, 0, 0, 0, - 53, 0, 0, 0, 7, 0, 0, 0, - 52, 0, 0, 0, 1, 0, 2, 0, - 110, 97, 109, 101, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 12, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 105, 100, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 9, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0 } -}; -static const ::capnp::_::RawSchema* const d_adfe8e889429ee28[] = { -}; -static const ::capnp::_::RawSchema::MemberInfo m_adfe8e889429ee28[] = { - { 0, 1 }, - { 0, 0 }, -}; -const ::capnp::_::RawSchema s_adfe8e889429ee28 = { - b_adfe8e889429ee28.words, d_adfe8e889429ee28, m_adfe8e889429ee28, - 0, 2, nullptr -}; -static const ::capnp::_::AlignedData<94> b_bf81d92a0b7e0c1f = { - { 0, 0, 0, 0, 3, 0, 4, 0, - 31, 12, 126, 11, 42, 217, 129, 191, - 199, 50, 202, 69, 47, 223, 113, 180, - 1, 0, 0, 0, 0, 0, 0, 0, - 13, 0, 0, 0, 194, 0, 0, 0, - 21, 0, 0, 0, 55, 0, 0, 0, - 57, 0, 0, 0, 7, 0, 0, 0, - 56, 0, 0, 0, 1, 0, 1, 0, - 115, 99, 104, 101, 109, 97, 46, 99, - 97, 112, 110, 112, 58, 83, 116, 114, - 117, 99, 116, 78, 111, 100, 101, 0, - 12, 0, 0, 0, 1, 0, 1, 0, - 193, 248, 116, 107, 189, 180, 45, 154, - 17, 0, 0, 0, 58, 0, 0, 0, - 31, 164, 87, 112, 225, 70, 88, 199, - 13, 0, 0, 0, 50, 0, 0, 0, - 6, 218, 97, 225, 154, 71, 255, 239, - 9, 0, 0, 0, 50, 0, 0, 0, - 77, 101, 109, 98, 101, 114, 0, 0, - 70, 105, 101, 108, 100, 0, 0, 0, - 85, 110, 105, 111, 110, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 1, 0, 1, 0, 7, 0, 0, 0, - 1, 0, 0, 0, 135, 0, 0, 0, - 16, 0, 0, 0, 1, 0, 3, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 57, 0, 0, 0, 162, 0, 0, 0, - 65, 0, 0, 0, 7, 0, 0, 0, - 64, 0, 0, 0, 1, 0, 2, 0, - 1, 0, 1, 0, 0, 0, 0, 0, - 93, 0, 0, 0, 154, 0, 0, 0, - 101, 0, 0, 0, 7, 0, 0, 0, - 100, 0, 0, 0, 1, 0, 2, 0, - 2, 0, 2, 0, 0, 0, 0, 0, - 129, 0, 0, 0, 178, 0, 0, 0, - 137, 0, 0, 0, 7, 0, 0, 0, - 136, 0, 0, 0, 1, 0, 2, 0, - 3, 0, 3, 0, 0, 0, 0, 0, - 165, 0, 0, 0, 66, 0, 0, 0, - 165, 0, 0, 0, 7, 0, 0, 0, - 164, 0, 0, 0, 1, 0, 2, 0, - 100, 97, 116, 97, 83, 101, 99, 116, - 105, 111, 110, 87, 111, 114, 100, 83, - 105, 122, 101, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 7, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 7, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 112, 111, 105, 110, 116, 101, 114, 83, - 101, 99, 116, 105, 111, 110, 83, 105, - 122, 101, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 1, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 7, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 7, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 112, 114, 101, 102, 101, 114, 114, 101, - 100, 76, 105, 115, 116, 69, 110, 99, - 111, 100, 105, 110, 103, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 2, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 15, 0, 0, 0, 0, 0, 0, 0, - 140, 41, 28, 46, 210, 107, 50, 215, - 0, 0, 0, 0, 0, 0, 0, 0, - 15, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 109, 101, 109, 98, 101, 114, 115, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 24, 0, 0, 0, 2, 0, 1, 0, - 14, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 2, 0, 1, 0, - 16, 0, 0, 0, 0, 0, 0, 0, - 193, 248, 116, 107, 189, 180, 45, 154, - 0, 0, 0, 0, 0, 0, 0, 0, - 14, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0 } -}; -static const ::capnp::_::RawSchema* const d_bf81d92a0b7e0c1f[] = { - &s_9a2db4bd6b74f8c1, - &s_c2c768aee22269ee, - &s_c75846e17057a41f, - &s_d7326bd22e1c298c, - &s_db785131c0cfee73, - &s_dddca9a9ee299e42, - &s_efff479ae161da06, -}; -static const ::capnp::_::RawSchema::MemberInfo m_bf81d92a0b7e0c1f[] = { - { 0, 0 }, - { 0, 3 }, - { 0, 1 }, - { 0, 2 }, -}; -const ::capnp::_::RawSchema s_bf81d92a0b7e0c1f = { - b_bf81d92a0b7e0c1f.words, d_bf81d92a0b7e0c1f, m_bf81d92a0b7e0c1f, - 7, 4, nullptr -}; -static const ::capnp::_::AlignedData<62> b_c75846e17057a41f = { - { 0, 0, 0, 0, 3, 0, 4, 0, - 31, 164, 87, 112, 225, 70, 88, 199, - 31, 12, 126, 11, 42, 217, 129, 191, - 1, 0, 0, 0, 0, 0, 0, 0, - 13, 0, 0, 0, 154, 0, 0, 0, - 21, 0, 0, 0, 7, 0, 0, 0, - 21, 0, 0, 0, 7, 0, 0, 0, - 20, 0, 0, 0, 1, 0, 1, 0, - 115, 99, 104, 101, 109, 97, 46, 99, - 97, 112, 110, 112, 58, 70, 105, 101, - 108, 100, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 1, 0, 2, 0, 7, 0, 0, 0, - 1, 0, 0, 0, 103, 0, 0, 0, - 12, 0, 0, 0, 1, 0, 3, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 41, 0, 0, 0, 58, 0, 0, 0, - 41, 0, 0, 0, 7, 0, 0, 0, - 40, 0, 0, 0, 1, 0, 2, 0, - 1, 0, 1, 0, 0, 0, 0, 0, - 69, 0, 0, 0, 42, 0, 0, 0, - 69, 0, 0, 0, 7, 0, 0, 0, - 68, 0, 0, 0, 1, 0, 2, 0, - 2, 0, 2, 0, 0, 0, 0, 0, - 97, 0, 0, 0, 106, 0, 0, 0, - 101, 0, 0, 0, 7, 0, 0, 0, - 100, 0, 0, 0, 1, 0, 2, 0, - 111, 102, 102, 115, 101, 116, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 8, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 8, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 116, 121, 112, 101, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 16, 0, 0, 0, 0, 0, 0, 0, - 66, 158, 41, 238, 169, 169, 220, 221, - 0, 0, 0, 0, 0, 0, 0, 0, - 16, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 100, 101, 102, 97, 117, 108, 116, 86, - 97, 108, 117, 101, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 1, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 16, 0, 0, 0, 0, 0, 0, 0, - 238, 105, 34, 226, 174, 104, 199, 194, - 0, 0, 0, 0, 0, 0, 0, 0, - 16, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0 } -}; -static const ::capnp::_::RawSchema* const d_c75846e17057a41f[] = { - &s_c2c768aee22269ee, - &s_dddca9a9ee299e42, -}; -static const ::capnp::_::RawSchema::MemberInfo m_c75846e17057a41f[] = { - { 0, 2 }, - { 0, 0 }, - { 0, 1 }, -}; -const ::capnp::_::RawSchema s_c75846e17057a41f = { - b_c75846e17057a41f.words, d_c75846e17057a41f, m_c75846e17057a41f, - 2, 3, nullptr -}; -static const ::capnp::_::AlignedData<122> b_9a2db4bd6b74f8c1 = { - { 0, 0, 0, 0, 3, 0, 4, 0, - 193, 248, 116, 107, 189, 180, 45, 154, - 31, 12, 126, 11, 42, 217, 129, 191, - 1, 0, 0, 0, 0, 0, 0, 0, - 13, 0, 0, 0, 162, 0, 0, 0, - 21, 0, 0, 0, 7, 0, 0, 0, - 21, 0, 0, 0, 7, 0, 0, 0, - 20, 0, 0, 0, 1, 0, 1, 0, - 115, 99, 104, 101, 109, 97, 46, 99, - 97, 112, 110, 112, 58, 77, 101, 109, - 98, 101, 114, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 1, 0, 3, 0, 7, 0, 0, 0, - 1, 0, 0, 0, 167, 0, 0, 0, - 20, 0, 0, 0, 1, 0, 3, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 73, 0, 0, 0, 42, 0, 0, 0, - 73, 0, 0, 0, 7, 0, 0, 0, - 72, 0, 0, 0, 1, 0, 2, 0, - 1, 0, 1, 0, 0, 0, 0, 0, - 101, 0, 0, 0, 66, 0, 0, 0, - 101, 0, 0, 0, 7, 0, 0, 0, - 100, 0, 0, 0, 1, 0, 2, 0, - 2, 0, 2, 0, 0, 0, 0, 0, - 129, 0, 0, 0, 82, 0, 0, 0, - 133, 0, 0, 0, 7, 0, 0, 0, - 132, 0, 0, 0, 1, 0, 2, 0, - 3, 0, 3, 0, 0, 0, 0, 0, - 161, 0, 0, 0, 98, 0, 0, 0, - 165, 0, 0, 0, 7, 0, 0, 0, - 164, 0, 0, 0, 1, 0, 2, 0, - 4, 0, 4, 0, 1, 0, 0, 0, - 205, 0, 0, 0, 42, 0, 0, 0, - 205, 0, 0, 0, 7, 0, 0, 0, - 204, 0, 0, 0, 1, 0, 1, 0, - 110, 97, 109, 101, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 12, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 111, 114, 100, 105, 110, 97, 108, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 7, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 7, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 99, 111, 100, 101, 79, 114, 100, 101, - 114, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 1, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 7, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 7, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 97, 110, 110, 111, 116, 97, 116, 105, - 111, 110, 115, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 1, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 24, 0, 0, 0, 2, 0, 1, 0, - 14, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 2, 0, 1, 0, - 16, 0, 0, 0, 0, 0, 0, 0, - 115, 238, 207, 192, 49, 81, 120, 219, - 0, 0, 0, 0, 0, 0, 0, 0, - 14, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 98, 111, 100, 121, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 2, 0, 0, 0, 0, 0, 0, 0, - 1, 0, 0, 0, 71, 0, 0, 0, - 8, 0, 0, 0, 1, 0, 3, 0, - 5, 0, 0, 0, 0, 0, 0, 0, - 25, 0, 0, 0, 98, 0, 0, 0, - 29, 0, 0, 0, 7, 0, 0, 0, - 28, 0, 0, 0, 1, 0, 2, 0, - 6, 0, 1, 0, 0, 0, 0, 0, - 57, 0, 0, 0, 98, 0, 0, 0, - 61, 0, 0, 0, 7, 0, 0, 0, - 60, 0, 0, 0, 1, 0, 2, 0, - 102, 105, 101, 108, 100, 77, 101, 109, - 98, 101, 114, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 2, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 16, 0, 0, 0, 0, 0, 0, 0, - 31, 164, 87, 112, 225, 70, 88, 199, - 0, 0, 0, 0, 0, 0, 0, 0, - 16, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 117, 110, 105, 111, 110, 77, 101, 109, - 98, 101, 114, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 2, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 16, 0, 0, 0, 0, 0, 0, 0, - 6, 218, 97, 225, 154, 71, 255, 239, - 0, 0, 0, 0, 0, 0, 0, 0, - 16, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0 } -}; -static const ::capnp::_::RawSchema* const d_9a2db4bd6b74f8c1[] = { - &s_c75846e17057a41f, - &s_db785131c0cfee73, - &s_efff479ae161da06, -}; -static const ::capnp::_::RawSchema::MemberInfo m_9a2db4bd6b74f8c1[] = { - { 0, 3 }, - { 0, 4 }, - { 0, 2 }, - { 0, 0 }, - { 0, 1 }, - { 5, 0 }, - { 5, 1 }, -}; -const ::capnp::_::RawSchema s_9a2db4bd6b74f8c1 = { - b_9a2db4bd6b74f8c1.words, d_9a2db4bd6b74f8c1, m_9a2db4bd6b74f8c1, - 3, 7, nullptr -}; -static const ::capnp::_::AlignedData<51> b_efff479ae161da06 = { - { 0, 0, 0, 0, 3, 0, 4, 0, - 6, 218, 97, 225, 154, 71, 255, 239, - 31, 12, 126, 11, 42, 217, 129, 191, - 1, 0, 0, 0, 0, 0, 0, 0, - 13, 0, 0, 0, 154, 0, 0, 0, - 21, 0, 0, 0, 7, 0, 0, 0, - 21, 0, 0, 0, 7, 0, 0, 0, - 20, 0, 0, 0, 1, 0, 1, 0, - 115, 99, 104, 101, 109, 97, 46, 99, - 97, 112, 110, 112, 58, 85, 110, 105, - 111, 110, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 1, 0, 1, 0, 7, 0, 0, 0, - 1, 0, 0, 0, 71, 0, 0, 0, - 8, 0, 0, 0, 1, 0, 3, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 25, 0, 0, 0, 154, 0, 0, 0, - 33, 0, 0, 0, 7, 0, 0, 0, - 32, 0, 0, 0, 1, 0, 2, 0, - 1, 0, 1, 0, 0, 0, 0, 0, - 61, 0, 0, 0, 66, 0, 0, 0, - 61, 0, 0, 0, 7, 0, 0, 0, - 60, 0, 0, 0, 1, 0, 2, 0, - 100, 105, 115, 99, 114, 105, 109, 105, - 110, 97, 110, 116, 79, 102, 102, 115, - 101, 116, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 8, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 8, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 109, 101, 109, 98, 101, 114, 115, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 24, 0, 0, 0, 2, 0, 1, 0, - 14, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 2, 0, 1, 0, - 16, 0, 0, 0, 0, 0, 0, 0, - 193, 248, 116, 107, 189, 180, 45, 154, - 0, 0, 0, 0, 0, 0, 0, 0, - 14, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0 } -}; -static const ::capnp::_::RawSchema* const d_efff479ae161da06[] = { - &s_9a2db4bd6b74f8c1, -}; -static const ::capnp::_::RawSchema::MemberInfo m_efff479ae161da06[] = { - { 0, 0 }, - { 0, 1 }, -}; -const ::capnp::_::RawSchema s_efff479ae161da06 = { - b_efff479ae161da06.words, d_efff479ae161da06, m_efff479ae161da06, - 1, 2, nullptr -}; -static const ::capnp::_::AlignedData<329> b_dddca9a9ee299e42 = { - { 0, 0, 0, 0, 3, 0, 4, 0, - 66, 158, 41, 238, 169, 169, 220, 221, - 199, 50, 202, 69, 47, 223, 113, 180, - 1, 0, 0, 0, 0, 0, 0, 0, - 13, 0, 0, 0, 146, 0, 0, 0, - 21, 0, 0, 0, 7, 0, 0, 0, - 21, 0, 0, 0, 7, 0, 0, 0, - 20, 0, 0, 0, 1, 0, 1, 0, - 115, 99, 104, 101, 109, 97, 46, 99, - 97, 112, 110, 112, 58, 84, 121, 112, - 101, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 2, 0, 1, 0, 7, 0, 0, 0, - 1, 0, 0, 0, 39, 0, 0, 0, - 4, 0, 0, 0, 1, 0, 3, 0, - 0, 0, 0, 0, 1, 0, 0, 0, - 9, 0, 0, 0, 42, 0, 0, 0, - 9, 0, 0, 0, 7, 0, 0, 0, - 8, 0, 0, 0, 1, 0, 1, 0, - 98, 111, 100, 121, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 1, 0, 0, 0, 103, 2, 0, 0, - 76, 0, 0, 0, 1, 0, 3, 0, - 1, 0, 0, 0, 0, 0, 0, 0, - 41, 1, 0, 0, 74, 0, 0, 0, - 45, 1, 0, 0, 7, 0, 0, 0, - 44, 1, 0, 0, 1, 0, 2, 0, - 2, 0, 1, 0, 0, 0, 0, 0, - 73, 1, 0, 0, 74, 0, 0, 0, - 77, 1, 0, 0, 7, 0, 0, 0, - 76, 1, 0, 0, 1, 0, 2, 0, - 3, 0, 2, 0, 0, 0, 0, 0, - 105, 1, 0, 0, 74, 0, 0, 0, - 109, 1, 0, 0, 7, 0, 0, 0, - 108, 1, 0, 0, 1, 0, 2, 0, - 4, 0, 3, 0, 0, 0, 0, 0, - 137, 1, 0, 0, 82, 0, 0, 0, - 141, 1, 0, 0, 7, 0, 0, 0, - 140, 1, 0, 0, 1, 0, 2, 0, - 5, 0, 4, 0, 0, 0, 0, 0, - 169, 1, 0, 0, 82, 0, 0, 0, - 173, 1, 0, 0, 7, 0, 0, 0, - 172, 1, 0, 0, 1, 0, 2, 0, - 6, 0, 5, 0, 0, 0, 0, 0, - 201, 1, 0, 0, 82, 0, 0, 0, - 205, 1, 0, 0, 7, 0, 0, 0, - 204, 1, 0, 0, 1, 0, 2, 0, - 7, 0, 6, 0, 0, 0, 0, 0, - 233, 1, 0, 0, 82, 0, 0, 0, - 237, 1, 0, 0, 7, 0, 0, 0, - 236, 1, 0, 0, 1, 0, 2, 0, - 8, 0, 7, 0, 0, 0, 0, 0, - 9, 2, 0, 0, 90, 0, 0, 0, - 13, 2, 0, 0, 7, 0, 0, 0, - 12, 2, 0, 0, 1, 0, 2, 0, - 9, 0, 8, 0, 0, 0, 0, 0, - 41, 2, 0, 0, 90, 0, 0, 0, - 45, 2, 0, 0, 7, 0, 0, 0, - 44, 2, 0, 0, 1, 0, 2, 0, - 10, 0, 9, 0, 0, 0, 0, 0, - 73, 2, 0, 0, 90, 0, 0, 0, - 77, 2, 0, 0, 7, 0, 0, 0, - 76, 2, 0, 0, 1, 0, 2, 0, - 11, 0, 10, 0, 0, 0, 0, 0, - 105, 2, 0, 0, 98, 0, 0, 0, - 109, 2, 0, 0, 7, 0, 0, 0, - 108, 2, 0, 0, 1, 0, 2, 0, - 12, 0, 11, 0, 0, 0, 0, 0, - 137, 2, 0, 0, 98, 0, 0, 0, - 141, 2, 0, 0, 7, 0, 0, 0, - 140, 2, 0, 0, 1, 0, 2, 0, - 13, 0, 12, 0, 0, 0, 0, 0, - 169, 2, 0, 0, 74, 0, 0, 0, - 173, 2, 0, 0, 7, 0, 0, 0, - 172, 2, 0, 0, 1, 0, 2, 0, - 14, 0, 13, 0, 0, 0, 0, 0, - 201, 2, 0, 0, 74, 0, 0, 0, - 205, 2, 0, 0, 7, 0, 0, 0, - 204, 2, 0, 0, 1, 0, 2, 0, - 15, 0, 14, 0, 0, 0, 0, 0, - 233, 2, 0, 0, 74, 0, 0, 0, - 237, 2, 0, 0, 7, 0, 0, 0, - 236, 2, 0, 0, 1, 0, 2, 0, - 16, 0, 15, 0, 0, 0, 0, 0, - 9, 3, 0, 0, 74, 0, 0, 0, - 13, 3, 0, 0, 7, 0, 0, 0, - 12, 3, 0, 0, 1, 0, 2, 0, - 17, 0, 16, 0, 0, 0, 0, 0, - 41, 3, 0, 0, 90, 0, 0, 0, - 45, 3, 0, 0, 7, 0, 0, 0, - 44, 3, 0, 0, 1, 0, 2, 0, - 18, 0, 17, 0, 0, 0, 0, 0, - 73, 3, 0, 0, 114, 0, 0, 0, - 77, 3, 0, 0, 7, 0, 0, 0, - 76, 3, 0, 0, 1, 0, 2, 0, - 19, 0, 18, 0, 0, 0, 0, 0, - 105, 3, 0, 0, 90, 0, 0, 0, - 109, 3, 0, 0, 7, 0, 0, 0, - 108, 3, 0, 0, 1, 0, 2, 0, - 118, 111, 105, 100, 84, 121, 112, 101, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 9, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 98, 111, 111, 108, 84, 121, 112, 101, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 9, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 105, 110, 116, 56, 84, 121, 112, 101, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 9, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 105, 110, 116, 49, 54, 84, 121, 112, - 101, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 9, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 105, 110, 116, 51, 50, 84, 121, 112, - 101, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 9, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 105, 110, 116, 54, 52, 84, 121, 112, - 101, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 9, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 117, 105, 110, 116, 56, 84, 121, 112, - 101, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 9, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 117, 105, 110, 116, 49, 54, 84, 121, - 112, 101, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 9, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 117, 105, 110, 116, 51, 50, 84, 121, - 112, 101, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 9, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 117, 105, 110, 116, 54, 52, 84, 121, - 112, 101, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 9, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 102, 108, 111, 97, 116, 51, 50, 84, - 121, 112, 101, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 9, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 102, 108, 111, 97, 116, 54, 52, 84, - 121, 112, 101, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 9, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 116, 101, 120, 116, 84, 121, 112, 101, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 9, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 100, 97, 116, 97, 84, 121, 112, 101, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 9, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 108, 105, 115, 116, 84, 121, 112, 101, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 16, 0, 0, 0, 0, 0, 0, 0, - 66, 158, 41, 238, 169, 169, 220, 221, - 0, 0, 0, 0, 0, 0, 0, 0, - 16, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 101, 110, 117, 109, 84, 121, 112, 101, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 1, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 9, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 115, 116, 114, 117, 99, 116, 84, 121, - 112, 101, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 1, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 9, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 105, 110, 116, 101, 114, 102, 97, 99, - 101, 84, 121, 112, 101, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 1, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 9, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 111, 98, 106, 101, 99, 116, 84, 121, - 112, 101, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 9, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0 } -}; -static const ::capnp::_::RawSchema* const d_dddca9a9ee299e42[] = { - &s_dddca9a9ee299e42, -}; -static const ::capnp::_::RawSchema::MemberInfo m_dddca9a9ee299e42[] = { - { 0, 0 }, - { 1, 1 }, - { 1, 13 }, - { 1, 15 }, - { 1, 10 }, - { 1, 11 }, - { 1, 3 }, - { 1, 4 }, - { 1, 5 }, - { 1, 2 }, - { 1, 17 }, - { 1, 14 }, - { 1, 18 }, - { 1, 16 }, - { 1, 12 }, - { 1, 7 }, - { 1, 8 }, - { 1, 9 }, - { 1, 6 }, - { 1, 0 }, -}; -const ::capnp::_::RawSchema s_dddca9a9ee299e42 = { - b_dddca9a9ee299e42.words, d_dddca9a9ee299e42, m_dddca9a9ee299e42, - 1, 20, nullptr -}; -static const ::capnp::_::AlignedData<329> b_c2c768aee22269ee = { - { 0, 0, 0, 0, 3, 0, 4, 0, - 238, 105, 34, 226, 174, 104, 199, 194, - 199, 50, 202, 69, 47, 223, 113, 180, - 1, 0, 0, 0, 0, 0, 0, 0, - 13, 0, 0, 0, 154, 0, 0, 0, - 21, 0, 0, 0, 7, 0, 0, 0, - 21, 0, 0, 0, 7, 0, 0, 0, - 20, 0, 0, 0, 1, 0, 1, 0, - 115, 99, 104, 101, 109, 97, 46, 99, - 97, 112, 110, 112, 58, 86, 97, 108, - 117, 101, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 2, 0, 1, 0, 7, 0, 0, 0, - 1, 0, 0, 0, 39, 0, 0, 0, - 4, 0, 0, 0, 1, 0, 3, 0, - 0, 0, 0, 0, 1, 0, 0, 0, - 9, 0, 0, 0, 42, 0, 0, 0, - 9, 0, 0, 0, 7, 0, 0, 0, - 8, 0, 0, 0, 1, 0, 1, 0, - 98, 111, 100, 121, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 1, 0, 0, 0, 103, 2, 0, 0, - 76, 0, 0, 0, 1, 0, 3, 0, - 1, 0, 9, 0, 0, 0, 0, 0, - 41, 1, 0, 0, 98, 0, 0, 0, - 45, 1, 0, 0, 7, 0, 0, 0, - 44, 1, 0, 0, 1, 0, 2, 0, - 2, 0, 1, 0, 0, 0, 0, 0, - 73, 1, 0, 0, 82, 0, 0, 0, - 77, 1, 0, 0, 7, 0, 0, 0, - 76, 1, 0, 0, 1, 0, 2, 0, - 3, 0, 2, 0, 0, 0, 0, 0, - 105, 1, 0, 0, 82, 0, 0, 0, - 109, 1, 0, 0, 7, 0, 0, 0, - 108, 1, 0, 0, 1, 0, 2, 0, - 4, 0, 3, 0, 0, 0, 0, 0, - 137, 1, 0, 0, 90, 0, 0, 0, - 141, 1, 0, 0, 7, 0, 0, 0, - 140, 1, 0, 0, 1, 0, 2, 0, - 5, 0, 4, 0, 0, 0, 0, 0, - 169, 1, 0, 0, 90, 0, 0, 0, - 173, 1, 0, 0, 7, 0, 0, 0, - 172, 1, 0, 0, 1, 0, 2, 0, - 6, 0, 5, 0, 0, 0, 0, 0, - 201, 1, 0, 0, 90, 0, 0, 0, - 205, 1, 0, 0, 7, 0, 0, 0, - 204, 1, 0, 0, 1, 0, 2, 0, - 7, 0, 6, 0, 0, 0, 0, 0, - 233, 1, 0, 0, 90, 0, 0, 0, - 237, 1, 0, 0, 7, 0, 0, 0, - 236, 1, 0, 0, 1, 0, 2, 0, - 8, 0, 7, 0, 0, 0, 0, 0, - 9, 2, 0, 0, 98, 0, 0, 0, - 13, 2, 0, 0, 7, 0, 0, 0, - 12, 2, 0, 0, 1, 0, 2, 0, - 9, 0, 8, 0, 0, 0, 0, 0, - 41, 2, 0, 0, 98, 0, 0, 0, - 45, 2, 0, 0, 7, 0, 0, 0, - 44, 2, 0, 0, 1, 0, 2, 0, - 10, 0, 0, 0, 0, 0, 0, 0, - 73, 2, 0, 0, 82, 0, 0, 0, - 77, 2, 0, 0, 7, 0, 0, 0, - 76, 2, 0, 0, 1, 0, 2, 0, - 11, 0, 10, 0, 0, 0, 0, 0, - 105, 2, 0, 0, 106, 0, 0, 0, - 109, 2, 0, 0, 7, 0, 0, 0, - 108, 2, 0, 0, 1, 0, 2, 0, - 12, 0, 11, 0, 0, 0, 0, 0, - 137, 2, 0, 0, 106, 0, 0, 0, - 141, 2, 0, 0, 7, 0, 0, 0, - 140, 2, 0, 0, 1, 0, 2, 0, - 13, 0, 12, 0, 0, 0, 0, 0, - 169, 2, 0, 0, 82, 0, 0, 0, - 173, 2, 0, 0, 7, 0, 0, 0, - 172, 2, 0, 0, 1, 0, 2, 0, - 14, 0, 13, 0, 0, 0, 0, 0, - 201, 2, 0, 0, 82, 0, 0, 0, - 205, 2, 0, 0, 7, 0, 0, 0, - 204, 2, 0, 0, 1, 0, 2, 0, - 15, 0, 14, 0, 0, 0, 0, 0, - 233, 2, 0, 0, 82, 0, 0, 0, - 237, 2, 0, 0, 7, 0, 0, 0, - 236, 2, 0, 0, 1, 0, 2, 0, - 16, 0, 15, 0, 0, 0, 0, 0, - 9, 3, 0, 0, 82, 0, 0, 0, - 13, 3, 0, 0, 7, 0, 0, 0, - 12, 3, 0, 0, 1, 0, 2, 0, - 17, 0, 16, 0, 0, 0, 0, 0, - 41, 3, 0, 0, 98, 0, 0, 0, - 45, 3, 0, 0, 7, 0, 0, 0, - 44, 3, 0, 0, 1, 0, 2, 0, - 18, 0, 17, 0, 0, 0, 0, 0, - 73, 3, 0, 0, 122, 0, 0, 0, - 77, 3, 0, 0, 7, 0, 0, 0, - 76, 3, 0, 0, 1, 0, 2, 0, - 19, 0, 18, 0, 0, 0, 0, 0, - 105, 3, 0, 0, 98, 0, 0, 0, - 109, 3, 0, 0, 7, 0, 0, 0, - 108, 3, 0, 0, 1, 0, 2, 0, - 117, 105, 110, 116, 54, 52, 86, 97, - 108, 117, 101, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 1, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 9, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 98, 111, 111, 108, 86, 97, 108, 117, - 101, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 64, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 1, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 1, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 105, 110, 116, 56, 86, 97, 108, 117, - 101, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 8, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 2, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 2, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 105, 110, 116, 49, 54, 86, 97, 108, - 117, 101, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 4, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 3, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 3, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 105, 110, 116, 51, 50, 86, 97, 108, - 117, 101, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 2, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 4, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 105, 110, 116, 54, 52, 86, 97, 108, - 117, 101, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 1, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 5, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 5, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 117, 105, 110, 116, 56, 86, 97, 108, - 117, 101, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 8, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 6, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 6, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 117, 105, 110, 116, 49, 54, 86, 97, - 108, 117, 101, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 4, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 7, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 7, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 117, 105, 110, 116, 51, 50, 86, 97, - 108, 117, 101, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 2, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 8, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 8, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 118, 111, 105, 100, 86, 97, 108, 117, - 101, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 9, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 102, 108, 111, 97, 116, 51, 50, 86, - 97, 108, 117, 101, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 2, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 10, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 10, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 102, 108, 111, 97, 116, 54, 52, 86, - 97, 108, 117, 101, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 1, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 11, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 11, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 116, 101, 120, 116, 86, 97, 108, 117, - 101, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 12, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 100, 97, 116, 97, 86, 97, 108, 117, - 101, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 13, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 13, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 108, 105, 115, 116, 86, 97, 108, 117, - 101, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 18, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 18, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 101, 110, 117, 109, 86, 97, 108, 117, - 101, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 4, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 7, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 7, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 115, 116, 114, 117, 99, 116, 86, 97, - 108, 117, 101, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 18, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 18, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 105, 110, 116, 101, 114, 102, 97, 99, - 101, 86, 97, 108, 117, 101, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 9, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 111, 98, 106, 101, 99, 116, 86, 97, - 108, 117, 101, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 1, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 4, 0, 0, 0, 2, 0, 1, 0, - 12, 0, 0, 0, 2, 0, 1, 0, - 18, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 18, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0 } -}; -static const ::capnp::_::RawSchema* const d_c2c768aee22269ee[] = { -}; -static const ::capnp::_::RawSchema::MemberInfo m_c2c768aee22269ee[] = { - { 0, 0 }, - { 1, 1 }, - { 1, 13 }, - { 1, 15 }, - { 1, 10 }, - { 1, 11 }, - { 1, 3 }, - { 1, 4 }, - { 1, 5 }, - { 1, 2 }, - { 1, 17 }, - { 1, 14 }, - { 1, 18 }, - { 1, 16 }, - { 1, 12 }, - { 1, 7 }, - { 1, 8 }, - { 1, 0 }, - { 1, 6 }, - { 1, 9 }, -}; -const ::capnp::_::RawSchema s_c2c768aee22269ee = { - b_c2c768aee22269ee.words, d_c2c768aee22269ee, m_c2c768aee22269ee, - 0, 20, nullptr -}; -} // namespace schemas -namespace _ { // private -CAPNP_DEFINE_STRUCT( - ::capnp::schema::Annotation); -CAPNP_DEFINE_STRUCT( - ::capnp::schema::AnnotationNode); -CAPNP_DEFINE_STRUCT( - ::capnp::schema::CodeGeneratorRequest); -CAPNP_DEFINE_STRUCT( - ::capnp::schema::ConstNode); -CAPNP_DEFINE_STRUCT( - ::capnp::schema::EnumNode); -CAPNP_DEFINE_STRUCT( - ::capnp::schema::EnumNode::Enumerant); -CAPNP_DEFINE_STRUCT( - ::capnp::schema::FileNode); -CAPNP_DEFINE_STRUCT( - ::capnp::schema::FileNode::Import); -CAPNP_DEFINE_STRUCT( - ::capnp::schema::InterfaceNode); -CAPNP_DEFINE_STRUCT( - ::capnp::schema::InterfaceNode::Method); -CAPNP_DEFINE_STRUCT( - ::capnp::schema::InterfaceNode::Method::Param); -CAPNP_DEFINE_STRUCT( - ::capnp::schema::Node); -CAPNP_DEFINE_UNION( - ::capnp::schema::Node::Body); -CAPNP_DEFINE_STRUCT( - ::capnp::schema::Node::NestedNode); -CAPNP_DEFINE_STRUCT( - ::capnp::schema::StructNode); -CAPNP_DEFINE_STRUCT( - ::capnp::schema::StructNode::Field); -CAPNP_DEFINE_STRUCT( - ::capnp::schema::StructNode::Member); -CAPNP_DEFINE_UNION( - ::capnp::schema::StructNode::Member::Body); -CAPNP_DEFINE_STRUCT( - ::capnp::schema::StructNode::Union); -CAPNP_DEFINE_STRUCT( - ::capnp::schema::Type); -CAPNP_DEFINE_UNION( - ::capnp::schema::Type::Body); -CAPNP_DEFINE_STRUCT( - ::capnp::schema::Value); -CAPNP_DEFINE_UNION( - ::capnp::schema::Value::Body); -CAPNP_DEFINE_ENUM( - ::capnp::schema::ElementSize); -} // namespace _ (private) -} // namespace capnp diff --git a/schema.capnp.h b/schema.capnp.h deleted file mode 100644 index d99d2ca..0000000 --- a/schema.capnp.h +++ /dev/null @@ -1,5301 +0,0 @@ -// Generated code, DO NOT EDIT - -#ifndef CAPNP_INCLUDED_3049d609bcc70d258c4d9c07a7924611 -#define CAPNP_INCLUDED_3049d609bcc70d258c4d9c07a7924611 - -#include - -namespace capnp { -namespace schema { - - -struct Annotation { - Annotation() = delete; - - class Reader; - class Builder; - -private: -}; - -struct AnnotationNode { - AnnotationNode() = delete; - - class Reader; - class Builder; - -private: -}; - -struct CodeGeneratorRequest { - CodeGeneratorRequest() = delete; - - class Reader; - class Builder; - -private: -}; - -struct ConstNode { - ConstNode() = delete; - - class Reader; - class Builder; - -private: -}; - -struct EnumNode { - EnumNode() = delete; - - class Reader; - class Builder; - struct Enumerant; - -private: -}; - -struct EnumNode::Enumerant { - Enumerant() = delete; - - class Reader; - class Builder; - -private: -}; - -struct FileNode { - FileNode() = delete; - - class Reader; - class Builder; - struct Import; - -private: -}; - -struct FileNode::Import { - Import() = delete; - - class Reader; - class Builder; - -private: -}; - -struct InterfaceNode { - InterfaceNode() = delete; - - class Reader; - class Builder; - struct Method; - -private: -}; - -struct InterfaceNode::Method { - Method() = delete; - - class Reader; - class Builder; - struct Param; - -private: -}; - -struct InterfaceNode::Method::Param { - Param() = delete; - - class Reader; - class Builder; - -private: -}; - -struct Node { - Node() = delete; - - class Reader; - class Builder; - struct NestedNode; - struct Body; - -private: -}; - -struct Node::NestedNode { - NestedNode() = delete; - - class Reader; - class Builder; - -private: -}; - -struct Node::Body { - Body() = delete; - - class Reader; - class Builder; - - enum Which: uint16_t { - FILE_NODE = 0, - STRUCT_NODE = 1, - ENUM_NODE = 2, - INTERFACE_NODE = 3, - CONST_NODE = 4, - ANNOTATION_NODE = 5, - }; - -private: -}; - -struct StructNode { - StructNode() = delete; - - class Reader; - class Builder; - struct Member; - struct Field; - struct Union; - -private: -}; - -struct StructNode::Field { - Field() = delete; - - class Reader; - class Builder; - -private: -}; - -struct StructNode::Member { - Member() = delete; - - class Reader; - class Builder; - struct Body; - -private: -}; - -struct StructNode::Member::Body { - Body() = delete; - - class Reader; - class Builder; - - enum Which: uint16_t { - FIELD_MEMBER = 0, - UNION_MEMBER = 1, - }; - -private: -}; - -struct StructNode::Union { - Union() = delete; - - class Reader; - class Builder; - -private: -}; - -struct Type { - Type() = delete; - - class Reader; - class Builder; - struct Body; - -private: -}; - -struct Type::Body { - Body() = delete; - - class Reader; - class Builder; - - enum Which: uint16_t { - VOID_TYPE = 0, - BOOL_TYPE = 1, - INT8_TYPE = 2, - INT16_TYPE = 3, - INT32_TYPE = 4, - INT64_TYPE = 5, - UINT8_TYPE = 6, - UINT16_TYPE = 7, - UINT32_TYPE = 8, - UINT64_TYPE = 9, - FLOAT32_TYPE = 10, - FLOAT64_TYPE = 11, - TEXT_TYPE = 12, - DATA_TYPE = 13, - LIST_TYPE = 14, - ENUM_TYPE = 15, - STRUCT_TYPE = 16, - INTERFACE_TYPE = 17, - OBJECT_TYPE = 18, - }; - -private: -}; - -struct Value { - Value() = delete; - - class Reader; - class Builder; - struct Body; - -private: -}; - -struct Value::Body { - Body() = delete; - - class Reader; - class Builder; - - enum Which: uint16_t { - VOID_VALUE = 9, - BOOL_VALUE = 1, - INT8_VALUE = 2, - INT16_VALUE = 3, - INT32_VALUE = 4, - INT64_VALUE = 5, - UINT8_VALUE = 6, - UINT16_VALUE = 7, - UINT32_VALUE = 8, - UINT64_VALUE = 0, - FLOAT32_VALUE = 10, - FLOAT64_VALUE = 11, - TEXT_VALUE = 12, - DATA_VALUE = 13, - LIST_VALUE = 14, - ENUM_VALUE = 15, - STRUCT_VALUE = 16, - INTERFACE_VALUE = 17, - OBJECT_VALUE = 18, - }; - -private: -}; - - -enum class ElementSize: uint16_t { - EMPTY = 0, - BIT = 1, - BYTE = 2, - TWO_BYTES = 3, - FOUR_BYTES = 4, - EIGHT_BYTES = 5, - POINTER = 6, - INLINE_COMPOSITE = 7, -}; - - -} // namespace -} // namespace - -namespace capnp { -namespace schemas { -extern const ::capnp::_::RawSchema s_db785131c0cfee73; -extern const ::capnp::_::RawSchema s_f386f41ae9f5cbe5; -extern const ::capnp::_::RawSchema s_d095654a26e15f1d; -extern const ::capnp::_::RawSchema s_8f0cf892b24a8062; -extern const ::capnp::_::RawSchema s_d7326bd22e1c298c; -extern const ::capnp::_::RawSchema s_d612f44d78962abf; -extern const ::capnp::_::RawSchema s_c9ac441973b9f177; -extern const ::capnp::_::RawSchema s_d59c380b31b76b1f; -extern const ::capnp::_::RawSchema s_d5d6a9044d63c158; -extern const ::capnp::_::RawSchema s_b8a6ecfa2d5121e6; -extern const ::capnp::_::RawSchema s_bdd7f6f0832387ac; -extern const ::capnp::_::RawSchema s_d6d38cf4e366e91c; -extern const ::capnp::_::RawSchema s_96ae9bbee664c195; -extern const ::capnp::_::RawSchema s_adfe8e889429ee28; -extern const ::capnp::_::RawSchema s_bf81d92a0b7e0c1f; -extern const ::capnp::_::RawSchema s_c75846e17057a41f; -extern const ::capnp::_::RawSchema s_9a2db4bd6b74f8c1; -extern const ::capnp::_::RawSchema s_efff479ae161da06; -extern const ::capnp::_::RawSchema s_dddca9a9ee299e42; -extern const ::capnp::_::RawSchema s_c2c768aee22269ee; -} // namespace schemas -namespace _ { // private -CAPNP_DECLARE_STRUCT( - ::capnp::schema::Annotation, db785131c0cfee73, - 1, 1, INLINE_COMPOSITE); -CAPNP_DECLARE_STRUCT( - ::capnp::schema::AnnotationNode, f386f41ae9f5cbe5, - 1, 1, INLINE_COMPOSITE); -CAPNP_DECLARE_STRUCT( - ::capnp::schema::CodeGeneratorRequest, d095654a26e15f1d, - 0, 2, INLINE_COMPOSITE); -CAPNP_DECLARE_STRUCT( - ::capnp::schema::ConstNode, 8f0cf892b24a8062, - 0, 2, INLINE_COMPOSITE); -CAPNP_DECLARE_STRUCT( - ::capnp::schema::EnumNode, d612f44d78962abf, - 0, 1, POINTER); -CAPNP_DECLARE_STRUCT( - ::capnp::schema::EnumNode::Enumerant, c9ac441973b9f177, - 1, 2, INLINE_COMPOSITE); -CAPNP_DECLARE_STRUCT( - ::capnp::schema::FileNode, d59c380b31b76b1f, - 0, 1, POINTER); -CAPNP_DECLARE_STRUCT( - ::capnp::schema::FileNode::Import, d5d6a9044d63c158, - 1, 1, INLINE_COMPOSITE); -CAPNP_DECLARE_STRUCT( - ::capnp::schema::InterfaceNode, b8a6ecfa2d5121e6, - 0, 1, POINTER); -CAPNP_DECLARE_STRUCT( - ::capnp::schema::InterfaceNode::Method, bdd7f6f0832387ac, - 1, 4, INLINE_COMPOSITE); -CAPNP_DECLARE_STRUCT( - ::capnp::schema::InterfaceNode::Method::Param, d6d38cf4e366e91c, - 0, 4, INLINE_COMPOSITE); -CAPNP_DECLARE_STRUCT( - ::capnp::schema::Node, 96ae9bbee664c195, - 3, 4, INLINE_COMPOSITE); -CAPNP_DECLARE_UNION( - ::capnp::schema::Node::Body, - ::capnp::schema::Node, 5); -CAPNP_DECLARE_STRUCT( - ::capnp::schema::Node::NestedNode, adfe8e889429ee28, - 1, 1, INLINE_COMPOSITE); -CAPNP_DECLARE_STRUCT( - ::capnp::schema::StructNode, bf81d92a0b7e0c1f, - 1, 1, INLINE_COMPOSITE); -CAPNP_DECLARE_STRUCT( - ::capnp::schema::StructNode::Field, c75846e17057a41f, - 1, 2, INLINE_COMPOSITE); -CAPNP_DECLARE_STRUCT( - ::capnp::schema::StructNode::Member, 9a2db4bd6b74f8c1, - 1, 3, INLINE_COMPOSITE); -CAPNP_DECLARE_UNION( - ::capnp::schema::StructNode::Member::Body, - ::capnp::schema::StructNode::Member, 4); -CAPNP_DECLARE_STRUCT( - ::capnp::schema::StructNode::Union, efff479ae161da06, - 1, 1, INLINE_COMPOSITE); -CAPNP_DECLARE_STRUCT( - ::capnp::schema::Type, dddca9a9ee299e42, - 2, 1, INLINE_COMPOSITE); -CAPNP_DECLARE_UNION( - ::capnp::schema::Type::Body, - ::capnp::schema::Type, 0); -CAPNP_DECLARE_STRUCT( - ::capnp::schema::Value, c2c768aee22269ee, - 2, 1, INLINE_COMPOSITE); -CAPNP_DECLARE_UNION( - ::capnp::schema::Value::Body, - ::capnp::schema::Value, 0); -CAPNP_DECLARE_ENUM( - ::capnp::schema::ElementSize, d7326bd22e1c298c); -} // namespace capnp -} // namespace _ (private) - -namespace capnp { -namespace schema { - - - -class Annotation::Reader { -public: - typedef Annotation Reads; - - Reader() = default; - inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} - - inline size_t totalSizeInWords() const { - return _reader.totalSize() / ::capnp::WORDS; - } - - // id@0: UInt64; # bits[0, 64) - inline ::uint64_t getId() const; - - // value@1: .Value; # ptr[0] - inline bool hasValue() const; - inline ::capnp::schema::Value::Reader getValue() const; -private: - ::capnp::_::StructReader _reader; - template - friend struct ::capnp::ToDynamic_; - template - friend struct ::capnp::_::PointerHelpers; - friend class ::capnp::MessageBuilder; - friend ::kj::String KJ_STRINGIFY(Annotation::Reader reader); -}; - -inline ::kj::String KJ_STRINGIFY(Annotation::Reader reader) { - return ::capnp::_::structString(reader._reader); -} - - - -class Annotation::Builder { -public: - typedef Annotation Builds; - - Builder() = default; - inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {} - inline operator Reader() const { return Reader(_builder.asReader()); } - inline Reader asReader() const { return *this; } - - inline size_t totalSizeInWords() { return asReader().totalSizeInWords(); } - - // id@0: UInt64; # bits[0, 64) - inline ::uint64_t getId(); - inline void setId( ::uint64_t value); - - // value@1: .Value; # ptr[0] - inline bool hasValue(); - inline ::capnp::schema::Value::Builder getValue(); - inline void setValue( ::capnp::schema::Value::Reader other); - inline ::capnp::schema::Value::Builder initValue(); -private: - ::capnp::_::StructBuilder _builder; - template - friend struct ::capnp::ToDynamic_; - friend ::kj::String KJ_STRINGIFY(Annotation::Builder builder); -}; - -inline ::kj::String KJ_STRINGIFY(Annotation::Builder builder) { - return ::capnp::_::structString(builder._builder.asReader()); -} - -class AnnotationNode::Reader { -public: - typedef AnnotationNode Reads; - - Reader() = default; - inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} - - inline size_t totalSizeInWords() const { - return _reader.totalSize() / ::capnp::WORDS; - } - - // type@0: .Type; # ptr[0] - inline bool hasType() const; - inline ::capnp::schema::Type::Reader getType() const; - - // targetsFile@1: Bool; # bits[0, 1) - inline bool getTargetsFile() const; - - // targetsConst@2: Bool; # bits[1, 2) - inline bool getTargetsConst() const; - - // targetsEnum@3: Bool; # bits[2, 3) - inline bool getTargetsEnum() const; - - // targetsEnumerant@4: Bool; # bits[3, 4) - inline bool getTargetsEnumerant() const; - - // targetsStruct@5: Bool; # bits[4, 5) - inline bool getTargetsStruct() const; - - // targetsField@6: Bool; # bits[5, 6) - inline bool getTargetsField() const; - - // targetsUnion@7: Bool; # bits[6, 7) - inline bool getTargetsUnion() const; - - // targetsInterface@8: Bool; # bits[7, 8) - inline bool getTargetsInterface() const; - - // targetsMethod@9: Bool; # bits[8, 9) - inline bool getTargetsMethod() const; - - // targetsParam@10: Bool; # bits[9, 10) - inline bool getTargetsParam() const; - - // targetsAnnotation@11: Bool; # bits[10, 11) - inline bool getTargetsAnnotation() const; -private: - ::capnp::_::StructReader _reader; - template - friend struct ::capnp::ToDynamic_; - template - friend struct ::capnp::_::PointerHelpers; - friend class ::capnp::MessageBuilder; - friend ::kj::String KJ_STRINGIFY(AnnotationNode::Reader reader); -}; - -inline ::kj::String KJ_STRINGIFY(AnnotationNode::Reader reader) { - return ::capnp::_::structString(reader._reader); -} - - - -class AnnotationNode::Builder { -public: - typedef AnnotationNode Builds; - - Builder() = default; - inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {} - inline operator Reader() const { return Reader(_builder.asReader()); } - inline Reader asReader() const { return *this; } - - inline size_t totalSizeInWords() { return asReader().totalSizeInWords(); } - - // type@0: .Type; # ptr[0] - inline bool hasType(); - inline ::capnp::schema::Type::Builder getType(); - inline void setType( ::capnp::schema::Type::Reader other); - inline ::capnp::schema::Type::Builder initType(); - - // targetsFile@1: Bool; # bits[0, 1) - inline bool getTargetsFile(); - inline void setTargetsFile(bool value); - - // targetsConst@2: Bool; # bits[1, 2) - inline bool getTargetsConst(); - inline void setTargetsConst(bool value); - - // targetsEnum@3: Bool; # bits[2, 3) - inline bool getTargetsEnum(); - inline void setTargetsEnum(bool value); - - // targetsEnumerant@4: Bool; # bits[3, 4) - inline bool getTargetsEnumerant(); - inline void setTargetsEnumerant(bool value); - - // targetsStruct@5: Bool; # bits[4, 5) - inline bool getTargetsStruct(); - inline void setTargetsStruct(bool value); - - // targetsField@6: Bool; # bits[5, 6) - inline bool getTargetsField(); - inline void setTargetsField(bool value); - - // targetsUnion@7: Bool; # bits[6, 7) - inline bool getTargetsUnion(); - inline void setTargetsUnion(bool value); - - // targetsInterface@8: Bool; # bits[7, 8) - inline bool getTargetsInterface(); - inline void setTargetsInterface(bool value); - - // targetsMethod@9: Bool; # bits[8, 9) - inline bool getTargetsMethod(); - inline void setTargetsMethod(bool value); - - // targetsParam@10: Bool; # bits[9, 10) - inline bool getTargetsParam(); - inline void setTargetsParam(bool value); - - // targetsAnnotation@11: Bool; # bits[10, 11) - inline bool getTargetsAnnotation(); - inline void setTargetsAnnotation(bool value); -private: - ::capnp::_::StructBuilder _builder; - template - friend struct ::capnp::ToDynamic_; - friend ::kj::String KJ_STRINGIFY(AnnotationNode::Builder builder); -}; - -inline ::kj::String KJ_STRINGIFY(AnnotationNode::Builder builder) { - return ::capnp::_::structString(builder._builder.asReader()); -} - -class CodeGeneratorRequest::Reader { -public: - typedef CodeGeneratorRequest Reads; - - Reader() = default; - inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} - - inline size_t totalSizeInWords() const { - return _reader.totalSize() / ::capnp::WORDS; - } - - // nodes@0: List(.Node); # ptr[0] - inline bool hasNodes() const; - inline ::capnp::List< ::capnp::schema::Node>::Reader getNodes() const; - - // requestedFiles@1: List(UInt64); # ptr[1] - inline bool hasRequestedFiles() const; - inline ::capnp::List< ::uint64_t>::Reader getRequestedFiles() const; -private: - ::capnp::_::StructReader _reader; - template - friend struct ::capnp::ToDynamic_; - template - friend struct ::capnp::_::PointerHelpers; - friend class ::capnp::MessageBuilder; - friend ::kj::String KJ_STRINGIFY(CodeGeneratorRequest::Reader reader); -}; - -inline ::kj::String KJ_STRINGIFY(CodeGeneratorRequest::Reader reader) { - return ::capnp::_::structString(reader._reader); -} - - - -class CodeGeneratorRequest::Builder { -public: - typedef CodeGeneratorRequest Builds; - - Builder() = default; - inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {} - inline operator Reader() const { return Reader(_builder.asReader()); } - inline Reader asReader() const { return *this; } - - inline size_t totalSizeInWords() { return asReader().totalSizeInWords(); } - - // nodes@0: List(.Node); # ptr[0] - inline bool hasNodes(); - inline ::capnp::List< ::capnp::schema::Node>::Builder getNodes(); - inline void setNodes( ::capnp::List< ::capnp::schema::Node>::Reader other); - inline ::capnp::List< ::capnp::schema::Node>::Builder initNodes(unsigned int size); - - // requestedFiles@1: List(UInt64); # ptr[1] - inline bool hasRequestedFiles(); - inline ::capnp::List< ::uint64_t>::Builder getRequestedFiles(); - inline void setRequestedFiles( ::capnp::List< ::uint64_t>::Reader other); - inline void setRequestedFiles( - std::initializer_list< ::uint64_t> other); - inline ::capnp::List< ::uint64_t>::Builder initRequestedFiles(unsigned int size); -private: - ::capnp::_::StructBuilder _builder; - template - friend struct ::capnp::ToDynamic_; - friend ::kj::String KJ_STRINGIFY(CodeGeneratorRequest::Builder builder); -}; - -inline ::kj::String KJ_STRINGIFY(CodeGeneratorRequest::Builder builder) { - return ::capnp::_::structString(builder._builder.asReader()); -} - -class ConstNode::Reader { -public: - typedef ConstNode Reads; - - Reader() = default; - inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} - - inline size_t totalSizeInWords() const { - return _reader.totalSize() / ::capnp::WORDS; - } - - // type@0: .Type; # ptr[0] - inline bool hasType() const; - inline ::capnp::schema::Type::Reader getType() const; - - // value@1: .Value; # ptr[1] - inline bool hasValue() const; - inline ::capnp::schema::Value::Reader getValue() const; -private: - ::capnp::_::StructReader _reader; - template - friend struct ::capnp::ToDynamic_; - template - friend struct ::capnp::_::PointerHelpers; - friend class ::capnp::MessageBuilder; - friend ::kj::String KJ_STRINGIFY(ConstNode::Reader reader); -}; - -inline ::kj::String KJ_STRINGIFY(ConstNode::Reader reader) { - return ::capnp::_::structString(reader._reader); -} - - - -class ConstNode::Builder { -public: - typedef ConstNode Builds; - - Builder() = default; - inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {} - inline operator Reader() const { return Reader(_builder.asReader()); } - inline Reader asReader() const { return *this; } - - inline size_t totalSizeInWords() { return asReader().totalSizeInWords(); } - - // type@0: .Type; # ptr[0] - inline bool hasType(); - inline ::capnp::schema::Type::Builder getType(); - inline void setType( ::capnp::schema::Type::Reader other); - inline ::capnp::schema::Type::Builder initType(); - - // value@1: .Value; # ptr[1] - inline bool hasValue(); - inline ::capnp::schema::Value::Builder getValue(); - inline void setValue( ::capnp::schema::Value::Reader other); - inline ::capnp::schema::Value::Builder initValue(); -private: - ::capnp::_::StructBuilder _builder; - template - friend struct ::capnp::ToDynamic_; - friend ::kj::String KJ_STRINGIFY(ConstNode::Builder builder); -}; - -inline ::kj::String KJ_STRINGIFY(ConstNode::Builder builder) { - return ::capnp::_::structString(builder._builder.asReader()); -} - -class EnumNode::Reader { -public: - typedef EnumNode Reads; - - Reader() = default; - inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} - - inline size_t totalSizeInWords() const { - return _reader.totalSize() / ::capnp::WORDS; - } - - // enumerants@0: List(.EnumNode.Enumerant); # ptr[0] - inline bool hasEnumerants() const; - inline ::capnp::List< ::capnp::schema::EnumNode::Enumerant>::Reader getEnumerants() const; -private: - ::capnp::_::StructReader _reader; - template - friend struct ::capnp::ToDynamic_; - template - friend struct ::capnp::_::PointerHelpers; - friend class ::capnp::MessageBuilder; - friend ::kj::String KJ_STRINGIFY(EnumNode::Reader reader); -}; - -inline ::kj::String KJ_STRINGIFY(EnumNode::Reader reader) { - return ::capnp::_::structString(reader._reader); -} - - - -class EnumNode::Builder { -public: - typedef EnumNode Builds; - - Builder() = default; - inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {} - inline operator Reader() const { return Reader(_builder.asReader()); } - inline Reader asReader() const { return *this; } - - inline size_t totalSizeInWords() { return asReader().totalSizeInWords(); } - - // enumerants@0: List(.EnumNode.Enumerant); # ptr[0] - inline bool hasEnumerants(); - inline ::capnp::List< ::capnp::schema::EnumNode::Enumerant>::Builder getEnumerants(); - inline void setEnumerants( ::capnp::List< ::capnp::schema::EnumNode::Enumerant>::Reader other); - inline ::capnp::List< ::capnp::schema::EnumNode::Enumerant>::Builder initEnumerants(unsigned int size); -private: - ::capnp::_::StructBuilder _builder; - template - friend struct ::capnp::ToDynamic_; - friend ::kj::String KJ_STRINGIFY(EnumNode::Builder builder); -}; - -inline ::kj::String KJ_STRINGIFY(EnumNode::Builder builder) { - return ::capnp::_::structString(builder._builder.asReader()); -} - -class EnumNode::Enumerant::Reader { -public: - typedef Enumerant Reads; - - Reader() = default; - inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} - - inline size_t totalSizeInWords() const { - return _reader.totalSize() / ::capnp::WORDS; - } - - // name@0: Text; # ptr[0] - inline bool hasName() const; - inline ::capnp::Text::Reader getName() const; - - // codeOrder@1: UInt16; # bits[0, 16) - inline ::uint16_t getCodeOrder() const; - - // annotations@2: List(.Annotation); # ptr[1] - inline bool hasAnnotations() const; - inline ::capnp::List< ::capnp::schema::Annotation>::Reader getAnnotations() const; -private: - ::capnp::_::StructReader _reader; - template - friend struct ::capnp::ToDynamic_; - template - friend struct ::capnp::_::PointerHelpers; - friend class ::capnp::MessageBuilder; - friend ::kj::String KJ_STRINGIFY(EnumNode::Enumerant::Reader reader); -}; - -inline ::kj::String KJ_STRINGIFY(EnumNode::Enumerant::Reader reader) { - return ::capnp::_::structString(reader._reader); -} - - - -class EnumNode::Enumerant::Builder { -public: - typedef Enumerant Builds; - - Builder() = default; - inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {} - inline operator Reader() const { return Reader(_builder.asReader()); } - inline Reader asReader() const { return *this; } - - inline size_t totalSizeInWords() { return asReader().totalSizeInWords(); } - - // name@0: Text; # ptr[0] - inline bool hasName(); - inline ::capnp::Text::Builder getName(); - inline void setName( ::capnp::Text::Reader other); - inline ::capnp::Text::Builder initName(unsigned int size); - - // codeOrder@1: UInt16; # bits[0, 16) - inline ::uint16_t getCodeOrder(); - inline void setCodeOrder( ::uint16_t value); - - // annotations@2: List(.Annotation); # ptr[1] - inline bool hasAnnotations(); - inline ::capnp::List< ::capnp::schema::Annotation>::Builder getAnnotations(); - inline void setAnnotations( ::capnp::List< ::capnp::schema::Annotation>::Reader other); - inline ::capnp::List< ::capnp::schema::Annotation>::Builder initAnnotations(unsigned int size); -private: - ::capnp::_::StructBuilder _builder; - template - friend struct ::capnp::ToDynamic_; - friend ::kj::String KJ_STRINGIFY(EnumNode::Enumerant::Builder builder); -}; - -inline ::kj::String KJ_STRINGIFY(EnumNode::Enumerant::Builder builder) { - return ::capnp::_::structString(builder._builder.asReader()); -} - -class FileNode::Reader { -public: - typedef FileNode Reads; - - Reader() = default; - inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} - - inline size_t totalSizeInWords() const { - return _reader.totalSize() / ::capnp::WORDS; - } - - // imports@0: List(.FileNode.Import); # ptr[0] - inline bool hasImports() const; - inline ::capnp::List< ::capnp::schema::FileNode::Import>::Reader getImports() const; -private: - ::capnp::_::StructReader _reader; - template - friend struct ::capnp::ToDynamic_; - template - friend struct ::capnp::_::PointerHelpers; - friend class ::capnp::MessageBuilder; - friend ::kj::String KJ_STRINGIFY(FileNode::Reader reader); -}; - -inline ::kj::String KJ_STRINGIFY(FileNode::Reader reader) { - return ::capnp::_::structString(reader._reader); -} - - - -class FileNode::Builder { -public: - typedef FileNode Builds; - - Builder() = default; - inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {} - inline operator Reader() const { return Reader(_builder.asReader()); } - inline Reader asReader() const { return *this; } - - inline size_t totalSizeInWords() { return asReader().totalSizeInWords(); } - - // imports@0: List(.FileNode.Import); # ptr[0] - inline bool hasImports(); - inline ::capnp::List< ::capnp::schema::FileNode::Import>::Builder getImports(); - inline void setImports( ::capnp::List< ::capnp::schema::FileNode::Import>::Reader other); - inline ::capnp::List< ::capnp::schema::FileNode::Import>::Builder initImports(unsigned int size); -private: - ::capnp::_::StructBuilder _builder; - template - friend struct ::capnp::ToDynamic_; - friend ::kj::String KJ_STRINGIFY(FileNode::Builder builder); -}; - -inline ::kj::String KJ_STRINGIFY(FileNode::Builder builder) { - return ::capnp::_::structString(builder._builder.asReader()); -} - -class FileNode::Import::Reader { -public: - typedef Import Reads; - - Reader() = default; - inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} - - inline size_t totalSizeInWords() const { - return _reader.totalSize() / ::capnp::WORDS; - } - - // id@0: UInt64; # bits[0, 64) - inline ::uint64_t getId() const; - - // name@1: Text; # ptr[0] - inline bool hasName() const; - inline ::capnp::Text::Reader getName() const; -private: - ::capnp::_::StructReader _reader; - template - friend struct ::capnp::ToDynamic_; - template - friend struct ::capnp::_::PointerHelpers; - friend class ::capnp::MessageBuilder; - friend ::kj::String KJ_STRINGIFY(FileNode::Import::Reader reader); -}; - -inline ::kj::String KJ_STRINGIFY(FileNode::Import::Reader reader) { - return ::capnp::_::structString(reader._reader); -} - - - -class FileNode::Import::Builder { -public: - typedef Import Builds; - - Builder() = default; - inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {} - inline operator Reader() const { return Reader(_builder.asReader()); } - inline Reader asReader() const { return *this; } - - inline size_t totalSizeInWords() { return asReader().totalSizeInWords(); } - - // id@0: UInt64; # bits[0, 64) - inline ::uint64_t getId(); - inline void setId( ::uint64_t value); - - // name@1: Text; # ptr[0] - inline bool hasName(); - inline ::capnp::Text::Builder getName(); - inline void setName( ::capnp::Text::Reader other); - inline ::capnp::Text::Builder initName(unsigned int size); -private: - ::capnp::_::StructBuilder _builder; - template - friend struct ::capnp::ToDynamic_; - friend ::kj::String KJ_STRINGIFY(FileNode::Import::Builder builder); -}; - -inline ::kj::String KJ_STRINGIFY(FileNode::Import::Builder builder) { - return ::capnp::_::structString(builder._builder.asReader()); -} - -class InterfaceNode::Reader { -public: - typedef InterfaceNode Reads; - - Reader() = default; - inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} - - inline size_t totalSizeInWords() const { - return _reader.totalSize() / ::capnp::WORDS; - } - - // methods@0: List(.InterfaceNode.Method); # ptr[0] - inline bool hasMethods() const; - inline ::capnp::List< ::capnp::schema::InterfaceNode::Method>::Reader getMethods() const; -private: - ::capnp::_::StructReader _reader; - template - friend struct ::capnp::ToDynamic_; - template - friend struct ::capnp::_::PointerHelpers; - friend class ::capnp::MessageBuilder; - friend ::kj::String KJ_STRINGIFY(InterfaceNode::Reader reader); -}; - -inline ::kj::String KJ_STRINGIFY(InterfaceNode::Reader reader) { - return ::capnp::_::structString(reader._reader); -} - - - -class InterfaceNode::Builder { -public: - typedef InterfaceNode Builds; - - Builder() = default; - inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {} - inline operator Reader() const { return Reader(_builder.asReader()); } - inline Reader asReader() const { return *this; } - - inline size_t totalSizeInWords() { return asReader().totalSizeInWords(); } - - // methods@0: List(.InterfaceNode.Method); # ptr[0] - inline bool hasMethods(); - inline ::capnp::List< ::capnp::schema::InterfaceNode::Method>::Builder getMethods(); - inline void setMethods( ::capnp::List< ::capnp::schema::InterfaceNode::Method>::Reader other); - inline ::capnp::List< ::capnp::schema::InterfaceNode::Method>::Builder initMethods(unsigned int size); -private: - ::capnp::_::StructBuilder _builder; - template - friend struct ::capnp::ToDynamic_; - friend ::kj::String KJ_STRINGIFY(InterfaceNode::Builder builder); -}; - -inline ::kj::String KJ_STRINGIFY(InterfaceNode::Builder builder) { - return ::capnp::_::structString(builder._builder.asReader()); -} - -class InterfaceNode::Method::Reader { -public: - typedef Method Reads; - - Reader() = default; - inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} - - inline size_t totalSizeInWords() const { - return _reader.totalSize() / ::capnp::WORDS; - } - - // name@0: Text; # ptr[0] - inline bool hasName() const; - inline ::capnp::Text::Reader getName() const; - - // codeOrder@1: UInt16; # bits[0, 16) - inline ::uint16_t getCodeOrder() const; - - // params@2: List(.InterfaceNode.Method.Param); # ptr[1] - inline bool hasParams() const; - inline ::capnp::List< ::capnp::schema::InterfaceNode::Method::Param>::Reader getParams() const; - - // requiredParamCount@3: UInt16; # bits[16, 32) - inline ::uint16_t getRequiredParamCount() const; - - // returnType@4: .Type; # ptr[2] - inline bool hasReturnType() const; - inline ::capnp::schema::Type::Reader getReturnType() const; - - // annotations@5: List(.Annotation); # ptr[3] - inline bool hasAnnotations() const; - inline ::capnp::List< ::capnp::schema::Annotation>::Reader getAnnotations() const; -private: - ::capnp::_::StructReader _reader; - template - friend struct ::capnp::ToDynamic_; - template - friend struct ::capnp::_::PointerHelpers; - friend class ::capnp::MessageBuilder; - friend ::kj::String KJ_STRINGIFY(InterfaceNode::Method::Reader reader); -}; - -inline ::kj::String KJ_STRINGIFY(InterfaceNode::Method::Reader reader) { - return ::capnp::_::structString(reader._reader); -} - - - -class InterfaceNode::Method::Builder { -public: - typedef Method Builds; - - Builder() = default; - inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {} - inline operator Reader() const { return Reader(_builder.asReader()); } - inline Reader asReader() const { return *this; } - - inline size_t totalSizeInWords() { return asReader().totalSizeInWords(); } - - // name@0: Text; # ptr[0] - inline bool hasName(); - inline ::capnp::Text::Builder getName(); - inline void setName( ::capnp::Text::Reader other); - inline ::capnp::Text::Builder initName(unsigned int size); - - // codeOrder@1: UInt16; # bits[0, 16) - inline ::uint16_t getCodeOrder(); - inline void setCodeOrder( ::uint16_t value); - - // params@2: List(.InterfaceNode.Method.Param); # ptr[1] - inline bool hasParams(); - inline ::capnp::List< ::capnp::schema::InterfaceNode::Method::Param>::Builder getParams(); - inline void setParams( ::capnp::List< ::capnp::schema::InterfaceNode::Method::Param>::Reader other); - inline ::capnp::List< ::capnp::schema::InterfaceNode::Method::Param>::Builder initParams(unsigned int size); - - // requiredParamCount@3: UInt16; # bits[16, 32) - inline ::uint16_t getRequiredParamCount(); - inline void setRequiredParamCount( ::uint16_t value); - - // returnType@4: .Type; # ptr[2] - inline bool hasReturnType(); - inline ::capnp::schema::Type::Builder getReturnType(); - inline void setReturnType( ::capnp::schema::Type::Reader other); - inline ::capnp::schema::Type::Builder initReturnType(); - - // annotations@5: List(.Annotation); # ptr[3] - inline bool hasAnnotations(); - inline ::capnp::List< ::capnp::schema::Annotation>::Builder getAnnotations(); - inline void setAnnotations( ::capnp::List< ::capnp::schema::Annotation>::Reader other); - inline ::capnp::List< ::capnp::schema::Annotation>::Builder initAnnotations(unsigned int size); -private: - ::capnp::_::StructBuilder _builder; - template - friend struct ::capnp::ToDynamic_; - friend ::kj::String KJ_STRINGIFY(InterfaceNode::Method::Builder builder); -}; - -inline ::kj::String KJ_STRINGIFY(InterfaceNode::Method::Builder builder) { - return ::capnp::_::structString(builder._builder.asReader()); -} - -class InterfaceNode::Method::Param::Reader { -public: - typedef Param Reads; - - Reader() = default; - inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} - - inline size_t totalSizeInWords() const { - return _reader.totalSize() / ::capnp::WORDS; - } - - // name@0: Text; # ptr[0] - inline bool hasName() const; - inline ::capnp::Text::Reader getName() const; - - // type@1: .Type; # ptr[1] - inline bool hasType() const; - inline ::capnp::schema::Type::Reader getType() const; - - // defaultValue@2: .Value; # ptr[2] - inline bool hasDefaultValue() const; - inline ::capnp::schema::Value::Reader getDefaultValue() const; - - // annotations@3: List(.Annotation); # ptr[3] - inline bool hasAnnotations() const; - inline ::capnp::List< ::capnp::schema::Annotation>::Reader getAnnotations() const; -private: - ::capnp::_::StructReader _reader; - template - friend struct ::capnp::ToDynamic_; - template - friend struct ::capnp::_::PointerHelpers; - friend class ::capnp::MessageBuilder; - friend ::kj::String KJ_STRINGIFY(InterfaceNode::Method::Param::Reader reader); -}; - -inline ::kj::String KJ_STRINGIFY(InterfaceNode::Method::Param::Reader reader) { - return ::capnp::_::structString(reader._reader); -} - - - -class InterfaceNode::Method::Param::Builder { -public: - typedef Param Builds; - - Builder() = default; - inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {} - inline operator Reader() const { return Reader(_builder.asReader()); } - inline Reader asReader() const { return *this; } - - inline size_t totalSizeInWords() { return asReader().totalSizeInWords(); } - - // name@0: Text; # ptr[0] - inline bool hasName(); - inline ::capnp::Text::Builder getName(); - inline void setName( ::capnp::Text::Reader other); - inline ::capnp::Text::Builder initName(unsigned int size); - - // type@1: .Type; # ptr[1] - inline bool hasType(); - inline ::capnp::schema::Type::Builder getType(); - inline void setType( ::capnp::schema::Type::Reader other); - inline ::capnp::schema::Type::Builder initType(); - - // defaultValue@2: .Value; # ptr[2] - inline bool hasDefaultValue(); - inline ::capnp::schema::Value::Builder getDefaultValue(); - inline void setDefaultValue( ::capnp::schema::Value::Reader other); - inline ::capnp::schema::Value::Builder initDefaultValue(); - - // annotations@3: List(.Annotation); # ptr[3] - inline bool hasAnnotations(); - inline ::capnp::List< ::capnp::schema::Annotation>::Builder getAnnotations(); - inline void setAnnotations( ::capnp::List< ::capnp::schema::Annotation>::Reader other); - inline ::capnp::List< ::capnp::schema::Annotation>::Builder initAnnotations(unsigned int size); -private: - ::capnp::_::StructBuilder _builder; - template - friend struct ::capnp::ToDynamic_; - friend ::kj::String KJ_STRINGIFY(InterfaceNode::Method::Param::Builder builder); -}; - -inline ::kj::String KJ_STRINGIFY(InterfaceNode::Method::Param::Builder builder) { - return ::capnp::_::structString(builder._builder.asReader()); -} - -class Node::Reader { -public: - typedef Node Reads; - - Reader() = default; - inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} - - inline size_t totalSizeInWords() const { - return _reader.totalSize() / ::capnp::WORDS; - } - - // union body@5 { # [128, 144) - inline Body::Reader getBody() const; - - // id@0: UInt64; # bits[0, 64) - inline ::uint64_t getId() const; - - // displayName@1: Text; # ptr[0] - inline bool hasDisplayName() const; - inline ::capnp::Text::Reader getDisplayName() const; - - // scopeId@2: UInt64 = 0; # bits[64, 128) - inline ::uint64_t getScopeId() const; - - // nestedNodes@3: List(.Node.NestedNode); # ptr[1] - inline bool hasNestedNodes() const; - inline ::capnp::List< ::capnp::schema::Node::NestedNode>::Reader getNestedNodes() const; - - // annotations@4: List(.Annotation); # ptr[2] - inline bool hasAnnotations() const; - inline ::capnp::List< ::capnp::schema::Annotation>::Reader getAnnotations() const; -private: - ::capnp::_::StructReader _reader; - template - friend struct ::capnp::ToDynamic_; - template - friend struct ::capnp::_::PointerHelpers; - friend class ::capnp::MessageBuilder; - friend ::kj::String KJ_STRINGIFY(Node::Reader reader); -}; - -inline ::kj::String KJ_STRINGIFY(Node::Reader reader) { - return ::capnp::_::structString(reader._reader); -} - - - -class Node::Builder { -public: - typedef Node Builds; - - Builder() = default; - inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {} - inline operator Reader() const { return Reader(_builder.asReader()); } - inline Reader asReader() const { return *this; } - - inline size_t totalSizeInWords() { return asReader().totalSizeInWords(); } - - // union body@5 { # [128, 144) - inline Body::Builder getBody(); - - // id@0: UInt64; # bits[0, 64) - inline ::uint64_t getId(); - inline void setId( ::uint64_t value); - - // displayName@1: Text; # ptr[0] - inline bool hasDisplayName(); - inline ::capnp::Text::Builder getDisplayName(); - inline void setDisplayName( ::capnp::Text::Reader other); - inline ::capnp::Text::Builder initDisplayName(unsigned int size); - - // scopeId@2: UInt64 = 0; # bits[64, 128) - inline ::uint64_t getScopeId(); - inline void setScopeId( ::uint64_t value); - - // nestedNodes@3: List(.Node.NestedNode); # ptr[1] - inline bool hasNestedNodes(); - inline ::capnp::List< ::capnp::schema::Node::NestedNode>::Builder getNestedNodes(); - inline void setNestedNodes( ::capnp::List< ::capnp::schema::Node::NestedNode>::Reader other); - inline ::capnp::List< ::capnp::schema::Node::NestedNode>::Builder initNestedNodes(unsigned int size); - - // annotations@4: List(.Annotation); # ptr[2] - inline bool hasAnnotations(); - inline ::capnp::List< ::capnp::schema::Annotation>::Builder getAnnotations(); - inline void setAnnotations( ::capnp::List< ::capnp::schema::Annotation>::Reader other); - inline ::capnp::List< ::capnp::schema::Annotation>::Builder initAnnotations(unsigned int size); -private: - ::capnp::_::StructBuilder _builder; - template - friend struct ::capnp::ToDynamic_; - friend ::kj::String KJ_STRINGIFY(Node::Builder builder); -}; - -inline ::kj::String KJ_STRINGIFY(Node::Builder builder) { - return ::capnp::_::structString(builder._builder.asReader()); -} - -class Node::NestedNode::Reader { -public: - typedef NestedNode Reads; - - Reader() = default; - inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} - - inline size_t totalSizeInWords() const { - return _reader.totalSize() / ::capnp::WORDS; - } - - // name@0: Text; # ptr[0] - inline bool hasName() const; - inline ::capnp::Text::Reader getName() const; - - // id@1: UInt64; # bits[0, 64) - inline ::uint64_t getId() const; -private: - ::capnp::_::StructReader _reader; - template - friend struct ::capnp::ToDynamic_; - template - friend struct ::capnp::_::PointerHelpers; - friend class ::capnp::MessageBuilder; - friend ::kj::String KJ_STRINGIFY(Node::NestedNode::Reader reader); -}; - -inline ::kj::String KJ_STRINGIFY(Node::NestedNode::Reader reader) { - return ::capnp::_::structString(reader._reader); -} - - - -class Node::NestedNode::Builder { -public: - typedef NestedNode Builds; - - Builder() = default; - inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {} - inline operator Reader() const { return Reader(_builder.asReader()); } - inline Reader asReader() const { return *this; } - - inline size_t totalSizeInWords() { return asReader().totalSizeInWords(); } - - // name@0: Text; # ptr[0] - inline bool hasName(); - inline ::capnp::Text::Builder getName(); - inline void setName( ::capnp::Text::Reader other); - inline ::capnp::Text::Builder initName(unsigned int size); - - // id@1: UInt64; # bits[0, 64) - inline ::uint64_t getId(); - inline void setId( ::uint64_t value); -private: - ::capnp::_::StructBuilder _builder; - template - friend struct ::capnp::ToDynamic_; - friend ::kj::String KJ_STRINGIFY(Node::NestedNode::Builder builder); -}; - -inline ::kj::String KJ_STRINGIFY(Node::NestedNode::Builder builder) { - return ::capnp::_::structString(builder._builder.asReader()); -} - -class Node::Body::Reader { -public: - typedef Body Reads; - - Reader() = default; - inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} - - inline Which which() const; - - // fileNode@6: .FileNode; # ptr[3], union tag = 0 - inline bool hasFileNode() const; - inline ::capnp::schema::FileNode::Reader getFileNode() const; - - // structNode@7: .StructNode; # ptr[3], union tag = 1 - inline bool hasStructNode() const; - inline ::capnp::schema::StructNode::Reader getStructNode() const; - - // enumNode@8: .EnumNode; # ptr[3], union tag = 2 - inline bool hasEnumNode() const; - inline ::capnp::schema::EnumNode::Reader getEnumNode() const; - - // interfaceNode@9: .InterfaceNode; # ptr[3], union tag = 3 - inline bool hasInterfaceNode() const; - inline ::capnp::schema::InterfaceNode::Reader getInterfaceNode() const; - - // constNode@10: .ConstNode; # ptr[3], union tag = 4 - inline bool hasConstNode() const; - inline ::capnp::schema::ConstNode::Reader getConstNode() const; - - // annotationNode@11: .AnnotationNode; # ptr[3], union tag = 5 - inline bool hasAnnotationNode() const; - inline ::capnp::schema::AnnotationNode::Reader getAnnotationNode() const; -private: - ::capnp::_::StructReader _reader; - template - friend struct ::capnp::ToDynamic_; - template - friend struct ::capnp::_::PointerHelpers; - friend class ::capnp::MessageBuilder; - friend ::kj::String KJ_STRINGIFY(Node::Body::Reader reader); -}; - -inline ::kj::String KJ_STRINGIFY(Node::Body::Reader reader) { - return ::capnp::_::unionString(reader._reader); -} - - - -class Node::Body::Builder { -public: - typedef Body Builds; - - Builder() = default; - inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {} - inline operator Reader() const { return Reader(_builder.asReader()); } - inline Reader asReader() const { return *this; } - - inline Which which(); - - // fileNode@6: .FileNode; # ptr[3], union tag = 0 - inline bool hasFileNode(); - inline ::capnp::schema::FileNode::Builder getFileNode(); - inline void setFileNode( ::capnp::schema::FileNode::Reader other); - inline ::capnp::schema::FileNode::Builder initFileNode(); - - // structNode@7: .StructNode; # ptr[3], union tag = 1 - inline bool hasStructNode(); - inline ::capnp::schema::StructNode::Builder getStructNode(); - inline void setStructNode( ::capnp::schema::StructNode::Reader other); - inline ::capnp::schema::StructNode::Builder initStructNode(); - - // enumNode@8: .EnumNode; # ptr[3], union tag = 2 - inline bool hasEnumNode(); - inline ::capnp::schema::EnumNode::Builder getEnumNode(); - inline void setEnumNode( ::capnp::schema::EnumNode::Reader other); - inline ::capnp::schema::EnumNode::Builder initEnumNode(); - - // interfaceNode@9: .InterfaceNode; # ptr[3], union tag = 3 - inline bool hasInterfaceNode(); - inline ::capnp::schema::InterfaceNode::Builder getInterfaceNode(); - inline void setInterfaceNode( ::capnp::schema::InterfaceNode::Reader other); - inline ::capnp::schema::InterfaceNode::Builder initInterfaceNode(); - - // constNode@10: .ConstNode; # ptr[3], union tag = 4 - inline bool hasConstNode(); - inline ::capnp::schema::ConstNode::Builder getConstNode(); - inline void setConstNode( ::capnp::schema::ConstNode::Reader other); - inline ::capnp::schema::ConstNode::Builder initConstNode(); - - // annotationNode@11: .AnnotationNode; # ptr[3], union tag = 5 - inline bool hasAnnotationNode(); - inline ::capnp::schema::AnnotationNode::Builder getAnnotationNode(); - inline void setAnnotationNode( ::capnp::schema::AnnotationNode::Reader other); - inline ::capnp::schema::AnnotationNode::Builder initAnnotationNode(); -private: - ::capnp::_::StructBuilder _builder; - template - friend struct ::capnp::ToDynamic_; - friend ::kj::String KJ_STRINGIFY(Node::Body::Builder builder); -}; - -inline ::kj::String KJ_STRINGIFY(Node::Body::Builder builder) { - return ::capnp::_::unionString(builder._builder.asReader()); -} - -class StructNode::Reader { -public: - typedef StructNode Reads; - - Reader() = default; - inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} - - inline size_t totalSizeInWords() const { - return _reader.totalSize() / ::capnp::WORDS; - } - - // dataSectionWordSize@0: UInt16; # bits[0, 16) - inline ::uint16_t getDataSectionWordSize() const; - - // pointerSectionSize@1: UInt16; # bits[16, 32) - inline ::uint16_t getPointerSectionSize() const; - - // preferredListEncoding@2: .ElementSize; # bits[32, 48) - inline ::capnp::schema::ElementSize getPreferredListEncoding() const; - - // members@3: List(.StructNode.Member); # ptr[0] - inline bool hasMembers() const; - inline ::capnp::List< ::capnp::schema::StructNode::Member>::Reader getMembers() const; -private: - ::capnp::_::StructReader _reader; - template - friend struct ::capnp::ToDynamic_; - template - friend struct ::capnp::_::PointerHelpers; - friend class ::capnp::MessageBuilder; - friend ::kj::String KJ_STRINGIFY(StructNode::Reader reader); -}; - -inline ::kj::String KJ_STRINGIFY(StructNode::Reader reader) { - return ::capnp::_::structString(reader._reader); -} - - - -class StructNode::Builder { -public: - typedef StructNode Builds; - - Builder() = default; - inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {} - inline operator Reader() const { return Reader(_builder.asReader()); } - inline Reader asReader() const { return *this; } - - inline size_t totalSizeInWords() { return asReader().totalSizeInWords(); } - - // dataSectionWordSize@0: UInt16; # bits[0, 16) - inline ::uint16_t getDataSectionWordSize(); - inline void setDataSectionWordSize( ::uint16_t value); - - // pointerSectionSize@1: UInt16; # bits[16, 32) - inline ::uint16_t getPointerSectionSize(); - inline void setPointerSectionSize( ::uint16_t value); - - // preferredListEncoding@2: .ElementSize; # bits[32, 48) - inline ::capnp::schema::ElementSize getPreferredListEncoding(); - inline void setPreferredListEncoding( ::capnp::schema::ElementSize value); - - // members@3: List(.StructNode.Member); # ptr[0] - inline bool hasMembers(); - inline ::capnp::List< ::capnp::schema::StructNode::Member>::Builder getMembers(); - inline void setMembers( ::capnp::List< ::capnp::schema::StructNode::Member>::Reader other); - inline ::capnp::List< ::capnp::schema::StructNode::Member>::Builder initMembers(unsigned int size); -private: - ::capnp::_::StructBuilder _builder; - template - friend struct ::capnp::ToDynamic_; - friend ::kj::String KJ_STRINGIFY(StructNode::Builder builder); -}; - -inline ::kj::String KJ_STRINGIFY(StructNode::Builder builder) { - return ::capnp::_::structString(builder._builder.asReader()); -} - -class StructNode::Field::Reader { -public: - typedef Field Reads; - - Reader() = default; - inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} - - inline size_t totalSizeInWords() const { - return _reader.totalSize() / ::capnp::WORDS; - } - - // offset@0: UInt32; # bits[0, 32) - inline ::uint32_t getOffset() const; - - // type@1: .Type; # ptr[0] - inline bool hasType() const; - inline ::capnp::schema::Type::Reader getType() const; - - // defaultValue@2: .Value; # ptr[1] - inline bool hasDefaultValue() const; - inline ::capnp::schema::Value::Reader getDefaultValue() const; -private: - ::capnp::_::StructReader _reader; - template - friend struct ::capnp::ToDynamic_; - template - friend struct ::capnp::_::PointerHelpers; - friend class ::capnp::MessageBuilder; - friend ::kj::String KJ_STRINGIFY(StructNode::Field::Reader reader); -}; - -inline ::kj::String KJ_STRINGIFY(StructNode::Field::Reader reader) { - return ::capnp::_::structString(reader._reader); -} - - - -class StructNode::Field::Builder { -public: - typedef Field Builds; - - Builder() = default; - inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {} - inline operator Reader() const { return Reader(_builder.asReader()); } - inline Reader asReader() const { return *this; } - - inline size_t totalSizeInWords() { return asReader().totalSizeInWords(); } - - // offset@0: UInt32; # bits[0, 32) - inline ::uint32_t getOffset(); - inline void setOffset( ::uint32_t value); - - // type@1: .Type; # ptr[0] - inline bool hasType(); - inline ::capnp::schema::Type::Builder getType(); - inline void setType( ::capnp::schema::Type::Reader other); - inline ::capnp::schema::Type::Builder initType(); - - // defaultValue@2: .Value; # ptr[1] - inline bool hasDefaultValue(); - inline ::capnp::schema::Value::Builder getDefaultValue(); - inline void setDefaultValue( ::capnp::schema::Value::Reader other); - inline ::capnp::schema::Value::Builder initDefaultValue(); -private: - ::capnp::_::StructBuilder _builder; - template - friend struct ::capnp::ToDynamic_; - friend ::kj::String KJ_STRINGIFY(StructNode::Field::Builder builder); -}; - -inline ::kj::String KJ_STRINGIFY(StructNode::Field::Builder builder) { - return ::capnp::_::structString(builder._builder.asReader()); -} - -class StructNode::Member::Reader { -public: - typedef Member Reads; - - Reader() = default; - inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} - - inline size_t totalSizeInWords() const { - return _reader.totalSize() / ::capnp::WORDS; - } - - // union body@4 { # [32, 48) - inline Body::Reader getBody() const; - - // name@0: Text; # ptr[0] - inline bool hasName() const; - inline ::capnp::Text::Reader getName() const; - - // ordinal@1: UInt16; # bits[0, 16) - inline ::uint16_t getOrdinal() const; - - // codeOrder@2: UInt16; # bits[16, 32) - inline ::uint16_t getCodeOrder() const; - - // annotations@3: List(.Annotation); # ptr[1] - inline bool hasAnnotations() const; - inline ::capnp::List< ::capnp::schema::Annotation>::Reader getAnnotations() const; -private: - ::capnp::_::StructReader _reader; - template - friend struct ::capnp::ToDynamic_; - template - friend struct ::capnp::_::PointerHelpers; - friend class ::capnp::MessageBuilder; - friend ::kj::String KJ_STRINGIFY(StructNode::Member::Reader reader); -}; - -inline ::kj::String KJ_STRINGIFY(StructNode::Member::Reader reader) { - return ::capnp::_::structString(reader._reader); -} - - - -class StructNode::Member::Builder { -public: - typedef Member Builds; - - Builder() = default; - inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {} - inline operator Reader() const { return Reader(_builder.asReader()); } - inline Reader asReader() const { return *this; } - - inline size_t totalSizeInWords() { return asReader().totalSizeInWords(); } - - // union body@4 { # [32, 48) - inline Body::Builder getBody(); - - // name@0: Text; # ptr[0] - inline bool hasName(); - inline ::capnp::Text::Builder getName(); - inline void setName( ::capnp::Text::Reader other); - inline ::capnp::Text::Builder initName(unsigned int size); - - // ordinal@1: UInt16; # bits[0, 16) - inline ::uint16_t getOrdinal(); - inline void setOrdinal( ::uint16_t value); - - // codeOrder@2: UInt16; # bits[16, 32) - inline ::uint16_t getCodeOrder(); - inline void setCodeOrder( ::uint16_t value); - - // annotations@3: List(.Annotation); # ptr[1] - inline bool hasAnnotations(); - inline ::capnp::List< ::capnp::schema::Annotation>::Builder getAnnotations(); - inline void setAnnotations( ::capnp::List< ::capnp::schema::Annotation>::Reader other); - inline ::capnp::List< ::capnp::schema::Annotation>::Builder initAnnotations(unsigned int size); -private: - ::capnp::_::StructBuilder _builder; - template - friend struct ::capnp::ToDynamic_; - friend ::kj::String KJ_STRINGIFY(StructNode::Member::Builder builder); -}; - -inline ::kj::String KJ_STRINGIFY(StructNode::Member::Builder builder) { - return ::capnp::_::structString(builder._builder.asReader()); -} - -class StructNode::Member::Body::Reader { -public: - typedef Body Reads; - - Reader() = default; - inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} - - inline Which which() const; - - // fieldMember@5: .StructNode.Field; # ptr[2], union tag = 0 - inline bool hasFieldMember() const; - inline ::capnp::schema::StructNode::Field::Reader getFieldMember() const; - - // unionMember@6: .StructNode.Union; # ptr[2], union tag = 1 - inline bool hasUnionMember() const; - inline ::capnp::schema::StructNode::Union::Reader getUnionMember() const; -private: - ::capnp::_::StructReader _reader; - template - friend struct ::capnp::ToDynamic_; - template - friend struct ::capnp::_::PointerHelpers; - friend class ::capnp::MessageBuilder; - friend ::kj::String KJ_STRINGIFY(StructNode::Member::Body::Reader reader); -}; - -inline ::kj::String KJ_STRINGIFY(StructNode::Member::Body::Reader reader) { - return ::capnp::_::unionString(reader._reader); -} - - - -class StructNode::Member::Body::Builder { -public: - typedef Body Builds; - - Builder() = default; - inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {} - inline operator Reader() const { return Reader(_builder.asReader()); } - inline Reader asReader() const { return *this; } - - inline Which which(); - - // fieldMember@5: .StructNode.Field; # ptr[2], union tag = 0 - inline bool hasFieldMember(); - inline ::capnp::schema::StructNode::Field::Builder getFieldMember(); - inline void setFieldMember( ::capnp::schema::StructNode::Field::Reader other); - inline ::capnp::schema::StructNode::Field::Builder initFieldMember(); - - // unionMember@6: .StructNode.Union; # ptr[2], union tag = 1 - inline bool hasUnionMember(); - inline ::capnp::schema::StructNode::Union::Builder getUnionMember(); - inline void setUnionMember( ::capnp::schema::StructNode::Union::Reader other); - inline ::capnp::schema::StructNode::Union::Builder initUnionMember(); -private: - ::capnp::_::StructBuilder _builder; - template - friend struct ::capnp::ToDynamic_; - friend ::kj::String KJ_STRINGIFY(StructNode::Member::Body::Builder builder); -}; - -inline ::kj::String KJ_STRINGIFY(StructNode::Member::Body::Builder builder) { - return ::capnp::_::unionString(builder._builder.asReader()); -} - -class StructNode::Union::Reader { -public: - typedef Union Reads; - - Reader() = default; - inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} - - inline size_t totalSizeInWords() const { - return _reader.totalSize() / ::capnp::WORDS; - } - - // discriminantOffset@0: UInt32; # bits[0, 32) - inline ::uint32_t getDiscriminantOffset() const; - - // members@1: List(.StructNode.Member); # ptr[0] - inline bool hasMembers() const; - inline ::capnp::List< ::capnp::schema::StructNode::Member>::Reader getMembers() const; -private: - ::capnp::_::StructReader _reader; - template - friend struct ::capnp::ToDynamic_; - template - friend struct ::capnp::_::PointerHelpers; - friend class ::capnp::MessageBuilder; - friend ::kj::String KJ_STRINGIFY(StructNode::Union::Reader reader); -}; - -inline ::kj::String KJ_STRINGIFY(StructNode::Union::Reader reader) { - return ::capnp::_::structString(reader._reader); -} - - - -class StructNode::Union::Builder { -public: - typedef Union Builds; - - Builder() = default; - inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {} - inline operator Reader() const { return Reader(_builder.asReader()); } - inline Reader asReader() const { return *this; } - - inline size_t totalSizeInWords() { return asReader().totalSizeInWords(); } - - // discriminantOffset@0: UInt32; # bits[0, 32) - inline ::uint32_t getDiscriminantOffset(); - inline void setDiscriminantOffset( ::uint32_t value); - - // members@1: List(.StructNode.Member); # ptr[0] - inline bool hasMembers(); - inline ::capnp::List< ::capnp::schema::StructNode::Member>::Builder getMembers(); - inline void setMembers( ::capnp::List< ::capnp::schema::StructNode::Member>::Reader other); - inline ::capnp::List< ::capnp::schema::StructNode::Member>::Builder initMembers(unsigned int size); -private: - ::capnp::_::StructBuilder _builder; - template - friend struct ::capnp::ToDynamic_; - friend ::kj::String KJ_STRINGIFY(StructNode::Union::Builder builder); -}; - -inline ::kj::String KJ_STRINGIFY(StructNode::Union::Builder builder) { - return ::capnp::_::structString(builder._builder.asReader()); -} - -class Type::Reader { -public: - typedef Type Reads; - - Reader() = default; - inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} - - inline size_t totalSizeInWords() const { - return _reader.totalSize() / ::capnp::WORDS; - } - - // union body@0 { # [0, 16) - inline Body::Reader getBody() const; -private: - ::capnp::_::StructReader _reader; - template - friend struct ::capnp::ToDynamic_; - template - friend struct ::capnp::_::PointerHelpers; - friend class ::capnp::MessageBuilder; - friend ::kj::String KJ_STRINGIFY(Type::Reader reader); -}; - -inline ::kj::String KJ_STRINGIFY(Type::Reader reader) { - return ::capnp::_::structString(reader._reader); -} - - - -class Type::Builder { -public: - typedef Type Builds; - - Builder() = default; - inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {} - inline operator Reader() const { return Reader(_builder.asReader()); } - inline Reader asReader() const { return *this; } - - inline size_t totalSizeInWords() { return asReader().totalSizeInWords(); } - - // union body@0 { # [0, 16) - inline Body::Builder getBody(); -private: - ::capnp::_::StructBuilder _builder; - template - friend struct ::capnp::ToDynamic_; - friend ::kj::String KJ_STRINGIFY(Type::Builder builder); -}; - -inline ::kj::String KJ_STRINGIFY(Type::Builder builder) { - return ::capnp::_::structString(builder._builder.asReader()); -} - -class Type::Body::Reader { -public: - typedef Body Reads; - - Reader() = default; - inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} - - inline Which which() const; - - // voidType@1: Void; # (none), union tag = 0 - inline ::capnp::Void getVoidType() const; - - // boolType@2: Void; # (none), union tag = 1 - inline ::capnp::Void getBoolType() const; - - // int8Type@3: Void; # (none), union tag = 2 - inline ::capnp::Void getInt8Type() const; - - // int16Type@4: Void; # (none), union tag = 3 - inline ::capnp::Void getInt16Type() const; - - // int32Type@5: Void; # (none), union tag = 4 - inline ::capnp::Void getInt32Type() const; - - // int64Type@6: Void; # (none), union tag = 5 - inline ::capnp::Void getInt64Type() const; - - // uint8Type@7: Void; # (none), union tag = 6 - inline ::capnp::Void getUint8Type() const; - - // uint16Type@8: Void; # (none), union tag = 7 - inline ::capnp::Void getUint16Type() const; - - // uint32Type@9: Void; # (none), union tag = 8 - inline ::capnp::Void getUint32Type() const; - - // uint64Type@10: Void; # (none), union tag = 9 - inline ::capnp::Void getUint64Type() const; - - // float32Type@11: Void; # (none), union tag = 10 - inline ::capnp::Void getFloat32Type() const; - - // float64Type@12: Void; # (none), union tag = 11 - inline ::capnp::Void getFloat64Type() const; - - // textType@13: Void; # (none), union tag = 12 - inline ::capnp::Void getTextType() const; - - // dataType@14: Void; # (none), union tag = 13 - inline ::capnp::Void getDataType() const; - - // listType@15: .Type; # ptr[0], union tag = 14 - inline bool hasListType() const; - inline ::capnp::schema::Type::Reader getListType() const; - - // enumType@16: UInt64; # bits[64, 128), union tag = 15 - inline ::uint64_t getEnumType() const; - - // structType@17: UInt64; # bits[64, 128), union tag = 16 - inline ::uint64_t getStructType() const; - - // interfaceType@18: UInt64; # bits[64, 128), union tag = 17 - inline ::uint64_t getInterfaceType() const; - - // objectType@19: Void; # (none), union tag = 18 - inline ::capnp::Void getObjectType() const; -private: - ::capnp::_::StructReader _reader; - template - friend struct ::capnp::ToDynamic_; - template - friend struct ::capnp::_::PointerHelpers; - friend class ::capnp::MessageBuilder; - friend ::kj::String KJ_STRINGIFY(Type::Body::Reader reader); -}; - -inline ::kj::String KJ_STRINGIFY(Type::Body::Reader reader) { - return ::capnp::_::unionString(reader._reader); -} - - - -class Type::Body::Builder { -public: - typedef Body Builds; - - Builder() = default; - inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {} - inline operator Reader() const { return Reader(_builder.asReader()); } - inline Reader asReader() const { return *this; } - - inline Which which(); - - // voidType@1: Void; # (none), union tag = 0 - inline ::capnp::Void getVoidType(); - inline void setVoidType( ::capnp::Void value); - - // boolType@2: Void; # (none), union tag = 1 - inline ::capnp::Void getBoolType(); - inline void setBoolType( ::capnp::Void value); - - // int8Type@3: Void; # (none), union tag = 2 - inline ::capnp::Void getInt8Type(); - inline void setInt8Type( ::capnp::Void value); - - // int16Type@4: Void; # (none), union tag = 3 - inline ::capnp::Void getInt16Type(); - inline void setInt16Type( ::capnp::Void value); - - // int32Type@5: Void; # (none), union tag = 4 - inline ::capnp::Void getInt32Type(); - inline void setInt32Type( ::capnp::Void value); - - // int64Type@6: Void; # (none), union tag = 5 - inline ::capnp::Void getInt64Type(); - inline void setInt64Type( ::capnp::Void value); - - // uint8Type@7: Void; # (none), union tag = 6 - inline ::capnp::Void getUint8Type(); - inline void setUint8Type( ::capnp::Void value); - - // uint16Type@8: Void; # (none), union tag = 7 - inline ::capnp::Void getUint16Type(); - inline void setUint16Type( ::capnp::Void value); - - // uint32Type@9: Void; # (none), union tag = 8 - inline ::capnp::Void getUint32Type(); - inline void setUint32Type( ::capnp::Void value); - - // uint64Type@10: Void; # (none), union tag = 9 - inline ::capnp::Void getUint64Type(); - inline void setUint64Type( ::capnp::Void value); - - // float32Type@11: Void; # (none), union tag = 10 - inline ::capnp::Void getFloat32Type(); - inline void setFloat32Type( ::capnp::Void value); - - // float64Type@12: Void; # (none), union tag = 11 - inline ::capnp::Void getFloat64Type(); - inline void setFloat64Type( ::capnp::Void value); - - // textType@13: Void; # (none), union tag = 12 - inline ::capnp::Void getTextType(); - inline void setTextType( ::capnp::Void value); - - // dataType@14: Void; # (none), union tag = 13 - inline ::capnp::Void getDataType(); - inline void setDataType( ::capnp::Void value); - - // listType@15: .Type; # ptr[0], union tag = 14 - inline bool hasListType(); - inline ::capnp::schema::Type::Builder getListType(); - inline void setListType( ::capnp::schema::Type::Reader other); - inline ::capnp::schema::Type::Builder initListType(); - - // enumType@16: UInt64; # bits[64, 128), union tag = 15 - inline ::uint64_t getEnumType(); - inline void setEnumType( ::uint64_t value); - - // structType@17: UInt64; # bits[64, 128), union tag = 16 - inline ::uint64_t getStructType(); - inline void setStructType( ::uint64_t value); - - // interfaceType@18: UInt64; # bits[64, 128), union tag = 17 - inline ::uint64_t getInterfaceType(); - inline void setInterfaceType( ::uint64_t value); - - // objectType@19: Void; # (none), union tag = 18 - inline ::capnp::Void getObjectType(); - inline void setObjectType( ::capnp::Void value); -private: - ::capnp::_::StructBuilder _builder; - template - friend struct ::capnp::ToDynamic_; - friend ::kj::String KJ_STRINGIFY(Type::Body::Builder builder); -}; - -inline ::kj::String KJ_STRINGIFY(Type::Body::Builder builder) { - return ::capnp::_::unionString(builder._builder.asReader()); -} - -class Value::Reader { -public: - typedef Value Reads; - - Reader() = default; - inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} - - inline size_t totalSizeInWords() const { - return _reader.totalSize() / ::capnp::WORDS; - } - - // union body@0 { # [0, 16) - inline Body::Reader getBody() const; -private: - ::capnp::_::StructReader _reader; - template - friend struct ::capnp::ToDynamic_; - template - friend struct ::capnp::_::PointerHelpers; - friend class ::capnp::MessageBuilder; - friend ::kj::String KJ_STRINGIFY(Value::Reader reader); -}; - -inline ::kj::String KJ_STRINGIFY(Value::Reader reader) { - return ::capnp::_::structString(reader._reader); -} - - - -class Value::Builder { -public: - typedef Value Builds; - - Builder() = default; - inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {} - inline operator Reader() const { return Reader(_builder.asReader()); } - inline Reader asReader() const { return *this; } - - inline size_t totalSizeInWords() { return asReader().totalSizeInWords(); } - - // union body@0 { # [0, 16) - inline Body::Builder getBody(); -private: - ::capnp::_::StructBuilder _builder; - template - friend struct ::capnp::ToDynamic_; - friend ::kj::String KJ_STRINGIFY(Value::Builder builder); -}; - -inline ::kj::String KJ_STRINGIFY(Value::Builder builder) { - return ::capnp::_::structString(builder._builder.asReader()); -} - -class Value::Body::Reader { -public: - typedef Body Reads; - - Reader() = default; - inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} - - inline Which which() const; - - // voidValue@10: Void; # (none), union tag = 9 - inline ::capnp::Void getVoidValue() const; - - // boolValue@2: Bool; # bits[64, 65), union tag = 1 - inline bool getBoolValue() const; - - // int8Value@3: Int8; # bits[64, 72), union tag = 2 - inline ::int8_t getInt8Value() const; - - // int16Value@4: Int16; # bits[64, 80), union tag = 3 - inline ::int16_t getInt16Value() const; - - // int32Value@5: Int32; # bits[64, 96), union tag = 4 - inline ::int32_t getInt32Value() const; - - // int64Value@6: Int64; # bits[64, 128), union tag = 5 - inline ::int64_t getInt64Value() const; - - // uint8Value@7: UInt8; # bits[64, 72), union tag = 6 - inline ::uint8_t getUint8Value() const; - - // uint16Value@8: UInt16; # bits[64, 80), union tag = 7 - inline ::uint16_t getUint16Value() const; - - // uint32Value@9: UInt32; # bits[64, 96), union tag = 8 - inline ::uint32_t getUint32Value() const; - - // uint64Value@1: UInt64; # bits[64, 128), union tag = 0 - inline ::uint64_t getUint64Value() const; - - // float32Value@11: Float32; # bits[64, 96), union tag = 10 - inline float getFloat32Value() const; - - // float64Value@12: Float64; # bits[64, 128), union tag = 11 - inline double getFloat64Value() const; - - // textValue@13: Text; # ptr[0], union tag = 12 - inline bool hasTextValue() const; - inline ::capnp::Text::Reader getTextValue() const; - - // dataValue@14: Data; # ptr[0], union tag = 13 - inline bool hasDataValue() const; - inline ::capnp::Data::Reader getDataValue() const; - - // listValue@15: Object; # ptr[0], union tag = 14 - inline bool hasListValue() const; - template inline typename T::Reader getListValue() const; - template inline typename T::Reader - getListValue(Param&& param) const; - - // enumValue@16: UInt16; # bits[64, 80), union tag = 15 - inline ::uint16_t getEnumValue() const; - - // structValue@17: Object; # ptr[0], union tag = 16 - inline bool hasStructValue() const; - template inline typename T::Reader getStructValue() const; - template inline typename T::Reader - getStructValue(Param&& param) const; - - // interfaceValue@18: Void; # (none), union tag = 17 - inline ::capnp::Void getInterfaceValue() const; - - // objectValue@19: Object; # ptr[0], union tag = 18 - inline bool hasObjectValue() const; - template inline typename T::Reader getObjectValue() const; - template inline typename T::Reader - getObjectValue(Param&& param) const; -private: - ::capnp::_::StructReader _reader; - template - friend struct ::capnp::ToDynamic_; - template - friend struct ::capnp::_::PointerHelpers; - friend class ::capnp::MessageBuilder; - friend ::kj::String KJ_STRINGIFY(Value::Body::Reader reader); -}; - -inline ::kj::String KJ_STRINGIFY(Value::Body::Reader reader) { - return ::capnp::_::unionString(reader._reader); -} - - - -class Value::Body::Builder { -public: - typedef Body Builds; - - Builder() = default; - inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {} - inline operator Reader() const { return Reader(_builder.asReader()); } - inline Reader asReader() const { return *this; } - - inline Which which(); - - // voidValue@10: Void; # (none), union tag = 9 - inline ::capnp::Void getVoidValue(); - inline void setVoidValue( ::capnp::Void value); - - // boolValue@2: Bool; # bits[64, 65), union tag = 1 - inline bool getBoolValue(); - inline void setBoolValue(bool value); - - // int8Value@3: Int8; # bits[64, 72), union tag = 2 - inline ::int8_t getInt8Value(); - inline void setInt8Value( ::int8_t value); - - // int16Value@4: Int16; # bits[64, 80), union tag = 3 - inline ::int16_t getInt16Value(); - inline void setInt16Value( ::int16_t value); - - // int32Value@5: Int32; # bits[64, 96), union tag = 4 - inline ::int32_t getInt32Value(); - inline void setInt32Value( ::int32_t value); - - // int64Value@6: Int64; # bits[64, 128), union tag = 5 - inline ::int64_t getInt64Value(); - inline void setInt64Value( ::int64_t value); - - // uint8Value@7: UInt8; # bits[64, 72), union tag = 6 - inline ::uint8_t getUint8Value(); - inline void setUint8Value( ::uint8_t value); - - // uint16Value@8: UInt16; # bits[64, 80), union tag = 7 - inline ::uint16_t getUint16Value(); - inline void setUint16Value( ::uint16_t value); - - // uint32Value@9: UInt32; # bits[64, 96), union tag = 8 - inline ::uint32_t getUint32Value(); - inline void setUint32Value( ::uint32_t value); - - // uint64Value@1: UInt64; # bits[64, 128), union tag = 0 - inline ::uint64_t getUint64Value(); - inline void setUint64Value( ::uint64_t value); - - // float32Value@11: Float32; # bits[64, 96), union tag = 10 - inline float getFloat32Value(); - inline void setFloat32Value(float value); - - // float64Value@12: Float64; # bits[64, 128), union tag = 11 - inline double getFloat64Value(); - inline void setFloat64Value(double value); - - // textValue@13: Text; # ptr[0], union tag = 12 - inline bool hasTextValue(); - inline ::capnp::Text::Builder getTextValue(); - inline void setTextValue( ::capnp::Text::Reader other); - inline ::capnp::Text::Builder initTextValue(unsigned int size); - - // dataValue@14: Data; # ptr[0], union tag = 13 - inline bool hasDataValue(); - inline ::capnp::Data::Builder getDataValue(); - inline void setDataValue( ::capnp::Data::Reader other); - inline ::capnp::Data::Builder initDataValue(unsigned int size); - - // listValue@15: Object; # ptr[0], union tag = 14 - inline bool hasListValue(); - template inline typename T::Builder getListValue(); - template inline typename T::Builder - getListValue(Param&& param); - template inline void setListValue(typename T::Reader value); - template inline void - setListValue(std::initializer_list value); - template inline typename T::Builder - initListValue(Params&&... params); - - // enumValue@16: UInt16; # bits[64, 80), union tag = 15 - inline ::uint16_t getEnumValue(); - inline void setEnumValue( ::uint16_t value); - - // structValue@17: Object; # ptr[0], union tag = 16 - inline bool hasStructValue(); - template inline typename T::Builder getStructValue(); - template inline typename T::Builder - getStructValue(Param&& param); - template inline void setStructValue(typename T::Reader value); - template inline void - setStructValue(std::initializer_list value); - template inline typename T::Builder - initStructValue(Params&&... params); - - // interfaceValue@18: Void; # (none), union tag = 17 - inline ::capnp::Void getInterfaceValue(); - inline void setInterfaceValue( ::capnp::Void value); - - // objectValue@19: Object; # ptr[0], union tag = 18 - inline bool hasObjectValue(); - template inline typename T::Builder getObjectValue(); - template inline typename T::Builder - getObjectValue(Param&& param); - template inline void setObjectValue(typename T::Reader value); - template inline void - setObjectValue(std::initializer_list value); - template inline typename T::Builder - initObjectValue(Params&&... params); -private: - ::capnp::_::StructBuilder _builder; - template - friend struct ::capnp::ToDynamic_; - friend ::kj::String KJ_STRINGIFY(Value::Body::Builder builder); -}; - -inline ::kj::String KJ_STRINGIFY(Value::Body::Builder builder) { - return ::capnp::_::unionString(builder._builder.asReader()); -} - - - -// Annotation::id@0: UInt64; # bits[0, 64) - -inline ::uint64_t Annotation::Reader::getId() const { - return _reader.getDataField< ::uint64_t>( - 0 * ::capnp::ELEMENTS); -} - -inline ::uint64_t Annotation::Builder::getId() { - return _builder.getDataField< ::uint64_t>( - 0 * ::capnp::ELEMENTS); -} -inline void Annotation::Builder::setId( ::uint64_t value) { - _builder.setDataField< ::uint64_t>( - 0 * ::capnp::ELEMENTS, value); -} - - -// Annotation::value@1: .Value; # ptr[0] - - -inline bool Annotation::Reader::hasValue() const { - return !_reader.isPointerFieldNull(0 * ::capnp::POINTERS); -} - -inline bool Annotation::Builder::hasValue() { - return !_builder.isPointerFieldNull(0 * ::capnp::POINTERS); -} - -inline ::capnp::schema::Value::Reader Annotation::Reader::getValue() const { - return ::capnp::_::PointerHelpers< ::capnp::schema::Value>::get( - _reader, 0 * ::capnp::POINTERS); -} - -inline ::capnp::schema::Value::Builder Annotation::Builder::getValue() { - return ::capnp::_::PointerHelpers< ::capnp::schema::Value>::get( - _builder, 0 * ::capnp::POINTERS); -} - -inline void Annotation::Builder::setValue( ::capnp::schema::Value::Reader value) { - ::capnp::_::PointerHelpers< ::capnp::schema::Value>::set( - _builder, 0 * ::capnp::POINTERS, value); -} - -inline ::capnp::schema::Value::Builder Annotation::Builder::initValue() { - return ::capnp::_::PointerHelpers< ::capnp::schema::Value>::init( - _builder, 0 * ::capnp::POINTERS); -} - - - - -// AnnotationNode::type@0: .Type; # ptr[0] - - -inline bool AnnotationNode::Reader::hasType() const { - return !_reader.isPointerFieldNull(0 * ::capnp::POINTERS); -} - -inline bool AnnotationNode::Builder::hasType() { - return !_builder.isPointerFieldNull(0 * ::capnp::POINTERS); -} - -inline ::capnp::schema::Type::Reader AnnotationNode::Reader::getType() const { - return ::capnp::_::PointerHelpers< ::capnp::schema::Type>::get( - _reader, 0 * ::capnp::POINTERS); -} - -inline ::capnp::schema::Type::Builder AnnotationNode::Builder::getType() { - return ::capnp::_::PointerHelpers< ::capnp::schema::Type>::get( - _builder, 0 * ::capnp::POINTERS); -} - -inline void AnnotationNode::Builder::setType( ::capnp::schema::Type::Reader value) { - ::capnp::_::PointerHelpers< ::capnp::schema::Type>::set( - _builder, 0 * ::capnp::POINTERS, value); -} - -inline ::capnp::schema::Type::Builder AnnotationNode::Builder::initType() { - return ::capnp::_::PointerHelpers< ::capnp::schema::Type>::init( - _builder, 0 * ::capnp::POINTERS); -} - - - -// AnnotationNode::targetsFile@1: Bool; # bits[0, 1) - -inline bool AnnotationNode::Reader::getTargetsFile() const { - return _reader.getDataField( - 0 * ::capnp::ELEMENTS); -} - -inline bool AnnotationNode::Builder::getTargetsFile() { - return _builder.getDataField( - 0 * ::capnp::ELEMENTS); -} -inline void AnnotationNode::Builder::setTargetsFile(bool value) { - _builder.setDataField( - 0 * ::capnp::ELEMENTS, value); -} - - -// AnnotationNode::targetsConst@2: Bool; # bits[1, 2) - -inline bool AnnotationNode::Reader::getTargetsConst() const { - return _reader.getDataField( - 1 * ::capnp::ELEMENTS); -} - -inline bool AnnotationNode::Builder::getTargetsConst() { - return _builder.getDataField( - 1 * ::capnp::ELEMENTS); -} -inline void AnnotationNode::Builder::setTargetsConst(bool value) { - _builder.setDataField( - 1 * ::capnp::ELEMENTS, value); -} - - -// AnnotationNode::targetsEnum@3: Bool; # bits[2, 3) - -inline bool AnnotationNode::Reader::getTargetsEnum() const { - return _reader.getDataField( - 2 * ::capnp::ELEMENTS); -} - -inline bool AnnotationNode::Builder::getTargetsEnum() { - return _builder.getDataField( - 2 * ::capnp::ELEMENTS); -} -inline void AnnotationNode::Builder::setTargetsEnum(bool value) { - _builder.setDataField( - 2 * ::capnp::ELEMENTS, value); -} - - -// AnnotationNode::targetsEnumerant@4: Bool; # bits[3, 4) - -inline bool AnnotationNode::Reader::getTargetsEnumerant() const { - return _reader.getDataField( - 3 * ::capnp::ELEMENTS); -} - -inline bool AnnotationNode::Builder::getTargetsEnumerant() { - return _builder.getDataField( - 3 * ::capnp::ELEMENTS); -} -inline void AnnotationNode::Builder::setTargetsEnumerant(bool value) { - _builder.setDataField( - 3 * ::capnp::ELEMENTS, value); -} - - -// AnnotationNode::targetsStruct@5: Bool; # bits[4, 5) - -inline bool AnnotationNode::Reader::getTargetsStruct() const { - return _reader.getDataField( - 4 * ::capnp::ELEMENTS); -} - -inline bool AnnotationNode::Builder::getTargetsStruct() { - return _builder.getDataField( - 4 * ::capnp::ELEMENTS); -} -inline void AnnotationNode::Builder::setTargetsStruct(bool value) { - _builder.setDataField( - 4 * ::capnp::ELEMENTS, value); -} - - -// AnnotationNode::targetsField@6: Bool; # bits[5, 6) - -inline bool AnnotationNode::Reader::getTargetsField() const { - return _reader.getDataField( - 5 * ::capnp::ELEMENTS); -} - -inline bool AnnotationNode::Builder::getTargetsField() { - return _builder.getDataField( - 5 * ::capnp::ELEMENTS); -} -inline void AnnotationNode::Builder::setTargetsField(bool value) { - _builder.setDataField( - 5 * ::capnp::ELEMENTS, value); -} - - -// AnnotationNode::targetsUnion@7: Bool; # bits[6, 7) - -inline bool AnnotationNode::Reader::getTargetsUnion() const { - return _reader.getDataField( - 6 * ::capnp::ELEMENTS); -} - -inline bool AnnotationNode::Builder::getTargetsUnion() { - return _builder.getDataField( - 6 * ::capnp::ELEMENTS); -} -inline void AnnotationNode::Builder::setTargetsUnion(bool value) { - _builder.setDataField( - 6 * ::capnp::ELEMENTS, value); -} - - -// AnnotationNode::targetsInterface@8: Bool; # bits[7, 8) - -inline bool AnnotationNode::Reader::getTargetsInterface() const { - return _reader.getDataField( - 7 * ::capnp::ELEMENTS); -} - -inline bool AnnotationNode::Builder::getTargetsInterface() { - return _builder.getDataField( - 7 * ::capnp::ELEMENTS); -} -inline void AnnotationNode::Builder::setTargetsInterface(bool value) { - _builder.setDataField( - 7 * ::capnp::ELEMENTS, value); -} - - -// AnnotationNode::targetsMethod@9: Bool; # bits[8, 9) - -inline bool AnnotationNode::Reader::getTargetsMethod() const { - return _reader.getDataField( - 8 * ::capnp::ELEMENTS); -} - -inline bool AnnotationNode::Builder::getTargetsMethod() { - return _builder.getDataField( - 8 * ::capnp::ELEMENTS); -} -inline void AnnotationNode::Builder::setTargetsMethod(bool value) { - _builder.setDataField( - 8 * ::capnp::ELEMENTS, value); -} - - -// AnnotationNode::targetsParam@10: Bool; # bits[9, 10) - -inline bool AnnotationNode::Reader::getTargetsParam() const { - return _reader.getDataField( - 9 * ::capnp::ELEMENTS); -} - -inline bool AnnotationNode::Builder::getTargetsParam() { - return _builder.getDataField( - 9 * ::capnp::ELEMENTS); -} -inline void AnnotationNode::Builder::setTargetsParam(bool value) { - _builder.setDataField( - 9 * ::capnp::ELEMENTS, value); -} - - -// AnnotationNode::targetsAnnotation@11: Bool; # bits[10, 11) - -inline bool AnnotationNode::Reader::getTargetsAnnotation() const { - return _reader.getDataField( - 10 * ::capnp::ELEMENTS); -} - -inline bool AnnotationNode::Builder::getTargetsAnnotation() { - return _builder.getDataField( - 10 * ::capnp::ELEMENTS); -} -inline void AnnotationNode::Builder::setTargetsAnnotation(bool value) { - _builder.setDataField( - 10 * ::capnp::ELEMENTS, value); -} - - - -// CodeGeneratorRequest::nodes@0: List(.Node); # ptr[0] - - -inline bool CodeGeneratorRequest::Reader::hasNodes() const { - return !_reader.isPointerFieldNull(0 * ::capnp::POINTERS); -} - -inline bool CodeGeneratorRequest::Builder::hasNodes() { - return !_builder.isPointerFieldNull(0 * ::capnp::POINTERS); -} - -inline ::capnp::List< ::capnp::schema::Node>::Reader CodeGeneratorRequest::Reader::getNodes() const { - return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Node>>::get( - _reader, 0 * ::capnp::POINTERS); -} - -inline ::capnp::List< ::capnp::schema::Node>::Builder CodeGeneratorRequest::Builder::getNodes() { - return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Node>>::get( - _builder, 0 * ::capnp::POINTERS); -} - -inline void CodeGeneratorRequest::Builder::setNodes( ::capnp::List< ::capnp::schema::Node>::Reader value) { - ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Node>>::set( - _builder, 0 * ::capnp::POINTERS, value); -} - -inline ::capnp::List< ::capnp::schema::Node>::Builder CodeGeneratorRequest::Builder::initNodes(unsigned int size) { - return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Node>>::init( - _builder, 0 * ::capnp::POINTERS, size); -} - - - -// CodeGeneratorRequest::requestedFiles@1: List(UInt64); # ptr[1] - - -inline bool CodeGeneratorRequest::Reader::hasRequestedFiles() const { - return !_reader.isPointerFieldNull(1 * ::capnp::POINTERS); -} - -inline bool CodeGeneratorRequest::Builder::hasRequestedFiles() { - return !_builder.isPointerFieldNull(1 * ::capnp::POINTERS); -} - -inline ::capnp::List< ::uint64_t>::Reader CodeGeneratorRequest::Reader::getRequestedFiles() const { - return ::capnp::_::PointerHelpers< ::capnp::List< ::uint64_t>>::get( - _reader, 1 * ::capnp::POINTERS); -} - -inline ::capnp::List< ::uint64_t>::Builder CodeGeneratorRequest::Builder::getRequestedFiles() { - return ::capnp::_::PointerHelpers< ::capnp::List< ::uint64_t>>::get( - _builder, 1 * ::capnp::POINTERS); -} - -inline void CodeGeneratorRequest::Builder::setRequestedFiles( ::capnp::List< ::uint64_t>::Reader value) { - ::capnp::_::PointerHelpers< ::capnp::List< ::uint64_t>>::set( - _builder, 1 * ::capnp::POINTERS, value); -} - -inline void CodeGeneratorRequest::Builder::setRequestedFiles( - std::initializer_list< ::uint64_t> value) { - ::capnp::_::PointerHelpers< ::capnp::List< ::uint64_t>>::set( - _builder, 1 * ::capnp::POINTERS, value); -} - -inline ::capnp::List< ::uint64_t>::Builder CodeGeneratorRequest::Builder::initRequestedFiles(unsigned int size) { - return ::capnp::_::PointerHelpers< ::capnp::List< ::uint64_t>>::init( - _builder, 1 * ::capnp::POINTERS, size); -} - - - - -// ConstNode::type@0: .Type; # ptr[0] - - -inline bool ConstNode::Reader::hasType() const { - return !_reader.isPointerFieldNull(0 * ::capnp::POINTERS); -} - -inline bool ConstNode::Builder::hasType() { - return !_builder.isPointerFieldNull(0 * ::capnp::POINTERS); -} - -inline ::capnp::schema::Type::Reader ConstNode::Reader::getType() const { - return ::capnp::_::PointerHelpers< ::capnp::schema::Type>::get( - _reader, 0 * ::capnp::POINTERS); -} - -inline ::capnp::schema::Type::Builder ConstNode::Builder::getType() { - return ::capnp::_::PointerHelpers< ::capnp::schema::Type>::get( - _builder, 0 * ::capnp::POINTERS); -} - -inline void ConstNode::Builder::setType( ::capnp::schema::Type::Reader value) { - ::capnp::_::PointerHelpers< ::capnp::schema::Type>::set( - _builder, 0 * ::capnp::POINTERS, value); -} - -inline ::capnp::schema::Type::Builder ConstNode::Builder::initType() { - return ::capnp::_::PointerHelpers< ::capnp::schema::Type>::init( - _builder, 0 * ::capnp::POINTERS); -} - - - -// ConstNode::value@1: .Value; # ptr[1] - - -inline bool ConstNode::Reader::hasValue() const { - return !_reader.isPointerFieldNull(1 * ::capnp::POINTERS); -} - -inline bool ConstNode::Builder::hasValue() { - return !_builder.isPointerFieldNull(1 * ::capnp::POINTERS); -} - -inline ::capnp::schema::Value::Reader ConstNode::Reader::getValue() const { - return ::capnp::_::PointerHelpers< ::capnp::schema::Value>::get( - _reader, 1 * ::capnp::POINTERS); -} - -inline ::capnp::schema::Value::Builder ConstNode::Builder::getValue() { - return ::capnp::_::PointerHelpers< ::capnp::schema::Value>::get( - _builder, 1 * ::capnp::POINTERS); -} - -inline void ConstNode::Builder::setValue( ::capnp::schema::Value::Reader value) { - ::capnp::_::PointerHelpers< ::capnp::schema::Value>::set( - _builder, 1 * ::capnp::POINTERS, value); -} - -inline ::capnp::schema::Value::Builder ConstNode::Builder::initValue() { - return ::capnp::_::PointerHelpers< ::capnp::schema::Value>::init( - _builder, 1 * ::capnp::POINTERS); -} - - - - -// EnumNode::enumerants@0: List(.EnumNode.Enumerant); # ptr[0] - - -inline bool EnumNode::Reader::hasEnumerants() const { - return !_reader.isPointerFieldNull(0 * ::capnp::POINTERS); -} - -inline bool EnumNode::Builder::hasEnumerants() { - return !_builder.isPointerFieldNull(0 * ::capnp::POINTERS); -} - -inline ::capnp::List< ::capnp::schema::EnumNode::Enumerant>::Reader EnumNode::Reader::getEnumerants() const { - return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::EnumNode::Enumerant>>::get( - _reader, 0 * ::capnp::POINTERS); -} - -inline ::capnp::List< ::capnp::schema::EnumNode::Enumerant>::Builder EnumNode::Builder::getEnumerants() { - return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::EnumNode::Enumerant>>::get( - _builder, 0 * ::capnp::POINTERS); -} - -inline void EnumNode::Builder::setEnumerants( ::capnp::List< ::capnp::schema::EnumNode::Enumerant>::Reader value) { - ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::EnumNode::Enumerant>>::set( - _builder, 0 * ::capnp::POINTERS, value); -} - -inline ::capnp::List< ::capnp::schema::EnumNode::Enumerant>::Builder EnumNode::Builder::initEnumerants(unsigned int size) { - return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::EnumNode::Enumerant>>::init( - _builder, 0 * ::capnp::POINTERS, size); -} - - - - -// EnumNode::Enumerant::name@0: Text; # ptr[0] - - -inline bool EnumNode::Enumerant::Reader::hasName() const { - return !_reader.isPointerFieldNull(0 * ::capnp::POINTERS); -} - -inline bool EnumNode::Enumerant::Builder::hasName() { - return !_builder.isPointerFieldNull(0 * ::capnp::POINTERS); -} - -inline ::capnp::Text::Reader EnumNode::Enumerant::Reader::getName() const { - return ::capnp::_::PointerHelpers< ::capnp::Text>::get( - _reader, 0 * ::capnp::POINTERS); -} - -inline ::capnp::Text::Builder EnumNode::Enumerant::Builder::getName() { - return ::capnp::_::PointerHelpers< ::capnp::Text>::get( - _builder, 0 * ::capnp::POINTERS); -} - -inline void EnumNode::Enumerant::Builder::setName( ::capnp::Text::Reader value) { - ::capnp::_::PointerHelpers< ::capnp::Text>::set( - _builder, 0 * ::capnp::POINTERS, value); -} - -inline ::capnp::Text::Builder EnumNode::Enumerant::Builder::initName(unsigned int size) { - return ::capnp::_::PointerHelpers< ::capnp::Text>::init( - _builder, 0 * ::capnp::POINTERS, size); -} - - - -// EnumNode::Enumerant::codeOrder@1: UInt16; # bits[0, 16) - -inline ::uint16_t EnumNode::Enumerant::Reader::getCodeOrder() const { - return _reader.getDataField< ::uint16_t>( - 0 * ::capnp::ELEMENTS); -} - -inline ::uint16_t EnumNode::Enumerant::Builder::getCodeOrder() { - return _builder.getDataField< ::uint16_t>( - 0 * ::capnp::ELEMENTS); -} -inline void EnumNode::Enumerant::Builder::setCodeOrder( ::uint16_t value) { - _builder.setDataField< ::uint16_t>( - 0 * ::capnp::ELEMENTS, value); -} - - -// EnumNode::Enumerant::annotations@2: List(.Annotation); # ptr[1] - - -inline bool EnumNode::Enumerant::Reader::hasAnnotations() const { - return !_reader.isPointerFieldNull(1 * ::capnp::POINTERS); -} - -inline bool EnumNode::Enumerant::Builder::hasAnnotations() { - return !_builder.isPointerFieldNull(1 * ::capnp::POINTERS); -} - -inline ::capnp::List< ::capnp::schema::Annotation>::Reader EnumNode::Enumerant::Reader::getAnnotations() const { - return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Annotation>>::get( - _reader, 1 * ::capnp::POINTERS); -} - -inline ::capnp::List< ::capnp::schema::Annotation>::Builder EnumNode::Enumerant::Builder::getAnnotations() { - return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Annotation>>::get( - _builder, 1 * ::capnp::POINTERS); -} - -inline void EnumNode::Enumerant::Builder::setAnnotations( ::capnp::List< ::capnp::schema::Annotation>::Reader value) { - ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Annotation>>::set( - _builder, 1 * ::capnp::POINTERS, value); -} - -inline ::capnp::List< ::capnp::schema::Annotation>::Builder EnumNode::Enumerant::Builder::initAnnotations(unsigned int size) { - return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Annotation>>::init( - _builder, 1 * ::capnp::POINTERS, size); -} - - - - -// FileNode::imports@0: List(.FileNode.Import); # ptr[0] - - -inline bool FileNode::Reader::hasImports() const { - return !_reader.isPointerFieldNull(0 * ::capnp::POINTERS); -} - -inline bool FileNode::Builder::hasImports() { - return !_builder.isPointerFieldNull(0 * ::capnp::POINTERS); -} - -inline ::capnp::List< ::capnp::schema::FileNode::Import>::Reader FileNode::Reader::getImports() const { - return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::FileNode::Import>>::get( - _reader, 0 * ::capnp::POINTERS); -} - -inline ::capnp::List< ::capnp::schema::FileNode::Import>::Builder FileNode::Builder::getImports() { - return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::FileNode::Import>>::get( - _builder, 0 * ::capnp::POINTERS); -} - -inline void FileNode::Builder::setImports( ::capnp::List< ::capnp::schema::FileNode::Import>::Reader value) { - ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::FileNode::Import>>::set( - _builder, 0 * ::capnp::POINTERS, value); -} - -inline ::capnp::List< ::capnp::schema::FileNode::Import>::Builder FileNode::Builder::initImports(unsigned int size) { - return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::FileNode::Import>>::init( - _builder, 0 * ::capnp::POINTERS, size); -} - - - - -// FileNode::Import::id@0: UInt64; # bits[0, 64) - -inline ::uint64_t FileNode::Import::Reader::getId() const { - return _reader.getDataField< ::uint64_t>( - 0 * ::capnp::ELEMENTS); -} - -inline ::uint64_t FileNode::Import::Builder::getId() { - return _builder.getDataField< ::uint64_t>( - 0 * ::capnp::ELEMENTS); -} -inline void FileNode::Import::Builder::setId( ::uint64_t value) { - _builder.setDataField< ::uint64_t>( - 0 * ::capnp::ELEMENTS, value); -} - - -// FileNode::Import::name@1: Text; # ptr[0] - - -inline bool FileNode::Import::Reader::hasName() const { - return !_reader.isPointerFieldNull(0 * ::capnp::POINTERS); -} - -inline bool FileNode::Import::Builder::hasName() { - return !_builder.isPointerFieldNull(0 * ::capnp::POINTERS); -} - -inline ::capnp::Text::Reader FileNode::Import::Reader::getName() const { - return ::capnp::_::PointerHelpers< ::capnp::Text>::get( - _reader, 0 * ::capnp::POINTERS); -} - -inline ::capnp::Text::Builder FileNode::Import::Builder::getName() { - return ::capnp::_::PointerHelpers< ::capnp::Text>::get( - _builder, 0 * ::capnp::POINTERS); -} - -inline void FileNode::Import::Builder::setName( ::capnp::Text::Reader value) { - ::capnp::_::PointerHelpers< ::capnp::Text>::set( - _builder, 0 * ::capnp::POINTERS, value); -} - -inline ::capnp::Text::Builder FileNode::Import::Builder::initName(unsigned int size) { - return ::capnp::_::PointerHelpers< ::capnp::Text>::init( - _builder, 0 * ::capnp::POINTERS, size); -} - - - - -// InterfaceNode::methods@0: List(.InterfaceNode.Method); # ptr[0] - - -inline bool InterfaceNode::Reader::hasMethods() const { - return !_reader.isPointerFieldNull(0 * ::capnp::POINTERS); -} - -inline bool InterfaceNode::Builder::hasMethods() { - return !_builder.isPointerFieldNull(0 * ::capnp::POINTERS); -} - -inline ::capnp::List< ::capnp::schema::InterfaceNode::Method>::Reader InterfaceNode::Reader::getMethods() const { - return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::InterfaceNode::Method>>::get( - _reader, 0 * ::capnp::POINTERS); -} - -inline ::capnp::List< ::capnp::schema::InterfaceNode::Method>::Builder InterfaceNode::Builder::getMethods() { - return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::InterfaceNode::Method>>::get( - _builder, 0 * ::capnp::POINTERS); -} - -inline void InterfaceNode::Builder::setMethods( ::capnp::List< ::capnp::schema::InterfaceNode::Method>::Reader value) { - ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::InterfaceNode::Method>>::set( - _builder, 0 * ::capnp::POINTERS, value); -} - -inline ::capnp::List< ::capnp::schema::InterfaceNode::Method>::Builder InterfaceNode::Builder::initMethods(unsigned int size) { - return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::InterfaceNode::Method>>::init( - _builder, 0 * ::capnp::POINTERS, size); -} - - - - -// InterfaceNode::Method::name@0: Text; # ptr[0] - - -inline bool InterfaceNode::Method::Reader::hasName() const { - return !_reader.isPointerFieldNull(0 * ::capnp::POINTERS); -} - -inline bool InterfaceNode::Method::Builder::hasName() { - return !_builder.isPointerFieldNull(0 * ::capnp::POINTERS); -} - -inline ::capnp::Text::Reader InterfaceNode::Method::Reader::getName() const { - return ::capnp::_::PointerHelpers< ::capnp::Text>::get( - _reader, 0 * ::capnp::POINTERS); -} - -inline ::capnp::Text::Builder InterfaceNode::Method::Builder::getName() { - return ::capnp::_::PointerHelpers< ::capnp::Text>::get( - _builder, 0 * ::capnp::POINTERS); -} - -inline void InterfaceNode::Method::Builder::setName( ::capnp::Text::Reader value) { - ::capnp::_::PointerHelpers< ::capnp::Text>::set( - _builder, 0 * ::capnp::POINTERS, value); -} - -inline ::capnp::Text::Builder InterfaceNode::Method::Builder::initName(unsigned int size) { - return ::capnp::_::PointerHelpers< ::capnp::Text>::init( - _builder, 0 * ::capnp::POINTERS, size); -} - - - -// InterfaceNode::Method::codeOrder@1: UInt16; # bits[0, 16) - -inline ::uint16_t InterfaceNode::Method::Reader::getCodeOrder() const { - return _reader.getDataField< ::uint16_t>( - 0 * ::capnp::ELEMENTS); -} - -inline ::uint16_t InterfaceNode::Method::Builder::getCodeOrder() { - return _builder.getDataField< ::uint16_t>( - 0 * ::capnp::ELEMENTS); -} -inline void InterfaceNode::Method::Builder::setCodeOrder( ::uint16_t value) { - _builder.setDataField< ::uint16_t>( - 0 * ::capnp::ELEMENTS, value); -} - - -// InterfaceNode::Method::params@2: List(.InterfaceNode.Method.Param); # ptr[1] - - -inline bool InterfaceNode::Method::Reader::hasParams() const { - return !_reader.isPointerFieldNull(1 * ::capnp::POINTERS); -} - -inline bool InterfaceNode::Method::Builder::hasParams() { - return !_builder.isPointerFieldNull(1 * ::capnp::POINTERS); -} - -inline ::capnp::List< ::capnp::schema::InterfaceNode::Method::Param>::Reader InterfaceNode::Method::Reader::getParams() const { - return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::InterfaceNode::Method::Param>>::get( - _reader, 1 * ::capnp::POINTERS); -} - -inline ::capnp::List< ::capnp::schema::InterfaceNode::Method::Param>::Builder InterfaceNode::Method::Builder::getParams() { - return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::InterfaceNode::Method::Param>>::get( - _builder, 1 * ::capnp::POINTERS); -} - -inline void InterfaceNode::Method::Builder::setParams( ::capnp::List< ::capnp::schema::InterfaceNode::Method::Param>::Reader value) { - ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::InterfaceNode::Method::Param>>::set( - _builder, 1 * ::capnp::POINTERS, value); -} - -inline ::capnp::List< ::capnp::schema::InterfaceNode::Method::Param>::Builder InterfaceNode::Method::Builder::initParams(unsigned int size) { - return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::InterfaceNode::Method::Param>>::init( - _builder, 1 * ::capnp::POINTERS, size); -} - - - -// InterfaceNode::Method::requiredParamCount@3: UInt16; # bits[16, 32) - -inline ::uint16_t InterfaceNode::Method::Reader::getRequiredParamCount() const { - return _reader.getDataField< ::uint16_t>( - 1 * ::capnp::ELEMENTS); -} - -inline ::uint16_t InterfaceNode::Method::Builder::getRequiredParamCount() { - return _builder.getDataField< ::uint16_t>( - 1 * ::capnp::ELEMENTS); -} -inline void InterfaceNode::Method::Builder::setRequiredParamCount( ::uint16_t value) { - _builder.setDataField< ::uint16_t>( - 1 * ::capnp::ELEMENTS, value); -} - - -// InterfaceNode::Method::returnType@4: .Type; # ptr[2] - - -inline bool InterfaceNode::Method::Reader::hasReturnType() const { - return !_reader.isPointerFieldNull(2 * ::capnp::POINTERS); -} - -inline bool InterfaceNode::Method::Builder::hasReturnType() { - return !_builder.isPointerFieldNull(2 * ::capnp::POINTERS); -} - -inline ::capnp::schema::Type::Reader InterfaceNode::Method::Reader::getReturnType() const { - return ::capnp::_::PointerHelpers< ::capnp::schema::Type>::get( - _reader, 2 * ::capnp::POINTERS); -} - -inline ::capnp::schema::Type::Builder InterfaceNode::Method::Builder::getReturnType() { - return ::capnp::_::PointerHelpers< ::capnp::schema::Type>::get( - _builder, 2 * ::capnp::POINTERS); -} - -inline void InterfaceNode::Method::Builder::setReturnType( ::capnp::schema::Type::Reader value) { - ::capnp::_::PointerHelpers< ::capnp::schema::Type>::set( - _builder, 2 * ::capnp::POINTERS, value); -} - -inline ::capnp::schema::Type::Builder InterfaceNode::Method::Builder::initReturnType() { - return ::capnp::_::PointerHelpers< ::capnp::schema::Type>::init( - _builder, 2 * ::capnp::POINTERS); -} - - - -// InterfaceNode::Method::annotations@5: List(.Annotation); # ptr[3] - - -inline bool InterfaceNode::Method::Reader::hasAnnotations() const { - return !_reader.isPointerFieldNull(3 * ::capnp::POINTERS); -} - -inline bool InterfaceNode::Method::Builder::hasAnnotations() { - return !_builder.isPointerFieldNull(3 * ::capnp::POINTERS); -} - -inline ::capnp::List< ::capnp::schema::Annotation>::Reader InterfaceNode::Method::Reader::getAnnotations() const { - return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Annotation>>::get( - _reader, 3 * ::capnp::POINTERS); -} - -inline ::capnp::List< ::capnp::schema::Annotation>::Builder InterfaceNode::Method::Builder::getAnnotations() { - return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Annotation>>::get( - _builder, 3 * ::capnp::POINTERS); -} - -inline void InterfaceNode::Method::Builder::setAnnotations( ::capnp::List< ::capnp::schema::Annotation>::Reader value) { - ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Annotation>>::set( - _builder, 3 * ::capnp::POINTERS, value); -} - -inline ::capnp::List< ::capnp::schema::Annotation>::Builder InterfaceNode::Method::Builder::initAnnotations(unsigned int size) { - return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Annotation>>::init( - _builder, 3 * ::capnp::POINTERS, size); -} - - - - -// InterfaceNode::Method::Param::name@0: Text; # ptr[0] - - -inline bool InterfaceNode::Method::Param::Reader::hasName() const { - return !_reader.isPointerFieldNull(0 * ::capnp::POINTERS); -} - -inline bool InterfaceNode::Method::Param::Builder::hasName() { - return !_builder.isPointerFieldNull(0 * ::capnp::POINTERS); -} - -inline ::capnp::Text::Reader InterfaceNode::Method::Param::Reader::getName() const { - return ::capnp::_::PointerHelpers< ::capnp::Text>::get( - _reader, 0 * ::capnp::POINTERS); -} - -inline ::capnp::Text::Builder InterfaceNode::Method::Param::Builder::getName() { - return ::capnp::_::PointerHelpers< ::capnp::Text>::get( - _builder, 0 * ::capnp::POINTERS); -} - -inline void InterfaceNode::Method::Param::Builder::setName( ::capnp::Text::Reader value) { - ::capnp::_::PointerHelpers< ::capnp::Text>::set( - _builder, 0 * ::capnp::POINTERS, value); -} - -inline ::capnp::Text::Builder InterfaceNode::Method::Param::Builder::initName(unsigned int size) { - return ::capnp::_::PointerHelpers< ::capnp::Text>::init( - _builder, 0 * ::capnp::POINTERS, size); -} - - - -// InterfaceNode::Method::Param::type@1: .Type; # ptr[1] - - -inline bool InterfaceNode::Method::Param::Reader::hasType() const { - return !_reader.isPointerFieldNull(1 * ::capnp::POINTERS); -} - -inline bool InterfaceNode::Method::Param::Builder::hasType() { - return !_builder.isPointerFieldNull(1 * ::capnp::POINTERS); -} - -inline ::capnp::schema::Type::Reader InterfaceNode::Method::Param::Reader::getType() const { - return ::capnp::_::PointerHelpers< ::capnp::schema::Type>::get( - _reader, 1 * ::capnp::POINTERS); -} - -inline ::capnp::schema::Type::Builder InterfaceNode::Method::Param::Builder::getType() { - return ::capnp::_::PointerHelpers< ::capnp::schema::Type>::get( - _builder, 1 * ::capnp::POINTERS); -} - -inline void InterfaceNode::Method::Param::Builder::setType( ::capnp::schema::Type::Reader value) { - ::capnp::_::PointerHelpers< ::capnp::schema::Type>::set( - _builder, 1 * ::capnp::POINTERS, value); -} - -inline ::capnp::schema::Type::Builder InterfaceNode::Method::Param::Builder::initType() { - return ::capnp::_::PointerHelpers< ::capnp::schema::Type>::init( - _builder, 1 * ::capnp::POINTERS); -} - - - -// InterfaceNode::Method::Param::defaultValue@2: .Value; # ptr[2] - - -inline bool InterfaceNode::Method::Param::Reader::hasDefaultValue() const { - return !_reader.isPointerFieldNull(2 * ::capnp::POINTERS); -} - -inline bool InterfaceNode::Method::Param::Builder::hasDefaultValue() { - return !_builder.isPointerFieldNull(2 * ::capnp::POINTERS); -} - -inline ::capnp::schema::Value::Reader InterfaceNode::Method::Param::Reader::getDefaultValue() const { - return ::capnp::_::PointerHelpers< ::capnp::schema::Value>::get( - _reader, 2 * ::capnp::POINTERS); -} - -inline ::capnp::schema::Value::Builder InterfaceNode::Method::Param::Builder::getDefaultValue() { - return ::capnp::_::PointerHelpers< ::capnp::schema::Value>::get( - _builder, 2 * ::capnp::POINTERS); -} - -inline void InterfaceNode::Method::Param::Builder::setDefaultValue( ::capnp::schema::Value::Reader value) { - ::capnp::_::PointerHelpers< ::capnp::schema::Value>::set( - _builder, 2 * ::capnp::POINTERS, value); -} - -inline ::capnp::schema::Value::Builder InterfaceNode::Method::Param::Builder::initDefaultValue() { - return ::capnp::_::PointerHelpers< ::capnp::schema::Value>::init( - _builder, 2 * ::capnp::POINTERS); -} - - - -// InterfaceNode::Method::Param::annotations@3: List(.Annotation); # ptr[3] - - -inline bool InterfaceNode::Method::Param::Reader::hasAnnotations() const { - return !_reader.isPointerFieldNull(3 * ::capnp::POINTERS); -} - -inline bool InterfaceNode::Method::Param::Builder::hasAnnotations() { - return !_builder.isPointerFieldNull(3 * ::capnp::POINTERS); -} - -inline ::capnp::List< ::capnp::schema::Annotation>::Reader InterfaceNode::Method::Param::Reader::getAnnotations() const { - return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Annotation>>::get( - _reader, 3 * ::capnp::POINTERS); -} - -inline ::capnp::List< ::capnp::schema::Annotation>::Builder InterfaceNode::Method::Param::Builder::getAnnotations() { - return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Annotation>>::get( - _builder, 3 * ::capnp::POINTERS); -} - -inline void InterfaceNode::Method::Param::Builder::setAnnotations( ::capnp::List< ::capnp::schema::Annotation>::Reader value) { - ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Annotation>>::set( - _builder, 3 * ::capnp::POINTERS, value); -} - -inline ::capnp::List< ::capnp::schema::Annotation>::Builder InterfaceNode::Method::Param::Builder::initAnnotations(unsigned int size) { - return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Annotation>>::init( - _builder, 3 * ::capnp::POINTERS, size); -} - - - -inline Node::Body::Reader Node::Reader::getBody() const { - return Node::Body::Reader(_reader); -} - -inline Node::Body::Builder Node::Builder::getBody() { - return Node::Body::Builder(_builder); -} - - -// Node::id@0: UInt64; # bits[0, 64) - -inline ::uint64_t Node::Reader::getId() const { - return _reader.getDataField< ::uint64_t>( - 0 * ::capnp::ELEMENTS); -} - -inline ::uint64_t Node::Builder::getId() { - return _builder.getDataField< ::uint64_t>( - 0 * ::capnp::ELEMENTS); -} -inline void Node::Builder::setId( ::uint64_t value) { - _builder.setDataField< ::uint64_t>( - 0 * ::capnp::ELEMENTS, value); -} - - -// Node::displayName@1: Text; # ptr[0] - - -inline bool Node::Reader::hasDisplayName() const { - return !_reader.isPointerFieldNull(0 * ::capnp::POINTERS); -} - -inline bool Node::Builder::hasDisplayName() { - return !_builder.isPointerFieldNull(0 * ::capnp::POINTERS); -} - -inline ::capnp::Text::Reader Node::Reader::getDisplayName() const { - return ::capnp::_::PointerHelpers< ::capnp::Text>::get( - _reader, 0 * ::capnp::POINTERS); -} - -inline ::capnp::Text::Builder Node::Builder::getDisplayName() { - return ::capnp::_::PointerHelpers< ::capnp::Text>::get( - _builder, 0 * ::capnp::POINTERS); -} - -inline void Node::Builder::setDisplayName( ::capnp::Text::Reader value) { - ::capnp::_::PointerHelpers< ::capnp::Text>::set( - _builder, 0 * ::capnp::POINTERS, value); -} - -inline ::capnp::Text::Builder Node::Builder::initDisplayName(unsigned int size) { - return ::capnp::_::PointerHelpers< ::capnp::Text>::init( - _builder, 0 * ::capnp::POINTERS, size); -} - - - -// Node::scopeId@2: UInt64 = 0; # bits[64, 128) - -inline ::uint64_t Node::Reader::getScopeId() const { - return _reader.getDataField< ::uint64_t>( - 1 * ::capnp::ELEMENTS); -} - -inline ::uint64_t Node::Builder::getScopeId() { - return _builder.getDataField< ::uint64_t>( - 1 * ::capnp::ELEMENTS); -} -inline void Node::Builder::setScopeId( ::uint64_t value) { - _builder.setDataField< ::uint64_t>( - 1 * ::capnp::ELEMENTS, value); -} - - -// Node::nestedNodes@3: List(.Node.NestedNode); # ptr[1] - - -inline bool Node::Reader::hasNestedNodes() const { - return !_reader.isPointerFieldNull(1 * ::capnp::POINTERS); -} - -inline bool Node::Builder::hasNestedNodes() { - return !_builder.isPointerFieldNull(1 * ::capnp::POINTERS); -} - -inline ::capnp::List< ::capnp::schema::Node::NestedNode>::Reader Node::Reader::getNestedNodes() const { - return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Node::NestedNode>>::get( - _reader, 1 * ::capnp::POINTERS); -} - -inline ::capnp::List< ::capnp::schema::Node::NestedNode>::Builder Node::Builder::getNestedNodes() { - return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Node::NestedNode>>::get( - _builder, 1 * ::capnp::POINTERS); -} - -inline void Node::Builder::setNestedNodes( ::capnp::List< ::capnp::schema::Node::NestedNode>::Reader value) { - ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Node::NestedNode>>::set( - _builder, 1 * ::capnp::POINTERS, value); -} - -inline ::capnp::List< ::capnp::schema::Node::NestedNode>::Builder Node::Builder::initNestedNodes(unsigned int size) { - return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Node::NestedNode>>::init( - _builder, 1 * ::capnp::POINTERS, size); -} - - - -// Node::annotations@4: List(.Annotation); # ptr[2] - - -inline bool Node::Reader::hasAnnotations() const { - return !_reader.isPointerFieldNull(2 * ::capnp::POINTERS); -} - -inline bool Node::Builder::hasAnnotations() { - return !_builder.isPointerFieldNull(2 * ::capnp::POINTERS); -} - -inline ::capnp::List< ::capnp::schema::Annotation>::Reader Node::Reader::getAnnotations() const { - return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Annotation>>::get( - _reader, 2 * ::capnp::POINTERS); -} - -inline ::capnp::List< ::capnp::schema::Annotation>::Builder Node::Builder::getAnnotations() { - return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Annotation>>::get( - _builder, 2 * ::capnp::POINTERS); -} - -inline void Node::Builder::setAnnotations( ::capnp::List< ::capnp::schema::Annotation>::Reader value) { - ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Annotation>>::set( - _builder, 2 * ::capnp::POINTERS, value); -} - -inline ::capnp::List< ::capnp::schema::Annotation>::Builder Node::Builder::initAnnotations(unsigned int size) { - return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Annotation>>::init( - _builder, 2 * ::capnp::POINTERS, size); -} - - - - -// Node::NestedNode::name@0: Text; # ptr[0] - - -inline bool Node::NestedNode::Reader::hasName() const { - return !_reader.isPointerFieldNull(0 * ::capnp::POINTERS); -} - -inline bool Node::NestedNode::Builder::hasName() { - return !_builder.isPointerFieldNull(0 * ::capnp::POINTERS); -} - -inline ::capnp::Text::Reader Node::NestedNode::Reader::getName() const { - return ::capnp::_::PointerHelpers< ::capnp::Text>::get( - _reader, 0 * ::capnp::POINTERS); -} - -inline ::capnp::Text::Builder Node::NestedNode::Builder::getName() { - return ::capnp::_::PointerHelpers< ::capnp::Text>::get( - _builder, 0 * ::capnp::POINTERS); -} - -inline void Node::NestedNode::Builder::setName( ::capnp::Text::Reader value) { - ::capnp::_::PointerHelpers< ::capnp::Text>::set( - _builder, 0 * ::capnp::POINTERS, value); -} - -inline ::capnp::Text::Builder Node::NestedNode::Builder::initName(unsigned int size) { - return ::capnp::_::PointerHelpers< ::capnp::Text>::init( - _builder, 0 * ::capnp::POINTERS, size); -} - - - -// Node::NestedNode::id@1: UInt64; # bits[0, 64) - -inline ::uint64_t Node::NestedNode::Reader::getId() const { - return _reader.getDataField< ::uint64_t>( - 0 * ::capnp::ELEMENTS); -} - -inline ::uint64_t Node::NestedNode::Builder::getId() { - return _builder.getDataField< ::uint64_t>( - 0 * ::capnp::ELEMENTS); -} -inline void Node::NestedNode::Builder::setId( ::uint64_t value) { - _builder.setDataField< ::uint64_t>( - 0 * ::capnp::ELEMENTS, value); -} - - -// Node::Body -inline Node::Body::Which Node::Body::Reader::which() const { - return _reader.getDataField(8 * ::capnp::ELEMENTS); -} - -inline Node::Body::Which Node::Body::Builder::which() { - return _builder.getDataField(8 * ::capnp::ELEMENTS); -} - - -// Node::Body::fileNode@6: .FileNode; # ptr[3], union tag = 0 - - -inline bool Node::Body::Reader::hasFileNode() const { - return !_reader.isPointerFieldNull(3 * ::capnp::POINTERS); -} - -inline bool Node::Body::Builder::hasFileNode() { - return !_builder.isPointerFieldNull(3 * ::capnp::POINTERS); -} - -inline ::capnp::schema::FileNode::Reader Node::Body::Reader::getFileNode() const { - KJ_IREQUIRE(which() == Body::FILE_NODE, - "Must check which() before get()ing a union member."); - return ::capnp::_::PointerHelpers< ::capnp::schema::FileNode>::get( - _reader, 3 * ::capnp::POINTERS); -} - -inline ::capnp::schema::FileNode::Builder Node::Body::Builder::getFileNode() { - KJ_IREQUIRE(which() == Body::FILE_NODE, - "Must check which() before get()ing a union member."); - return ::capnp::_::PointerHelpers< ::capnp::schema::FileNode>::get( - _builder, 3 * ::capnp::POINTERS); -} - -inline void Node::Body::Builder::setFileNode( ::capnp::schema::FileNode::Reader value) { - _builder.setDataField( - 8 * ::capnp::ELEMENTS, Body::FILE_NODE); - ::capnp::_::PointerHelpers< ::capnp::schema::FileNode>::set( - _builder, 3 * ::capnp::POINTERS, value); -} - -inline ::capnp::schema::FileNode::Builder Node::Body::Builder::initFileNode() { - _builder.setDataField( - 8 * ::capnp::ELEMENTS, Body::FILE_NODE); - return ::capnp::_::PointerHelpers< ::capnp::schema::FileNode>::init( - _builder, 3 * ::capnp::POINTERS); -} - - - -// Node::Body::structNode@7: .StructNode; # ptr[3], union tag = 1 - - -inline bool Node::Body::Reader::hasStructNode() const { - return !_reader.isPointerFieldNull(3 * ::capnp::POINTERS); -} - -inline bool Node::Body::Builder::hasStructNode() { - return !_builder.isPointerFieldNull(3 * ::capnp::POINTERS); -} - -inline ::capnp::schema::StructNode::Reader Node::Body::Reader::getStructNode() const { - KJ_IREQUIRE(which() == Body::STRUCT_NODE, - "Must check which() before get()ing a union member."); - return ::capnp::_::PointerHelpers< ::capnp::schema::StructNode>::get( - _reader, 3 * ::capnp::POINTERS); -} - -inline ::capnp::schema::StructNode::Builder Node::Body::Builder::getStructNode() { - KJ_IREQUIRE(which() == Body::STRUCT_NODE, - "Must check which() before get()ing a union member."); - return ::capnp::_::PointerHelpers< ::capnp::schema::StructNode>::get( - _builder, 3 * ::capnp::POINTERS); -} - -inline void Node::Body::Builder::setStructNode( ::capnp::schema::StructNode::Reader value) { - _builder.setDataField( - 8 * ::capnp::ELEMENTS, Body::STRUCT_NODE); - ::capnp::_::PointerHelpers< ::capnp::schema::StructNode>::set( - _builder, 3 * ::capnp::POINTERS, value); -} - -inline ::capnp::schema::StructNode::Builder Node::Body::Builder::initStructNode() { - _builder.setDataField( - 8 * ::capnp::ELEMENTS, Body::STRUCT_NODE); - return ::capnp::_::PointerHelpers< ::capnp::schema::StructNode>::init( - _builder, 3 * ::capnp::POINTERS); -} - - - -// Node::Body::enumNode@8: .EnumNode; # ptr[3], union tag = 2 - - -inline bool Node::Body::Reader::hasEnumNode() const { - return !_reader.isPointerFieldNull(3 * ::capnp::POINTERS); -} - -inline bool Node::Body::Builder::hasEnumNode() { - return !_builder.isPointerFieldNull(3 * ::capnp::POINTERS); -} - -inline ::capnp::schema::EnumNode::Reader Node::Body::Reader::getEnumNode() const { - KJ_IREQUIRE(which() == Body::ENUM_NODE, - "Must check which() before get()ing a union member."); - return ::capnp::_::PointerHelpers< ::capnp::schema::EnumNode>::get( - _reader, 3 * ::capnp::POINTERS); -} - -inline ::capnp::schema::EnumNode::Builder Node::Body::Builder::getEnumNode() { - KJ_IREQUIRE(which() == Body::ENUM_NODE, - "Must check which() before get()ing a union member."); - return ::capnp::_::PointerHelpers< ::capnp::schema::EnumNode>::get( - _builder, 3 * ::capnp::POINTERS); -} - -inline void Node::Body::Builder::setEnumNode( ::capnp::schema::EnumNode::Reader value) { - _builder.setDataField( - 8 * ::capnp::ELEMENTS, Body::ENUM_NODE); - ::capnp::_::PointerHelpers< ::capnp::schema::EnumNode>::set( - _builder, 3 * ::capnp::POINTERS, value); -} - -inline ::capnp::schema::EnumNode::Builder Node::Body::Builder::initEnumNode() { - _builder.setDataField( - 8 * ::capnp::ELEMENTS, Body::ENUM_NODE); - return ::capnp::_::PointerHelpers< ::capnp::schema::EnumNode>::init( - _builder, 3 * ::capnp::POINTERS); -} - - - -// Node::Body::interfaceNode@9: .InterfaceNode; # ptr[3], union tag = 3 - - -inline bool Node::Body::Reader::hasInterfaceNode() const { - return !_reader.isPointerFieldNull(3 * ::capnp::POINTERS); -} - -inline bool Node::Body::Builder::hasInterfaceNode() { - return !_builder.isPointerFieldNull(3 * ::capnp::POINTERS); -} - -inline ::capnp::schema::InterfaceNode::Reader Node::Body::Reader::getInterfaceNode() const { - KJ_IREQUIRE(which() == Body::INTERFACE_NODE, - "Must check which() before get()ing a union member."); - return ::capnp::_::PointerHelpers< ::capnp::schema::InterfaceNode>::get( - _reader, 3 * ::capnp::POINTERS); -} - -inline ::capnp::schema::InterfaceNode::Builder Node::Body::Builder::getInterfaceNode() { - KJ_IREQUIRE(which() == Body::INTERFACE_NODE, - "Must check which() before get()ing a union member."); - return ::capnp::_::PointerHelpers< ::capnp::schema::InterfaceNode>::get( - _builder, 3 * ::capnp::POINTERS); -} - -inline void Node::Body::Builder::setInterfaceNode( ::capnp::schema::InterfaceNode::Reader value) { - _builder.setDataField( - 8 * ::capnp::ELEMENTS, Body::INTERFACE_NODE); - ::capnp::_::PointerHelpers< ::capnp::schema::InterfaceNode>::set( - _builder, 3 * ::capnp::POINTERS, value); -} - -inline ::capnp::schema::InterfaceNode::Builder Node::Body::Builder::initInterfaceNode() { - _builder.setDataField( - 8 * ::capnp::ELEMENTS, Body::INTERFACE_NODE); - return ::capnp::_::PointerHelpers< ::capnp::schema::InterfaceNode>::init( - _builder, 3 * ::capnp::POINTERS); -} - - - -// Node::Body::constNode@10: .ConstNode; # ptr[3], union tag = 4 - - -inline bool Node::Body::Reader::hasConstNode() const { - return !_reader.isPointerFieldNull(3 * ::capnp::POINTERS); -} - -inline bool Node::Body::Builder::hasConstNode() { - return !_builder.isPointerFieldNull(3 * ::capnp::POINTERS); -} - -inline ::capnp::schema::ConstNode::Reader Node::Body::Reader::getConstNode() const { - KJ_IREQUIRE(which() == Body::CONST_NODE, - "Must check which() before get()ing a union member."); - return ::capnp::_::PointerHelpers< ::capnp::schema::ConstNode>::get( - _reader, 3 * ::capnp::POINTERS); -} - -inline ::capnp::schema::ConstNode::Builder Node::Body::Builder::getConstNode() { - KJ_IREQUIRE(which() == Body::CONST_NODE, - "Must check which() before get()ing a union member."); - return ::capnp::_::PointerHelpers< ::capnp::schema::ConstNode>::get( - _builder, 3 * ::capnp::POINTERS); -} - -inline void Node::Body::Builder::setConstNode( ::capnp::schema::ConstNode::Reader value) { - _builder.setDataField( - 8 * ::capnp::ELEMENTS, Body::CONST_NODE); - ::capnp::_::PointerHelpers< ::capnp::schema::ConstNode>::set( - _builder, 3 * ::capnp::POINTERS, value); -} - -inline ::capnp::schema::ConstNode::Builder Node::Body::Builder::initConstNode() { - _builder.setDataField( - 8 * ::capnp::ELEMENTS, Body::CONST_NODE); - return ::capnp::_::PointerHelpers< ::capnp::schema::ConstNode>::init( - _builder, 3 * ::capnp::POINTERS); -} - - - -// Node::Body::annotationNode@11: .AnnotationNode; # ptr[3], union tag = 5 - - -inline bool Node::Body::Reader::hasAnnotationNode() const { - return !_reader.isPointerFieldNull(3 * ::capnp::POINTERS); -} - -inline bool Node::Body::Builder::hasAnnotationNode() { - return !_builder.isPointerFieldNull(3 * ::capnp::POINTERS); -} - -inline ::capnp::schema::AnnotationNode::Reader Node::Body::Reader::getAnnotationNode() const { - KJ_IREQUIRE(which() == Body::ANNOTATION_NODE, - "Must check which() before get()ing a union member."); - return ::capnp::_::PointerHelpers< ::capnp::schema::AnnotationNode>::get( - _reader, 3 * ::capnp::POINTERS); -} - -inline ::capnp::schema::AnnotationNode::Builder Node::Body::Builder::getAnnotationNode() { - KJ_IREQUIRE(which() == Body::ANNOTATION_NODE, - "Must check which() before get()ing a union member."); - return ::capnp::_::PointerHelpers< ::capnp::schema::AnnotationNode>::get( - _builder, 3 * ::capnp::POINTERS); -} - -inline void Node::Body::Builder::setAnnotationNode( ::capnp::schema::AnnotationNode::Reader value) { - _builder.setDataField( - 8 * ::capnp::ELEMENTS, Body::ANNOTATION_NODE); - ::capnp::_::PointerHelpers< ::capnp::schema::AnnotationNode>::set( - _builder, 3 * ::capnp::POINTERS, value); -} - -inline ::capnp::schema::AnnotationNode::Builder Node::Body::Builder::initAnnotationNode() { - _builder.setDataField( - 8 * ::capnp::ELEMENTS, Body::ANNOTATION_NODE); - return ::capnp::_::PointerHelpers< ::capnp::schema::AnnotationNode>::init( - _builder, 3 * ::capnp::POINTERS); -} - - - - -// StructNode::dataSectionWordSize@0: UInt16; # bits[0, 16) - -inline ::uint16_t StructNode::Reader::getDataSectionWordSize() const { - return _reader.getDataField< ::uint16_t>( - 0 * ::capnp::ELEMENTS); -} - -inline ::uint16_t StructNode::Builder::getDataSectionWordSize() { - return _builder.getDataField< ::uint16_t>( - 0 * ::capnp::ELEMENTS); -} -inline void StructNode::Builder::setDataSectionWordSize( ::uint16_t value) { - _builder.setDataField< ::uint16_t>( - 0 * ::capnp::ELEMENTS, value); -} - - -// StructNode::pointerSectionSize@1: UInt16; # bits[16, 32) - -inline ::uint16_t StructNode::Reader::getPointerSectionSize() const { - return _reader.getDataField< ::uint16_t>( - 1 * ::capnp::ELEMENTS); -} - -inline ::uint16_t StructNode::Builder::getPointerSectionSize() { - return _builder.getDataField< ::uint16_t>( - 1 * ::capnp::ELEMENTS); -} -inline void StructNode::Builder::setPointerSectionSize( ::uint16_t value) { - _builder.setDataField< ::uint16_t>( - 1 * ::capnp::ELEMENTS, value); -} - - -// StructNode::preferredListEncoding@2: .ElementSize; # bits[32, 48) - -inline ::capnp::schema::ElementSize StructNode::Reader::getPreferredListEncoding() const { - return _reader.getDataField< ::capnp::schema::ElementSize>( - 2 * ::capnp::ELEMENTS); -} - -inline ::capnp::schema::ElementSize StructNode::Builder::getPreferredListEncoding() { - return _builder.getDataField< ::capnp::schema::ElementSize>( - 2 * ::capnp::ELEMENTS); -} -inline void StructNode::Builder::setPreferredListEncoding( ::capnp::schema::ElementSize value) { - _builder.setDataField< ::capnp::schema::ElementSize>( - 2 * ::capnp::ELEMENTS, value); -} - - -// StructNode::members@3: List(.StructNode.Member); # ptr[0] - - -inline bool StructNode::Reader::hasMembers() const { - return !_reader.isPointerFieldNull(0 * ::capnp::POINTERS); -} - -inline bool StructNode::Builder::hasMembers() { - return !_builder.isPointerFieldNull(0 * ::capnp::POINTERS); -} - -inline ::capnp::List< ::capnp::schema::StructNode::Member>::Reader StructNode::Reader::getMembers() const { - return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::StructNode::Member>>::get( - _reader, 0 * ::capnp::POINTERS); -} - -inline ::capnp::List< ::capnp::schema::StructNode::Member>::Builder StructNode::Builder::getMembers() { - return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::StructNode::Member>>::get( - _builder, 0 * ::capnp::POINTERS); -} - -inline void StructNode::Builder::setMembers( ::capnp::List< ::capnp::schema::StructNode::Member>::Reader value) { - ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::StructNode::Member>>::set( - _builder, 0 * ::capnp::POINTERS, value); -} - -inline ::capnp::List< ::capnp::schema::StructNode::Member>::Builder StructNode::Builder::initMembers(unsigned int size) { - return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::StructNode::Member>>::init( - _builder, 0 * ::capnp::POINTERS, size); -} - - - - -// StructNode::Field::offset@0: UInt32; # bits[0, 32) - -inline ::uint32_t StructNode::Field::Reader::getOffset() const { - return _reader.getDataField< ::uint32_t>( - 0 * ::capnp::ELEMENTS); -} - -inline ::uint32_t StructNode::Field::Builder::getOffset() { - return _builder.getDataField< ::uint32_t>( - 0 * ::capnp::ELEMENTS); -} -inline void StructNode::Field::Builder::setOffset( ::uint32_t value) { - _builder.setDataField< ::uint32_t>( - 0 * ::capnp::ELEMENTS, value); -} - - -// StructNode::Field::type@1: .Type; # ptr[0] - - -inline bool StructNode::Field::Reader::hasType() const { - return !_reader.isPointerFieldNull(0 * ::capnp::POINTERS); -} - -inline bool StructNode::Field::Builder::hasType() { - return !_builder.isPointerFieldNull(0 * ::capnp::POINTERS); -} - -inline ::capnp::schema::Type::Reader StructNode::Field::Reader::getType() const { - return ::capnp::_::PointerHelpers< ::capnp::schema::Type>::get( - _reader, 0 * ::capnp::POINTERS); -} - -inline ::capnp::schema::Type::Builder StructNode::Field::Builder::getType() { - return ::capnp::_::PointerHelpers< ::capnp::schema::Type>::get( - _builder, 0 * ::capnp::POINTERS); -} - -inline void StructNode::Field::Builder::setType( ::capnp::schema::Type::Reader value) { - ::capnp::_::PointerHelpers< ::capnp::schema::Type>::set( - _builder, 0 * ::capnp::POINTERS, value); -} - -inline ::capnp::schema::Type::Builder StructNode::Field::Builder::initType() { - return ::capnp::_::PointerHelpers< ::capnp::schema::Type>::init( - _builder, 0 * ::capnp::POINTERS); -} - - - -// StructNode::Field::defaultValue@2: .Value; # ptr[1] - - -inline bool StructNode::Field::Reader::hasDefaultValue() const { - return !_reader.isPointerFieldNull(1 * ::capnp::POINTERS); -} - -inline bool StructNode::Field::Builder::hasDefaultValue() { - return !_builder.isPointerFieldNull(1 * ::capnp::POINTERS); -} - -inline ::capnp::schema::Value::Reader StructNode::Field::Reader::getDefaultValue() const { - return ::capnp::_::PointerHelpers< ::capnp::schema::Value>::get( - _reader, 1 * ::capnp::POINTERS); -} - -inline ::capnp::schema::Value::Builder StructNode::Field::Builder::getDefaultValue() { - return ::capnp::_::PointerHelpers< ::capnp::schema::Value>::get( - _builder, 1 * ::capnp::POINTERS); -} - -inline void StructNode::Field::Builder::setDefaultValue( ::capnp::schema::Value::Reader value) { - ::capnp::_::PointerHelpers< ::capnp::schema::Value>::set( - _builder, 1 * ::capnp::POINTERS, value); -} - -inline ::capnp::schema::Value::Builder StructNode::Field::Builder::initDefaultValue() { - return ::capnp::_::PointerHelpers< ::capnp::schema::Value>::init( - _builder, 1 * ::capnp::POINTERS); -} - - - -inline StructNode::Member::Body::Reader StructNode::Member::Reader::getBody() const { - return StructNode::Member::Body::Reader(_reader); -} - -inline StructNode::Member::Body::Builder StructNode::Member::Builder::getBody() { - return StructNode::Member::Body::Builder(_builder); -} - - -// StructNode::Member::name@0: Text; # ptr[0] - - -inline bool StructNode::Member::Reader::hasName() const { - return !_reader.isPointerFieldNull(0 * ::capnp::POINTERS); -} - -inline bool StructNode::Member::Builder::hasName() { - return !_builder.isPointerFieldNull(0 * ::capnp::POINTERS); -} - -inline ::capnp::Text::Reader StructNode::Member::Reader::getName() const { - return ::capnp::_::PointerHelpers< ::capnp::Text>::get( - _reader, 0 * ::capnp::POINTERS); -} - -inline ::capnp::Text::Builder StructNode::Member::Builder::getName() { - return ::capnp::_::PointerHelpers< ::capnp::Text>::get( - _builder, 0 * ::capnp::POINTERS); -} - -inline void StructNode::Member::Builder::setName( ::capnp::Text::Reader value) { - ::capnp::_::PointerHelpers< ::capnp::Text>::set( - _builder, 0 * ::capnp::POINTERS, value); -} - -inline ::capnp::Text::Builder StructNode::Member::Builder::initName(unsigned int size) { - return ::capnp::_::PointerHelpers< ::capnp::Text>::init( - _builder, 0 * ::capnp::POINTERS, size); -} - - - -// StructNode::Member::ordinal@1: UInt16; # bits[0, 16) - -inline ::uint16_t StructNode::Member::Reader::getOrdinal() const { - return _reader.getDataField< ::uint16_t>( - 0 * ::capnp::ELEMENTS); -} - -inline ::uint16_t StructNode::Member::Builder::getOrdinal() { - return _builder.getDataField< ::uint16_t>( - 0 * ::capnp::ELEMENTS); -} -inline void StructNode::Member::Builder::setOrdinal( ::uint16_t value) { - _builder.setDataField< ::uint16_t>( - 0 * ::capnp::ELEMENTS, value); -} - - -// StructNode::Member::codeOrder@2: UInt16; # bits[16, 32) - -inline ::uint16_t StructNode::Member::Reader::getCodeOrder() const { - return _reader.getDataField< ::uint16_t>( - 1 * ::capnp::ELEMENTS); -} - -inline ::uint16_t StructNode::Member::Builder::getCodeOrder() { - return _builder.getDataField< ::uint16_t>( - 1 * ::capnp::ELEMENTS); -} -inline void StructNode::Member::Builder::setCodeOrder( ::uint16_t value) { - _builder.setDataField< ::uint16_t>( - 1 * ::capnp::ELEMENTS, value); -} - - -// StructNode::Member::annotations@3: List(.Annotation); # ptr[1] - - -inline bool StructNode::Member::Reader::hasAnnotations() const { - return !_reader.isPointerFieldNull(1 * ::capnp::POINTERS); -} - -inline bool StructNode::Member::Builder::hasAnnotations() { - return !_builder.isPointerFieldNull(1 * ::capnp::POINTERS); -} - -inline ::capnp::List< ::capnp::schema::Annotation>::Reader StructNode::Member::Reader::getAnnotations() const { - return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Annotation>>::get( - _reader, 1 * ::capnp::POINTERS); -} - -inline ::capnp::List< ::capnp::schema::Annotation>::Builder StructNode::Member::Builder::getAnnotations() { - return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Annotation>>::get( - _builder, 1 * ::capnp::POINTERS); -} - -inline void StructNode::Member::Builder::setAnnotations( ::capnp::List< ::capnp::schema::Annotation>::Reader value) { - ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Annotation>>::set( - _builder, 1 * ::capnp::POINTERS, value); -} - -inline ::capnp::List< ::capnp::schema::Annotation>::Builder StructNode::Member::Builder::initAnnotations(unsigned int size) { - return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Annotation>>::init( - _builder, 1 * ::capnp::POINTERS, size); -} - - - -// StructNode::Member::Body -inline StructNode::Member::Body::Which StructNode::Member::Body::Reader::which() const { - return _reader.getDataField(2 * ::capnp::ELEMENTS); -} - -inline StructNode::Member::Body::Which StructNode::Member::Body::Builder::which() { - return _builder.getDataField(2 * ::capnp::ELEMENTS); -} - - -// StructNode::Member::Body::fieldMember@5: .StructNode.Field; # ptr[2], union tag = 0 - - -inline bool StructNode::Member::Body::Reader::hasFieldMember() const { - return !_reader.isPointerFieldNull(2 * ::capnp::POINTERS); -} - -inline bool StructNode::Member::Body::Builder::hasFieldMember() { - return !_builder.isPointerFieldNull(2 * ::capnp::POINTERS); -} - -inline ::capnp::schema::StructNode::Field::Reader StructNode::Member::Body::Reader::getFieldMember() const { - KJ_IREQUIRE(which() == Body::FIELD_MEMBER, - "Must check which() before get()ing a union member."); - return ::capnp::_::PointerHelpers< ::capnp::schema::StructNode::Field>::get( - _reader, 2 * ::capnp::POINTERS); -} - -inline ::capnp::schema::StructNode::Field::Builder StructNode::Member::Body::Builder::getFieldMember() { - KJ_IREQUIRE(which() == Body::FIELD_MEMBER, - "Must check which() before get()ing a union member."); - return ::capnp::_::PointerHelpers< ::capnp::schema::StructNode::Field>::get( - _builder, 2 * ::capnp::POINTERS); -} - -inline void StructNode::Member::Body::Builder::setFieldMember( ::capnp::schema::StructNode::Field::Reader value) { - _builder.setDataField( - 2 * ::capnp::ELEMENTS, Body::FIELD_MEMBER); - ::capnp::_::PointerHelpers< ::capnp::schema::StructNode::Field>::set( - _builder, 2 * ::capnp::POINTERS, value); -} - -inline ::capnp::schema::StructNode::Field::Builder StructNode::Member::Body::Builder::initFieldMember() { - _builder.setDataField( - 2 * ::capnp::ELEMENTS, Body::FIELD_MEMBER); - return ::capnp::_::PointerHelpers< ::capnp::schema::StructNode::Field>::init( - _builder, 2 * ::capnp::POINTERS); -} - - - -// StructNode::Member::Body::unionMember@6: .StructNode.Union; # ptr[2], union tag = 1 - - -inline bool StructNode::Member::Body::Reader::hasUnionMember() const { - return !_reader.isPointerFieldNull(2 * ::capnp::POINTERS); -} - -inline bool StructNode::Member::Body::Builder::hasUnionMember() { - return !_builder.isPointerFieldNull(2 * ::capnp::POINTERS); -} - -inline ::capnp::schema::StructNode::Union::Reader StructNode::Member::Body::Reader::getUnionMember() const { - KJ_IREQUIRE(which() == Body::UNION_MEMBER, - "Must check which() before get()ing a union member."); - return ::capnp::_::PointerHelpers< ::capnp::schema::StructNode::Union>::get( - _reader, 2 * ::capnp::POINTERS); -} - -inline ::capnp::schema::StructNode::Union::Builder StructNode::Member::Body::Builder::getUnionMember() { - KJ_IREQUIRE(which() == Body::UNION_MEMBER, - "Must check which() before get()ing a union member."); - return ::capnp::_::PointerHelpers< ::capnp::schema::StructNode::Union>::get( - _builder, 2 * ::capnp::POINTERS); -} - -inline void StructNode::Member::Body::Builder::setUnionMember( ::capnp::schema::StructNode::Union::Reader value) { - _builder.setDataField( - 2 * ::capnp::ELEMENTS, Body::UNION_MEMBER); - ::capnp::_::PointerHelpers< ::capnp::schema::StructNode::Union>::set( - _builder, 2 * ::capnp::POINTERS, value); -} - -inline ::capnp::schema::StructNode::Union::Builder StructNode::Member::Body::Builder::initUnionMember() { - _builder.setDataField( - 2 * ::capnp::ELEMENTS, Body::UNION_MEMBER); - return ::capnp::_::PointerHelpers< ::capnp::schema::StructNode::Union>::init( - _builder, 2 * ::capnp::POINTERS); -} - - - - -// StructNode::Union::discriminantOffset@0: UInt32; # bits[0, 32) - -inline ::uint32_t StructNode::Union::Reader::getDiscriminantOffset() const { - return _reader.getDataField< ::uint32_t>( - 0 * ::capnp::ELEMENTS); -} - -inline ::uint32_t StructNode::Union::Builder::getDiscriminantOffset() { - return _builder.getDataField< ::uint32_t>( - 0 * ::capnp::ELEMENTS); -} -inline void StructNode::Union::Builder::setDiscriminantOffset( ::uint32_t value) { - _builder.setDataField< ::uint32_t>( - 0 * ::capnp::ELEMENTS, value); -} - - -// StructNode::Union::members@1: List(.StructNode.Member); # ptr[0] - - -inline bool StructNode::Union::Reader::hasMembers() const { - return !_reader.isPointerFieldNull(0 * ::capnp::POINTERS); -} - -inline bool StructNode::Union::Builder::hasMembers() { - return !_builder.isPointerFieldNull(0 * ::capnp::POINTERS); -} - -inline ::capnp::List< ::capnp::schema::StructNode::Member>::Reader StructNode::Union::Reader::getMembers() const { - return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::StructNode::Member>>::get( - _reader, 0 * ::capnp::POINTERS); -} - -inline ::capnp::List< ::capnp::schema::StructNode::Member>::Builder StructNode::Union::Builder::getMembers() { - return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::StructNode::Member>>::get( - _builder, 0 * ::capnp::POINTERS); -} - -inline void StructNode::Union::Builder::setMembers( ::capnp::List< ::capnp::schema::StructNode::Member>::Reader value) { - ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::StructNode::Member>>::set( - _builder, 0 * ::capnp::POINTERS, value); -} - -inline ::capnp::List< ::capnp::schema::StructNode::Member>::Builder StructNode::Union::Builder::initMembers(unsigned int size) { - return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::StructNode::Member>>::init( - _builder, 0 * ::capnp::POINTERS, size); -} - - - -inline Type::Body::Reader Type::Reader::getBody() const { - return Type::Body::Reader(_reader); -} - -inline Type::Body::Builder Type::Builder::getBody() { - return Type::Body::Builder(_builder); -} - - -// Type::Body -inline Type::Body::Which Type::Body::Reader::which() const { - return _reader.getDataField(0 * ::capnp::ELEMENTS); -} - -inline Type::Body::Which Type::Body::Builder::which() { - return _builder.getDataField(0 * ::capnp::ELEMENTS); -} - - -// Type::Body::voidType@1: Void; # (none), union tag = 0 - -inline ::capnp::Void Type::Body::Reader::getVoidType() const { - KJ_IREQUIRE(which() == Body::VOID_TYPE, - "Must check which() before get()ing a union member."); - return _reader.getDataField< ::capnp::Void>( - 0 * ::capnp::ELEMENTS); -} - -inline ::capnp::Void Type::Body::Builder::getVoidType() { - KJ_IREQUIRE(which() == Body::VOID_TYPE, - "Must check which() before get()ing a union member."); - return _builder.getDataField< ::capnp::Void>( - 0 * ::capnp::ELEMENTS); -} -inline void Type::Body::Builder::setVoidType( ::capnp::Void value = ::capnp::Void::VOID) { - _builder.setDataField( - 0 * ::capnp::ELEMENTS, Body::VOID_TYPE); - _builder.setDataField< ::capnp::Void>( - 0 * ::capnp::ELEMENTS, value); -} - - -// Type::Body::boolType@2: Void; # (none), union tag = 1 - -inline ::capnp::Void Type::Body::Reader::getBoolType() const { - KJ_IREQUIRE(which() == Body::BOOL_TYPE, - "Must check which() before get()ing a union member."); - return _reader.getDataField< ::capnp::Void>( - 0 * ::capnp::ELEMENTS); -} - -inline ::capnp::Void Type::Body::Builder::getBoolType() { - KJ_IREQUIRE(which() == Body::BOOL_TYPE, - "Must check which() before get()ing a union member."); - return _builder.getDataField< ::capnp::Void>( - 0 * ::capnp::ELEMENTS); -} -inline void Type::Body::Builder::setBoolType( ::capnp::Void value = ::capnp::Void::VOID) { - _builder.setDataField( - 0 * ::capnp::ELEMENTS, Body::BOOL_TYPE); - _builder.setDataField< ::capnp::Void>( - 0 * ::capnp::ELEMENTS, value); -} - - -// Type::Body::int8Type@3: Void; # (none), union tag = 2 - -inline ::capnp::Void Type::Body::Reader::getInt8Type() const { - KJ_IREQUIRE(which() == Body::INT8_TYPE, - "Must check which() before get()ing a union member."); - return _reader.getDataField< ::capnp::Void>( - 0 * ::capnp::ELEMENTS); -} - -inline ::capnp::Void Type::Body::Builder::getInt8Type() { - KJ_IREQUIRE(which() == Body::INT8_TYPE, - "Must check which() before get()ing a union member."); - return _builder.getDataField< ::capnp::Void>( - 0 * ::capnp::ELEMENTS); -} -inline void Type::Body::Builder::setInt8Type( ::capnp::Void value = ::capnp::Void::VOID) { - _builder.setDataField( - 0 * ::capnp::ELEMENTS, Body::INT8_TYPE); - _builder.setDataField< ::capnp::Void>( - 0 * ::capnp::ELEMENTS, value); -} - - -// Type::Body::int16Type@4: Void; # (none), union tag = 3 - -inline ::capnp::Void Type::Body::Reader::getInt16Type() const { - KJ_IREQUIRE(which() == Body::INT16_TYPE, - "Must check which() before get()ing a union member."); - return _reader.getDataField< ::capnp::Void>( - 0 * ::capnp::ELEMENTS); -} - -inline ::capnp::Void Type::Body::Builder::getInt16Type() { - KJ_IREQUIRE(which() == Body::INT16_TYPE, - "Must check which() before get()ing a union member."); - return _builder.getDataField< ::capnp::Void>( - 0 * ::capnp::ELEMENTS); -} -inline void Type::Body::Builder::setInt16Type( ::capnp::Void value = ::capnp::Void::VOID) { - _builder.setDataField( - 0 * ::capnp::ELEMENTS, Body::INT16_TYPE); - _builder.setDataField< ::capnp::Void>( - 0 * ::capnp::ELEMENTS, value); -} - - -// Type::Body::int32Type@5: Void; # (none), union tag = 4 - -inline ::capnp::Void Type::Body::Reader::getInt32Type() const { - KJ_IREQUIRE(which() == Body::INT32_TYPE, - "Must check which() before get()ing a union member."); - return _reader.getDataField< ::capnp::Void>( - 0 * ::capnp::ELEMENTS); -} - -inline ::capnp::Void Type::Body::Builder::getInt32Type() { - KJ_IREQUIRE(which() == Body::INT32_TYPE, - "Must check which() before get()ing a union member."); - return _builder.getDataField< ::capnp::Void>( - 0 * ::capnp::ELEMENTS); -} -inline void Type::Body::Builder::setInt32Type( ::capnp::Void value = ::capnp::Void::VOID) { - _builder.setDataField( - 0 * ::capnp::ELEMENTS, Body::INT32_TYPE); - _builder.setDataField< ::capnp::Void>( - 0 * ::capnp::ELEMENTS, value); -} - - -// Type::Body::int64Type@6: Void; # (none), union tag = 5 - -inline ::capnp::Void Type::Body::Reader::getInt64Type() const { - KJ_IREQUIRE(which() == Body::INT64_TYPE, - "Must check which() before get()ing a union member."); - return _reader.getDataField< ::capnp::Void>( - 0 * ::capnp::ELEMENTS); -} - -inline ::capnp::Void Type::Body::Builder::getInt64Type() { - KJ_IREQUIRE(which() == Body::INT64_TYPE, - "Must check which() before get()ing a union member."); - return _builder.getDataField< ::capnp::Void>( - 0 * ::capnp::ELEMENTS); -} -inline void Type::Body::Builder::setInt64Type( ::capnp::Void value = ::capnp::Void::VOID) { - _builder.setDataField( - 0 * ::capnp::ELEMENTS, Body::INT64_TYPE); - _builder.setDataField< ::capnp::Void>( - 0 * ::capnp::ELEMENTS, value); -} - - -// Type::Body::uint8Type@7: Void; # (none), union tag = 6 - -inline ::capnp::Void Type::Body::Reader::getUint8Type() const { - KJ_IREQUIRE(which() == Body::UINT8_TYPE, - "Must check which() before get()ing a union member."); - return _reader.getDataField< ::capnp::Void>( - 0 * ::capnp::ELEMENTS); -} - -inline ::capnp::Void Type::Body::Builder::getUint8Type() { - KJ_IREQUIRE(which() == Body::UINT8_TYPE, - "Must check which() before get()ing a union member."); - return _builder.getDataField< ::capnp::Void>( - 0 * ::capnp::ELEMENTS); -} -inline void Type::Body::Builder::setUint8Type( ::capnp::Void value = ::capnp::Void::VOID) { - _builder.setDataField( - 0 * ::capnp::ELEMENTS, Body::UINT8_TYPE); - _builder.setDataField< ::capnp::Void>( - 0 * ::capnp::ELEMENTS, value); -} - - -// Type::Body::uint16Type@8: Void; # (none), union tag = 7 - -inline ::capnp::Void Type::Body::Reader::getUint16Type() const { - KJ_IREQUIRE(which() == Body::UINT16_TYPE, - "Must check which() before get()ing a union member."); - return _reader.getDataField< ::capnp::Void>( - 0 * ::capnp::ELEMENTS); -} - -inline ::capnp::Void Type::Body::Builder::getUint16Type() { - KJ_IREQUIRE(which() == Body::UINT16_TYPE, - "Must check which() before get()ing a union member."); - return _builder.getDataField< ::capnp::Void>( - 0 * ::capnp::ELEMENTS); -} -inline void Type::Body::Builder::setUint16Type( ::capnp::Void value = ::capnp::Void::VOID) { - _builder.setDataField( - 0 * ::capnp::ELEMENTS, Body::UINT16_TYPE); - _builder.setDataField< ::capnp::Void>( - 0 * ::capnp::ELEMENTS, value); -} - - -// Type::Body::uint32Type@9: Void; # (none), union tag = 8 - -inline ::capnp::Void Type::Body::Reader::getUint32Type() const { - KJ_IREQUIRE(which() == Body::UINT32_TYPE, - "Must check which() before get()ing a union member."); - return _reader.getDataField< ::capnp::Void>( - 0 * ::capnp::ELEMENTS); -} - -inline ::capnp::Void Type::Body::Builder::getUint32Type() { - KJ_IREQUIRE(which() == Body::UINT32_TYPE, - "Must check which() before get()ing a union member."); - return _builder.getDataField< ::capnp::Void>( - 0 * ::capnp::ELEMENTS); -} -inline void Type::Body::Builder::setUint32Type( ::capnp::Void value = ::capnp::Void::VOID) { - _builder.setDataField( - 0 * ::capnp::ELEMENTS, Body::UINT32_TYPE); - _builder.setDataField< ::capnp::Void>( - 0 * ::capnp::ELEMENTS, value); -} - - -// Type::Body::uint64Type@10: Void; # (none), union tag = 9 - -inline ::capnp::Void Type::Body::Reader::getUint64Type() const { - KJ_IREQUIRE(which() == Body::UINT64_TYPE, - "Must check which() before get()ing a union member."); - return _reader.getDataField< ::capnp::Void>( - 0 * ::capnp::ELEMENTS); -} - -inline ::capnp::Void Type::Body::Builder::getUint64Type() { - KJ_IREQUIRE(which() == Body::UINT64_TYPE, - "Must check which() before get()ing a union member."); - return _builder.getDataField< ::capnp::Void>( - 0 * ::capnp::ELEMENTS); -} -inline void Type::Body::Builder::setUint64Type( ::capnp::Void value = ::capnp::Void::VOID) { - _builder.setDataField( - 0 * ::capnp::ELEMENTS, Body::UINT64_TYPE); - _builder.setDataField< ::capnp::Void>( - 0 * ::capnp::ELEMENTS, value); -} - - -// Type::Body::float32Type@11: Void; # (none), union tag = 10 - -inline ::capnp::Void Type::Body::Reader::getFloat32Type() const { - KJ_IREQUIRE(which() == Body::FLOAT32_TYPE, - "Must check which() before get()ing a union member."); - return _reader.getDataField< ::capnp::Void>( - 0 * ::capnp::ELEMENTS); -} - -inline ::capnp::Void Type::Body::Builder::getFloat32Type() { - KJ_IREQUIRE(which() == Body::FLOAT32_TYPE, - "Must check which() before get()ing a union member."); - return _builder.getDataField< ::capnp::Void>( - 0 * ::capnp::ELEMENTS); -} -inline void Type::Body::Builder::setFloat32Type( ::capnp::Void value = ::capnp::Void::VOID) { - _builder.setDataField( - 0 * ::capnp::ELEMENTS, Body::FLOAT32_TYPE); - _builder.setDataField< ::capnp::Void>( - 0 * ::capnp::ELEMENTS, value); -} - - -// Type::Body::float64Type@12: Void; # (none), union tag = 11 - -inline ::capnp::Void Type::Body::Reader::getFloat64Type() const { - KJ_IREQUIRE(which() == Body::FLOAT64_TYPE, - "Must check which() before get()ing a union member."); - return _reader.getDataField< ::capnp::Void>( - 0 * ::capnp::ELEMENTS); -} - -inline ::capnp::Void Type::Body::Builder::getFloat64Type() { - KJ_IREQUIRE(which() == Body::FLOAT64_TYPE, - "Must check which() before get()ing a union member."); - return _builder.getDataField< ::capnp::Void>( - 0 * ::capnp::ELEMENTS); -} -inline void Type::Body::Builder::setFloat64Type( ::capnp::Void value = ::capnp::Void::VOID) { - _builder.setDataField( - 0 * ::capnp::ELEMENTS, Body::FLOAT64_TYPE); - _builder.setDataField< ::capnp::Void>( - 0 * ::capnp::ELEMENTS, value); -} - - -// Type::Body::textType@13: Void; # (none), union tag = 12 - -inline ::capnp::Void Type::Body::Reader::getTextType() const { - KJ_IREQUIRE(which() == Body::TEXT_TYPE, - "Must check which() before get()ing a union member."); - return _reader.getDataField< ::capnp::Void>( - 0 * ::capnp::ELEMENTS); -} - -inline ::capnp::Void Type::Body::Builder::getTextType() { - KJ_IREQUIRE(which() == Body::TEXT_TYPE, - "Must check which() before get()ing a union member."); - return _builder.getDataField< ::capnp::Void>( - 0 * ::capnp::ELEMENTS); -} -inline void Type::Body::Builder::setTextType( ::capnp::Void value = ::capnp::Void::VOID) { - _builder.setDataField( - 0 * ::capnp::ELEMENTS, Body::TEXT_TYPE); - _builder.setDataField< ::capnp::Void>( - 0 * ::capnp::ELEMENTS, value); -} - - -// Type::Body::dataType@14: Void; # (none), union tag = 13 - -inline ::capnp::Void Type::Body::Reader::getDataType() const { - KJ_IREQUIRE(which() == Body::DATA_TYPE, - "Must check which() before get()ing a union member."); - return _reader.getDataField< ::capnp::Void>( - 0 * ::capnp::ELEMENTS); -} - -inline ::capnp::Void Type::Body::Builder::getDataType() { - KJ_IREQUIRE(which() == Body::DATA_TYPE, - "Must check which() before get()ing a union member."); - return _builder.getDataField< ::capnp::Void>( - 0 * ::capnp::ELEMENTS); -} -inline void Type::Body::Builder::setDataType( ::capnp::Void value = ::capnp::Void::VOID) { - _builder.setDataField( - 0 * ::capnp::ELEMENTS, Body::DATA_TYPE); - _builder.setDataField< ::capnp::Void>( - 0 * ::capnp::ELEMENTS, value); -} - - -// Type::Body::listType@15: .Type; # ptr[0], union tag = 14 - - -inline bool Type::Body::Reader::hasListType() const { - return !_reader.isPointerFieldNull(0 * ::capnp::POINTERS); -} - -inline bool Type::Body::Builder::hasListType() { - return !_builder.isPointerFieldNull(0 * ::capnp::POINTERS); -} - -inline ::capnp::schema::Type::Reader Type::Body::Reader::getListType() const { - KJ_IREQUIRE(which() == Body::LIST_TYPE, - "Must check which() before get()ing a union member."); - return ::capnp::_::PointerHelpers< ::capnp::schema::Type>::get( - _reader, 0 * ::capnp::POINTERS); -} - -inline ::capnp::schema::Type::Builder Type::Body::Builder::getListType() { - KJ_IREQUIRE(which() == Body::LIST_TYPE, - "Must check which() before get()ing a union member."); - return ::capnp::_::PointerHelpers< ::capnp::schema::Type>::get( - _builder, 0 * ::capnp::POINTERS); -} - -inline void Type::Body::Builder::setListType( ::capnp::schema::Type::Reader value) { - _builder.setDataField( - 0 * ::capnp::ELEMENTS, Body::LIST_TYPE); - ::capnp::_::PointerHelpers< ::capnp::schema::Type>::set( - _builder, 0 * ::capnp::POINTERS, value); -} - -inline ::capnp::schema::Type::Builder Type::Body::Builder::initListType() { - _builder.setDataField( - 0 * ::capnp::ELEMENTS, Body::LIST_TYPE); - return ::capnp::_::PointerHelpers< ::capnp::schema::Type>::init( - _builder, 0 * ::capnp::POINTERS); -} - - - -// Type::Body::enumType@16: UInt64; # bits[64, 128), union tag = 15 - -inline ::uint64_t Type::Body::Reader::getEnumType() const { - KJ_IREQUIRE(which() == Body::ENUM_TYPE, - "Must check which() before get()ing a union member."); - return _reader.getDataField< ::uint64_t>( - 1 * ::capnp::ELEMENTS); -} - -inline ::uint64_t Type::Body::Builder::getEnumType() { - KJ_IREQUIRE(which() == Body::ENUM_TYPE, - "Must check which() before get()ing a union member."); - return _builder.getDataField< ::uint64_t>( - 1 * ::capnp::ELEMENTS); -} -inline void Type::Body::Builder::setEnumType( ::uint64_t value) { - _builder.setDataField( - 0 * ::capnp::ELEMENTS, Body::ENUM_TYPE); - _builder.setDataField< ::uint64_t>( - 1 * ::capnp::ELEMENTS, value); -} - - -// Type::Body::structType@17: UInt64; # bits[64, 128), union tag = 16 - -inline ::uint64_t Type::Body::Reader::getStructType() const { - KJ_IREQUIRE(which() == Body::STRUCT_TYPE, - "Must check which() before get()ing a union member."); - return _reader.getDataField< ::uint64_t>( - 1 * ::capnp::ELEMENTS); -} - -inline ::uint64_t Type::Body::Builder::getStructType() { - KJ_IREQUIRE(which() == Body::STRUCT_TYPE, - "Must check which() before get()ing a union member."); - return _builder.getDataField< ::uint64_t>( - 1 * ::capnp::ELEMENTS); -} -inline void Type::Body::Builder::setStructType( ::uint64_t value) { - _builder.setDataField( - 0 * ::capnp::ELEMENTS, Body::STRUCT_TYPE); - _builder.setDataField< ::uint64_t>( - 1 * ::capnp::ELEMENTS, value); -} - - -// Type::Body::interfaceType@18: UInt64; # bits[64, 128), union tag = 17 - -inline ::uint64_t Type::Body::Reader::getInterfaceType() const { - KJ_IREQUIRE(which() == Body::INTERFACE_TYPE, - "Must check which() before get()ing a union member."); - return _reader.getDataField< ::uint64_t>( - 1 * ::capnp::ELEMENTS); -} - -inline ::uint64_t Type::Body::Builder::getInterfaceType() { - KJ_IREQUIRE(which() == Body::INTERFACE_TYPE, - "Must check which() before get()ing a union member."); - return _builder.getDataField< ::uint64_t>( - 1 * ::capnp::ELEMENTS); -} -inline void Type::Body::Builder::setInterfaceType( ::uint64_t value) { - _builder.setDataField( - 0 * ::capnp::ELEMENTS, Body::INTERFACE_TYPE); - _builder.setDataField< ::uint64_t>( - 1 * ::capnp::ELEMENTS, value); -} - - -// Type::Body::objectType@19: Void; # (none), union tag = 18 - -inline ::capnp::Void Type::Body::Reader::getObjectType() const { - KJ_IREQUIRE(which() == Body::OBJECT_TYPE, - "Must check which() before get()ing a union member."); - return _reader.getDataField< ::capnp::Void>( - 0 * ::capnp::ELEMENTS); -} - -inline ::capnp::Void Type::Body::Builder::getObjectType() { - KJ_IREQUIRE(which() == Body::OBJECT_TYPE, - "Must check which() before get()ing a union member."); - return _builder.getDataField< ::capnp::Void>( - 0 * ::capnp::ELEMENTS); -} -inline void Type::Body::Builder::setObjectType( ::capnp::Void value = ::capnp::Void::VOID) { - _builder.setDataField( - 0 * ::capnp::ELEMENTS, Body::OBJECT_TYPE); - _builder.setDataField< ::capnp::Void>( - 0 * ::capnp::ELEMENTS, value); -} - - -inline Value::Body::Reader Value::Reader::getBody() const { - return Value::Body::Reader(_reader); -} - -inline Value::Body::Builder Value::Builder::getBody() { - return Value::Body::Builder(_builder); -} - - -// Value::Body -inline Value::Body::Which Value::Body::Reader::which() const { - return _reader.getDataField(0 * ::capnp::ELEMENTS); -} - -inline Value::Body::Which Value::Body::Builder::which() { - return _builder.getDataField(0 * ::capnp::ELEMENTS); -} - - -// Value::Body::voidValue@10: Void; # (none), union tag = 9 - -inline ::capnp::Void Value::Body::Reader::getVoidValue() const { - KJ_IREQUIRE(which() == Body::VOID_VALUE, - "Must check which() before get()ing a union member."); - return _reader.getDataField< ::capnp::Void>( - 0 * ::capnp::ELEMENTS); -} - -inline ::capnp::Void Value::Body::Builder::getVoidValue() { - KJ_IREQUIRE(which() == Body::VOID_VALUE, - "Must check which() before get()ing a union member."); - return _builder.getDataField< ::capnp::Void>( - 0 * ::capnp::ELEMENTS); -} -inline void Value::Body::Builder::setVoidValue( ::capnp::Void value = ::capnp::Void::VOID) { - _builder.setDataField( - 0 * ::capnp::ELEMENTS, Body::VOID_VALUE); - _builder.setDataField< ::capnp::Void>( - 0 * ::capnp::ELEMENTS, value); -} - - -// Value::Body::boolValue@2: Bool; # bits[64, 65), union tag = 1 - -inline bool Value::Body::Reader::getBoolValue() const { - KJ_IREQUIRE(which() == Body::BOOL_VALUE, - "Must check which() before get()ing a union member."); - return _reader.getDataField( - 64 * ::capnp::ELEMENTS); -} - -inline bool Value::Body::Builder::getBoolValue() { - KJ_IREQUIRE(which() == Body::BOOL_VALUE, - "Must check which() before get()ing a union member."); - return _builder.getDataField( - 64 * ::capnp::ELEMENTS); -} -inline void Value::Body::Builder::setBoolValue(bool value) { - _builder.setDataField( - 0 * ::capnp::ELEMENTS, Body::BOOL_VALUE); - _builder.setDataField( - 64 * ::capnp::ELEMENTS, value); -} - - -// Value::Body::int8Value@3: Int8; # bits[64, 72), union tag = 2 - -inline ::int8_t Value::Body::Reader::getInt8Value() const { - KJ_IREQUIRE(which() == Body::INT8_VALUE, - "Must check which() before get()ing a union member."); - return _reader.getDataField< ::int8_t>( - 8 * ::capnp::ELEMENTS); -} - -inline ::int8_t Value::Body::Builder::getInt8Value() { - KJ_IREQUIRE(which() == Body::INT8_VALUE, - "Must check which() before get()ing a union member."); - return _builder.getDataField< ::int8_t>( - 8 * ::capnp::ELEMENTS); -} -inline void Value::Body::Builder::setInt8Value( ::int8_t value) { - _builder.setDataField( - 0 * ::capnp::ELEMENTS, Body::INT8_VALUE); - _builder.setDataField< ::int8_t>( - 8 * ::capnp::ELEMENTS, value); -} - - -// Value::Body::int16Value@4: Int16; # bits[64, 80), union tag = 3 - -inline ::int16_t Value::Body::Reader::getInt16Value() const { - KJ_IREQUIRE(which() == Body::INT16_VALUE, - "Must check which() before get()ing a union member."); - return _reader.getDataField< ::int16_t>( - 4 * ::capnp::ELEMENTS); -} - -inline ::int16_t Value::Body::Builder::getInt16Value() { - KJ_IREQUIRE(which() == Body::INT16_VALUE, - "Must check which() before get()ing a union member."); - return _builder.getDataField< ::int16_t>( - 4 * ::capnp::ELEMENTS); -} -inline void Value::Body::Builder::setInt16Value( ::int16_t value) { - _builder.setDataField( - 0 * ::capnp::ELEMENTS, Body::INT16_VALUE); - _builder.setDataField< ::int16_t>( - 4 * ::capnp::ELEMENTS, value); -} - - -// Value::Body::int32Value@5: Int32; # bits[64, 96), union tag = 4 - -inline ::int32_t Value::Body::Reader::getInt32Value() const { - KJ_IREQUIRE(which() == Body::INT32_VALUE, - "Must check which() before get()ing a union member."); - return _reader.getDataField< ::int32_t>( - 2 * ::capnp::ELEMENTS); -} - -inline ::int32_t Value::Body::Builder::getInt32Value() { - KJ_IREQUIRE(which() == Body::INT32_VALUE, - "Must check which() before get()ing a union member."); - return _builder.getDataField< ::int32_t>( - 2 * ::capnp::ELEMENTS); -} -inline void Value::Body::Builder::setInt32Value( ::int32_t value) { - _builder.setDataField( - 0 * ::capnp::ELEMENTS, Body::INT32_VALUE); - _builder.setDataField< ::int32_t>( - 2 * ::capnp::ELEMENTS, value); -} - - -// Value::Body::int64Value@6: Int64; # bits[64, 128), union tag = 5 - -inline ::int64_t Value::Body::Reader::getInt64Value() const { - KJ_IREQUIRE(which() == Body::INT64_VALUE, - "Must check which() before get()ing a union member."); - return _reader.getDataField< ::int64_t>( - 1 * ::capnp::ELEMENTS); -} - -inline ::int64_t Value::Body::Builder::getInt64Value() { - KJ_IREQUIRE(which() == Body::INT64_VALUE, - "Must check which() before get()ing a union member."); - return _builder.getDataField< ::int64_t>( - 1 * ::capnp::ELEMENTS); -} -inline void Value::Body::Builder::setInt64Value( ::int64_t value) { - _builder.setDataField( - 0 * ::capnp::ELEMENTS, Body::INT64_VALUE); - _builder.setDataField< ::int64_t>( - 1 * ::capnp::ELEMENTS, value); -} - - -// Value::Body::uint8Value@7: UInt8; # bits[64, 72), union tag = 6 - -inline ::uint8_t Value::Body::Reader::getUint8Value() const { - KJ_IREQUIRE(which() == Body::UINT8_VALUE, - "Must check which() before get()ing a union member."); - return _reader.getDataField< ::uint8_t>( - 8 * ::capnp::ELEMENTS); -} - -inline ::uint8_t Value::Body::Builder::getUint8Value() { - KJ_IREQUIRE(which() == Body::UINT8_VALUE, - "Must check which() before get()ing a union member."); - return _builder.getDataField< ::uint8_t>( - 8 * ::capnp::ELEMENTS); -} -inline void Value::Body::Builder::setUint8Value( ::uint8_t value) { - _builder.setDataField( - 0 * ::capnp::ELEMENTS, Body::UINT8_VALUE); - _builder.setDataField< ::uint8_t>( - 8 * ::capnp::ELEMENTS, value); -} - - -// Value::Body::uint16Value@8: UInt16; # bits[64, 80), union tag = 7 - -inline ::uint16_t Value::Body::Reader::getUint16Value() const { - KJ_IREQUIRE(which() == Body::UINT16_VALUE, - "Must check which() before get()ing a union member."); - return _reader.getDataField< ::uint16_t>( - 4 * ::capnp::ELEMENTS); -} - -inline ::uint16_t Value::Body::Builder::getUint16Value() { - KJ_IREQUIRE(which() == Body::UINT16_VALUE, - "Must check which() before get()ing a union member."); - return _builder.getDataField< ::uint16_t>( - 4 * ::capnp::ELEMENTS); -} -inline void Value::Body::Builder::setUint16Value( ::uint16_t value) { - _builder.setDataField( - 0 * ::capnp::ELEMENTS, Body::UINT16_VALUE); - _builder.setDataField< ::uint16_t>( - 4 * ::capnp::ELEMENTS, value); -} - - -// Value::Body::uint32Value@9: UInt32; # bits[64, 96), union tag = 8 - -inline ::uint32_t Value::Body::Reader::getUint32Value() const { - KJ_IREQUIRE(which() == Body::UINT32_VALUE, - "Must check which() before get()ing a union member."); - return _reader.getDataField< ::uint32_t>( - 2 * ::capnp::ELEMENTS); -} - -inline ::uint32_t Value::Body::Builder::getUint32Value() { - KJ_IREQUIRE(which() == Body::UINT32_VALUE, - "Must check which() before get()ing a union member."); - return _builder.getDataField< ::uint32_t>( - 2 * ::capnp::ELEMENTS); -} -inline void Value::Body::Builder::setUint32Value( ::uint32_t value) { - _builder.setDataField( - 0 * ::capnp::ELEMENTS, Body::UINT32_VALUE); - _builder.setDataField< ::uint32_t>( - 2 * ::capnp::ELEMENTS, value); -} - - -// Value::Body::uint64Value@1: UInt64; # bits[64, 128), union tag = 0 - -inline ::uint64_t Value::Body::Reader::getUint64Value() const { - KJ_IREQUIRE(which() == Body::UINT64_VALUE, - "Must check which() before get()ing a union member."); - return _reader.getDataField< ::uint64_t>( - 1 * ::capnp::ELEMENTS); -} - -inline ::uint64_t Value::Body::Builder::getUint64Value() { - KJ_IREQUIRE(which() == Body::UINT64_VALUE, - "Must check which() before get()ing a union member."); - return _builder.getDataField< ::uint64_t>( - 1 * ::capnp::ELEMENTS); -} -inline void Value::Body::Builder::setUint64Value( ::uint64_t value) { - _builder.setDataField( - 0 * ::capnp::ELEMENTS, Body::UINT64_VALUE); - _builder.setDataField< ::uint64_t>( - 1 * ::capnp::ELEMENTS, value); -} - - -// Value::Body::float32Value@11: Float32; # bits[64, 96), union tag = 10 - -inline float Value::Body::Reader::getFloat32Value() const { - KJ_IREQUIRE(which() == Body::FLOAT32_VALUE, - "Must check which() before get()ing a union member."); - return _reader.getDataField( - 2 * ::capnp::ELEMENTS); -} - -inline float Value::Body::Builder::getFloat32Value() { - KJ_IREQUIRE(which() == Body::FLOAT32_VALUE, - "Must check which() before get()ing a union member."); - return _builder.getDataField( - 2 * ::capnp::ELEMENTS); -} -inline void Value::Body::Builder::setFloat32Value(float value) { - _builder.setDataField( - 0 * ::capnp::ELEMENTS, Body::FLOAT32_VALUE); - _builder.setDataField( - 2 * ::capnp::ELEMENTS, value); -} - - -// Value::Body::float64Value@12: Float64; # bits[64, 128), union tag = 11 - -inline double Value::Body::Reader::getFloat64Value() const { - KJ_IREQUIRE(which() == Body::FLOAT64_VALUE, - "Must check which() before get()ing a union member."); - return _reader.getDataField( - 1 * ::capnp::ELEMENTS); -} - -inline double Value::Body::Builder::getFloat64Value() { - KJ_IREQUIRE(which() == Body::FLOAT64_VALUE, - "Must check which() before get()ing a union member."); - return _builder.getDataField( - 1 * ::capnp::ELEMENTS); -} -inline void Value::Body::Builder::setFloat64Value(double value) { - _builder.setDataField( - 0 * ::capnp::ELEMENTS, Body::FLOAT64_VALUE); - _builder.setDataField( - 1 * ::capnp::ELEMENTS, value); -} - - -// Value::Body::textValue@13: Text; # ptr[0], union tag = 12 - - -inline bool Value::Body::Reader::hasTextValue() const { - return !_reader.isPointerFieldNull(0 * ::capnp::POINTERS); -} - -inline bool Value::Body::Builder::hasTextValue() { - return !_builder.isPointerFieldNull(0 * ::capnp::POINTERS); -} - -inline ::capnp::Text::Reader Value::Body::Reader::getTextValue() const { - KJ_IREQUIRE(which() == Body::TEXT_VALUE, - "Must check which() before get()ing a union member."); - return ::capnp::_::PointerHelpers< ::capnp::Text>::get( - _reader, 0 * ::capnp::POINTERS); -} - -inline ::capnp::Text::Builder Value::Body::Builder::getTextValue() { - KJ_IREQUIRE(which() == Body::TEXT_VALUE, - "Must check which() before get()ing a union member."); - return ::capnp::_::PointerHelpers< ::capnp::Text>::get( - _builder, 0 * ::capnp::POINTERS); -} - -inline void Value::Body::Builder::setTextValue( ::capnp::Text::Reader value) { - _builder.setDataField( - 0 * ::capnp::ELEMENTS, Body::TEXT_VALUE); - ::capnp::_::PointerHelpers< ::capnp::Text>::set( - _builder, 0 * ::capnp::POINTERS, value); -} - -inline ::capnp::Text::Builder Value::Body::Builder::initTextValue(unsigned int size) { - _builder.setDataField( - 0 * ::capnp::ELEMENTS, Body::TEXT_VALUE); - return ::capnp::_::PointerHelpers< ::capnp::Text>::init( - _builder, 0 * ::capnp::POINTERS, size); -} - - - -// Value::Body::dataValue@14: Data; # ptr[0], union tag = 13 - - -inline bool Value::Body::Reader::hasDataValue() const { - return !_reader.isPointerFieldNull(0 * ::capnp::POINTERS); -} - -inline bool Value::Body::Builder::hasDataValue() { - return !_builder.isPointerFieldNull(0 * ::capnp::POINTERS); -} - -inline ::capnp::Data::Reader Value::Body::Reader::getDataValue() const { - KJ_IREQUIRE(which() == Body::DATA_VALUE, - "Must check which() before get()ing a union member."); - return ::capnp::_::PointerHelpers< ::capnp::Data>::get( - _reader, 0 * ::capnp::POINTERS); -} - -inline ::capnp::Data::Builder Value::Body::Builder::getDataValue() { - KJ_IREQUIRE(which() == Body::DATA_VALUE, - "Must check which() before get()ing a union member."); - return ::capnp::_::PointerHelpers< ::capnp::Data>::get( - _builder, 0 * ::capnp::POINTERS); -} - -inline void Value::Body::Builder::setDataValue( ::capnp::Data::Reader value) { - _builder.setDataField( - 0 * ::capnp::ELEMENTS, Body::DATA_VALUE); - ::capnp::_::PointerHelpers< ::capnp::Data>::set( - _builder, 0 * ::capnp::POINTERS, value); -} - -inline ::capnp::Data::Builder Value::Body::Builder::initDataValue(unsigned int size) { - _builder.setDataField( - 0 * ::capnp::ELEMENTS, Body::DATA_VALUE); - return ::capnp::_::PointerHelpers< ::capnp::Data>::init( - _builder, 0 * ::capnp::POINTERS, size); -} - - - -// Value::Body::listValue@15: Object; # ptr[0], union tag = 14 - - -inline bool Value::Body::Reader::hasListValue() const { - return !_reader.isPointerFieldNull(0 * ::capnp::POINTERS); -} - -inline bool Value::Body::Builder::hasListValue() { - return !_builder.isPointerFieldNull(0 * ::capnp::POINTERS); -} - - -template -inline typename T::Reader Value::Body::Reader::getListValue() const { - KJ_IREQUIRE(which() == Body::LIST_VALUE, - "Must check which() before get()ing a union member."); - return ::capnp::_::PointerHelpers::get( - _reader, 0 * ::capnp::POINTERS); -} - -template -inline typename T::Builder Value::Body::Builder::getListValue() { - KJ_IREQUIRE(which() == Body::LIST_VALUE, - "Must check which() before get()ing a union member."); - return ::capnp::_::PointerHelpers::get( - _builder, 0 * ::capnp::POINTERS); -} - -template -inline typename T::Reader Value::Body::Reader::getListValue(Param&& param) const { - KJ_IREQUIRE(which() == Body::LIST_VALUE, - "Must check which() before get()ing a union member."); - return ::capnp::_::PointerHelpers::getDynamic( - _reader, 0 * ::capnp::POINTERS, ::kj::fwd(param)); -} - -template -inline typename T::Builder Value::Body::Builder::getListValue(Param&& param) { - KJ_IREQUIRE(which() == Body::LIST_VALUE, - "Must check which() before get()ing a union member."); - return ::capnp::_::PointerHelpers::getDynamic( - _builder, 0 * ::capnp::POINTERS, ::kj::fwd(param)); -} - -template -inline void Value::Body::Builder::setListValue(typename T::Reader value) { - _builder.setDataField( - 0 * ::capnp::ELEMENTS, Body::LIST_VALUE); - ::capnp::_::PointerHelpers::set( - _builder, 0 * ::capnp::POINTERS, value); -} - -template -inline void Value::Body::Builder::setListValue(std::initializer_list value) { - _builder.setDataField( - 0 * ::capnp::ELEMENTS, Body::LIST_VALUE); - ::capnp::_::PointerHelpers::set( - _builder, 0 * ::capnp::POINTERS, value); -} - -template -inline typename T::Builder Value::Body::Builder::initListValue(Params&&... params) { - _builder.setDataField( - 0 * ::capnp::ELEMENTS, Body::LIST_VALUE); - return ::capnp::_::PointerHelpers::init( - _builder, 0 * ::capnp::POINTERS, ::kj::fwd(params)...); -} - - -// Value::Body::enumValue@16: UInt16; # bits[64, 80), union tag = 15 - -inline ::uint16_t Value::Body::Reader::getEnumValue() const { - KJ_IREQUIRE(which() == Body::ENUM_VALUE, - "Must check which() before get()ing a union member."); - return _reader.getDataField< ::uint16_t>( - 4 * ::capnp::ELEMENTS); -} - -inline ::uint16_t Value::Body::Builder::getEnumValue() { - KJ_IREQUIRE(which() == Body::ENUM_VALUE, - "Must check which() before get()ing a union member."); - return _builder.getDataField< ::uint16_t>( - 4 * ::capnp::ELEMENTS); -} -inline void Value::Body::Builder::setEnumValue( ::uint16_t value) { - _builder.setDataField( - 0 * ::capnp::ELEMENTS, Body::ENUM_VALUE); - _builder.setDataField< ::uint16_t>( - 4 * ::capnp::ELEMENTS, value); -} - - -// Value::Body::structValue@17: Object; # ptr[0], union tag = 16 - - -inline bool Value::Body::Reader::hasStructValue() const { - return !_reader.isPointerFieldNull(0 * ::capnp::POINTERS); -} - -inline bool Value::Body::Builder::hasStructValue() { - return !_builder.isPointerFieldNull(0 * ::capnp::POINTERS); -} - - -template -inline typename T::Reader Value::Body::Reader::getStructValue() const { - KJ_IREQUIRE(which() == Body::STRUCT_VALUE, - "Must check which() before get()ing a union member."); - return ::capnp::_::PointerHelpers::get( - _reader, 0 * ::capnp::POINTERS); -} - -template -inline typename T::Builder Value::Body::Builder::getStructValue() { - KJ_IREQUIRE(which() == Body::STRUCT_VALUE, - "Must check which() before get()ing a union member."); - return ::capnp::_::PointerHelpers::get( - _builder, 0 * ::capnp::POINTERS); -} - -template -inline typename T::Reader Value::Body::Reader::getStructValue(Param&& param) const { - KJ_IREQUIRE(which() == Body::STRUCT_VALUE, - "Must check which() before get()ing a union member."); - return ::capnp::_::PointerHelpers::getDynamic( - _reader, 0 * ::capnp::POINTERS, ::kj::fwd(param)); -} - -template -inline typename T::Builder Value::Body::Builder::getStructValue(Param&& param) { - KJ_IREQUIRE(which() == Body::STRUCT_VALUE, - "Must check which() before get()ing a union member."); - return ::capnp::_::PointerHelpers::getDynamic( - _builder, 0 * ::capnp::POINTERS, ::kj::fwd(param)); -} - -template -inline void Value::Body::Builder::setStructValue(typename T::Reader value) { - _builder.setDataField( - 0 * ::capnp::ELEMENTS, Body::STRUCT_VALUE); - ::capnp::_::PointerHelpers::set( - _builder, 0 * ::capnp::POINTERS, value); -} - -template -inline void Value::Body::Builder::setStructValue(std::initializer_list value) { - _builder.setDataField( - 0 * ::capnp::ELEMENTS, Body::STRUCT_VALUE); - ::capnp::_::PointerHelpers::set( - _builder, 0 * ::capnp::POINTERS, value); -} - -template -inline typename T::Builder Value::Body::Builder::initStructValue(Params&&... params) { - _builder.setDataField( - 0 * ::capnp::ELEMENTS, Body::STRUCT_VALUE); - return ::capnp::_::PointerHelpers::init( - _builder, 0 * ::capnp::POINTERS, ::kj::fwd(params)...); -} - - -// Value::Body::interfaceValue@18: Void; # (none), union tag = 17 - -inline ::capnp::Void Value::Body::Reader::getInterfaceValue() const { - KJ_IREQUIRE(which() == Body::INTERFACE_VALUE, - "Must check which() before get()ing a union member."); - return _reader.getDataField< ::capnp::Void>( - 0 * ::capnp::ELEMENTS); -} - -inline ::capnp::Void Value::Body::Builder::getInterfaceValue() { - KJ_IREQUIRE(which() == Body::INTERFACE_VALUE, - "Must check which() before get()ing a union member."); - return _builder.getDataField< ::capnp::Void>( - 0 * ::capnp::ELEMENTS); -} -inline void Value::Body::Builder::setInterfaceValue( ::capnp::Void value = ::capnp::Void::VOID) { - _builder.setDataField( - 0 * ::capnp::ELEMENTS, Body::INTERFACE_VALUE); - _builder.setDataField< ::capnp::Void>( - 0 * ::capnp::ELEMENTS, value); -} - - -// Value::Body::objectValue@19: Object; # ptr[0], union tag = 18 - - -inline bool Value::Body::Reader::hasObjectValue() const { - return !_reader.isPointerFieldNull(0 * ::capnp::POINTERS); -} - -inline bool Value::Body::Builder::hasObjectValue() { - return !_builder.isPointerFieldNull(0 * ::capnp::POINTERS); -} - - -template -inline typename T::Reader Value::Body::Reader::getObjectValue() const { - KJ_IREQUIRE(which() == Body::OBJECT_VALUE, - "Must check which() before get()ing a union member."); - return ::capnp::_::PointerHelpers::get( - _reader, 0 * ::capnp::POINTERS); -} - -template -inline typename T::Builder Value::Body::Builder::getObjectValue() { - KJ_IREQUIRE(which() == Body::OBJECT_VALUE, - "Must check which() before get()ing a union member."); - return ::capnp::_::PointerHelpers::get( - _builder, 0 * ::capnp::POINTERS); -} - -template -inline typename T::Reader Value::Body::Reader::getObjectValue(Param&& param) const { - KJ_IREQUIRE(which() == Body::OBJECT_VALUE, - "Must check which() before get()ing a union member."); - return ::capnp::_::PointerHelpers::getDynamic( - _reader, 0 * ::capnp::POINTERS, ::kj::fwd(param)); -} - -template -inline typename T::Builder Value::Body::Builder::getObjectValue(Param&& param) { - KJ_IREQUIRE(which() == Body::OBJECT_VALUE, - "Must check which() before get()ing a union member."); - return ::capnp::_::PointerHelpers::getDynamic( - _builder, 0 * ::capnp::POINTERS, ::kj::fwd(param)); -} - -template -inline void Value::Body::Builder::setObjectValue(typename T::Reader value) { - _builder.setDataField( - 0 * ::capnp::ELEMENTS, Body::OBJECT_VALUE); - ::capnp::_::PointerHelpers::set( - _builder, 0 * ::capnp::POINTERS, value); -} - -template -inline void Value::Body::Builder::setObjectValue(std::initializer_list value) { - _builder.setDataField( - 0 * ::capnp::ELEMENTS, Body::OBJECT_VALUE); - ::capnp::_::PointerHelpers::set( - _builder, 0 * ::capnp::POINTERS, value); -} - -template -inline typename T::Builder Value::Body::Builder::initObjectValue(Params&&... params) { - _builder.setDataField( - 0 * ::capnp::ELEMENTS, Body::OBJECT_VALUE); - return ::capnp::_::PointerHelpers::init( - _builder, 0 * ::capnp::POINTERS, ::kj::fwd(params)...); -} - - - -} // namespace -} // namespace -#endif // CAPNP_INCLUDED_3049d609bcc70d258c4d9c07a7924611 diff --git a/schema.cpp b/schema.cpp deleted file mode 100644 index cfe09d8..0000000 --- a/schema.cpp +++ /dev/null @@ -1,48796 +0,0 @@ -/* Generated by Cython 0.19.1 on Tue Jun 25 23:21:04 2013 */ - -#define PY_SSIZE_T_CLEAN -#ifndef CYTHON_USE_PYLONG_INTERNALS -#ifdef PYLONG_BITS_IN_DIGIT -#define CYTHON_USE_PYLONG_INTERNALS 0 -#else -#include "pyconfig.h" -#ifdef PYLONG_BITS_IN_DIGIT -#define CYTHON_USE_PYLONG_INTERNALS 1 -#else -#define CYTHON_USE_PYLONG_INTERNALS 0 -#endif -#endif -#endif -#include "Python.h" -#ifndef Py_PYTHON_H - #error Python headers needed to compile C extensions, please install development version of Python. -#elif PY_VERSION_HEX < 0x02040000 - #error Cython requires Python 2.4+. -#else -#include /* For offsetof */ -#ifndef offsetof -#define offsetof(type, member) ( (size_t) & ((type*)0) -> member ) -#endif -#if !defined(WIN32) && !defined(MS_WINDOWS) - #ifndef __stdcall - #define __stdcall - #endif - #ifndef __cdecl - #define __cdecl - #endif - #ifndef __fastcall - #define __fastcall - #endif -#endif -#ifndef DL_IMPORT - #define DL_IMPORT(t) t -#endif -#ifndef DL_EXPORT - #define DL_EXPORT(t) t -#endif -#ifndef PY_LONG_LONG - #define PY_LONG_LONG LONG_LONG -#endif -#ifndef Py_HUGE_VAL - #define Py_HUGE_VAL HUGE_VAL -#endif -#ifdef PYPY_VERSION -#define CYTHON_COMPILING_IN_PYPY 1 -#define CYTHON_COMPILING_IN_CPYTHON 0 -#else -#define CYTHON_COMPILING_IN_PYPY 0 -#define CYTHON_COMPILING_IN_CPYTHON 1 -#endif -#if PY_VERSION_HEX < 0x02050000 - typedef int Py_ssize_t; - #define PY_SSIZE_T_MAX INT_MAX - #define PY_SSIZE_T_MIN INT_MIN - #define PY_FORMAT_SIZE_T "" - #define CYTHON_FORMAT_SSIZE_T "" - #define PyInt_FromSsize_t(z) PyInt_FromLong(z) - #define PyInt_AsSsize_t(o) __Pyx_PyInt_AsInt(o) - #define PyNumber_Index(o) ((PyNumber_Check(o) && !PyFloat_Check(o)) ? PyNumber_Int(o) : \ - (PyErr_Format(PyExc_TypeError, \ - "expected index value, got %.200s", Py_TYPE(o)->tp_name), \ - (PyObject*)0)) - #define __Pyx_PyIndex_Check(o) (PyNumber_Check(o) && !PyFloat_Check(o) && \ - !PyComplex_Check(o)) - #define PyIndex_Check __Pyx_PyIndex_Check - #define PyErr_WarnEx(category, message, stacklevel) PyErr_Warn(category, message) - #define __PYX_BUILD_PY_SSIZE_T "i" -#else - #define __PYX_BUILD_PY_SSIZE_T "n" - #define CYTHON_FORMAT_SSIZE_T "z" - #define __Pyx_PyIndex_Check PyIndex_Check -#endif -#if PY_VERSION_HEX < 0x02060000 - #define Py_REFCNT(ob) (((PyObject*)(ob))->ob_refcnt) - #define Py_TYPE(ob) (((PyObject*)(ob))->ob_type) - #define Py_SIZE(ob) (((PyVarObject*)(ob))->ob_size) - #define PyVarObject_HEAD_INIT(type, size) \ - PyObject_HEAD_INIT(type) size, - #define PyType_Modified(t) - typedef struct { - void *buf; - PyObject *obj; - Py_ssize_t len; - Py_ssize_t itemsize; - int readonly; - int ndim; - char *format; - Py_ssize_t *shape; - Py_ssize_t *strides; - Py_ssize_t *suboffsets; - void *internal; - } Py_buffer; - #define PyBUF_SIMPLE 0 - #define PyBUF_WRITABLE 0x0001 - #define PyBUF_FORMAT 0x0004 - #define PyBUF_ND 0x0008 - #define PyBUF_STRIDES (0x0010 | PyBUF_ND) - #define PyBUF_C_CONTIGUOUS (0x0020 | PyBUF_STRIDES) - #define PyBUF_F_CONTIGUOUS (0x0040 | PyBUF_STRIDES) - #define PyBUF_ANY_CONTIGUOUS (0x0080 | PyBUF_STRIDES) - #define PyBUF_INDIRECT (0x0100 | PyBUF_STRIDES) - #define PyBUF_RECORDS (PyBUF_STRIDES | PyBUF_FORMAT | PyBUF_WRITABLE) - #define PyBUF_FULL (PyBUF_INDIRECT | PyBUF_FORMAT | PyBUF_WRITABLE) - typedef int (*getbufferproc)(PyObject *, Py_buffer *, int); - typedef void (*releasebufferproc)(PyObject *, Py_buffer *); -#endif -#if PY_MAJOR_VERSION < 3 - #define __Pyx_BUILTIN_MODULE_NAME "__builtin__" - #define __Pyx_PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos) \ - PyCode_New(a, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos) -#else - #define __Pyx_BUILTIN_MODULE_NAME "builtins" - #define __Pyx_PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos) \ - PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos) -#endif -#if PY_MAJOR_VERSION < 3 && PY_MINOR_VERSION < 6 - #define PyUnicode_FromString(s) PyUnicode_Decode(s, strlen(s), "UTF-8", "strict") -#endif -#if PY_MAJOR_VERSION >= 3 - #define Py_TPFLAGS_CHECKTYPES 0 - #define Py_TPFLAGS_HAVE_INDEX 0 -#endif -#if (PY_VERSION_HEX < 0x02060000) || (PY_MAJOR_VERSION >= 3) - #define Py_TPFLAGS_HAVE_NEWBUFFER 0 -#endif -#if PY_VERSION_HEX < 0x02060000 - #define Py_TPFLAGS_HAVE_VERSION_TAG 0 -#endif -#if PY_VERSION_HEX > 0x03030000 && defined(PyUnicode_KIND) - #define CYTHON_PEP393_ENABLED 1 - #define __Pyx_PyUnicode_READY(op) (likely(PyUnicode_IS_READY(op)) ? \ - 0 : _PyUnicode_Ready((PyObject *)(op))) - #define __Pyx_PyUnicode_GET_LENGTH(u) PyUnicode_GET_LENGTH(u) - #define __Pyx_PyUnicode_READ_CHAR(u, i) PyUnicode_READ_CHAR(u, i) - #define __Pyx_PyUnicode_READ(k, d, i) PyUnicode_READ(k, d, i) -#else - #define CYTHON_PEP393_ENABLED 0 - #define __Pyx_PyUnicode_READY(op) (0) - #define __Pyx_PyUnicode_GET_LENGTH(u) PyUnicode_GET_SIZE(u) - #define __Pyx_PyUnicode_READ_CHAR(u, i) ((Py_UCS4)(PyUnicode_AS_UNICODE(u)[i])) - #define __Pyx_PyUnicode_READ(k, d, i) ((k=k), (Py_UCS4)(((Py_UNICODE*)d)[i])) -#endif -#if PY_MAJOR_VERSION >= 3 - #define PyBaseString_Type PyUnicode_Type - #define PyStringObject PyUnicodeObject - #define PyString_Type PyUnicode_Type - #define PyString_Check PyUnicode_Check - #define PyString_CheckExact PyUnicode_CheckExact -#endif -#if PY_VERSION_HEX < 0x02060000 - #define PyBytesObject PyStringObject - #define PyBytes_Type PyString_Type - #define PyBytes_Check PyString_Check - #define PyBytes_CheckExact PyString_CheckExact - #define PyBytes_FromString PyString_FromString - #define PyBytes_FromStringAndSize PyString_FromStringAndSize - #define PyBytes_FromFormat PyString_FromFormat - #define PyBytes_DecodeEscape PyString_DecodeEscape - #define PyBytes_AsString PyString_AsString - #define PyBytes_AsStringAndSize PyString_AsStringAndSize - #define PyBytes_Size PyString_Size - #define PyBytes_AS_STRING PyString_AS_STRING - #define PyBytes_GET_SIZE PyString_GET_SIZE - #define PyBytes_Repr PyString_Repr - #define PyBytes_Concat PyString_Concat - #define PyBytes_ConcatAndDel PyString_ConcatAndDel -#endif -#if PY_MAJOR_VERSION >= 3 - #define __Pyx_PyBaseString_Check(obj) PyUnicode_Check(obj) - #define __Pyx_PyBaseString_CheckExact(obj) PyUnicode_CheckExact(obj) -#else - #define __Pyx_PyBaseString_Check(obj) (PyString_CheckExact(obj) || PyUnicode_CheckExact(obj) || \ - PyString_Check(obj) || PyUnicode_Check(obj)) - #define __Pyx_PyBaseString_CheckExact(obj) (Py_TYPE(obj) == &PyBaseString_Type) -#endif -#if PY_VERSION_HEX < 0x02060000 - #define PySet_Check(obj) PyObject_TypeCheck(obj, &PySet_Type) - #define PyFrozenSet_Check(obj) PyObject_TypeCheck(obj, &PyFrozenSet_Type) -#endif -#ifndef PySet_CheckExact - #define PySet_CheckExact(obj) (Py_TYPE(obj) == &PySet_Type) -#endif -#define __Pyx_TypeCheck(obj, type) PyObject_TypeCheck(obj, (PyTypeObject *)type) -#if PY_MAJOR_VERSION >= 3 - #define PyIntObject PyLongObject - #define PyInt_Type PyLong_Type - #define PyInt_Check(op) PyLong_Check(op) - #define PyInt_CheckExact(op) PyLong_CheckExact(op) - #define PyInt_FromString PyLong_FromString - #define PyInt_FromUnicode PyLong_FromUnicode - #define PyInt_FromLong PyLong_FromLong - #define PyInt_FromSize_t PyLong_FromSize_t - #define PyInt_FromSsize_t PyLong_FromSsize_t - #define PyInt_AsLong PyLong_AsLong - #define PyInt_AS_LONG PyLong_AS_LONG - #define PyInt_AsSsize_t PyLong_AsSsize_t - #define PyInt_AsUnsignedLongMask PyLong_AsUnsignedLongMask - #define PyInt_AsUnsignedLongLongMask PyLong_AsUnsignedLongLongMask -#endif -#if PY_MAJOR_VERSION >= 3 - #define PyBoolObject PyLongObject -#endif -#if PY_VERSION_HEX < 0x03020000 - typedef long Py_hash_t; - #define __Pyx_PyInt_FromHash_t PyInt_FromLong - #define __Pyx_PyInt_AsHash_t PyInt_AsLong -#else - #define __Pyx_PyInt_FromHash_t PyInt_FromSsize_t - #define __Pyx_PyInt_AsHash_t PyInt_AsSsize_t -#endif -#if (PY_MAJOR_VERSION < 3) || (PY_VERSION_HEX >= 0x03010300) - #define __Pyx_PySequence_GetSlice(obj, a, b) PySequence_GetSlice(obj, a, b) - #define __Pyx_PySequence_SetSlice(obj, a, b, value) PySequence_SetSlice(obj, a, b, value) - #define __Pyx_PySequence_DelSlice(obj, a, b) PySequence_DelSlice(obj, a, b) -#else - #define __Pyx_PySequence_GetSlice(obj, a, b) (unlikely(!(obj)) ? \ - (PyErr_SetString(PyExc_SystemError, "null argument to internal routine"), (PyObject*)0) : \ - (likely((obj)->ob_type->tp_as_mapping) ? (PySequence_GetSlice(obj, a, b)) : \ - (PyErr_Format(PyExc_TypeError, "'%.200s' object is unsliceable", (obj)->ob_type->tp_name), (PyObject*)0))) - #define __Pyx_PySequence_SetSlice(obj, a, b, value) (unlikely(!(obj)) ? \ - (PyErr_SetString(PyExc_SystemError, "null argument to internal routine"), -1) : \ - (likely((obj)->ob_type->tp_as_mapping) ? (PySequence_SetSlice(obj, a, b, value)) : \ - (PyErr_Format(PyExc_TypeError, "'%.200s' object doesn't support slice assignment", (obj)->ob_type->tp_name), -1))) - #define __Pyx_PySequence_DelSlice(obj, a, b) (unlikely(!(obj)) ? \ - (PyErr_SetString(PyExc_SystemError, "null argument to internal routine"), -1) : \ - (likely((obj)->ob_type->tp_as_mapping) ? (PySequence_DelSlice(obj, a, b)) : \ - (PyErr_Format(PyExc_TypeError, "'%.200s' object doesn't support slice deletion", (obj)->ob_type->tp_name), -1))) -#endif -#if PY_MAJOR_VERSION >= 3 - #define PyMethod_New(func, self, klass) ((self) ? PyMethod_New(func, self) : PyInstanceMethod_New(func)) -#endif -#if PY_VERSION_HEX < 0x02050000 - #define __Pyx_GetAttrString(o,n) PyObject_GetAttrString((o),((char *)(n))) - #define __Pyx_SetAttrString(o,n,a) PyObject_SetAttrString((o),((char *)(n)),(a)) - #define __Pyx_DelAttrString(o,n) PyObject_DelAttrString((o),((char *)(n))) -#else - #define __Pyx_GetAttrString(o,n) PyObject_GetAttrString((o),(n)) - #define __Pyx_SetAttrString(o,n,a) PyObject_SetAttrString((o),(n),(a)) - #define __Pyx_DelAttrString(o,n) PyObject_DelAttrString((o),(n)) -#endif -#if PY_VERSION_HEX < 0x02050000 - #define __Pyx_NAMESTR(n) ((char *)(n)) - #define __Pyx_DOCSTR(n) ((char *)(n)) -#else - #define __Pyx_NAMESTR(n) (n) - #define __Pyx_DOCSTR(n) (n) -#endif -#ifndef CYTHON_INLINE - #if defined(__GNUC__) - #define CYTHON_INLINE __inline__ - #elif defined(_MSC_VER) - #define CYTHON_INLINE __inline - #elif defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L - #define CYTHON_INLINE inline - #else - #define CYTHON_INLINE - #endif -#endif -#ifndef CYTHON_RESTRICT - #if defined(__GNUC__) - #define CYTHON_RESTRICT __restrict__ - #elif defined(_MSC_VER) - #define CYTHON_RESTRICT __restrict - #elif defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L - #define CYTHON_RESTRICT restrict - #else - #define CYTHON_RESTRICT - #endif -#endif -#ifdef NAN -#define __PYX_NAN() ((float) NAN) -#else -static CYTHON_INLINE float __PYX_NAN() { - /* Initialize NaN. The sign is irrelevant, an exponent with all bits 1 and - a nonzero mantissa means NaN. If the first bit in the mantissa is 1, it is - a quiet NaN. */ - float value; - memset(&value, 0xFF, sizeof(value)); - return value; -} -#endif - - -#if PY_MAJOR_VERSION >= 3 - #define __Pyx_PyNumber_Divide(x,y) PyNumber_TrueDivide(x,y) - #define __Pyx_PyNumber_InPlaceDivide(x,y) PyNumber_InPlaceTrueDivide(x,y) -#else - #define __Pyx_PyNumber_Divide(x,y) PyNumber_Divide(x,y) - #define __Pyx_PyNumber_InPlaceDivide(x,y) PyNumber_InPlaceDivide(x,y) -#endif - -#ifndef __PYX_EXTERN_C - #ifdef __cplusplus - #define __PYX_EXTERN_C extern "C" - #else - #define __PYX_EXTERN_C extern - #endif -#endif - -#if defined(WIN32) || defined(MS_WINDOWS) -#define _USE_MATH_DEFINES -#endif -#include -#define __PYX_HAVE__schema -#define __PYX_HAVE_API__schema -#include "stdint.h" -#include "capnp/blob.h" -#include "capnp/message.h" -#include "schema.capnp.h" -#include "capnp/serialize.h" -#include "capnp/serialize-packed.h" -#ifdef _OPENMP -#include -#endif /* _OPENMP */ - -#ifdef PYREX_WITHOUT_ASSERTIONS -#define CYTHON_WITHOUT_ASSERTIONS -#endif - -#ifndef CYTHON_UNUSED -# if defined(__GNUC__) -# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)) -# define CYTHON_UNUSED __attribute__ ((__unused__)) -# else -# define CYTHON_UNUSED -# endif -# elif defined(__ICC) || (defined(__INTEL_COMPILER) && !defined(_MSC_VER)) -# define CYTHON_UNUSED __attribute__ ((__unused__)) -# else -# define CYTHON_UNUSED -# endif -#endif -typedef struct {PyObject **p; char *s; const Py_ssize_t n; const char* encoding; - const char is_unicode; const char is_str; const char intern; } __Pyx_StringTabEntry; /*proto*/ - -#define __PYX_DEFAULT_STRING_ENCODING_IS_ASCII 0 -#define __PYX_DEFAULT_STRING_ENCODING_IS_DEFAULT 0 -#define __PYX_DEFAULT_STRING_ENCODING "" -#define __Pyx_PyObject_FromString __Pyx_PyBytes_FromString -#define __Pyx_PyObject_FromStringAndSize __Pyx_PyBytes_FromStringAndSize -static CYTHON_INLINE char* __Pyx_PyObject_AsString(PyObject*); -static CYTHON_INLINE char* __Pyx_PyObject_AsStringAndSize(PyObject*, Py_ssize_t* length); -#define __Pyx_PyBytes_FromString PyBytes_FromString -#define __Pyx_PyBytes_FromStringAndSize PyBytes_FromStringAndSize -static CYTHON_INLINE PyObject* __Pyx_PyUnicode_FromString(char*); -#if PY_MAJOR_VERSION < 3 - #define __Pyx_PyStr_FromString __Pyx_PyBytes_FromString - #define __Pyx_PyStr_FromStringAndSize __Pyx_PyBytes_FromStringAndSize -#else - #define __Pyx_PyStr_FromString __Pyx_PyUnicode_FromString - #define __Pyx_PyStr_FromStringAndSize __Pyx_PyUnicode_FromStringAndSize -#endif -#define __Pyx_PyObject_AsUString(s) ((unsigned char*) __Pyx_PyObject_AsString(s)) -#define __Pyx_PyObject_FromUString(s) __Pyx_PyObject_FromString((char*)s) -#define __Pyx_PyBytes_FromUString(s) __Pyx_PyBytes_FromString((char*)s) -#define __Pyx_PyStr_FromUString(s) __Pyx_PyStr_FromString((char*)s) -#define __Pyx_PyUnicode_FromUString(s) __Pyx_PyUnicode_FromString((char*)s) -#if PY_MAJOR_VERSION < 3 -static CYTHON_INLINE size_t __Pyx_Py_UNICODE_strlen(const Py_UNICODE *u) -{ - const Py_UNICODE *u_end = u; - while (*u_end++) ; - return u_end - u - 1; -} -#else -#define __Pyx_Py_UNICODE_strlen Py_UNICODE_strlen -#endif -#define __Pyx_PyUnicode_FromUnicode(u) PyUnicode_FromUnicode(u, __Pyx_Py_UNICODE_strlen(u)) -#define __Pyx_PyUnicode_FromUnicodeAndLength PyUnicode_FromUnicode -#define __Pyx_PyUnicode_AsUnicode PyUnicode_AsUnicode -#define __Pyx_Owned_Py_None(b) (Py_INCREF(Py_None), Py_None) -#define __Pyx_PyBool_FromLong(b) ((b) ? (Py_INCREF(Py_True), Py_True) : (Py_INCREF(Py_False), Py_False)) -static CYTHON_INLINE int __Pyx_PyObject_IsTrue(PyObject*); -static CYTHON_INLINE PyObject* __Pyx_PyNumber_Int(PyObject* x); -static CYTHON_INLINE Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject*); -static CYTHON_INLINE PyObject * __Pyx_PyInt_FromSize_t(size_t); -static CYTHON_INLINE size_t __Pyx_PyInt_AsSize_t(PyObject*); -#if CYTHON_COMPILING_IN_CPYTHON -#define __pyx_PyFloat_AsDouble(x) (PyFloat_CheckExact(x) ? PyFloat_AS_DOUBLE(x) : PyFloat_AsDouble(x)) -#else -#define __pyx_PyFloat_AsDouble(x) PyFloat_AsDouble(x) -#endif -#define __pyx_PyFloat_AsFloat(x) ((float) __pyx_PyFloat_AsDouble(x)) -#if PY_MAJOR_VERSION < 3 && __PYX_DEFAULT_STRING_ENCODING_IS_ASCII -static int __Pyx_sys_getdefaultencoding_not_ascii; -static int __Pyx_init_sys_getdefaultencoding_params() { - PyObject* sys = NULL; - PyObject* default_encoding = NULL; - PyObject* ascii_chars_u = NULL; - PyObject* ascii_chars_b = NULL; - sys = PyImport_ImportModule("sys"); - if (sys == NULL) goto bad; - default_encoding = PyObject_CallMethod(sys, (char*) (const char*) "getdefaultencoding", NULL); - if (default_encoding == NULL) goto bad; - if (strcmp(PyBytes_AsString(default_encoding), "ascii") == 0) { - __Pyx_sys_getdefaultencoding_not_ascii = 0; - } else { - const char* default_encoding_c = PyBytes_AS_STRING(default_encoding); - char ascii_chars[128]; - int c; - for (c = 0; c < 128; c++) { - ascii_chars[c] = c; - } - __Pyx_sys_getdefaultencoding_not_ascii = 1; - ascii_chars_u = PyUnicode_DecodeASCII(ascii_chars, 128, NULL); - if (ascii_chars_u == NULL) goto bad; - ascii_chars_b = PyUnicode_AsEncodedString(ascii_chars_u, default_encoding_c, NULL); - if (ascii_chars_b == NULL || strncmp(ascii_chars, PyBytes_AS_STRING(ascii_chars_b), 128) != 0) { - PyErr_Format( - PyExc_ValueError, - "This module compiled with c_string_encoding=ascii, but default encoding '%s' is not a superset of ascii.", - default_encoding_c); - goto bad; - } - } - Py_XDECREF(sys); - Py_XDECREF(default_encoding); - Py_XDECREF(ascii_chars_u); - Py_XDECREF(ascii_chars_b); - return 0; -bad: - Py_XDECREF(sys); - Py_XDECREF(default_encoding); - Py_XDECREF(ascii_chars_u); - Py_XDECREF(ascii_chars_b); - return -1; -} -#endif -#if __PYX_DEFAULT_STRING_ENCODING_IS_DEFAULT && PY_MAJOR_VERSION >= 3 -#define __Pyx_PyUnicode_FromStringAndSize(c_str, size) PyUnicode_DecodeUTF8(c_str, size, NULL) -#else -#define __Pyx_PyUnicode_FromStringAndSize(c_str, size) PyUnicode_Decode(c_str, size, __PYX_DEFAULT_STRING_ENCODING, NULL) -#if __PYX_DEFAULT_STRING_ENCODING_IS_DEFAULT -static char* __PYX_DEFAULT_STRING_ENCODING; -static int __Pyx_init_sys_getdefaultencoding_params() { - PyObject* sys = NULL; - PyObject* default_encoding = NULL; - char* default_encoding_c; - sys = PyImport_ImportModule("sys"); - if (sys == NULL) goto bad; - default_encoding = PyObject_CallMethod(sys, (char*) (const char*) "getdefaultencoding", NULL); - if (default_encoding == NULL) goto bad; - default_encoding_c = PyBytes_AS_STRING(default_encoding); - __PYX_DEFAULT_STRING_ENCODING = (char*) malloc(strlen(default_encoding_c)); - strcpy(__PYX_DEFAULT_STRING_ENCODING, default_encoding_c); - Py_DECREF(sys); - Py_DECREF(default_encoding); - return 0; -bad: - Py_XDECREF(sys); - Py_XDECREF(default_encoding); - return -1; -} -#endif -#endif - - -#ifdef __GNUC__ - /* Test for GCC > 2.95 */ - #if __GNUC__ > 2 || (__GNUC__ == 2 && (__GNUC_MINOR__ > 95)) - #define likely(x) __builtin_expect(!!(x), 1) - #define unlikely(x) __builtin_expect(!!(x), 0) - #else /* __GNUC__ > 2 ... */ - #define likely(x) (x) - #define unlikely(x) (x) - #endif /* __GNUC__ > 2 ... */ -#else /* __GNUC__ */ - #define likely(x) (x) - #define unlikely(x) (x) -#endif /* __GNUC__ */ - -static PyObject *__pyx_m; -static PyObject *__pyx_d; -static PyObject *__pyx_b; -static PyObject *__pyx_empty_tuple; -static PyObject *__pyx_empty_bytes; -static int __pyx_lineno; -static int __pyx_clineno = 0; -static const char * __pyx_cfilenm= __FILE__; -static const char *__pyx_filename; - - -static const char *__pyx_f[] = { - "schema.pyx", -}; - -/* "schema_cpp.pxd":7 - * - * from libc.stdint cimport * - * ctypedef unsigned int uint # <<<<<<<<<<<<<< - * ctypedef uint8_t UInt8 - * ctypedef uint16_t UInt16 - */ -typedef unsigned int __pyx_t_10schema_cpp_uint; - -/* "schema_cpp.pxd":8 - * from libc.stdint cimport * - * ctypedef unsigned int uint - * ctypedef uint8_t UInt8 # <<<<<<<<<<<<<< - * ctypedef uint16_t UInt16 - * ctypedef uint32_t UInt32 - */ -typedef uint8_t __pyx_t_10schema_cpp_UInt8; - -/* "schema_cpp.pxd":9 - * ctypedef unsigned int uint - * ctypedef uint8_t UInt8 - * ctypedef uint16_t UInt16 # <<<<<<<<<<<<<< - * ctypedef uint32_t UInt32 - * ctypedef uint64_t UInt64 - */ -typedef uint16_t __pyx_t_10schema_cpp_UInt16; - -/* "schema_cpp.pxd":10 - * ctypedef uint8_t UInt8 - * ctypedef uint16_t UInt16 - * ctypedef uint32_t UInt32 # <<<<<<<<<<<<<< - * ctypedef uint64_t UInt64 - * ctypedef int8_t Int8 - */ -typedef uint32_t __pyx_t_10schema_cpp_UInt32; - -/* "schema_cpp.pxd":11 - * ctypedef uint16_t UInt16 - * ctypedef uint32_t UInt32 - * ctypedef uint64_t UInt64 # <<<<<<<<<<<<<< - * ctypedef int8_t Int8 - * ctypedef int16_t Int16 - */ -typedef uint64_t __pyx_t_10schema_cpp_UInt64; - -/* "schema_cpp.pxd":12 - * ctypedef uint32_t UInt32 - * ctypedef uint64_t UInt64 - * ctypedef int8_t Int8 # <<<<<<<<<<<<<< - * ctypedef int16_t Int16 - * ctypedef int32_t Int32 - */ -typedef int8_t __pyx_t_10schema_cpp_Int8; - -/* "schema_cpp.pxd":13 - * ctypedef uint64_t UInt64 - * ctypedef int8_t Int8 - * ctypedef int16_t Int16 # <<<<<<<<<<<<<< - * ctypedef int32_t Int32 - * ctypedef int64_t Int64 - */ -typedef int16_t __pyx_t_10schema_cpp_Int16; - -/* "schema_cpp.pxd":14 - * ctypedef int8_t Int8 - * ctypedef int16_t Int16 - * ctypedef int32_t Int32 # <<<<<<<<<<<<<< - * ctypedef int64_t Int64 - * - */ -typedef int32_t __pyx_t_10schema_cpp_Int32; - -/* "schema_cpp.pxd":15 - * ctypedef int16_t Int16 - * ctypedef int32_t Int32 - * ctypedef int64_t Int64 # <<<<<<<<<<<<<< - * - * ctypedef char * Object - */ -typedef int64_t __pyx_t_10schema_cpp_Int64; - -/* "schema_cpp.pxd":18 - * - * ctypedef char * Object - * ctypedef bint Bool # <<<<<<<<<<<<<< - * ctypedef float Float32 - * ctypedef double Float64 - */ -typedef int __pyx_t_10schema_cpp_Bool; - -/* "schema_cpp.pxd":19 - * ctypedef char * Object - * ctypedef bint Bool - * ctypedef float Float32 # <<<<<<<<<<<<<< - * ctypedef double Float64 - * - */ -typedef float __pyx_t_10schema_cpp_Float32; - -/* "schema_cpp.pxd":20 - * ctypedef bint Bool - * ctypedef float Float32 - * ctypedef double Float64 # <<<<<<<<<<<<<< - * - * cdef extern from "capnp/blob.h" namespace "::capnp": - */ -typedef double __pyx_t_10schema_cpp_Float64; - -/* "schema.pyx":17 - * - * from libc.stdint cimport * - * ctypedef unsigned int uint # <<<<<<<<<<<<<< - * ctypedef uint8_t UInt8 - * ctypedef uint16_t UInt16 - */ -typedef unsigned int __pyx_t_6schema_uint; - -/* "schema.pyx":18 - * from libc.stdint cimport * - * ctypedef unsigned int uint - * ctypedef uint8_t UInt8 # <<<<<<<<<<<<<< - * ctypedef uint16_t UInt16 - * ctypedef uint32_t UInt32 - */ -typedef uint8_t __pyx_t_6schema_UInt8; - -/* "schema.pyx":19 - * ctypedef unsigned int uint - * ctypedef uint8_t UInt8 - * ctypedef uint16_t UInt16 # <<<<<<<<<<<<<< - * ctypedef uint32_t UInt32 - * ctypedef uint64_t UInt64 - */ -typedef uint16_t __pyx_t_6schema_UInt16; - -/* "schema.pyx":20 - * ctypedef uint8_t UInt8 - * ctypedef uint16_t UInt16 - * ctypedef uint32_t UInt32 # <<<<<<<<<<<<<< - * ctypedef uint64_t UInt64 - * ctypedef int8_t Int8 - */ -typedef uint32_t __pyx_t_6schema_UInt32; - -/* "schema.pyx":21 - * ctypedef uint16_t UInt16 - * ctypedef uint32_t UInt32 - * ctypedef uint64_t UInt64 # <<<<<<<<<<<<<< - * ctypedef int8_t Int8 - * ctypedef int16_t Int16 - */ -typedef uint64_t __pyx_t_6schema_UInt64; - -/* "schema.pyx":22 - * ctypedef uint32_t UInt32 - * ctypedef uint64_t UInt64 - * ctypedef int8_t Int8 # <<<<<<<<<<<<<< - * ctypedef int16_t Int16 - * ctypedef int32_t Int32 - */ -typedef int8_t __pyx_t_6schema_Int8; - -/* "schema.pyx":23 - * ctypedef uint64_t UInt64 - * ctypedef int8_t Int8 - * ctypedef int16_t Int16 # <<<<<<<<<<<<<< - * ctypedef int32_t Int32 - * ctypedef int64_t Int64 - */ -typedef int16_t __pyx_t_6schema_Int16; - -/* "schema.pyx":24 - * ctypedef int8_t Int8 - * ctypedef int16_t Int16 - * ctypedef int32_t Int32 # <<<<<<<<<<<<<< - * ctypedef int64_t Int64 - * - */ -typedef int32_t __pyx_t_6schema_Int32; - -/* "schema.pyx":25 - * ctypedef int16_t Int16 - * ctypedef int32_t Int32 - * ctypedef int64_t Int64 # <<<<<<<<<<<<<< - * - * ctypedef char * Object - */ -typedef int64_t __pyx_t_6schema_Int64; - -/* "schema.pyx":28 - * - * ctypedef char * Object - * ctypedef bint Bool # <<<<<<<<<<<<<< - * ctypedef float Float32 - * ctypedef double Float64 - */ -typedef int __pyx_t_6schema_Bool; - -/* "schema.pyx":29 - * ctypedef char * Object - * ctypedef bint Bool - * ctypedef float Float32 # <<<<<<<<<<<<<< - * ctypedef double Float64 - * cdef extern from "capnp/blob.h" namespace "::capnp": - */ -typedef float __pyx_t_6schema_Float32; - -/* "schema.pyx":30 - * ctypedef bint Bool - * ctypedef float Float32 - * ctypedef double Float64 # <<<<<<<<<<<<<< - * cdef extern from "capnp/blob.h" namespace "::capnp": - * cdef cppclass Data: - */ -typedef double __pyx_t_6schema_Float64; - -/*--- Type declarations ---*/ -struct __pyx_obj_6schema__List_FileNode_FileNode_Import_Reader; -struct __pyx_obj_6schema__StructNode_FieldBuilder; -struct __pyx_obj_6schema__StructNodeReader; -struct __pyx_obj_6schema__InterfaceNode_MethodReader; -struct __pyx_obj_6schema__Node_BodyBuilder; -struct __pyx_obj_6schema_MessageBuilder; -struct __pyx_obj_6schema__ConstNodeReader; -struct __pyx_obj_6schema__FileNodeBuilder; -struct __pyx_obj_6schema__Type_BodyReader; -struct __pyx_obj_6schema__List_InterfaceNode_InterfaceNode_Method_Reader; -struct __pyx_obj_6schema___pyx_scope_struct_1_genexpr; -struct __pyx_obj_6schema__List_StructNode_Member_Annotation_Builder; -struct __pyx_obj_6schema__InterfaceNodeReader; -struct __pyx_obj_6schema__EnumNodeReader; -struct __pyx_obj_6schema__List_Node_Annotation_Builder; -struct __pyx_obj_6schema__EnumNode_EnumerantReader; -struct __pyx_obj_6schema__List_StructNode_StructNode_Member_Builder; -struct __pyx_obj_6schema__List_UInt64_Builder; -struct __pyx_obj_6schema__InterfaceNode_MethodBuilder; -struct __pyx_obj_6schema__List_Node_Node_NestedNode_Reader; -struct __pyx_obj_6schema__TypeReader; -struct __pyx_obj_6schema__EnumNode_EnumerantBuilder; -struct __pyx_obj_6schema__StructNode_Member_BodyReader; -struct __pyx_obj_6schema_MessageReader; -struct __pyx_obj_6schema_PackedFdMessageReader; -struct __pyx_obj_6schema__List_EnumNode_EnumNode_Enumerant_Reader; -struct __pyx_obj_6schema__FileNode_ImportReader; -struct __pyx_obj_6schema_StreamFdMessageReader; -struct __pyx_obj_6schema__InterfaceNode_Method_ParamReader; -struct __pyx_obj_6schema__CodeGeneratorRequestBuilder; -struct __pyx_obj_6schema__NodeBuilder; -struct __pyx_obj_6schema__List_FileNode_FileNode_Import_Builder; -struct __pyx_obj_6schema__StructNode_UnionReader; -struct __pyx_obj_6schema_MallocMessageBuilder; -struct __pyx_obj_6schema__TypeBuilder; -struct __pyx_obj_6schema__AnnotationBuilder; -struct __pyx_obj_6schema__List_CodeGeneratorRequest_Node_Builder; -struct __pyx_obj_6schema__Node_NestedNodeBuilder; -struct __pyx_obj_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader; -struct __pyx_obj_6schema__StructNode_UnionBuilder; -struct __pyx_obj_6schema__Node_BodyReader; -struct __pyx_obj_6schema__List_EnumNode_Enumerant_Annotation_Reader; -struct __pyx_obj_6schema__ConstNodeBuilder; -struct __pyx_obj_6schema__AnnotationReader; -struct __pyx_obj_6schema__ValueReader; -struct __pyx_obj_6schema__List_CodeGeneratorRequest_Node_Reader; -struct __pyx_obj_6schema__StructNode_Member_BodyBuilder; -struct __pyx_obj_6schema__AnnotationNodeReader; -struct __pyx_obj_6schema__List_InterfaceNode_Method_Param_Annotation_Builder; -struct __pyx_obj_6schema__CodeGeneratorRequestReader; -struct __pyx_obj_6schema__List_InterfaceNode_InterfaceNode_Method_Builder; -struct __pyx_obj_6schema__ValueBuilder; -struct __pyx_obj_6schema__StructNode_MemberReader; -struct __pyx_obj_6schema__EnumNodeBuilder; -struct __pyx_obj_6schema__List_EnumNode_EnumNode_Enumerant_Builder; -struct __pyx_obj_6schema__FileNode_ImportBuilder; -struct __pyx_obj_6schema__NodeReader; -struct __pyx_obj_6schema__Type_BodyBuilder; -struct __pyx_obj_6schema__List_StructNode_StructNode_Member_Reader; -struct __pyx_obj_6schema__List_StructNode_Union_StructNode_Member_Builder; -struct __pyx_obj_6schema__InterfaceNode_Method_ParamBuilder; -struct __pyx_obj_6schema__List_Node_Node_NestedNode_Builder; -struct __pyx_obj_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder; -struct __pyx_obj_6schema__Value_BodyBuilder; -struct __pyx_obj_6schema__InterfaceNodeBuilder; -struct __pyx_obj_6schema__List_StructNode_Member_Annotation_Reader; -struct __pyx_obj_6schema__Node_NestedNodeReader; -struct __pyx_obj_6schema__StructNode_MemberBuilder; -struct __pyx_obj_6schema__List_UInt64_Reader; -struct __pyx_obj_6schema__List_InterfaceNode_Method_Annotation_Builder; -struct __pyx_obj_6schema__List_InterfaceNode_Method_Annotation_Reader; -struct __pyx_obj_6schema__List_StructNode_Union_StructNode_Member_Reader; -struct __pyx_obj_6schema__AnnotationNodeBuilder; -struct __pyx_obj_6schema__List_EnumNode_Enumerant_Annotation_Builder; -struct __pyx_obj_6schema__Value_BodyReader; -struct __pyx_obj_6schema__StructNode_FieldReader; -struct __pyx_obj_6schema__List_Node_Annotation_Reader; -struct __pyx_obj_6schema__List_InterfaceNode_Method_Param_Annotation_Reader; -struct __pyx_obj_6schema__FileNodeReader; -struct __pyx_obj_6schema___pyx_scope_struct__make_enum; -struct __pyx_obj_6schema__StructNodeBuilder; - -/* "schema_cpp.pxd":17 - * ctypedef int64_t Int64 - * - * ctypedef char * Object # <<<<<<<<<<<<<< - * ctypedef bint Bool - * ctypedef float Float32 - */ -typedef char *__pyx_t_10schema_cpp_Object; - -/* "schema.pyx":27 - * ctypedef int64_t Int64 - * - * ctypedef char * Object # <<<<<<<<<<<<<< - * ctypedef bint Bool - * ctypedef float Float32 - */ -typedef char *__pyx_t_6schema_Object; - -/* "schema.pyx":374 - * def __len__(self): - * return self.thisptr.size() - * cdef class _List_FileNode_FileNode_Import_Reader: # <<<<<<<<<<<<<< - * cdef List[C_FileNode.FileNode.Import].Reader thisptr - * cdef init(self, List[C_FileNode.FileNode.Import].Reader other): - */ -struct __pyx_obj_6schema__List_FileNode_FileNode_Import_Reader { - PyObject_HEAD - struct __pyx_vtabstruct_6schema__List_FileNode_FileNode_Import_Reader *__pyx_vtab; - ::capnp::List<::capnp::schema::FileNode::Import>::Reader thisptr; -}; - - -/* "schema.pyx":1526 - * return self.thisptr.getOffset() - * - * cdef class _StructNode_FieldBuilder: # <<<<<<<<<<<<<< - * cdef C_StructNode.Field.Builder thisptr - * cdef init(self, C_StructNode.Field.Builder other): - */ -struct __pyx_obj_6schema__StructNode_FieldBuilder { - PyObject_HEAD - struct __pyx_vtabstruct_6schema__StructNode_FieldBuilder *__pyx_vtab; - ::capnp::schema::StructNode::Field::Builder thisptr; -}; - - -/* "schema.pyx":1547 - * def __set__(self, val): - * self.thisptr.setOffset(val) - * cdef class _StructNodeReader: # <<<<<<<<<<<<<< - * cdef C_StructNode.Reader thisptr - * cdef init(self, C_StructNode.Reader other): - */ -struct __pyx_obj_6schema__StructNodeReader { - PyObject_HEAD - struct __pyx_vtabstruct_6schema__StructNodeReader *__pyx_vtab; - ::capnp::schema::StructNode::Reader thisptr; -}; - - -/* "schema.pyx":508 - * cpdef initAnnotations(self, uint num): - * return _List_InterfaceNode_Method_Param_Annotation_Builder().init(self.thisptr.initAnnotations(num)) - * cdef class _InterfaceNode_MethodReader: # <<<<<<<<<<<<<< - * cdef C_InterfaceNode.Method.Reader thisptr - * cdef init(self, C_InterfaceNode.Method.Reader other): - */ -struct __pyx_obj_6schema__InterfaceNode_MethodReader { - PyObject_HEAD - struct __pyx_vtabstruct_6schema__InterfaceNode_MethodReader *__pyx_vtab; - ::capnp::schema::InterfaceNode::Method::Reader thisptr; -}; - - -/* "schema.pyx":1090 - * return _FileNodeReader().init(self.thisptr.getFileNode()) - * - * cdef class _Node_BodyBuilder: # <<<<<<<<<<<<<< - * cdef C_Node.Body.Builder thisptr - * cdef init(self, C_Node.Body.Builder other): - */ -struct __pyx_obj_6schema__Node_BodyBuilder { - PyObject_HEAD - struct __pyx_vtabstruct_6schema__Node_BodyBuilder *__pyx_vtab; - ::capnp::schema::Node::Body::Builder thisptr; -}; - - -/* "schema.pyx":1615 - * pass - * - * cdef class MessageBuilder: # <<<<<<<<<<<<<< - * cdef capnp.MessageBuilder * thisptr - * def __dealloc__(self): - */ -struct __pyx_obj_6schema_MessageBuilder { - PyObject_HEAD - struct __pyx_vtabstruct_6schema_MessageBuilder *__pyx_vtab; - ::capnp::MessageBuilder *thisptr; -}; - - -/* "schema.pyx":786 - * pass - * - * cdef class _ConstNodeReader: # <<<<<<<<<<<<<< - * cdef C_ConstNode.Reader thisptr - * cdef init(self, C_ConstNode.Reader other): - */ -struct __pyx_obj_6schema__ConstNodeReader { - PyObject_HEAD - struct __pyx_vtabstruct_6schema__ConstNodeReader *__pyx_vtab; - ::capnp::schema::ConstNode::Reader thisptr; -}; - - -/* "schema.pyx":1049 - * return _List_FileNode_FileNode_Import_Reader().init(self.thisptr.getImports()) - * - * cdef class _FileNodeBuilder: # <<<<<<<<<<<<<< - * cdef C_FileNode.Builder thisptr - * cdef init(self, C_FileNode.Builder other): - */ -struct __pyx_obj_6schema__FileNodeBuilder { - PyObject_HEAD - struct __pyx_vtabstruct_6schema__FileNodeBuilder *__pyx_vtab; - ::capnp::schema::FileNode::Builder thisptr; -}; - - -/* "schema.pyx":818 - * - * _Type_Body_Which = make_enum('_Type_Body_Which',boolType = _Type_Body_boolType,structType = _Type_Body_structType,int32Type = _Type_Body_int32Type,voidType = _Type_Body_voidType,uint16Type = _Type_Body_uint16Type,dataType = _Type_Body_dataType,objectType = _Type_Body_objectType,int64Type = _Type_Body_int64Type,float64Type = _Type_Body_float64Type,interfaceType = _Type_Body_interfaceType,uint32Type = _Type_Body_uint32Type,uint8Type = _Type_Body_uint8Type,listType = _Type_Body_listType,int8Type = _Type_Body_int8Type,float32Type = _Type_Body_float32Type,enumType = _Type_Body_enumType,uint64Type = _Type_Body_uint64Type,textType = _Type_Body_textType,int16Type = _Type_Body_int16Type,) - * cdef class _Type_BodyReader: # <<<<<<<<<<<<<< - * cdef C_Type.Body.Reader thisptr - * cdef init(self, C_Type.Body.Reader other): - */ -struct __pyx_obj_6schema__Type_BodyReader { - PyObject_HEAD - struct __pyx_vtabstruct_6schema__Type_BodyReader *__pyx_vtab; - ::capnp::schema::Type::Body::Reader thisptr; -}; - - -/* "schema.pyx":50 - * enums['reverse_mapping'] = reverse - * return type(enum_name, (), enums) - * cdef class _List_InterfaceNode_InterfaceNode_Method_Reader: # <<<<<<<<<<<<<< - * cdef List[C_InterfaceNode.InterfaceNode.Method].Reader thisptr - * cdef init(self, List[C_InterfaceNode.InterfaceNode.Method].Reader other): - */ -struct __pyx_obj_6schema__List_InterfaceNode_InterfaceNode_Method_Reader { - PyObject_HEAD - struct __pyx_vtabstruct_6schema__List_InterfaceNode_InterfaceNode_Method_Reader *__pyx_vtab; - ::capnp::List<::capnp::schema::InterfaceNode::Method>::Reader thisptr; -}; - - -/* "schema.pyx":47 - * def make_enum(enum_name, *sequential, **named): - * enums = dict(zip(sequential, range(len(sequential))), **named) - * reverse = dict((value, key) for key, value in enums.iteritems()) # <<<<<<<<<<<<<< - * enums['reverse_mapping'] = reverse - * return type(enum_name, (), enums) - */ -struct __pyx_obj_6schema___pyx_scope_struct_1_genexpr { - PyObject_HEAD - struct __pyx_obj_6schema___pyx_scope_struct__make_enum *__pyx_outer_scope; - PyObject *__pyx_v_key; - PyObject *__pyx_v_value; - PyObject *__pyx_t_0; - Py_ssize_t __pyx_t_1; - Py_ssize_t __pyx_t_2; - int __pyx_t_3; -}; - - -/* "schema.pyx":253 - * def __len__(self): - * return self.thisptr.size() - * cdef class _List_StructNode_Member_Annotation_Builder: # <<<<<<<<<<<<<< - * cdef List[C_StructNode.Member.Annotation].Builder thisptr - * cdef init(self, List[C_StructNode.Member.Annotation].Builder other): - */ -struct __pyx_obj_6schema__List_StructNode_Member_Annotation_Builder { - PyObject_HEAD - struct __pyx_vtabstruct_6schema__List_StructNode_Member_Annotation_Builder *__pyx_vtab; - ::capnp::List<::capnp::schema::Annotation>::Builder thisptr; -}; - - -/* "schema.pyx":569 - * cpdef initAnnotations(self, uint num): - * return _List_InterfaceNode_Method_Annotation_Builder().init(self.thisptr.initAnnotations(num)) - * cdef class _InterfaceNodeReader: # <<<<<<<<<<<<<< - * cdef C_InterfaceNode.Reader thisptr - * cdef init(self, C_InterfaceNode.Reader other): - */ -struct __pyx_obj_6schema__InterfaceNodeReader { - PyObject_HEAD - struct __pyx_vtabstruct_6schema__InterfaceNodeReader *__pyx_vtab; - ::capnp::schema::InterfaceNode::Reader thisptr; -}; - - -/* "schema.pyx":1368 - * cpdef initAnnotations(self, uint num): - * return _List_EnumNode_Enumerant_Annotation_Builder().init(self.thisptr.initAnnotations(num)) - * cdef class _EnumNodeReader: # <<<<<<<<<<<<<< - * cdef C_EnumNode.Reader thisptr - * cdef init(self, C_EnumNode.Reader other): - */ -struct __pyx_obj_6schema__EnumNodeReader { - PyObject_HEAD - struct __pyx_vtabstruct_6schema__EnumNodeReader *__pyx_vtab; - ::capnp::schema::EnumNode::Reader thisptr; -}; - - -/* "schema.pyx":334 - * def __len__(self): - * return self.thisptr.size() - * cdef class _List_Node_Annotation_Builder: # <<<<<<<<<<<<<< - * cdef List[C_Node.Annotation].Builder thisptr - * cdef init(self, List[C_Node.Annotation].Builder other): - */ -struct __pyx_obj_6schema__List_Node_Annotation_Builder { - PyObject_HEAD - struct __pyx_vtabstruct_6schema__List_Node_Annotation_Builder *__pyx_vtab; - ::capnp::List<::capnp::schema::Annotation>::Builder thisptr; -}; - - -/* "schema.pyx":1331 - * - * - * cdef class _EnumNode_EnumerantReader: # <<<<<<<<<<<<<< - * cdef C_EnumNode.Enumerant.Reader thisptr - * cdef init(self, C_EnumNode.Enumerant.Reader other): - */ -struct __pyx_obj_6schema__EnumNode_EnumerantReader { - PyObject_HEAD - struct __pyx_vtabstruct_6schema__EnumNode_EnumerantReader *__pyx_vtab; - ::capnp::schema::EnumNode::Enumerant::Reader thisptr; -}; - - -/* "schema.pyx":307 - * def __len__(self): - * return self.thisptr.size() - * cdef class _List_StructNode_StructNode_Member_Builder: # <<<<<<<<<<<<<< - * cdef List[C_StructNode.StructNode.Member].Builder thisptr - * cdef init(self, List[C_StructNode.StructNode.Member].Builder other): - */ -struct __pyx_obj_6schema__List_StructNode_StructNode_Member_Builder { - PyObject_HEAD - struct __pyx_vtabstruct_6schema__List_StructNode_StructNode_Member_Builder *__pyx_vtab; - ::capnp::List<::capnp::schema::StructNode::Member>::Builder thisptr; -}; - - -/* "schema.pyx":199 - * def __len__(self): - * return self.thisptr.size() - * cdef class _List_UInt64_Builder: # <<<<<<<<<<<<<< - * cdef List[UInt64].Builder thisptr - * cdef init(self, List[UInt64].Builder other): - */ -struct __pyx_obj_6schema__List_UInt64_Builder { - PyObject_HEAD - struct __pyx_vtabstruct_6schema__List_UInt64_Builder *__pyx_vtab; - ::capnp::List<__pyx_t_6schema_UInt64>::Builder thisptr; -}; - - -/* "schema.pyx":533 - * return _List_InterfaceNode_Method_Annotation_Reader().init(self.thisptr.getAnnotations()) - * - * cdef class _InterfaceNode_MethodBuilder: # <<<<<<<<<<<<<< - * cdef C_InterfaceNode.Method.Builder thisptr - * cdef init(self, C_InterfaceNode.Method.Builder other): - */ -struct __pyx_obj_6schema__InterfaceNode_MethodBuilder { - PyObject_HEAD - struct __pyx_vtabstruct_6schema__InterfaceNode_MethodBuilder *__pyx_vtab; - ::capnp::schema::InterfaceNode::Method::Builder thisptr; -}; - - -/* "schema.pyx":212 - * def __len__(self): - * return self.thisptr.size() - * cdef class _List_Node_Node_NestedNode_Reader: # <<<<<<<<<<<<<< - * cdef List[C_Node.Node.NestedNode].Reader thisptr - * cdef init(self, List[C_Node.Node.NestedNode].Reader other): - */ -struct __pyx_obj_6schema__List_Node_Node_NestedNode_Reader { - PyObject_HEAD - struct __pyx_vtabstruct_6schema__List_Node_Node_NestedNode_Reader *__pyx_vtab; - ::capnp::List<::capnp::schema::Node::NestedNode>::Reader thisptr; -}; - - -/* "schema.pyx":987 - * def __set__(self, val): - * pass - * cdef class _TypeReader: # <<<<<<<<<<<<<< - * cdef C_Type.Reader thisptr - * cdef init(self, C_Type.Reader other): - */ -struct __pyx_obj_6schema__TypeReader { - PyObject_HEAD - struct __pyx_vtabstruct_6schema__TypeReader *__pyx_vtab; - ::capnp::schema::Type::Reader thisptr; -}; - - -/* "schema.pyx":1347 - * return _List_EnumNode_Enumerant_Annotation_Reader().init(self.thisptr.getAnnotations()) - * - * cdef class _EnumNode_EnumerantBuilder: # <<<<<<<<<<<<<< - * cdef C_EnumNode.Enumerant.Builder thisptr - * cdef init(self, C_EnumNode.Enumerant.Builder other): - */ -struct __pyx_obj_6schema__EnumNode_EnumerantBuilder { - PyObject_HEAD - struct __pyx_vtabstruct_6schema__EnumNode_EnumerantBuilder *__pyx_vtab; - ::capnp::schema::EnumNode::Enumerant::Builder thisptr; -}; - - -/* "schema.pyx":1423 - * - * _StructNode_Member_Body_Which = make_enum('_StructNode_Member_Body_Which',fieldMember = _StructNode_Member_Body_fieldMember,unionMember = _StructNode_Member_Body_unionMember,) - * cdef class _StructNode_Member_BodyReader: # <<<<<<<<<<<<<< - * cdef C_StructNode.Member.Body.Reader thisptr - * cdef init(self, C_StructNode.Member.Body.Reader other): - */ -struct __pyx_obj_6schema__StructNode_Member_BodyReader { - PyObject_HEAD - struct __pyx_vtabstruct_6schema__StructNode_Member_BodyReader *__pyx_vtab; - ::capnp::schema::StructNode::Member::Body::Reader thisptr; -}; - - -/* "schema.pyx":1668 - * - * - * cdef class MessageReader: # <<<<<<<<<<<<<< - * cdef capnp.MessageReader * thisptr - * def __dealloc__(self): - */ -struct __pyx_obj_6schema_MessageReader { - PyObject_HEAD - struct __pyx_vtabstruct_6schema_MessageReader *__pyx_vtab; - ::capnp::MessageReader *thisptr; -}; - - -/* "schema.pyx":1699 - * self.thisptr = new capnp.StreamFdMessageReader(fd) - * - * cdef class PackedFdMessageReader(MessageReader): # <<<<<<<<<<<<<< - * def __cinit__(self, int fd): - * self.thisptr = new capnp.PackedFdMessageReader(fd) - */ -struct __pyx_obj_6schema_PackedFdMessageReader { - struct __pyx_obj_6schema_MessageReader __pyx_base; -}; - - -/* "schema.pyx":77 - * def __len__(self): - * return self.thisptr.size() - * cdef class _List_EnumNode_EnumNode_Enumerant_Reader: # <<<<<<<<<<<<<< - * cdef List[C_EnumNode.EnumNode.Enumerant].Reader thisptr - * cdef init(self, List[C_EnumNode.EnumNode.Enumerant].Reader other): - */ -struct __pyx_obj_6schema__List_EnumNode_EnumNode_Enumerant_Reader { - PyObject_HEAD - struct __pyx_vtabstruct_6schema__List_EnumNode_EnumNode_Enumerant_Reader *__pyx_vtab; - ::capnp::List<::capnp::schema::EnumNode::Enumerant>::Reader thisptr; -}; - - -/* "schema.pyx":1010 - * - * - * cdef class _FileNode_ImportReader: # <<<<<<<<<<<<<< - * cdef C_FileNode.Import.Reader thisptr - * cdef init(self, C_FileNode.Import.Reader other): - */ -struct __pyx_obj_6schema__FileNode_ImportReader { - PyObject_HEAD - struct __pyx_vtabstruct_6schema__FileNode_ImportReader *__pyx_vtab; - ::capnp::schema::FileNode::Import::Reader thisptr; -}; - - -/* "schema.pyx":1695 - * return _AnnotationReader().init(self.thisptr.getRootAnnotation()) - * - * cdef class StreamFdMessageReader(MessageReader): # <<<<<<<<<<<<<< - * def __cinit__(self, int fd): - * self.thisptr = new capnp.StreamFdMessageReader(fd) - */ -struct __pyx_obj_6schema_StreamFdMessageReader { - struct __pyx_obj_6schema_MessageReader __pyx_base; -}; - - -/* "schema.pyx":463 - * - * - * cdef class _InterfaceNode_Method_ParamReader: # <<<<<<<<<<<<<< - * cdef C_InterfaceNode.Method.Param.Reader thisptr - * cdef init(self, C_InterfaceNode.Method.Param.Reader other): - */ -struct __pyx_obj_6schema__InterfaceNode_Method_ParamReader { - PyObject_HEAD - struct __pyx_vtabstruct_6schema__InterfaceNode_Method_ParamReader *__pyx_vtab; - ::capnp::schema::InterfaceNode::Method::Param::Reader thisptr; -}; - - -/* "schema.pyx":442 - * return _List_UInt64_Reader().init(self.thisptr.getRequestedFiles()) - * - * cdef class _CodeGeneratorRequestBuilder: # <<<<<<<<<<<<<< - * cdef C_CodeGeneratorRequest.Builder thisptr - * cdef init(self, C_CodeGeneratorRequest.Builder other): - */ -struct __pyx_obj_6schema__CodeGeneratorRequestBuilder { - PyObject_HEAD - struct __pyx_vtabstruct_6schema__CodeGeneratorRequestBuilder *__pyx_vtab; - ::capnp::schema::CodeGeneratorRequest::Builder thisptr; -}; - - -/* "schema.pyx":1183 - * return self.thisptr.getId() - * - * cdef class _NodeBuilder: # <<<<<<<<<<<<<< - * cdef C_Node.Builder thisptr - * cdef init(self, C_Node.Builder other): - */ -struct __pyx_obj_6schema__NodeBuilder { - PyObject_HEAD - struct __pyx_vtabstruct_6schema__NodeBuilder *__pyx_vtab; - ::capnp::schema::Node::Builder thisptr; -}; - - -/* "schema.pyx":388 - * def __len__(self): - * return self.thisptr.size() - * cdef class _List_FileNode_FileNode_Import_Builder: # <<<<<<<<<<<<<< - * cdef List[C_FileNode.FileNode.Import].Builder thisptr - * cdef init(self, List[C_FileNode.FileNode.Import].Builder other): - */ -struct __pyx_obj_6schema__List_FileNode_FileNode_Import_Builder { - PyObject_HEAD - struct __pyx_vtabstruct_6schema__List_FileNode_FileNode_Import_Builder *__pyx_vtab; - ::capnp::List<::capnp::schema::FileNode::Import>::Builder thisptr; -}; - - -/* "schema.pyx":1391 - * - * - * cdef class _StructNode_UnionReader: # <<<<<<<<<<<<<< - * cdef C_StructNode.Union.Reader thisptr - * cdef init(self, C_StructNode.Union.Reader other): - */ -struct __pyx_obj_6schema__StructNode_UnionReader { - PyObject_HEAD - struct __pyx_vtabstruct_6schema__StructNode_UnionReader *__pyx_vtab; - ::capnp::schema::StructNode::Union::Reader thisptr; -}; - - -/* "schema.pyx":1663 - * cpdef initRootAnnotation(self): - * return _AnnotationBuilder().init(self.thisptr.initRootAnnotation()) - * cdef class MallocMessageBuilder(MessageBuilder): # <<<<<<<<<<<<<< - * def __cinit__(self): - * self.thisptr = new capnp.MallocMessageBuilder() - */ -struct __pyx_obj_6schema_MallocMessageBuilder { - struct __pyx_obj_6schema_MessageBuilder __pyx_base; -}; - - -/* "schema.pyx":997 - * return _Type_BodyReader().init(self.thisptr.getBody()) - * - * cdef class _TypeBuilder: # <<<<<<<<<<<<<< - * cdef C_Type.Builder thisptr - * cdef init(self, C_Type.Builder other): - */ -struct __pyx_obj_6schema__TypeBuilder { - PyObject_HEAD - struct __pyx_vtabstruct_6schema__TypeBuilder *__pyx_vtab; - ::capnp::schema::Type::Builder thisptr; -}; - - -/* "schema.pyx":1598 - * return _ValueReader().init(self.thisptr.getValue()) - * - * cdef class _AnnotationBuilder: # <<<<<<<<<<<<<< - * cdef C_Annotation.Builder thisptr - * cdef init(self, C_Annotation.Builder other): - */ -struct __pyx_obj_6schema__AnnotationBuilder { - PyObject_HEAD - struct __pyx_vtabstruct_6schema__AnnotationBuilder *__pyx_vtab; - ::capnp::schema::Annotation::Builder thisptr; -}; - - -/* "schema.pyx":361 - * def __len__(self): - * return self.thisptr.size() - * cdef class _List_CodeGeneratorRequest_Node_Builder: # <<<<<<<<<<<<<< - * cdef List[C_CodeGeneratorRequest.Node].Builder thisptr - * cdef init(self, List[C_CodeGeneratorRequest.Node].Builder other): - */ -struct __pyx_obj_6schema__List_CodeGeneratorRequest_Node_Builder { - PyObject_HEAD - struct __pyx_vtabstruct_6schema__List_CodeGeneratorRequest_Node_Builder *__pyx_vtab; - ::capnp::List<::capnp::schema::Node>::Builder thisptr; -}; - - -/* "schema.pyx":1142 - * return self.thisptr.getId() - * - * cdef class _Node_NestedNodeBuilder: # <<<<<<<<<<<<<< - * cdef C_Node.NestedNode.Builder thisptr - * cdef init(self, C_Node.NestedNode.Builder other): - */ -struct __pyx_obj_6schema__Node_NestedNodeBuilder { - PyObject_HEAD - struct __pyx_vtabstruct_6schema__Node_NestedNodeBuilder *__pyx_vtab; - ::capnp::schema::Node::NestedNode::Builder thisptr; -}; - - -/* "schema.pyx":131 - * def __len__(self): - * return self.thisptr.size() - * cdef class _List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader: # <<<<<<<<<<<<<< - * cdef List[C_InterfaceNode.Method.InterfaceNode.Method.Param].Reader thisptr - * cdef init(self, List[C_InterfaceNode.Method.InterfaceNode.Method.Param].Reader other): - */ -struct __pyx_obj_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader { - PyObject_HEAD - struct __pyx_vtabstruct_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader *__pyx_vtab; - ::capnp::List<::capnp::schema::InterfaceNode::Method::Param>::Reader thisptr; -}; - - -/* "schema.pyx":1404 - * return _List_StructNode_Union_StructNode_Member_Reader().init(self.thisptr.getMembers()) - * - * cdef class _StructNode_UnionBuilder: # <<<<<<<<<<<<<< - * cdef C_StructNode.Union.Builder thisptr - * cdef init(self, C_StructNode.Union.Builder other): - */ -struct __pyx_obj_6schema__StructNode_UnionBuilder { - PyObject_HEAD - struct __pyx_vtabstruct_6schema__StructNode_UnionBuilder *__pyx_vtab; - ::capnp::schema::StructNode::Union::Builder thisptr; -}; - - -/* "schema.pyx":1063 - * - * _Node_Body_Which = make_enum('_Node_Body_Which',annotationNode = _Node_Body_annotationNode,interfaceNode = _Node_Body_interfaceNode,enumNode = _Node_Body_enumNode,structNode = _Node_Body_structNode,constNode = _Node_Body_constNode,fileNode = _Node_Body_fileNode,) - * cdef class _Node_BodyReader: # <<<<<<<<<<<<<< - * cdef C_Node.Body.Reader thisptr - * cdef init(self, C_Node.Body.Reader other): - */ -struct __pyx_obj_6schema__Node_BodyReader { - PyObject_HEAD - struct __pyx_vtabstruct_6schema__Node_BodyReader *__pyx_vtab; - ::capnp::schema::Node::Body::Reader thisptr; -}; - - -/* "schema.pyx":401 - * def __len__(self): - * return self.thisptr.size() - * cdef class _List_EnumNode_Enumerant_Annotation_Reader: # <<<<<<<<<<<<<< - * cdef List[C_EnumNode.Enumerant.Annotation].Reader thisptr - * cdef init(self, List[C_EnumNode.Enumerant.Annotation].Reader other): - */ -struct __pyx_obj_6schema__List_EnumNode_Enumerant_Annotation_Reader { - PyObject_HEAD - struct __pyx_vtabstruct_6schema__List_EnumNode_Enumerant_Annotation_Reader *__pyx_vtab; - ::capnp::List<::capnp::schema::Annotation>::Reader thisptr; -}; - - -/* "schema.pyx":799 - * return _ValueReader().init(self.thisptr.getValue()) - * - * cdef class _ConstNodeBuilder: # <<<<<<<<<<<<<< - * cdef C_ConstNode.Builder thisptr - * cdef init(self, C_ConstNode.Builder other): - */ -struct __pyx_obj_6schema__ConstNodeBuilder { - PyObject_HEAD - struct __pyx_vtabstruct_6schema__ConstNodeBuilder *__pyx_vtab; - ::capnp::schema::ConstNode::Builder thisptr; -}; - - -/* "schema.pyx":1585 - * self.thisptr.setPointerSectionSize(val) - * - * cdef class _AnnotationReader: # <<<<<<<<<<<<<< - * cdef C_Annotation.Reader thisptr - * cdef init(self, C_Annotation.Reader other): - */ -struct __pyx_obj_6schema__AnnotationReader { - PyObject_HEAD - struct __pyx_vtabstruct_6schema__AnnotationReader *__pyx_vtab; - ::capnp::schema::Annotation::Reader thisptr; -}; - - -/* "schema.pyx":764 - * def __set__(self, val): - * pass - * cdef class _ValueReader: # <<<<<<<<<<<<<< - * cdef C_Value.Reader thisptr - * cdef init(self, C_Value.Reader other): - */ -struct __pyx_obj_6schema__ValueReader { - PyObject_HEAD - struct __pyx_vtabstruct_6schema__ValueReader *__pyx_vtab; - ::capnp::schema::Value::Reader thisptr; -}; - - -/* "schema.pyx":347 - * def __len__(self): - * return self.thisptr.size() - * cdef class _List_CodeGeneratorRequest_Node_Reader: # <<<<<<<<<<<<<< - * cdef List[C_CodeGeneratorRequest.Node].Reader thisptr - * cdef init(self, List[C_CodeGeneratorRequest.Node].Reader other): - */ -struct __pyx_obj_6schema__List_CodeGeneratorRequest_Node_Reader { - PyObject_HEAD - struct __pyx_vtabstruct_6schema__List_CodeGeneratorRequest_Node_Reader *__pyx_vtab; - ::capnp::List<::capnp::schema::Node>::Reader thisptr; -}; - - -/* "schema.pyx":1438 - * return _StructNode_UnionReader().init(self.thisptr.getUnionMember()) - * - * cdef class _StructNode_Member_BodyBuilder: # <<<<<<<<<<<<<< - * cdef C_StructNode.Member.Body.Builder thisptr - * cdef init(self, C_StructNode.Member.Body.Builder other): - */ -struct __pyx_obj_6schema__StructNode_Member_BodyBuilder { - PyObject_HEAD - struct __pyx_vtabstruct_6schema__StructNode_Member_BodyBuilder *__pyx_vtab; - ::capnp::schema::StructNode::Member::Body::Builder thisptr; -}; - - -/* "schema.pyx":1220 - * self.thisptr.setId(val) - * - * cdef class _AnnotationNodeReader: # <<<<<<<<<<<<<< - * cdef C_AnnotationNode.Reader thisptr - * cdef init(self, C_AnnotationNode.Reader other): - */ -struct __pyx_obj_6schema__AnnotationNodeReader { - PyObject_HEAD - struct __pyx_vtabstruct_6schema__AnnotationNodeReader *__pyx_vtab; - ::capnp::schema::AnnotationNode::Reader thisptr; -}; - - -/* "schema.pyx":172 - * def __len__(self): - * return self.thisptr.size() - * cdef class _List_InterfaceNode_Method_Param_Annotation_Builder: # <<<<<<<<<<<<<< - * cdef List[C_InterfaceNode.Method.Param.Annotation].Builder thisptr - * cdef init(self, List[C_InterfaceNode.Method.Param.Annotation].Builder other): - */ -struct __pyx_obj_6schema__List_InterfaceNode_Method_Param_Annotation_Builder { - PyObject_HEAD - struct __pyx_vtabstruct_6schema__List_InterfaceNode_Method_Param_Annotation_Builder *__pyx_vtab; - ::capnp::List<::capnp::schema::Annotation>::Builder thisptr; -}; - - -/* "schema.pyx":429 - * return self.thisptr.size() - * - * cdef class _CodeGeneratorRequestReader: # <<<<<<<<<<<<<< - * cdef C_CodeGeneratorRequest.Reader thisptr - * cdef init(self, C_CodeGeneratorRequest.Reader other): - */ -struct __pyx_obj_6schema__CodeGeneratorRequestReader { - PyObject_HEAD - struct __pyx_vtabstruct_6schema__CodeGeneratorRequestReader *__pyx_vtab; - ::capnp::schema::CodeGeneratorRequest::Reader thisptr; -}; - - -/* "schema.pyx":64 - * def __len__(self): - * return self.thisptr.size() - * cdef class _List_InterfaceNode_InterfaceNode_Method_Builder: # <<<<<<<<<<<<<< - * cdef List[C_InterfaceNode.InterfaceNode.Method].Builder thisptr - * cdef init(self, List[C_InterfaceNode.InterfaceNode.Method].Builder other): - */ -struct __pyx_obj_6schema__List_InterfaceNode_InterfaceNode_Method_Builder { - PyObject_HEAD - struct __pyx_vtabstruct_6schema__List_InterfaceNode_InterfaceNode_Method_Builder *__pyx_vtab; - ::capnp::List<::capnp::schema::InterfaceNode::Method>::Builder thisptr; -}; - - -/* "schema.pyx":774 - * return _Value_BodyReader().init(self.thisptr.getBody()) - * - * cdef class _ValueBuilder: # <<<<<<<<<<<<<< - * cdef C_Value.Builder thisptr - * cdef init(self, C_Value.Builder other): - */ -struct __pyx_obj_6schema__ValueBuilder { - PyObject_HEAD - struct __pyx_vtabstruct_6schema__ValueBuilder *__pyx_vtab; - ::capnp::schema::Value::Builder thisptr; -}; - - -/* "schema.pyx":1456 - * def __set__(self, val): - * pass - * cdef class _StructNode_MemberReader: # <<<<<<<<<<<<<< - * cdef C_StructNode.Member.Reader thisptr - * cdef init(self, C_StructNode.Member.Reader other): - */ -struct __pyx_obj_6schema__StructNode_MemberReader { - PyObject_HEAD - struct __pyx_vtabstruct_6schema__StructNode_MemberReader *__pyx_vtab; - ::capnp::schema::StructNode::Member::Reader thisptr; -}; - - -/* "schema.pyx":1378 - * return _List_EnumNode_EnumNode_Enumerant_Reader().init(self.thisptr.getEnumerants()) - * - * cdef class _EnumNodeBuilder: # <<<<<<<<<<<<<< - * cdef C_EnumNode.Builder thisptr - * cdef init(self, C_EnumNode.Builder other): - */ -struct __pyx_obj_6schema__EnumNodeBuilder { - PyObject_HEAD - struct __pyx_vtabstruct_6schema__EnumNodeBuilder *__pyx_vtab; - ::capnp::schema::EnumNode::Builder thisptr; -}; - - -/* "schema.pyx":91 - * def __len__(self): - * return self.thisptr.size() - * cdef class _List_EnumNode_EnumNode_Enumerant_Builder: # <<<<<<<<<<<<<< - * cdef List[C_EnumNode.EnumNode.Enumerant].Builder thisptr - * cdef init(self, List[C_EnumNode.EnumNode.Enumerant].Builder other): - */ -struct __pyx_obj_6schema__List_EnumNode_EnumNode_Enumerant_Builder { - PyObject_HEAD - struct __pyx_vtabstruct_6schema__List_EnumNode_EnumNode_Enumerant_Builder *__pyx_vtab; - ::capnp::List<::capnp::schema::EnumNode::Enumerant>::Builder thisptr; -}; - - -/* "schema.pyx":1023 - * return self.thisptr.getName().cStr() - * - * cdef class _FileNode_ImportBuilder: # <<<<<<<<<<<<<< - * cdef C_FileNode.Import.Builder thisptr - * cdef init(self, C_FileNode.Import.Builder other): - */ -struct __pyx_obj_6schema__FileNode_ImportBuilder { - PyObject_HEAD - struct __pyx_vtabstruct_6schema__FileNode_ImportBuilder *__pyx_vtab; - ::capnp::schema::FileNode::Import::Builder thisptr; -}; - - -/* "schema.pyx":1158 - * def __set__(self, val): - * self.thisptr.setId(val) - * cdef class _NodeReader: # <<<<<<<<<<<<<< - * cdef C_Node.Reader thisptr - * cdef init(self, C_Node.Reader other): - */ -struct __pyx_obj_6schema__NodeReader { - PyObject_HEAD - struct __pyx_vtabstruct_6schema__NodeReader *__pyx_vtab; - ::capnp::schema::Node::Reader thisptr; -}; - - -/* "schema.pyx":884 - * return None - * - * cdef class _Type_BodyBuilder: # <<<<<<<<<<<<<< - * cdef C_Type.Body.Builder thisptr - * cdef init(self, C_Type.Body.Builder other): - */ -struct __pyx_obj_6schema__Type_BodyBuilder { - PyObject_HEAD - struct __pyx_vtabstruct_6schema__Type_BodyBuilder *__pyx_vtab; - ::capnp::schema::Type::Body::Builder thisptr; -}; - - -/* "schema.pyx":293 - * def __len__(self): - * return self.thisptr.size() - * cdef class _List_StructNode_StructNode_Member_Reader: # <<<<<<<<<<<<<< - * cdef List[C_StructNode.StructNode.Member].Reader thisptr - * cdef init(self, List[C_StructNode.StructNode.Member].Reader other): - */ -struct __pyx_obj_6schema__List_StructNode_StructNode_Member_Reader { - PyObject_HEAD - struct __pyx_vtabstruct_6schema__List_StructNode_StructNode_Member_Reader *__pyx_vtab; - ::capnp::List<::capnp::schema::StructNode::Member>::Reader thisptr; -}; - - -/* "schema.pyx":118 - * def __len__(self): - * return self.thisptr.size() - * cdef class _List_StructNode_Union_StructNode_Member_Builder: # <<<<<<<<<<<<<< - * cdef List[C_StructNode.Union.StructNode.Member].Builder thisptr - * cdef init(self, List[C_StructNode.Union.StructNode.Member].Builder other): - */ -struct __pyx_obj_6schema__List_StructNode_Union_StructNode_Member_Builder { - PyObject_HEAD - struct __pyx_vtabstruct_6schema__List_StructNode_Union_StructNode_Member_Builder *__pyx_vtab; - ::capnp::List<::capnp::schema::StructNode::Member>::Builder thisptr; -}; - - -/* "schema.pyx":482 - * return _List_InterfaceNode_Method_Param_Annotation_Reader().init(self.thisptr.getAnnotations()) - * - * cdef class _InterfaceNode_Method_ParamBuilder: # <<<<<<<<<<<<<< - * cdef C_InterfaceNode.Method.Param.Builder thisptr - * cdef init(self, C_InterfaceNode.Method.Param.Builder other): - */ -struct __pyx_obj_6schema__InterfaceNode_Method_ParamBuilder { - PyObject_HEAD - struct __pyx_vtabstruct_6schema__InterfaceNode_Method_ParamBuilder *__pyx_vtab; - ::capnp::schema::InterfaceNode::Method::Param::Builder thisptr; -}; - - -/* "schema.pyx":226 - * def __len__(self): - * return self.thisptr.size() - * cdef class _List_Node_Node_NestedNode_Builder: # <<<<<<<<<<<<<< - * cdef List[C_Node.Node.NestedNode].Builder thisptr - * cdef init(self, List[C_Node.Node.NestedNode].Builder other): - */ -struct __pyx_obj_6schema__List_Node_Node_NestedNode_Builder { - PyObject_HEAD - struct __pyx_vtabstruct_6schema__List_Node_Node_NestedNode_Builder *__pyx_vtab; - ::capnp::List<::capnp::schema::Node::NestedNode>::Builder thisptr; -}; - - -/* "schema.pyx":145 - * def __len__(self): - * return self.thisptr.size() - * cdef class _List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder: # <<<<<<<<<<<<<< - * cdef List[C_InterfaceNode.Method.InterfaceNode.Method.Param].Builder thisptr - * cdef init(self, List[C_InterfaceNode.Method.InterfaceNode.Method.Param].Builder other): - */ -struct __pyx_obj_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder { - PyObject_HEAD - struct __pyx_vtabstruct_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder *__pyx_vtab; - ::capnp::List<::capnp::schema::InterfaceNode::Method::Param>::Builder thisptr; -}; - - -/* "schema.pyx":660 - * return None - * - * cdef class _Value_BodyBuilder: # <<<<<<<<<<<<<< - * cdef C_Value.Body.Builder thisptr - * cdef init(self, C_Value.Body.Builder other): - */ -struct __pyx_obj_6schema__Value_BodyBuilder { - PyObject_HEAD - struct __pyx_vtabstruct_6schema__Value_BodyBuilder *__pyx_vtab; - ::capnp::schema::Value::Body::Builder thisptr; -}; - - -/* "schema.pyx":579 - * return _List_InterfaceNode_InterfaceNode_Method_Reader().init(self.thisptr.getMethods()) - * - * cdef class _InterfaceNodeBuilder: # <<<<<<<<<<<<<< - * cdef C_InterfaceNode.Builder thisptr - * cdef init(self, C_InterfaceNode.Builder other): - */ -struct __pyx_obj_6schema__InterfaceNodeBuilder { - PyObject_HEAD - struct __pyx_vtabstruct_6schema__InterfaceNodeBuilder *__pyx_vtab; - ::capnp::schema::InterfaceNode::Builder thisptr; -}; - - -/* "schema.pyx":239 - * def __len__(self): - * return self.thisptr.size() - * cdef class _List_StructNode_Member_Annotation_Reader: # <<<<<<<<<<<<<< - * cdef List[C_StructNode.Member.Annotation].Reader thisptr - * cdef init(self, List[C_StructNode.Member.Annotation].Reader other): - */ -struct __pyx_obj_6schema__List_StructNode_Member_Annotation_Reader { - PyObject_HEAD - struct __pyx_vtabstruct_6schema__List_StructNode_Member_Annotation_Reader *__pyx_vtab; - ::capnp::List<::capnp::schema::Annotation>::Reader thisptr; -}; - - -/* "schema.pyx":1129 - * pass - * - * cdef class _Node_NestedNodeReader: # <<<<<<<<<<<<<< - * cdef C_Node.NestedNode.Reader thisptr - * cdef init(self, C_Node.NestedNode.Reader other): - */ -struct __pyx_obj_6schema__Node_NestedNodeReader { - PyObject_HEAD - struct __pyx_vtabstruct_6schema__Node_NestedNodeReader *__pyx_vtab; - ::capnp::schema::Node::NestedNode::Reader thisptr; -}; - - -/* "schema.pyx":1478 - * return _List_StructNode_Member_Annotation_Reader().init(self.thisptr.getAnnotations()) - * - * cdef class _StructNode_MemberBuilder: # <<<<<<<<<<<<<< - * cdef C_StructNode.Member.Builder thisptr - * cdef init(self, C_StructNode.Member.Builder other): - */ -struct __pyx_obj_6schema__StructNode_MemberBuilder { - PyObject_HEAD - struct __pyx_vtabstruct_6schema__StructNode_MemberBuilder *__pyx_vtab; - ::capnp::schema::StructNode::Member::Builder thisptr; -}; - - -/* "schema.pyx":185 - * def __len__(self): - * return self.thisptr.size() - * cdef class _List_UInt64_Reader: # <<<<<<<<<<<<<< - * cdef List[UInt64].Reader thisptr - * cdef init(self, List[UInt64].Reader other): - */ -struct __pyx_obj_6schema__List_UInt64_Reader { - PyObject_HEAD - struct __pyx_vtabstruct_6schema__List_UInt64_Reader *__pyx_vtab; - ::capnp::List<__pyx_t_6schema_UInt64>::Reader thisptr; -}; - - -/* "schema.pyx":280 - * def __len__(self): - * return self.thisptr.size() - * cdef class _List_InterfaceNode_Method_Annotation_Builder: # <<<<<<<<<<<<<< - * cdef List[C_InterfaceNode.Method.Annotation].Builder thisptr - * cdef init(self, List[C_InterfaceNode.Method.Annotation].Builder other): - */ -struct __pyx_obj_6schema__List_InterfaceNode_Method_Annotation_Builder { - PyObject_HEAD - struct __pyx_vtabstruct_6schema__List_InterfaceNode_Method_Annotation_Builder *__pyx_vtab; - ::capnp::List<::capnp::schema::Annotation>::Builder thisptr; -}; - - -/* "schema.pyx":266 - * def __len__(self): - * return self.thisptr.size() - * cdef class _List_InterfaceNode_Method_Annotation_Reader: # <<<<<<<<<<<<<< - * cdef List[C_InterfaceNode.Method.Annotation].Reader thisptr - * cdef init(self, List[C_InterfaceNode.Method.Annotation].Reader other): - */ -struct __pyx_obj_6schema__List_InterfaceNode_Method_Annotation_Reader { - PyObject_HEAD - struct __pyx_vtabstruct_6schema__List_InterfaceNode_Method_Annotation_Reader *__pyx_vtab; - ::capnp::List<::capnp::schema::Annotation>::Reader thisptr; -}; - - -/* "schema.pyx":104 - * def __len__(self): - * return self.thisptr.size() - * cdef class _List_StructNode_Union_StructNode_Member_Reader: # <<<<<<<<<<<<<< - * cdef List[C_StructNode.Union.StructNode.Member].Reader thisptr - * cdef init(self, List[C_StructNode.Union.StructNode.Member].Reader other): - */ -struct __pyx_obj_6schema__List_StructNode_Union_StructNode_Member_Reader { - PyObject_HEAD - struct __pyx_vtabstruct_6schema__List_StructNode_Union_StructNode_Member_Reader *__pyx_vtab; - ::capnp::List<::capnp::schema::StructNode::Member>::Reader thisptr; -}; - - -/* "schema.pyx":1263 - * return self.thisptr.getTargetsMethod() - * - * cdef class _AnnotationNodeBuilder: # <<<<<<<<<<<<<< - * cdef C_AnnotationNode.Builder thisptr - * cdef init(self, C_AnnotationNode.Builder other): - */ -struct __pyx_obj_6schema__AnnotationNodeBuilder { - PyObject_HEAD - struct __pyx_vtabstruct_6schema__AnnotationNodeBuilder *__pyx_vtab; - ::capnp::schema::AnnotationNode::Builder thisptr; -}; - - -/* "schema.pyx":415 - * def __len__(self): - * return self.thisptr.size() - * cdef class _List_EnumNode_Enumerant_Annotation_Builder: # <<<<<<<<<<<<<< - * cdef List[C_EnumNode.Enumerant.Annotation].Builder thisptr - * cdef init(self, List[C_EnumNode.Enumerant.Annotation].Builder other): - */ -struct __pyx_obj_6schema__List_EnumNode_Enumerant_Annotation_Builder { - PyObject_HEAD - struct __pyx_vtabstruct_6schema__List_EnumNode_Enumerant_Annotation_Builder *__pyx_vtab; - ::capnp::List<::capnp::schema::Annotation>::Builder thisptr; -}; - - -/* "schema.pyx":593 - * - * _Value_Body_Which = make_enum('_Value_Body_Which',uint32Value = _Value_Body_uint32Value,float64Value = _Value_Body_float64Value,voidValue = _Value_Body_voidValue,dataValue = _Value_Body_dataValue,listValue = _Value_Body_listValue,int32Value = _Value_Body_int32Value,enumValue = _Value_Body_enumValue,int8Value = _Value_Body_int8Value,boolValue = _Value_Body_boolValue,int16Value = _Value_Body_int16Value,float32Value = _Value_Body_float32Value,interfaceValue = _Value_Body_interfaceValue,uint16Value = _Value_Body_uint16Value,uint8Value = _Value_Body_uint8Value,int64Value = _Value_Body_int64Value,structValue = _Value_Body_structValue,textValue = _Value_Body_textValue,uint64Value = _Value_Body_uint64Value,objectValue = _Value_Body_objectValue,) - * cdef class _Value_BodyReader: # <<<<<<<<<<<<<< - * cdef C_Value.Body.Reader thisptr - * cdef init(self, C_Value.Body.Reader other): - */ -struct __pyx_obj_6schema__Value_BodyReader { - PyObject_HEAD - struct __pyx_vtabstruct_6schema__Value_BodyReader *__pyx_vtab; - ::capnp::schema::Value::Body::Reader thisptr; -}; - - -/* "schema.pyx":1510 - * return _List_StructNode_Member_Annotation_Builder().init(self.thisptr.initAnnotations(num)) - * - * cdef class _StructNode_FieldReader: # <<<<<<<<<<<<<< - * cdef C_StructNode.Field.Reader thisptr - * cdef init(self, C_StructNode.Field.Reader other): - */ -struct __pyx_obj_6schema__StructNode_FieldReader { - PyObject_HEAD - struct __pyx_vtabstruct_6schema__StructNode_FieldReader *__pyx_vtab; - ::capnp::schema::StructNode::Field::Reader thisptr; -}; - - -/* "schema.pyx":320 - * def __len__(self): - * return self.thisptr.size() - * cdef class _List_Node_Annotation_Reader: # <<<<<<<<<<<<<< - * cdef List[C_Node.Annotation].Reader thisptr - * cdef init(self, List[C_Node.Annotation].Reader other): - */ -struct __pyx_obj_6schema__List_Node_Annotation_Reader { - PyObject_HEAD - struct __pyx_vtabstruct_6schema__List_Node_Annotation_Reader *__pyx_vtab; - ::capnp::List<::capnp::schema::Annotation>::Reader thisptr; -}; - - -/* "schema.pyx":158 - * def __len__(self): - * return self.thisptr.size() - * cdef class _List_InterfaceNode_Method_Param_Annotation_Reader: # <<<<<<<<<<<<<< - * cdef List[C_InterfaceNode.Method.Param.Annotation].Reader thisptr - * cdef init(self, List[C_InterfaceNode.Method.Param.Annotation].Reader other): - */ -struct __pyx_obj_6schema__List_InterfaceNode_Method_Param_Annotation_Reader { - PyObject_HEAD - struct __pyx_vtabstruct_6schema__List_InterfaceNode_Method_Param_Annotation_Reader *__pyx_vtab; - ::capnp::List<::capnp::schema::Annotation>::Reader thisptr; -}; - - -/* "schema.pyx":1039 - * def __set__(self, val): - * pass - * cdef class _FileNodeReader: # <<<<<<<<<<<<<< - * cdef C_FileNode.Reader thisptr - * cdef init(self, C_FileNode.Reader other): - */ -struct __pyx_obj_6schema__FileNodeReader { - PyObject_HEAD - struct __pyx_vtabstruct_6schema__FileNodeReader *__pyx_vtab; - ::capnp::schema::FileNode::Reader thisptr; -}; - - -/* "schema.pyx":45 - * T operator[](uint) - * uint size() - * def make_enum(enum_name, *sequential, **named): # <<<<<<<<<<<<<< - * enums = dict(zip(sequential, range(len(sequential))), **named) - * reverse = dict((value, key) for key, value in enums.iteritems()) - */ -struct __pyx_obj_6schema___pyx_scope_struct__make_enum { - PyObject_HEAD - PyObject *__pyx_v_enums; -}; - - -/* "schema.pyx":1563 - * return self.thisptr.getPointerSectionSize() - * - * cdef class _StructNodeBuilder: # <<<<<<<<<<<<<< - * cdef C_StructNode.Builder thisptr - * cdef init(self, C_StructNode.Builder other): - */ -struct __pyx_obj_6schema__StructNodeBuilder { - PyObject_HEAD - struct __pyx_vtabstruct_6schema__StructNodeBuilder *__pyx_vtab; - ::capnp::schema::StructNode::Builder thisptr; -}; - - - -/* "schema.pyx":997 - * return _Type_BodyReader().init(self.thisptr.getBody()) - * - * cdef class _TypeBuilder: # <<<<<<<<<<<<<< - * cdef C_Type.Builder thisptr - * cdef init(self, C_Type.Builder other): - */ - -struct __pyx_vtabstruct_6schema__TypeBuilder { - PyObject *(*init)(struct __pyx_obj_6schema__TypeBuilder *, ::capnp::schema::Type::Builder); -}; -static struct __pyx_vtabstruct_6schema__TypeBuilder *__pyx_vtabptr_6schema__TypeBuilder; - - -/* "schema.pyx":307 - * def __len__(self): - * return self.thisptr.size() - * cdef class _List_StructNode_StructNode_Member_Builder: # <<<<<<<<<<<<<< - * cdef List[C_StructNode.StructNode.Member].Builder thisptr - * cdef init(self, List[C_StructNode.StructNode.Member].Builder other): - */ - -struct __pyx_vtabstruct_6schema__List_StructNode_StructNode_Member_Builder { - PyObject *(*init)(struct __pyx_obj_6schema__List_StructNode_StructNode_Member_Builder *, ::capnp::List<::capnp::schema::StructNode::Member>::Builder); -}; -static struct __pyx_vtabstruct_6schema__List_StructNode_StructNode_Member_Builder *__pyx_vtabptr_6schema__List_StructNode_StructNode_Member_Builder; - - -/* "schema.pyx":1438 - * return _StructNode_UnionReader().init(self.thisptr.getUnionMember()) - * - * cdef class _StructNode_Member_BodyBuilder: # <<<<<<<<<<<<<< - * cdef C_StructNode.Member.Body.Builder thisptr - * cdef init(self, C_StructNode.Member.Body.Builder other): - */ - -struct __pyx_vtabstruct_6schema__StructNode_Member_BodyBuilder { - PyObject *(*init)(struct __pyx_obj_6schema__StructNode_Member_BodyBuilder *, ::capnp::schema::StructNode::Member::Body::Builder); - int (*which)(struct __pyx_obj_6schema__StructNode_Member_BodyBuilder *, int __pyx_skip_dispatch); -}; -static struct __pyx_vtabstruct_6schema__StructNode_Member_BodyBuilder *__pyx_vtabptr_6schema__StructNode_Member_BodyBuilder; - - -/* "schema.pyx":1547 - * def __set__(self, val): - * self.thisptr.setOffset(val) - * cdef class _StructNodeReader: # <<<<<<<<<<<<<< - * cdef C_StructNode.Reader thisptr - * cdef init(self, C_StructNode.Reader other): - */ - -struct __pyx_vtabstruct_6schema__StructNodeReader { - PyObject *(*init)(struct __pyx_obj_6schema__StructNodeReader *, ::capnp::schema::StructNode::Reader); -}; -static struct __pyx_vtabstruct_6schema__StructNodeReader *__pyx_vtabptr_6schema__StructNodeReader; - - -/* "schema.pyx":1049 - * return _List_FileNode_FileNode_Import_Reader().init(self.thisptr.getImports()) - * - * cdef class _FileNodeBuilder: # <<<<<<<<<<<<<< - * cdef C_FileNode.Builder thisptr - * cdef init(self, C_FileNode.Builder other): - */ - -struct __pyx_vtabstruct_6schema__FileNodeBuilder { - PyObject *(*init)(struct __pyx_obj_6schema__FileNodeBuilder *, ::capnp::schema::FileNode::Builder); - PyObject *(*initImports)(struct __pyx_obj_6schema__FileNodeBuilder *, __pyx_t_6schema_uint, int __pyx_skip_dispatch); -}; -static struct __pyx_vtabstruct_6schema__FileNodeBuilder *__pyx_vtabptr_6schema__FileNodeBuilder; - - -/* "schema.pyx":1183 - * return self.thisptr.getId() - * - * cdef class _NodeBuilder: # <<<<<<<<<<<<<< - * cdef C_Node.Builder thisptr - * cdef init(self, C_Node.Builder other): - */ - -struct __pyx_vtabstruct_6schema__NodeBuilder { - PyObject *(*init)(struct __pyx_obj_6schema__NodeBuilder *, ::capnp::schema::Node::Builder); - PyObject *(*initAnnotations)(struct __pyx_obj_6schema__NodeBuilder *, __pyx_t_6schema_uint, int __pyx_skip_dispatch); - PyObject *(*initNestedNodes)(struct __pyx_obj_6schema__NodeBuilder *, __pyx_t_6schema_uint, int __pyx_skip_dispatch); -}; -static struct __pyx_vtabstruct_6schema__NodeBuilder *__pyx_vtabptr_6schema__NodeBuilder; - - -/* "schema.pyx":1368 - * cpdef initAnnotations(self, uint num): - * return _List_EnumNode_Enumerant_Annotation_Builder().init(self.thisptr.initAnnotations(num)) - * cdef class _EnumNodeReader: # <<<<<<<<<<<<<< - * cdef C_EnumNode.Reader thisptr - * cdef init(self, C_EnumNode.Reader other): - */ - -struct __pyx_vtabstruct_6schema__EnumNodeReader { - PyObject *(*init)(struct __pyx_obj_6schema__EnumNodeReader *, ::capnp::schema::EnumNode::Reader); -}; -static struct __pyx_vtabstruct_6schema__EnumNodeReader *__pyx_vtabptr_6schema__EnumNodeReader; - - -/* "schema.pyx":145 - * def __len__(self): - * return self.thisptr.size() - * cdef class _List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder: # <<<<<<<<<<<<<< - * cdef List[C_InterfaceNode.Method.InterfaceNode.Method.Param].Builder thisptr - * cdef init(self, List[C_InterfaceNode.Method.InterfaceNode.Method.Param].Builder other): - */ - -struct __pyx_vtabstruct_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder { - PyObject *(*init)(struct __pyx_obj_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder *, ::capnp::List<::capnp::schema::InterfaceNode::Method::Param>::Builder); -}; -static struct __pyx_vtabstruct_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder *__pyx_vtabptr_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder; - - -/* "schema.pyx":463 - * - * - * cdef class _InterfaceNode_Method_ParamReader: # <<<<<<<<<<<<<< - * cdef C_InterfaceNode.Method.Param.Reader thisptr - * cdef init(self, C_InterfaceNode.Method.Param.Reader other): - */ - -struct __pyx_vtabstruct_6schema__InterfaceNode_Method_ParamReader { - PyObject *(*init)(struct __pyx_obj_6schema__InterfaceNode_Method_ParamReader *, ::capnp::schema::InterfaceNode::Method::Param::Reader); -}; -static struct __pyx_vtabstruct_6schema__InterfaceNode_Method_ParamReader *__pyx_vtabptr_6schema__InterfaceNode_Method_ParamReader; - - -/* "schema.pyx":1615 - * pass - * - * cdef class MessageBuilder: # <<<<<<<<<<<<<< - * cdef capnp.MessageBuilder * thisptr - * def __dealloc__(self): - */ - -struct __pyx_vtabstruct_6schema_MessageBuilder { - PyObject *(*getRootCodeGeneratorRequest)(struct __pyx_obj_6schema_MessageBuilder *, int __pyx_skip_dispatch); - PyObject *(*initRootCodeGeneratorRequest)(struct __pyx_obj_6schema_MessageBuilder *, int __pyx_skip_dispatch); - PyObject *(*getRootInterfaceNode)(struct __pyx_obj_6schema_MessageBuilder *, int __pyx_skip_dispatch); - PyObject *(*initRootInterfaceNode)(struct __pyx_obj_6schema_MessageBuilder *, int __pyx_skip_dispatch); - PyObject *(*getRootValue)(struct __pyx_obj_6schema_MessageBuilder *, int __pyx_skip_dispatch); - PyObject *(*initRootValue)(struct __pyx_obj_6schema_MessageBuilder *, int __pyx_skip_dispatch); - PyObject *(*getRootConstNode)(struct __pyx_obj_6schema_MessageBuilder *, int __pyx_skip_dispatch); - PyObject *(*initRootConstNode)(struct __pyx_obj_6schema_MessageBuilder *, int __pyx_skip_dispatch); - PyObject *(*getRootType)(struct __pyx_obj_6schema_MessageBuilder *, int __pyx_skip_dispatch); - PyObject *(*initRootType)(struct __pyx_obj_6schema_MessageBuilder *, int __pyx_skip_dispatch); - PyObject *(*getRootFileNode)(struct __pyx_obj_6schema_MessageBuilder *, int __pyx_skip_dispatch); - PyObject *(*initRootFileNode)(struct __pyx_obj_6schema_MessageBuilder *, int __pyx_skip_dispatch); - PyObject *(*getRootNode)(struct __pyx_obj_6schema_MessageBuilder *, int __pyx_skip_dispatch); - PyObject *(*initRootNode)(struct __pyx_obj_6schema_MessageBuilder *, int __pyx_skip_dispatch); - PyObject *(*getRootAnnotationNode)(struct __pyx_obj_6schema_MessageBuilder *, int __pyx_skip_dispatch); - PyObject *(*initRootAnnotationNode)(struct __pyx_obj_6schema_MessageBuilder *, int __pyx_skip_dispatch); - PyObject *(*getRootEnumNode)(struct __pyx_obj_6schema_MessageBuilder *, int __pyx_skip_dispatch); - PyObject *(*initRootEnumNode)(struct __pyx_obj_6schema_MessageBuilder *, int __pyx_skip_dispatch); - PyObject *(*getRootStructNode)(struct __pyx_obj_6schema_MessageBuilder *, int __pyx_skip_dispatch); - PyObject *(*initRootStructNode)(struct __pyx_obj_6schema_MessageBuilder *, int __pyx_skip_dispatch); - PyObject *(*getRootAnnotation)(struct __pyx_obj_6schema_MessageBuilder *, int __pyx_skip_dispatch); - PyObject *(*initRootAnnotation)(struct __pyx_obj_6schema_MessageBuilder *, int __pyx_skip_dispatch); -}; -static struct __pyx_vtabstruct_6schema_MessageBuilder *__pyx_vtabptr_6schema_MessageBuilder; - - -/* "schema.pyx":1663 - * cpdef initRootAnnotation(self): - * return _AnnotationBuilder().init(self.thisptr.initRootAnnotation()) - * cdef class MallocMessageBuilder(MessageBuilder): # <<<<<<<<<<<<<< - * def __cinit__(self): - * self.thisptr = new capnp.MallocMessageBuilder() - */ - -struct __pyx_vtabstruct_6schema_MallocMessageBuilder { - struct __pyx_vtabstruct_6schema_MessageBuilder __pyx_base; -}; -static struct __pyx_vtabstruct_6schema_MallocMessageBuilder *__pyx_vtabptr_6schema_MallocMessageBuilder; - - -/* "schema.pyx":1142 - * return self.thisptr.getId() - * - * cdef class _Node_NestedNodeBuilder: # <<<<<<<<<<<<<< - * cdef C_Node.NestedNode.Builder thisptr - * cdef init(self, C_Node.NestedNode.Builder other): - */ - -struct __pyx_vtabstruct_6schema__Node_NestedNodeBuilder { - PyObject *(*init)(struct __pyx_obj_6schema__Node_NestedNodeBuilder *, ::capnp::schema::Node::NestedNode::Builder); -}; -static struct __pyx_vtabstruct_6schema__Node_NestedNodeBuilder *__pyx_vtabptr_6schema__Node_NestedNodeBuilder; - - -/* "schema.pyx":91 - * def __len__(self): - * return self.thisptr.size() - * cdef class _List_EnumNode_EnumNode_Enumerant_Builder: # <<<<<<<<<<<<<< - * cdef List[C_EnumNode.EnumNode.Enumerant].Builder thisptr - * cdef init(self, List[C_EnumNode.EnumNode.Enumerant].Builder other): - */ - -struct __pyx_vtabstruct_6schema__List_EnumNode_EnumNode_Enumerant_Builder { - PyObject *(*init)(struct __pyx_obj_6schema__List_EnumNode_EnumNode_Enumerant_Builder *, ::capnp::List<::capnp::schema::EnumNode::Enumerant>::Builder); -}; -static struct __pyx_vtabstruct_6schema__List_EnumNode_EnumNode_Enumerant_Builder *__pyx_vtabptr_6schema__List_EnumNode_EnumNode_Enumerant_Builder; - - -/* "schema.pyx":1478 - * return _List_StructNode_Member_Annotation_Reader().init(self.thisptr.getAnnotations()) - * - * cdef class _StructNode_MemberBuilder: # <<<<<<<<<<<<<< - * cdef C_StructNode.Member.Builder thisptr - * cdef init(self, C_StructNode.Member.Builder other): - */ - -struct __pyx_vtabstruct_6schema__StructNode_MemberBuilder { - PyObject *(*init)(struct __pyx_obj_6schema__StructNode_MemberBuilder *, ::capnp::schema::StructNode::Member::Builder); - PyObject *(*initAnnotations)(struct __pyx_obj_6schema__StructNode_MemberBuilder *, __pyx_t_6schema_uint, int __pyx_skip_dispatch); -}; -static struct __pyx_vtabstruct_6schema__StructNode_MemberBuilder *__pyx_vtabptr_6schema__StructNode_MemberBuilder; - - -/* "schema.pyx":429 - * return self.thisptr.size() - * - * cdef class _CodeGeneratorRequestReader: # <<<<<<<<<<<<<< - * cdef C_CodeGeneratorRequest.Reader thisptr - * cdef init(self, C_CodeGeneratorRequest.Reader other): - */ - -struct __pyx_vtabstruct_6schema__CodeGeneratorRequestReader { - PyObject *(*init)(struct __pyx_obj_6schema__CodeGeneratorRequestReader *, ::capnp::schema::CodeGeneratorRequest::Reader); -}; -static struct __pyx_vtabstruct_6schema__CodeGeneratorRequestReader *__pyx_vtabptr_6schema__CodeGeneratorRequestReader; - - -/* "schema.pyx":1158 - * def __set__(self, val): - * self.thisptr.setId(val) - * cdef class _NodeReader: # <<<<<<<<<<<<<< - * cdef C_Node.Reader thisptr - * cdef init(self, C_Node.Reader other): - */ - -struct __pyx_vtabstruct_6schema__NodeReader { - PyObject *(*init)(struct __pyx_obj_6schema__NodeReader *, ::capnp::schema::Node::Reader); -}; -static struct __pyx_vtabstruct_6schema__NodeReader *__pyx_vtabptr_6schema__NodeReader; - - -/* "schema.pyx":1423 - * - * _StructNode_Member_Body_Which = make_enum('_StructNode_Member_Body_Which',fieldMember = _StructNode_Member_Body_fieldMember,unionMember = _StructNode_Member_Body_unionMember,) - * cdef class _StructNode_Member_BodyReader: # <<<<<<<<<<<<<< - * cdef C_StructNode.Member.Body.Reader thisptr - * cdef init(self, C_StructNode.Member.Body.Reader other): - */ - -struct __pyx_vtabstruct_6schema__StructNode_Member_BodyReader { - PyObject *(*init)(struct __pyx_obj_6schema__StructNode_Member_BodyReader *, ::capnp::schema::StructNode::Member::Body::Reader); - int (*which)(struct __pyx_obj_6schema__StructNode_Member_BodyReader *, int __pyx_skip_dispatch); -}; -static struct __pyx_vtabstruct_6schema__StructNode_Member_BodyReader *__pyx_vtabptr_6schema__StructNode_Member_BodyReader; - - -/* "schema.pyx":1220 - * self.thisptr.setId(val) - * - * cdef class _AnnotationNodeReader: # <<<<<<<<<<<<<< - * cdef C_AnnotationNode.Reader thisptr - * cdef init(self, C_AnnotationNode.Reader other): - */ - -struct __pyx_vtabstruct_6schema__AnnotationNodeReader { - PyObject *(*init)(struct __pyx_obj_6schema__AnnotationNodeReader *, ::capnp::schema::AnnotationNode::Reader); -}; -static struct __pyx_vtabstruct_6schema__AnnotationNodeReader *__pyx_vtabptr_6schema__AnnotationNodeReader; - - -/* "schema.pyx":266 - * def __len__(self): - * return self.thisptr.size() - * cdef class _List_InterfaceNode_Method_Annotation_Reader: # <<<<<<<<<<<<<< - * cdef List[C_InterfaceNode.Method.Annotation].Reader thisptr - * cdef init(self, List[C_InterfaceNode.Method.Annotation].Reader other): - */ - -struct __pyx_vtabstruct_6schema__List_InterfaceNode_Method_Annotation_Reader { - PyObject *(*init)(struct __pyx_obj_6schema__List_InterfaceNode_Method_Annotation_Reader *, ::capnp::List<::capnp::schema::Annotation>::Reader); -}; -static struct __pyx_vtabstruct_6schema__List_InterfaceNode_Method_Annotation_Reader *__pyx_vtabptr_6schema__List_InterfaceNode_Method_Annotation_Reader; - - -/* "schema.pyx":388 - * def __len__(self): - * return self.thisptr.size() - * cdef class _List_FileNode_FileNode_Import_Builder: # <<<<<<<<<<<<<< - * cdef List[C_FileNode.FileNode.Import].Builder thisptr - * cdef init(self, List[C_FileNode.FileNode.Import].Builder other): - */ - -struct __pyx_vtabstruct_6schema__List_FileNode_FileNode_Import_Builder { - PyObject *(*init)(struct __pyx_obj_6schema__List_FileNode_FileNode_Import_Builder *, ::capnp::List<::capnp::schema::FileNode::Import>::Builder); -}; -static struct __pyx_vtabstruct_6schema__List_FileNode_FileNode_Import_Builder *__pyx_vtabptr_6schema__List_FileNode_FileNode_Import_Builder; - - -/* "schema.pyx":508 - * cpdef initAnnotations(self, uint num): - * return _List_InterfaceNode_Method_Param_Annotation_Builder().init(self.thisptr.initAnnotations(num)) - * cdef class _InterfaceNode_MethodReader: # <<<<<<<<<<<<<< - * cdef C_InterfaceNode.Method.Reader thisptr - * cdef init(self, C_InterfaceNode.Method.Reader other): - */ - -struct __pyx_vtabstruct_6schema__InterfaceNode_MethodReader { - PyObject *(*init)(struct __pyx_obj_6schema__InterfaceNode_MethodReader *, ::capnp::schema::InterfaceNode::Method::Reader); -}; -static struct __pyx_vtabstruct_6schema__InterfaceNode_MethodReader *__pyx_vtabptr_6schema__InterfaceNode_MethodReader; - - -/* "schema.pyx":1129 - * pass - * - * cdef class _Node_NestedNodeReader: # <<<<<<<<<<<<<< - * cdef C_Node.NestedNode.Reader thisptr - * cdef init(self, C_Node.NestedNode.Reader other): - */ - -struct __pyx_vtabstruct_6schema__Node_NestedNodeReader { - PyObject *(*init)(struct __pyx_obj_6schema__Node_NestedNodeReader *, ::capnp::schema::Node::NestedNode::Reader); -}; -static struct __pyx_vtabstruct_6schema__Node_NestedNodeReader *__pyx_vtabptr_6schema__Node_NestedNodeReader; - - -/* "schema.pyx":482 - * return _List_InterfaceNode_Method_Param_Annotation_Reader().init(self.thisptr.getAnnotations()) - * - * cdef class _InterfaceNode_Method_ParamBuilder: # <<<<<<<<<<<<<< - * cdef C_InterfaceNode.Method.Param.Builder thisptr - * cdef init(self, C_InterfaceNode.Method.Param.Builder other): - */ - -struct __pyx_vtabstruct_6schema__InterfaceNode_Method_ParamBuilder { - PyObject *(*init)(struct __pyx_obj_6schema__InterfaceNode_Method_ParamBuilder *, ::capnp::schema::InterfaceNode::Method::Param::Builder); - PyObject *(*initAnnotations)(struct __pyx_obj_6schema__InterfaceNode_Method_ParamBuilder *, __pyx_t_6schema_uint, int __pyx_skip_dispatch); -}; -static struct __pyx_vtabstruct_6schema__InterfaceNode_Method_ParamBuilder *__pyx_vtabptr_6schema__InterfaceNode_Method_ParamBuilder; - - -/* "schema.pyx":334 - * def __len__(self): - * return self.thisptr.size() - * cdef class _List_Node_Annotation_Builder: # <<<<<<<<<<<<<< - * cdef List[C_Node.Annotation].Builder thisptr - * cdef init(self, List[C_Node.Annotation].Builder other): - */ - -struct __pyx_vtabstruct_6schema__List_Node_Annotation_Builder { - PyObject *(*init)(struct __pyx_obj_6schema__List_Node_Annotation_Builder *, ::capnp::List<::capnp::schema::Annotation>::Builder); -}; -static struct __pyx_vtabstruct_6schema__List_Node_Annotation_Builder *__pyx_vtabptr_6schema__List_Node_Annotation_Builder; - - -/* "schema.pyx":442 - * return _List_UInt64_Reader().init(self.thisptr.getRequestedFiles()) - * - * cdef class _CodeGeneratorRequestBuilder: # <<<<<<<<<<<<<< - * cdef C_CodeGeneratorRequest.Builder thisptr - * cdef init(self, C_CodeGeneratorRequest.Builder other): - */ - -struct __pyx_vtabstruct_6schema__CodeGeneratorRequestBuilder { - PyObject *(*init)(struct __pyx_obj_6schema__CodeGeneratorRequestBuilder *, ::capnp::schema::CodeGeneratorRequest::Builder); - PyObject *(*initNodes)(struct __pyx_obj_6schema__CodeGeneratorRequestBuilder *, __pyx_t_6schema_uint, int __pyx_skip_dispatch); - PyObject *(*initRequestedFiles)(struct __pyx_obj_6schema__CodeGeneratorRequestBuilder *, __pyx_t_6schema_uint, int __pyx_skip_dispatch); -}; -static struct __pyx_vtabstruct_6schema__CodeGeneratorRequestBuilder *__pyx_vtabptr_6schema__CodeGeneratorRequestBuilder; - - -/* "schema.pyx":64 - * def __len__(self): - * return self.thisptr.size() - * cdef class _List_InterfaceNode_InterfaceNode_Method_Builder: # <<<<<<<<<<<<<< - * cdef List[C_InterfaceNode.InterfaceNode.Method].Builder thisptr - * cdef init(self, List[C_InterfaceNode.InterfaceNode.Method].Builder other): - */ - -struct __pyx_vtabstruct_6schema__List_InterfaceNode_InterfaceNode_Method_Builder { - PyObject *(*init)(struct __pyx_obj_6schema__List_InterfaceNode_InterfaceNode_Method_Builder *, ::capnp::List<::capnp::schema::InterfaceNode::Method>::Builder); -}; -static struct __pyx_vtabstruct_6schema__List_InterfaceNode_InterfaceNode_Method_Builder *__pyx_vtabptr_6schema__List_InterfaceNode_InterfaceNode_Method_Builder; - - -/* "schema.pyx":818 - * - * _Type_Body_Which = make_enum('_Type_Body_Which',boolType = _Type_Body_boolType,structType = _Type_Body_structType,int32Type = _Type_Body_int32Type,voidType = _Type_Body_voidType,uint16Type = _Type_Body_uint16Type,dataType = _Type_Body_dataType,objectType = _Type_Body_objectType,int64Type = _Type_Body_int64Type,float64Type = _Type_Body_float64Type,interfaceType = _Type_Body_interfaceType,uint32Type = _Type_Body_uint32Type,uint8Type = _Type_Body_uint8Type,listType = _Type_Body_listType,int8Type = _Type_Body_int8Type,float32Type = _Type_Body_float32Type,enumType = _Type_Body_enumType,uint64Type = _Type_Body_uint64Type,textType = _Type_Body_textType,int16Type = _Type_Body_int16Type,) - * cdef class _Type_BodyReader: # <<<<<<<<<<<<<< - * cdef C_Type.Body.Reader thisptr - * cdef init(self, C_Type.Body.Reader other): - */ - -struct __pyx_vtabstruct_6schema__Type_BodyReader { - PyObject *(*init)(struct __pyx_obj_6schema__Type_BodyReader *, ::capnp::schema::Type::Body::Reader); - int (*which)(struct __pyx_obj_6schema__Type_BodyReader *, int __pyx_skip_dispatch); -}; -static struct __pyx_vtabstruct_6schema__Type_BodyReader *__pyx_vtabptr_6schema__Type_BodyReader; - - -/* "schema.pyx":199 - * def __len__(self): - * return self.thisptr.size() - * cdef class _List_UInt64_Builder: # <<<<<<<<<<<<<< - * cdef List[UInt64].Builder thisptr - * cdef init(self, List[UInt64].Builder other): - */ - -struct __pyx_vtabstruct_6schema__List_UInt64_Builder { - PyObject *(*init)(struct __pyx_obj_6schema__List_UInt64_Builder *, ::capnp::List<__pyx_t_6schema_UInt64>::Builder); -}; -static struct __pyx_vtabstruct_6schema__List_UInt64_Builder *__pyx_vtabptr_6schema__List_UInt64_Builder; - - -/* "schema.pyx":131 - * def __len__(self): - * return self.thisptr.size() - * cdef class _List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader: # <<<<<<<<<<<<<< - * cdef List[C_InterfaceNode.Method.InterfaceNode.Method.Param].Reader thisptr - * cdef init(self, List[C_InterfaceNode.Method.InterfaceNode.Method.Param].Reader other): - */ - -struct __pyx_vtabstruct_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader { - PyObject *(*init)(struct __pyx_obj_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader *, ::capnp::List<::capnp::schema::InterfaceNode::Method::Param>::Reader); -}; -static struct __pyx_vtabstruct_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader *__pyx_vtabptr_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader; - - -/* "schema.pyx":374 - * def __len__(self): - * return self.thisptr.size() - * cdef class _List_FileNode_FileNode_Import_Reader: # <<<<<<<<<<<<<< - * cdef List[C_FileNode.FileNode.Import].Reader thisptr - * cdef init(self, List[C_FileNode.FileNode.Import].Reader other): - */ - -struct __pyx_vtabstruct_6schema__List_FileNode_FileNode_Import_Reader { - PyObject *(*init)(struct __pyx_obj_6schema__List_FileNode_FileNode_Import_Reader *, ::capnp::List<::capnp::schema::FileNode::Import>::Reader); -}; -static struct __pyx_vtabstruct_6schema__List_FileNode_FileNode_Import_Reader *__pyx_vtabptr_6schema__List_FileNode_FileNode_Import_Reader; - - -/* "schema.pyx":660 - * return None - * - * cdef class _Value_BodyBuilder: # <<<<<<<<<<<<<< - * cdef C_Value.Body.Builder thisptr - * cdef init(self, C_Value.Body.Builder other): - */ - -struct __pyx_vtabstruct_6schema__Value_BodyBuilder { - PyObject *(*init)(struct __pyx_obj_6schema__Value_BodyBuilder *, ::capnp::schema::Value::Body::Builder); - int (*which)(struct __pyx_obj_6schema__Value_BodyBuilder *, int __pyx_skip_dispatch); -}; -static struct __pyx_vtabstruct_6schema__Value_BodyBuilder *__pyx_vtabptr_6schema__Value_BodyBuilder; - - -/* "schema.pyx":361 - * def __len__(self): - * return self.thisptr.size() - * cdef class _List_CodeGeneratorRequest_Node_Builder: # <<<<<<<<<<<<<< - * cdef List[C_CodeGeneratorRequest.Node].Builder thisptr - * cdef init(self, List[C_CodeGeneratorRequest.Node].Builder other): - */ - -struct __pyx_vtabstruct_6schema__List_CodeGeneratorRequest_Node_Builder { - PyObject *(*init)(struct __pyx_obj_6schema__List_CodeGeneratorRequest_Node_Builder *, ::capnp::List<::capnp::schema::Node>::Builder); -}; -static struct __pyx_vtabstruct_6schema__List_CodeGeneratorRequest_Node_Builder *__pyx_vtabptr_6schema__List_CodeGeneratorRequest_Node_Builder; - - -/* "schema.pyx":1456 - * def __set__(self, val): - * pass - * cdef class _StructNode_MemberReader: # <<<<<<<<<<<<<< - * cdef C_StructNode.Member.Reader thisptr - * cdef init(self, C_StructNode.Member.Reader other): - */ - -struct __pyx_vtabstruct_6schema__StructNode_MemberReader { - PyObject *(*init)(struct __pyx_obj_6schema__StructNode_MemberReader *, ::capnp::schema::StructNode::Member::Reader); -}; -static struct __pyx_vtabstruct_6schema__StructNode_MemberReader *__pyx_vtabptr_6schema__StructNode_MemberReader; - - -/* "schema.pyx":1347 - * return _List_EnumNode_Enumerant_Annotation_Reader().init(self.thisptr.getAnnotations()) - * - * cdef class _EnumNode_EnumerantBuilder: # <<<<<<<<<<<<<< - * cdef C_EnumNode.Enumerant.Builder thisptr - * cdef init(self, C_EnumNode.Enumerant.Builder other): - */ - -struct __pyx_vtabstruct_6schema__EnumNode_EnumerantBuilder { - PyObject *(*init)(struct __pyx_obj_6schema__EnumNode_EnumerantBuilder *, ::capnp::schema::EnumNode::Enumerant::Builder); - PyObject *(*initAnnotations)(struct __pyx_obj_6schema__EnumNode_EnumerantBuilder *, __pyx_t_6schema_uint, int __pyx_skip_dispatch); -}; -static struct __pyx_vtabstruct_6schema__EnumNode_EnumerantBuilder *__pyx_vtabptr_6schema__EnumNode_EnumerantBuilder; - - -/* "schema.pyx":226 - * def __len__(self): - * return self.thisptr.size() - * cdef class _List_Node_Node_NestedNode_Builder: # <<<<<<<<<<<<<< - * cdef List[C_Node.Node.NestedNode].Builder thisptr - * cdef init(self, List[C_Node.Node.NestedNode].Builder other): - */ - -struct __pyx_vtabstruct_6schema__List_Node_Node_NestedNode_Builder { - PyObject *(*init)(struct __pyx_obj_6schema__List_Node_Node_NestedNode_Builder *, ::capnp::List<::capnp::schema::Node::NestedNode>::Builder); -}; -static struct __pyx_vtabstruct_6schema__List_Node_Node_NestedNode_Builder *__pyx_vtabptr_6schema__List_Node_Node_NestedNode_Builder; - - -/* "schema.pyx":1391 - * - * - * cdef class _StructNode_UnionReader: # <<<<<<<<<<<<<< - * cdef C_StructNode.Union.Reader thisptr - * cdef init(self, C_StructNode.Union.Reader other): - */ - -struct __pyx_vtabstruct_6schema__StructNode_UnionReader { - PyObject *(*init)(struct __pyx_obj_6schema__StructNode_UnionReader *, ::capnp::schema::StructNode::Union::Reader); -}; -static struct __pyx_vtabstruct_6schema__StructNode_UnionReader *__pyx_vtabptr_6schema__StructNode_UnionReader; - - -/* "schema.pyx":185 - * def __len__(self): - * return self.thisptr.size() - * cdef class _List_UInt64_Reader: # <<<<<<<<<<<<<< - * cdef List[UInt64].Reader thisptr - * cdef init(self, List[UInt64].Reader other): - */ - -struct __pyx_vtabstruct_6schema__List_UInt64_Reader { - PyObject *(*init)(struct __pyx_obj_6schema__List_UInt64_Reader *, ::capnp::List<__pyx_t_6schema_UInt64>::Reader); -}; -static struct __pyx_vtabstruct_6schema__List_UInt64_Reader *__pyx_vtabptr_6schema__List_UInt64_Reader; - - -/* "schema.pyx":799 - * return _ValueReader().init(self.thisptr.getValue()) - * - * cdef class _ConstNodeBuilder: # <<<<<<<<<<<<<< - * cdef C_ConstNode.Builder thisptr - * cdef init(self, C_ConstNode.Builder other): - */ - -struct __pyx_vtabstruct_6schema__ConstNodeBuilder { - PyObject *(*init)(struct __pyx_obj_6schema__ConstNodeBuilder *, ::capnp::schema::ConstNode::Builder); -}; -static struct __pyx_vtabstruct_6schema__ConstNodeBuilder *__pyx_vtabptr_6schema__ConstNodeBuilder; - - -/* "schema.pyx":987 - * def __set__(self, val): - * pass - * cdef class _TypeReader: # <<<<<<<<<<<<<< - * cdef C_Type.Reader thisptr - * cdef init(self, C_Type.Reader other): - */ - -struct __pyx_vtabstruct_6schema__TypeReader { - PyObject *(*init)(struct __pyx_obj_6schema__TypeReader *, ::capnp::schema::Type::Reader); -}; -static struct __pyx_vtabstruct_6schema__TypeReader *__pyx_vtabptr_6schema__TypeReader; - - -/* "schema.pyx":1668 - * - * - * cdef class MessageReader: # <<<<<<<<<<<<<< - * cdef capnp.MessageReader * thisptr - * def __dealloc__(self): - */ - -struct __pyx_vtabstruct_6schema_MessageReader { - PyObject *(*getRootCodeGeneratorRequest)(struct __pyx_obj_6schema_MessageReader *, int __pyx_skip_dispatch); - PyObject *(*getRootInterfaceNode)(struct __pyx_obj_6schema_MessageReader *, int __pyx_skip_dispatch); - PyObject *(*getRootValue)(struct __pyx_obj_6schema_MessageReader *, int __pyx_skip_dispatch); - PyObject *(*getRootConstNode)(struct __pyx_obj_6schema_MessageReader *, int __pyx_skip_dispatch); - PyObject *(*getRootType)(struct __pyx_obj_6schema_MessageReader *, int __pyx_skip_dispatch); - PyObject *(*getRootFileNode)(struct __pyx_obj_6schema_MessageReader *, int __pyx_skip_dispatch); - PyObject *(*getRootNode)(struct __pyx_obj_6schema_MessageReader *, int __pyx_skip_dispatch); - PyObject *(*getRootAnnotationNode)(struct __pyx_obj_6schema_MessageReader *, int __pyx_skip_dispatch); - PyObject *(*getRootEnumNode)(struct __pyx_obj_6schema_MessageReader *, int __pyx_skip_dispatch); - PyObject *(*getRootStructNode)(struct __pyx_obj_6schema_MessageReader *, int __pyx_skip_dispatch); - PyObject *(*getRootAnnotation)(struct __pyx_obj_6schema_MessageReader *, int __pyx_skip_dispatch); -}; -static struct __pyx_vtabstruct_6schema_MessageReader *__pyx_vtabptr_6schema_MessageReader; - - -/* "schema.pyx":1699 - * self.thisptr = new capnp.StreamFdMessageReader(fd) - * - * cdef class PackedFdMessageReader(MessageReader): # <<<<<<<<<<<<<< - * def __cinit__(self, int fd): - * self.thisptr = new capnp.PackedFdMessageReader(fd) - */ - -struct __pyx_vtabstruct_6schema_PackedFdMessageReader { - struct __pyx_vtabstruct_6schema_MessageReader __pyx_base; -}; -static struct __pyx_vtabstruct_6schema_PackedFdMessageReader *__pyx_vtabptr_6schema_PackedFdMessageReader; - - -/* "schema.pyx":593 - * - * _Value_Body_Which = make_enum('_Value_Body_Which',uint32Value = _Value_Body_uint32Value,float64Value = _Value_Body_float64Value,voidValue = _Value_Body_voidValue,dataValue = _Value_Body_dataValue,listValue = _Value_Body_listValue,int32Value = _Value_Body_int32Value,enumValue = _Value_Body_enumValue,int8Value = _Value_Body_int8Value,boolValue = _Value_Body_boolValue,int16Value = _Value_Body_int16Value,float32Value = _Value_Body_float32Value,interfaceValue = _Value_Body_interfaceValue,uint16Value = _Value_Body_uint16Value,uint8Value = _Value_Body_uint8Value,int64Value = _Value_Body_int64Value,structValue = _Value_Body_structValue,textValue = _Value_Body_textValue,uint64Value = _Value_Body_uint64Value,objectValue = _Value_Body_objectValue,) - * cdef class _Value_BodyReader: # <<<<<<<<<<<<<< - * cdef C_Value.Body.Reader thisptr - * cdef init(self, C_Value.Body.Reader other): - */ - -struct __pyx_vtabstruct_6schema__Value_BodyReader { - PyObject *(*init)(struct __pyx_obj_6schema__Value_BodyReader *, ::capnp::schema::Value::Body::Reader); - int (*which)(struct __pyx_obj_6schema__Value_BodyReader *, int __pyx_skip_dispatch); -}; -static struct __pyx_vtabstruct_6schema__Value_BodyReader *__pyx_vtabptr_6schema__Value_BodyReader; - - -/* "schema.pyx":1023 - * return self.thisptr.getName().cStr() - * - * cdef class _FileNode_ImportBuilder: # <<<<<<<<<<<<<< - * cdef C_FileNode.Import.Builder thisptr - * cdef init(self, C_FileNode.Import.Builder other): - */ - -struct __pyx_vtabstruct_6schema__FileNode_ImportBuilder { - PyObject *(*init)(struct __pyx_obj_6schema__FileNode_ImportBuilder *, ::capnp::schema::FileNode::Import::Builder); -}; -static struct __pyx_vtabstruct_6schema__FileNode_ImportBuilder *__pyx_vtabptr_6schema__FileNode_ImportBuilder; - - -/* "schema.pyx":320 - * def __len__(self): - * return self.thisptr.size() - * cdef class _List_Node_Annotation_Reader: # <<<<<<<<<<<<<< - * cdef List[C_Node.Annotation].Reader thisptr - * cdef init(self, List[C_Node.Annotation].Reader other): - */ - -struct __pyx_vtabstruct_6schema__List_Node_Annotation_Reader { - PyObject *(*init)(struct __pyx_obj_6schema__List_Node_Annotation_Reader *, ::capnp::List<::capnp::schema::Annotation>::Reader); -}; -static struct __pyx_vtabstruct_6schema__List_Node_Annotation_Reader *__pyx_vtabptr_6schema__List_Node_Annotation_Reader; - - -/* "schema.pyx":579 - * return _List_InterfaceNode_InterfaceNode_Method_Reader().init(self.thisptr.getMethods()) - * - * cdef class _InterfaceNodeBuilder: # <<<<<<<<<<<<<< - * cdef C_InterfaceNode.Builder thisptr - * cdef init(self, C_InterfaceNode.Builder other): - */ - -struct __pyx_vtabstruct_6schema__InterfaceNodeBuilder { - PyObject *(*init)(struct __pyx_obj_6schema__InterfaceNodeBuilder *, ::capnp::schema::InterfaceNode::Builder); - PyObject *(*initMethods)(struct __pyx_obj_6schema__InterfaceNodeBuilder *, __pyx_t_6schema_uint, int __pyx_skip_dispatch); -}; -static struct __pyx_vtabstruct_6schema__InterfaceNodeBuilder *__pyx_vtabptr_6schema__InterfaceNodeBuilder; - - -/* "schema.pyx":1378 - * return _List_EnumNode_EnumNode_Enumerant_Reader().init(self.thisptr.getEnumerants()) - * - * cdef class _EnumNodeBuilder: # <<<<<<<<<<<<<< - * cdef C_EnumNode.Builder thisptr - * cdef init(self, C_EnumNode.Builder other): - */ - -struct __pyx_vtabstruct_6schema__EnumNodeBuilder { - PyObject *(*init)(struct __pyx_obj_6schema__EnumNodeBuilder *, ::capnp::schema::EnumNode::Builder); - PyObject *(*initEnumerants)(struct __pyx_obj_6schema__EnumNodeBuilder *, __pyx_t_6schema_uint, int __pyx_skip_dispatch); -}; -static struct __pyx_vtabstruct_6schema__EnumNodeBuilder *__pyx_vtabptr_6schema__EnumNodeBuilder; - - -/* "schema.pyx":347 - * def __len__(self): - * return self.thisptr.size() - * cdef class _List_CodeGeneratorRequest_Node_Reader: # <<<<<<<<<<<<<< - * cdef List[C_CodeGeneratorRequest.Node].Reader thisptr - * cdef init(self, List[C_CodeGeneratorRequest.Node].Reader other): - */ - -struct __pyx_vtabstruct_6schema__List_CodeGeneratorRequest_Node_Reader { - PyObject *(*init)(struct __pyx_obj_6schema__List_CodeGeneratorRequest_Node_Reader *, ::capnp::List<::capnp::schema::Node>::Reader); -}; -static struct __pyx_vtabstruct_6schema__List_CodeGeneratorRequest_Node_Reader *__pyx_vtabptr_6schema__List_CodeGeneratorRequest_Node_Reader; - - -/* "schema.pyx":1039 - * def __set__(self, val): - * pass - * cdef class _FileNodeReader: # <<<<<<<<<<<<<< - * cdef C_FileNode.Reader thisptr - * cdef init(self, C_FileNode.Reader other): - */ - -struct __pyx_vtabstruct_6schema__FileNodeReader { - PyObject *(*init)(struct __pyx_obj_6schema__FileNodeReader *, ::capnp::schema::FileNode::Reader); -}; -static struct __pyx_vtabstruct_6schema__FileNodeReader *__pyx_vtabptr_6schema__FileNodeReader; - - -/* "schema.pyx":280 - * def __len__(self): - * return self.thisptr.size() - * cdef class _List_InterfaceNode_Method_Annotation_Builder: # <<<<<<<<<<<<<< - * cdef List[C_InterfaceNode.Method.Annotation].Builder thisptr - * cdef init(self, List[C_InterfaceNode.Method.Annotation].Builder other): - */ - -struct __pyx_vtabstruct_6schema__List_InterfaceNode_Method_Annotation_Builder { - PyObject *(*init)(struct __pyx_obj_6schema__List_InterfaceNode_Method_Annotation_Builder *, ::capnp::List<::capnp::schema::Annotation>::Builder); -}; -static struct __pyx_vtabstruct_6schema__List_InterfaceNode_Method_Annotation_Builder *__pyx_vtabptr_6schema__List_InterfaceNode_Method_Annotation_Builder; - - -/* "schema.pyx":253 - * def __len__(self): - * return self.thisptr.size() - * cdef class _List_StructNode_Member_Annotation_Builder: # <<<<<<<<<<<<<< - * cdef List[C_StructNode.Member.Annotation].Builder thisptr - * cdef init(self, List[C_StructNode.Member.Annotation].Builder other): - */ - -struct __pyx_vtabstruct_6schema__List_StructNode_Member_Annotation_Builder { - PyObject *(*init)(struct __pyx_obj_6schema__List_StructNode_Member_Annotation_Builder *, ::capnp::List<::capnp::schema::Annotation>::Builder); -}; -static struct __pyx_vtabstruct_6schema__List_StructNode_Member_Annotation_Builder *__pyx_vtabptr_6schema__List_StructNode_Member_Annotation_Builder; - - -/* "schema.pyx":239 - * def __len__(self): - * return self.thisptr.size() - * cdef class _List_StructNode_Member_Annotation_Reader: # <<<<<<<<<<<<<< - * cdef List[C_StructNode.Member.Annotation].Reader thisptr - * cdef init(self, List[C_StructNode.Member.Annotation].Reader other): - */ - -struct __pyx_vtabstruct_6schema__List_StructNode_Member_Annotation_Reader { - PyObject *(*init)(struct __pyx_obj_6schema__List_StructNode_Member_Annotation_Reader *, ::capnp::List<::capnp::schema::Annotation>::Reader); -}; -static struct __pyx_vtabstruct_6schema__List_StructNode_Member_Annotation_Reader *__pyx_vtabptr_6schema__List_StructNode_Member_Annotation_Reader; - - -/* "schema.pyx":1695 - * return _AnnotationReader().init(self.thisptr.getRootAnnotation()) - * - * cdef class StreamFdMessageReader(MessageReader): # <<<<<<<<<<<<<< - * def __cinit__(self, int fd): - * self.thisptr = new capnp.StreamFdMessageReader(fd) - */ - -struct __pyx_vtabstruct_6schema_StreamFdMessageReader { - struct __pyx_vtabstruct_6schema_MessageReader __pyx_base; -}; -static struct __pyx_vtabstruct_6schema_StreamFdMessageReader *__pyx_vtabptr_6schema_StreamFdMessageReader; - - -/* "schema.pyx":118 - * def __len__(self): - * return self.thisptr.size() - * cdef class _List_StructNode_Union_StructNode_Member_Builder: # <<<<<<<<<<<<<< - * cdef List[C_StructNode.Union.StructNode.Member].Builder thisptr - * cdef init(self, List[C_StructNode.Union.StructNode.Member].Builder other): - */ - -struct __pyx_vtabstruct_6schema__List_StructNode_Union_StructNode_Member_Builder { - PyObject *(*init)(struct __pyx_obj_6schema__List_StructNode_Union_StructNode_Member_Builder *, ::capnp::List<::capnp::schema::StructNode::Member>::Builder); -}; -static struct __pyx_vtabstruct_6schema__List_StructNode_Union_StructNode_Member_Builder *__pyx_vtabptr_6schema__List_StructNode_Union_StructNode_Member_Builder; - - -/* "schema.pyx":401 - * def __len__(self): - * return self.thisptr.size() - * cdef class _List_EnumNode_Enumerant_Annotation_Reader: # <<<<<<<<<<<<<< - * cdef List[C_EnumNode.Enumerant.Annotation].Reader thisptr - * cdef init(self, List[C_EnumNode.Enumerant.Annotation].Reader other): - */ - -struct __pyx_vtabstruct_6schema__List_EnumNode_Enumerant_Annotation_Reader { - PyObject *(*init)(struct __pyx_obj_6schema__List_EnumNode_Enumerant_Annotation_Reader *, ::capnp::List<::capnp::schema::Annotation>::Reader); -}; -static struct __pyx_vtabstruct_6schema__List_EnumNode_Enumerant_Annotation_Reader *__pyx_vtabptr_6schema__List_EnumNode_Enumerant_Annotation_Reader; - - -/* "schema.pyx":884 - * return None - * - * cdef class _Type_BodyBuilder: # <<<<<<<<<<<<<< - * cdef C_Type.Body.Builder thisptr - * cdef init(self, C_Type.Body.Builder other): - */ - -struct __pyx_vtabstruct_6schema__Type_BodyBuilder { - PyObject *(*init)(struct __pyx_obj_6schema__Type_BodyBuilder *, ::capnp::schema::Type::Body::Builder); - int (*which)(struct __pyx_obj_6schema__Type_BodyBuilder *, int __pyx_skip_dispatch); -}; -static struct __pyx_vtabstruct_6schema__Type_BodyBuilder *__pyx_vtabptr_6schema__Type_BodyBuilder; - - -/* "schema.pyx":774 - * return _Value_BodyReader().init(self.thisptr.getBody()) - * - * cdef class _ValueBuilder: # <<<<<<<<<<<<<< - * cdef C_Value.Builder thisptr - * cdef init(self, C_Value.Builder other): - */ - -struct __pyx_vtabstruct_6schema__ValueBuilder { - PyObject *(*init)(struct __pyx_obj_6schema__ValueBuilder *, ::capnp::schema::Value::Builder); -}; -static struct __pyx_vtabstruct_6schema__ValueBuilder *__pyx_vtabptr_6schema__ValueBuilder; - - -/* "schema.pyx":1526 - * return self.thisptr.getOffset() - * - * cdef class _StructNode_FieldBuilder: # <<<<<<<<<<<<<< - * cdef C_StructNode.Field.Builder thisptr - * cdef init(self, C_StructNode.Field.Builder other): - */ - -struct __pyx_vtabstruct_6schema__StructNode_FieldBuilder { - PyObject *(*init)(struct __pyx_obj_6schema__StructNode_FieldBuilder *, ::capnp::schema::StructNode::Field::Builder); -}; -static struct __pyx_vtabstruct_6schema__StructNode_FieldBuilder *__pyx_vtabptr_6schema__StructNode_FieldBuilder; - - -/* "schema.pyx":1598 - * return _ValueReader().init(self.thisptr.getValue()) - * - * cdef class _AnnotationBuilder: # <<<<<<<<<<<<<< - * cdef C_Annotation.Builder thisptr - * cdef init(self, C_Annotation.Builder other): - */ - -struct __pyx_vtabstruct_6schema__AnnotationBuilder { - PyObject *(*init)(struct __pyx_obj_6schema__AnnotationBuilder *, ::capnp::schema::Annotation::Builder); -}; -static struct __pyx_vtabstruct_6schema__AnnotationBuilder *__pyx_vtabptr_6schema__AnnotationBuilder; - - -/* "schema.pyx":1010 - * - * - * cdef class _FileNode_ImportReader: # <<<<<<<<<<<<<< - * cdef C_FileNode.Import.Reader thisptr - * cdef init(self, C_FileNode.Import.Reader other): - */ - -struct __pyx_vtabstruct_6schema__FileNode_ImportReader { - PyObject *(*init)(struct __pyx_obj_6schema__FileNode_ImportReader *, ::capnp::schema::FileNode::Import::Reader); -}; -static struct __pyx_vtabstruct_6schema__FileNode_ImportReader *__pyx_vtabptr_6schema__FileNode_ImportReader; - - -/* "schema.pyx":1090 - * return _FileNodeReader().init(self.thisptr.getFileNode()) - * - * cdef class _Node_BodyBuilder: # <<<<<<<<<<<<<< - * cdef C_Node.Body.Builder thisptr - * cdef init(self, C_Node.Body.Builder other): - */ - -struct __pyx_vtabstruct_6schema__Node_BodyBuilder { - PyObject *(*init)(struct __pyx_obj_6schema__Node_BodyBuilder *, ::capnp::schema::Node::Body::Builder); - int (*which)(struct __pyx_obj_6schema__Node_BodyBuilder *, int __pyx_skip_dispatch); -}; -static struct __pyx_vtabstruct_6schema__Node_BodyBuilder *__pyx_vtabptr_6schema__Node_BodyBuilder; - - -/* "schema.pyx":415 - * def __len__(self): - * return self.thisptr.size() - * cdef class _List_EnumNode_Enumerant_Annotation_Builder: # <<<<<<<<<<<<<< - * cdef List[C_EnumNode.Enumerant.Annotation].Builder thisptr - * cdef init(self, List[C_EnumNode.Enumerant.Annotation].Builder other): - */ - -struct __pyx_vtabstruct_6schema__List_EnumNode_Enumerant_Annotation_Builder { - PyObject *(*init)(struct __pyx_obj_6schema__List_EnumNode_Enumerant_Annotation_Builder *, ::capnp::List<::capnp::schema::Annotation>::Builder); -}; -static struct __pyx_vtabstruct_6schema__List_EnumNode_Enumerant_Annotation_Builder *__pyx_vtabptr_6schema__List_EnumNode_Enumerant_Annotation_Builder; - - -/* "schema.pyx":212 - * def __len__(self): - * return self.thisptr.size() - * cdef class _List_Node_Node_NestedNode_Reader: # <<<<<<<<<<<<<< - * cdef List[C_Node.Node.NestedNode].Reader thisptr - * cdef init(self, List[C_Node.Node.NestedNode].Reader other): - */ - -struct __pyx_vtabstruct_6schema__List_Node_Node_NestedNode_Reader { - PyObject *(*init)(struct __pyx_obj_6schema__List_Node_Node_NestedNode_Reader *, ::capnp::List<::capnp::schema::Node::NestedNode>::Reader); -}; -static struct __pyx_vtabstruct_6schema__List_Node_Node_NestedNode_Reader *__pyx_vtabptr_6schema__List_Node_Node_NestedNode_Reader; - - -/* "schema.pyx":104 - * def __len__(self): - * return self.thisptr.size() - * cdef class _List_StructNode_Union_StructNode_Member_Reader: # <<<<<<<<<<<<<< - * cdef List[C_StructNode.Union.StructNode.Member].Reader thisptr - * cdef init(self, List[C_StructNode.Union.StructNode.Member].Reader other): - */ - -struct __pyx_vtabstruct_6schema__List_StructNode_Union_StructNode_Member_Reader { - PyObject *(*init)(struct __pyx_obj_6schema__List_StructNode_Union_StructNode_Member_Reader *, ::capnp::List<::capnp::schema::StructNode::Member>::Reader); -}; -static struct __pyx_vtabstruct_6schema__List_StructNode_Union_StructNode_Member_Reader *__pyx_vtabptr_6schema__List_StructNode_Union_StructNode_Member_Reader; - - -/* "schema.pyx":1510 - * return _List_StructNode_Member_Annotation_Builder().init(self.thisptr.initAnnotations(num)) - * - * cdef class _StructNode_FieldReader: # <<<<<<<<<<<<<< - * cdef C_StructNode.Field.Reader thisptr - * cdef init(self, C_StructNode.Field.Reader other): - */ - -struct __pyx_vtabstruct_6schema__StructNode_FieldReader { - PyObject *(*init)(struct __pyx_obj_6schema__StructNode_FieldReader *, ::capnp::schema::StructNode::Field::Reader); -}; -static struct __pyx_vtabstruct_6schema__StructNode_FieldReader *__pyx_vtabptr_6schema__StructNode_FieldReader; - - -/* "schema.pyx":569 - * cpdef initAnnotations(self, uint num): - * return _List_InterfaceNode_Method_Annotation_Builder().init(self.thisptr.initAnnotations(num)) - * cdef class _InterfaceNodeReader: # <<<<<<<<<<<<<< - * cdef C_InterfaceNode.Reader thisptr - * cdef init(self, C_InterfaceNode.Reader other): - */ - -struct __pyx_vtabstruct_6schema__InterfaceNodeReader { - PyObject *(*init)(struct __pyx_obj_6schema__InterfaceNodeReader *, ::capnp::schema::InterfaceNode::Reader); -}; -static struct __pyx_vtabstruct_6schema__InterfaceNodeReader *__pyx_vtabptr_6schema__InterfaceNodeReader; - - -/* "schema.pyx":50 - * enums['reverse_mapping'] = reverse - * return type(enum_name, (), enums) - * cdef class _List_InterfaceNode_InterfaceNode_Method_Reader: # <<<<<<<<<<<<<< - * cdef List[C_InterfaceNode.InterfaceNode.Method].Reader thisptr - * cdef init(self, List[C_InterfaceNode.InterfaceNode.Method].Reader other): - */ - -struct __pyx_vtabstruct_6schema__List_InterfaceNode_InterfaceNode_Method_Reader { - PyObject *(*init)(struct __pyx_obj_6schema__List_InterfaceNode_InterfaceNode_Method_Reader *, ::capnp::List<::capnp::schema::InterfaceNode::Method>::Reader); -}; -static struct __pyx_vtabstruct_6schema__List_InterfaceNode_InterfaceNode_Method_Reader *__pyx_vtabptr_6schema__List_InterfaceNode_InterfaceNode_Method_Reader; - - -/* "schema.pyx":293 - * def __len__(self): - * return self.thisptr.size() - * cdef class _List_StructNode_StructNode_Member_Reader: # <<<<<<<<<<<<<< - * cdef List[C_StructNode.StructNode.Member].Reader thisptr - * cdef init(self, List[C_StructNode.StructNode.Member].Reader other): - */ - -struct __pyx_vtabstruct_6schema__List_StructNode_StructNode_Member_Reader { - PyObject *(*init)(struct __pyx_obj_6schema__List_StructNode_StructNode_Member_Reader *, ::capnp::List<::capnp::schema::StructNode::Member>::Reader); -}; -static struct __pyx_vtabstruct_6schema__List_StructNode_StructNode_Member_Reader *__pyx_vtabptr_6schema__List_StructNode_StructNode_Member_Reader; - - -/* "schema.pyx":533 - * return _List_InterfaceNode_Method_Annotation_Reader().init(self.thisptr.getAnnotations()) - * - * cdef class _InterfaceNode_MethodBuilder: # <<<<<<<<<<<<<< - * cdef C_InterfaceNode.Method.Builder thisptr - * cdef init(self, C_InterfaceNode.Method.Builder other): - */ - -struct __pyx_vtabstruct_6schema__InterfaceNode_MethodBuilder { - PyObject *(*init)(struct __pyx_obj_6schema__InterfaceNode_MethodBuilder *, ::capnp::schema::InterfaceNode::Method::Builder); - PyObject *(*initParams)(struct __pyx_obj_6schema__InterfaceNode_MethodBuilder *, __pyx_t_6schema_uint, int __pyx_skip_dispatch); - PyObject *(*initAnnotations)(struct __pyx_obj_6schema__InterfaceNode_MethodBuilder *, __pyx_t_6schema_uint, int __pyx_skip_dispatch); -}; -static struct __pyx_vtabstruct_6schema__InterfaceNode_MethodBuilder *__pyx_vtabptr_6schema__InterfaceNode_MethodBuilder; - - -/* "schema.pyx":786 - * pass - * - * cdef class _ConstNodeReader: # <<<<<<<<<<<<<< - * cdef C_ConstNode.Reader thisptr - * cdef init(self, C_ConstNode.Reader other): - */ - -struct __pyx_vtabstruct_6schema__ConstNodeReader { - PyObject *(*init)(struct __pyx_obj_6schema__ConstNodeReader *, ::capnp::schema::ConstNode::Reader); -}; -static struct __pyx_vtabstruct_6schema__ConstNodeReader *__pyx_vtabptr_6schema__ConstNodeReader; - - -/* "schema.pyx":1331 - * - * - * cdef class _EnumNode_EnumerantReader: # <<<<<<<<<<<<<< - * cdef C_EnumNode.Enumerant.Reader thisptr - * cdef init(self, C_EnumNode.Enumerant.Reader other): - */ - -struct __pyx_vtabstruct_6schema__EnumNode_EnumerantReader { - PyObject *(*init)(struct __pyx_obj_6schema__EnumNode_EnumerantReader *, ::capnp::schema::EnumNode::Enumerant::Reader); -}; -static struct __pyx_vtabstruct_6schema__EnumNode_EnumerantReader *__pyx_vtabptr_6schema__EnumNode_EnumerantReader; - - -/* "schema.pyx":77 - * def __len__(self): - * return self.thisptr.size() - * cdef class _List_EnumNode_EnumNode_Enumerant_Reader: # <<<<<<<<<<<<<< - * cdef List[C_EnumNode.EnumNode.Enumerant].Reader thisptr - * cdef init(self, List[C_EnumNode.EnumNode.Enumerant].Reader other): - */ - -struct __pyx_vtabstruct_6schema__List_EnumNode_EnumNode_Enumerant_Reader { - PyObject *(*init)(struct __pyx_obj_6schema__List_EnumNode_EnumNode_Enumerant_Reader *, ::capnp::List<::capnp::schema::EnumNode::Enumerant>::Reader); -}; -static struct __pyx_vtabstruct_6schema__List_EnumNode_EnumNode_Enumerant_Reader *__pyx_vtabptr_6schema__List_EnumNode_EnumNode_Enumerant_Reader; - - -/* "schema.pyx":1563 - * return self.thisptr.getPointerSectionSize() - * - * cdef class _StructNodeBuilder: # <<<<<<<<<<<<<< - * cdef C_StructNode.Builder thisptr - * cdef init(self, C_StructNode.Builder other): - */ - -struct __pyx_vtabstruct_6schema__StructNodeBuilder { - PyObject *(*init)(struct __pyx_obj_6schema__StructNodeBuilder *, ::capnp::schema::StructNode::Builder); - PyObject *(*initMembers)(struct __pyx_obj_6schema__StructNodeBuilder *, __pyx_t_6schema_uint, int __pyx_skip_dispatch); -}; -static struct __pyx_vtabstruct_6schema__StructNodeBuilder *__pyx_vtabptr_6schema__StructNodeBuilder; - - -/* "schema.pyx":1404 - * return _List_StructNode_Union_StructNode_Member_Reader().init(self.thisptr.getMembers()) - * - * cdef class _StructNode_UnionBuilder: # <<<<<<<<<<<<<< - * cdef C_StructNode.Union.Builder thisptr - * cdef init(self, C_StructNode.Union.Builder other): - */ - -struct __pyx_vtabstruct_6schema__StructNode_UnionBuilder { - PyObject *(*init)(struct __pyx_obj_6schema__StructNode_UnionBuilder *, ::capnp::schema::StructNode::Union::Builder); - PyObject *(*initMembers)(struct __pyx_obj_6schema__StructNode_UnionBuilder *, __pyx_t_6schema_uint, int __pyx_skip_dispatch); -}; -static struct __pyx_vtabstruct_6schema__StructNode_UnionBuilder *__pyx_vtabptr_6schema__StructNode_UnionBuilder; - - -/* "schema.pyx":172 - * def __len__(self): - * return self.thisptr.size() - * cdef class _List_InterfaceNode_Method_Param_Annotation_Builder: # <<<<<<<<<<<<<< - * cdef List[C_InterfaceNode.Method.Param.Annotation].Builder thisptr - * cdef init(self, List[C_InterfaceNode.Method.Param.Annotation].Builder other): - */ - -struct __pyx_vtabstruct_6schema__List_InterfaceNode_Method_Param_Annotation_Builder { - PyObject *(*init)(struct __pyx_obj_6schema__List_InterfaceNode_Method_Param_Annotation_Builder *, ::capnp::List<::capnp::schema::Annotation>::Builder); -}; -static struct __pyx_vtabstruct_6schema__List_InterfaceNode_Method_Param_Annotation_Builder *__pyx_vtabptr_6schema__List_InterfaceNode_Method_Param_Annotation_Builder; - - -/* "schema.pyx":1263 - * return self.thisptr.getTargetsMethod() - * - * cdef class _AnnotationNodeBuilder: # <<<<<<<<<<<<<< - * cdef C_AnnotationNode.Builder thisptr - * cdef init(self, C_AnnotationNode.Builder other): - */ - -struct __pyx_vtabstruct_6schema__AnnotationNodeBuilder { - PyObject *(*init)(struct __pyx_obj_6schema__AnnotationNodeBuilder *, ::capnp::schema::AnnotationNode::Builder); -}; -static struct __pyx_vtabstruct_6schema__AnnotationNodeBuilder *__pyx_vtabptr_6schema__AnnotationNodeBuilder; - - -/* "schema.pyx":1585 - * self.thisptr.setPointerSectionSize(val) - * - * cdef class _AnnotationReader: # <<<<<<<<<<<<<< - * cdef C_Annotation.Reader thisptr - * cdef init(self, C_Annotation.Reader other): - */ - -struct __pyx_vtabstruct_6schema__AnnotationReader { - PyObject *(*init)(struct __pyx_obj_6schema__AnnotationReader *, ::capnp::schema::Annotation::Reader); -}; -static struct __pyx_vtabstruct_6schema__AnnotationReader *__pyx_vtabptr_6schema__AnnotationReader; - - -/* "schema.pyx":158 - * def __len__(self): - * return self.thisptr.size() - * cdef class _List_InterfaceNode_Method_Param_Annotation_Reader: # <<<<<<<<<<<<<< - * cdef List[C_InterfaceNode.Method.Param.Annotation].Reader thisptr - * cdef init(self, List[C_InterfaceNode.Method.Param.Annotation].Reader other): - */ - -struct __pyx_vtabstruct_6schema__List_InterfaceNode_Method_Param_Annotation_Reader { - PyObject *(*init)(struct __pyx_obj_6schema__List_InterfaceNode_Method_Param_Annotation_Reader *, ::capnp::List<::capnp::schema::Annotation>::Reader); -}; -static struct __pyx_vtabstruct_6schema__List_InterfaceNode_Method_Param_Annotation_Reader *__pyx_vtabptr_6schema__List_InterfaceNode_Method_Param_Annotation_Reader; - - -/* "schema.pyx":764 - * def __set__(self, val): - * pass - * cdef class _ValueReader: # <<<<<<<<<<<<<< - * cdef C_Value.Reader thisptr - * cdef init(self, C_Value.Reader other): - */ - -struct __pyx_vtabstruct_6schema__ValueReader { - PyObject *(*init)(struct __pyx_obj_6schema__ValueReader *, ::capnp::schema::Value::Reader); -}; -static struct __pyx_vtabstruct_6schema__ValueReader *__pyx_vtabptr_6schema__ValueReader; - - -/* "schema.pyx":1063 - * - * _Node_Body_Which = make_enum('_Node_Body_Which',annotationNode = _Node_Body_annotationNode,interfaceNode = _Node_Body_interfaceNode,enumNode = _Node_Body_enumNode,structNode = _Node_Body_structNode,constNode = _Node_Body_constNode,fileNode = _Node_Body_fileNode,) - * cdef class _Node_BodyReader: # <<<<<<<<<<<<<< - * cdef C_Node.Body.Reader thisptr - * cdef init(self, C_Node.Body.Reader other): - */ - -struct __pyx_vtabstruct_6schema__Node_BodyReader { - PyObject *(*init)(struct __pyx_obj_6schema__Node_BodyReader *, ::capnp::schema::Node::Body::Reader); - int (*which)(struct __pyx_obj_6schema__Node_BodyReader *, int __pyx_skip_dispatch); -}; -static struct __pyx_vtabstruct_6schema__Node_BodyReader *__pyx_vtabptr_6schema__Node_BodyReader; -#ifndef CYTHON_REFNANNY - #define CYTHON_REFNANNY 0 -#endif -#if CYTHON_REFNANNY - typedef struct { - void (*INCREF)(void*, PyObject*, int); - void (*DECREF)(void*, PyObject*, int); - void (*GOTREF)(void*, PyObject*, int); - void (*GIVEREF)(void*, PyObject*, int); - void* (*SetupContext)(const char*, int, const char*); - void (*FinishContext)(void**); - } __Pyx_RefNannyAPIStruct; - static __Pyx_RefNannyAPIStruct *__Pyx_RefNanny = NULL; - static __Pyx_RefNannyAPIStruct *__Pyx_RefNannyImportAPI(const char *modname); /*proto*/ - #define __Pyx_RefNannyDeclarations void *__pyx_refnanny = NULL; -#ifdef WITH_THREAD - #define __Pyx_RefNannySetupContext(name, acquire_gil) \ - if (acquire_gil) { \ - PyGILState_STATE __pyx_gilstate_save = PyGILState_Ensure(); \ - __pyx_refnanny = __Pyx_RefNanny->SetupContext((name), __LINE__, __FILE__); \ - PyGILState_Release(__pyx_gilstate_save); \ - } else { \ - __pyx_refnanny = __Pyx_RefNanny->SetupContext((name), __LINE__, __FILE__); \ - } -#else - #define __Pyx_RefNannySetupContext(name, acquire_gil) \ - __pyx_refnanny = __Pyx_RefNanny->SetupContext((name), __LINE__, __FILE__) -#endif - #define __Pyx_RefNannyFinishContext() \ - __Pyx_RefNanny->FinishContext(&__pyx_refnanny) - #define __Pyx_INCREF(r) __Pyx_RefNanny->INCREF(__pyx_refnanny, (PyObject *)(r), __LINE__) - #define __Pyx_DECREF(r) __Pyx_RefNanny->DECREF(__pyx_refnanny, (PyObject *)(r), __LINE__) - #define __Pyx_GOTREF(r) __Pyx_RefNanny->GOTREF(__pyx_refnanny, (PyObject *)(r), __LINE__) - #define __Pyx_GIVEREF(r) __Pyx_RefNanny->GIVEREF(__pyx_refnanny, (PyObject *)(r), __LINE__) - #define __Pyx_XINCREF(r) do { if((r) != NULL) {__Pyx_INCREF(r); }} while(0) - #define __Pyx_XDECREF(r) do { if((r) != NULL) {__Pyx_DECREF(r); }} while(0) - #define __Pyx_XGOTREF(r) do { if((r) != NULL) {__Pyx_GOTREF(r); }} while(0) - #define __Pyx_XGIVEREF(r) do { if((r) != NULL) {__Pyx_GIVEREF(r);}} while(0) -#else - #define __Pyx_RefNannyDeclarations - #define __Pyx_RefNannySetupContext(name, acquire_gil) - #define __Pyx_RefNannyFinishContext() - #define __Pyx_INCREF(r) Py_INCREF(r) - #define __Pyx_DECREF(r) Py_DECREF(r) - #define __Pyx_GOTREF(r) - #define __Pyx_GIVEREF(r) - #define __Pyx_XINCREF(r) Py_XINCREF(r) - #define __Pyx_XDECREF(r) Py_XDECREF(r) - #define __Pyx_XGOTREF(r) - #define __Pyx_XGIVEREF(r) -#endif /* CYTHON_REFNANNY */ -#define __Pyx_CLEAR(r) do { PyObject* tmp = ((PyObject*)(r)); r = NULL; __Pyx_DECREF(tmp);} while(0) -#define __Pyx_XCLEAR(r) do { if((r) != NULL) {PyObject* tmp = ((PyObject*)(r)); r = NULL; __Pyx_DECREF(tmp);}} while(0) - -#if CYTHON_COMPILING_IN_CPYTHON -static CYTHON_INLINE PyObject* __Pyx_PyObject_GetAttrStr(PyObject* obj, PyObject* attr_name) { - PyTypeObject* tp = Py_TYPE(obj); - if (likely(tp->tp_getattro)) - return tp->tp_getattro(obj, attr_name); -#if PY_MAJOR_VERSION < 3 - if (likely(tp->tp_getattr)) - return tp->tp_getattr(obj, PyString_AS_STRING(attr_name)); -#endif - return PyObject_GetAttr(obj, attr_name); -} -#else -#define __Pyx_PyObject_GetAttrStr(o,n) PyObject_GetAttr(o,n) -#endif - -static PyObject *__Pyx_GetBuiltinName(PyObject *name); /*proto*/ - -static void __Pyx_RaiseDoubleKeywordsError(const char* func_name, PyObject* kw_name); /*proto*/ - -static int __Pyx_ParseOptionalKeywords(PyObject *kwds, PyObject **argnames[], \ - PyObject *kwds2, PyObject *values[], Py_ssize_t num_pos_args, \ - const char* function_name); /*proto*/ - -static void __Pyx_RaiseArgtupleInvalid(const char* func_name, int exact, - Py_ssize_t num_min, Py_ssize_t num_max, Py_ssize_t num_found); /*proto*/ - -static CYTHON_INLINE int __Pyx_IterFinish(void); /*proto*/ - -static PyObject* __Pyx_PyObject_CallMethodTuple(PyObject* obj, PyObject* method_name, PyObject* args) { - PyObject *method, *result = NULL; - if (unlikely(!args)) return NULL; - method = __Pyx_PyObject_GetAttrStr(obj, method_name); - if (unlikely(!method)) goto bad; - result = PyObject_Call(method, args, NULL); - Py_DECREF(method); -bad: - Py_DECREF(args); - return result; -} -#define __Pyx_PyObject_CallMethod3(obj, name, arg1, arg2, arg3) \ - __Pyx_PyObject_CallMethodTuple(obj, name, PyTuple_Pack(3, arg1, arg2, arg3)) -#define __Pyx_PyObject_CallMethod2(obj, name, arg1, arg2) \ - __Pyx_PyObject_CallMethodTuple(obj, name, PyTuple_Pack(2, arg1, arg2)) -#define __Pyx_PyObject_CallMethod1(obj, name, arg1) \ - __Pyx_PyObject_CallMethodTuple(obj, name, PyTuple_Pack(1, arg1)) -#define __Pyx_PyObject_CallMethod0(obj, name) \ - __Pyx_PyObject_CallMethodTuple(obj, name, (Py_INCREF(__pyx_empty_tuple), __pyx_empty_tuple)) - -static CYTHON_INLINE void __Pyx_RaiseTooManyValuesError(Py_ssize_t expected); - -static CYTHON_INLINE void __Pyx_RaiseNeedMoreValuesError(Py_ssize_t index); - -static CYTHON_INLINE void __Pyx_RaiseNoneNotIterableError(void); - -static void __Pyx_UnpackTupleError(PyObject *, Py_ssize_t index); /*proto*/ - -static int __Pyx_IternextUnpackEndCheck(PyObject *retval, Py_ssize_t expected); /*proto*/ - -static CYTHON_INLINE int __Pyx_unpack_tuple2(PyObject* tuple, PyObject** value1, PyObject** value2, - int is_tuple, int has_known_size, int decref_tuple); - -static CYTHON_INLINE PyObject* __Pyx_dict_iterator(PyObject* dict, int is_dict, PyObject* method_name, - Py_ssize_t* p_orig_length, int* p_is_dict); -static CYTHON_INLINE int __Pyx_dict_iter_next(PyObject* dict_or_iter, Py_ssize_t orig_length, Py_ssize_t* ppos, - PyObject** pkey, PyObject** pvalue, PyObject** pitem, int is_dict); - -static CYTHON_INLINE void __Pyx_RaiseClosureNameError(const char *varname); - -static CYTHON_INLINE void __Pyx_ErrRestore(PyObject *type, PyObject *value, PyObject *tb); /*proto*/ -static CYTHON_INLINE void __Pyx_ErrFetch(PyObject **type, PyObject **value, PyObject **tb); /*proto*/ - -static void __Pyx_Raise(PyObject *type, PyObject *value, PyObject *tb, PyObject *cause); /*proto*/ - -static void __Pyx_WriteUnraisable(const char *name, int clineno, - int lineno, const char *filename); /*proto*/ - -static CYTHON_INLINE int __Pyx_CheckKeywordStrings(PyObject *kwdict, const char* function_name, int kw_allowed); /*proto*/ - -static int __Pyx_ArgTypeTest(PyObject *obj, PyTypeObject *type, int none_allowed, - const char *name, int exact); /*proto*/ - -#include - -static int __Pyx_SetVtable(PyObject *dict, void *vtable); /*proto*/ - -static CYTHON_INLINE PyObject *__Pyx_GetModuleGlobalName(PyObject *name); /*proto*/ - -static PyObject* __Pyx_ImportFrom(PyObject* module, PyObject* name); /*proto*/ - -#if CYTHON_COMPILING_IN_CPYTHON -#define __Pyx_PyObject_DelAttrStr(o,n) __Pyx_PyObject_SetAttrStr(o,n,NULL) -static CYTHON_INLINE int __Pyx_PyObject_SetAttrStr(PyObject* obj, PyObject* attr_name, PyObject* value) { - PyTypeObject* tp = Py_TYPE(obj); - if (likely(tp->tp_setattro)) - return tp->tp_setattro(obj, attr_name, value); -#if PY_MAJOR_VERSION < 3 - if (likely(tp->tp_setattr)) - return tp->tp_setattr(obj, PyString_AS_STRING(attr_name), value); -#endif - return PyObject_SetAttr(obj, attr_name, value); -} -#else -#define __Pyx_PyObject_DelAttrStr(o,n) PyObject_DelAttr(o,n) -#define __Pyx_PyObject_SetAttrStr(o,n,v) PyObject_SetAttr(o,n,v) -#endif - -#include - -static PyObject *__Pyx_Import(PyObject *name, PyObject *from_list, int level); /*proto*/ - -static CYTHON_INLINE PyObject *__Pyx_PyInt_to_py_uint64_t(uint64_t); - -static CYTHON_INLINE PyObject *__Pyx_PyInt_to_py_uint16_t(uint16_t); - -static CYTHON_INLINE uint16_t __Pyx_PyInt_from_py_uint16_t(PyObject *); - -static CYTHON_INLINE PyObject *__Pyx_PyInt_to_py_uint32_t(uint32_t); - -static CYTHON_INLINE PyObject *__Pyx_PyInt_to_py_int32_t(int32_t); - -static CYTHON_INLINE PyObject *__Pyx_PyInt_to_py_int8_t(int8_t); - -static CYTHON_INLINE PyObject *__Pyx_PyInt_to_py_int16_t(int16_t); - -static CYTHON_INLINE PyObject *__Pyx_PyInt_to_py_uint8_t(uint8_t); - -static CYTHON_INLINE PyObject *__Pyx_PyInt_to_py_int64_t(int64_t); - -static CYTHON_INLINE uint32_t __Pyx_PyInt_from_py_uint32_t(PyObject *); - -static CYTHON_INLINE int32_t __Pyx_PyInt_from_py_int32_t(PyObject *); - -static CYTHON_INLINE int8_t __Pyx_PyInt_from_py_int8_t(PyObject *); - -static CYTHON_INLINE int16_t __Pyx_PyInt_from_py_int16_t(PyObject *); - -static CYTHON_INLINE uint8_t __Pyx_PyInt_from_py_uint8_t(PyObject *); - -static CYTHON_INLINE int64_t __Pyx_PyInt_from_py_int64_t(PyObject *); - -static CYTHON_INLINE uint64_t __Pyx_PyInt_from_py_uint64_t(PyObject *); - -static CYTHON_INLINE unsigned char __Pyx_PyInt_AsUnsignedChar(PyObject *); - -static CYTHON_INLINE unsigned short __Pyx_PyInt_AsUnsignedShort(PyObject *); - -static CYTHON_INLINE unsigned int __Pyx_PyInt_AsUnsignedInt(PyObject *); - -static CYTHON_INLINE char __Pyx_PyInt_AsChar(PyObject *); - -static CYTHON_INLINE short __Pyx_PyInt_AsShort(PyObject *); - -static CYTHON_INLINE int __Pyx_PyInt_AsInt(PyObject *); - -static CYTHON_INLINE signed char __Pyx_PyInt_AsSignedChar(PyObject *); - -static CYTHON_INLINE signed short __Pyx_PyInt_AsSignedShort(PyObject *); - -static CYTHON_INLINE signed int __Pyx_PyInt_AsSignedInt(PyObject *); - -static CYTHON_INLINE int __Pyx_PyInt_AsLongDouble(PyObject *); - -static CYTHON_INLINE unsigned long __Pyx_PyInt_AsUnsignedLong(PyObject *); - -static CYTHON_INLINE unsigned PY_LONG_LONG __Pyx_PyInt_AsUnsignedLongLong(PyObject *); - -static CYTHON_INLINE long __Pyx_PyInt_AsLong(PyObject *); - -static CYTHON_INLINE PY_LONG_LONG __Pyx_PyInt_AsLongLong(PyObject *); - -static CYTHON_INLINE signed long __Pyx_PyInt_AsSignedLong(PyObject *); - -static CYTHON_INLINE signed PY_LONG_LONG __Pyx_PyInt_AsSignedLongLong(PyObject *); - -static CYTHON_INLINE void __Pyx_ExceptionSwap(PyObject **type, PyObject **value, PyObject **tb); /*proto*/ - -#define __Pyx_Generator_USED -#include -#include -typedef PyObject *(*__pyx_generator_body_t)(PyObject *, PyObject *); -typedef struct { - PyObject_HEAD - __pyx_generator_body_t body; - PyObject *closure; - PyObject *exc_type; - PyObject *exc_value; - PyObject *exc_traceback; - PyObject *gi_weakreflist; - PyObject *classobj; - PyObject *yieldfrom; - int resume_label; - char is_running; // using T_BOOL for property below requires char value -} __pyx_GeneratorObject; -static __pyx_GeneratorObject *__Pyx_Generator_New(__pyx_generator_body_t body, - PyObject *closure); -static int __pyx_Generator_init(void); -static int __Pyx_Generator_clear(PyObject* self); -#if 1 || PY_VERSION_HEX < 0x030300B0 -static int __Pyx_PyGen_FetchStopIterationValue(PyObject **pvalue); -#else -#define __Pyx_PyGen_FetchStopIterationValue(pvalue) PyGen_FetchStopIterationValue(pvalue) -#endif - -static int __Pyx_check_binary_version(void); - -typedef struct { - int code_line; - PyCodeObject* code_object; -} __Pyx_CodeObjectCacheEntry; -struct __Pyx_CodeObjectCache { - int count; - int max_count; - __Pyx_CodeObjectCacheEntry* entries; -}; -static struct __Pyx_CodeObjectCache __pyx_code_cache = {0,0,NULL}; -static int __pyx_bisect_code_objects(__Pyx_CodeObjectCacheEntry* entries, int count, int code_line); -static PyCodeObject *__pyx_find_code_object(int code_line); -static void __pyx_insert_code_object(int code_line, PyCodeObject* code_object); - -static void __Pyx_AddTraceback(const char *funcname, int c_line, - int py_line, const char *filename); /*proto*/ - -static int __Pyx_InitStrings(__Pyx_StringTabEntry *t); /*proto*/ - - -/* Module declarations from 'libc.stdint' */ - -/* Module declarations from 'schema_cpp' */ - -/* Module declarations from 'schema' */ -static PyTypeObject *__pyx_ptype_6schema__List_FileNode_FileNode_Import_Reader = 0; -static PyTypeObject *__pyx_ptype_6schema__StructNode_FieldBuilder = 0; -static PyTypeObject *__pyx_ptype_6schema__StructNodeReader = 0; -static PyTypeObject *__pyx_ptype_6schema__InterfaceNode_MethodReader = 0; -static PyTypeObject *__pyx_ptype_6schema__Node_BodyBuilder = 0; -static PyTypeObject *__pyx_ptype_6schema_MessageBuilder = 0; -static PyTypeObject *__pyx_ptype_6schema__ConstNodeReader = 0; -static PyTypeObject *__pyx_ptype_6schema__FileNodeBuilder = 0; -static PyTypeObject *__pyx_ptype_6schema__Type_BodyReader = 0; -static PyTypeObject *__pyx_ptype_6schema__List_InterfaceNode_InterfaceNode_Method_Reader = 0; -static PyTypeObject *__pyx_ptype_6schema___pyx_scope_struct_1_genexpr = 0; -static PyTypeObject *__pyx_ptype_6schema__List_StructNode_Member_Annotation_Builder = 0; -static PyTypeObject *__pyx_ptype_6schema__InterfaceNodeReader = 0; -static PyTypeObject *__pyx_ptype_6schema__EnumNodeReader = 0; -static PyTypeObject *__pyx_ptype_6schema__List_Node_Annotation_Builder = 0; -static PyTypeObject *__pyx_ptype_6schema__EnumNode_EnumerantReader = 0; -static PyTypeObject *__pyx_ptype_6schema__List_StructNode_StructNode_Member_Builder = 0; -static PyTypeObject *__pyx_ptype_6schema__List_UInt64_Builder = 0; -static PyTypeObject *__pyx_ptype_6schema__InterfaceNode_MethodBuilder = 0; -static PyTypeObject *__pyx_ptype_6schema__List_Node_Node_NestedNode_Reader = 0; -static PyTypeObject *__pyx_ptype_6schema__TypeReader = 0; -static PyTypeObject *__pyx_ptype_6schema__EnumNode_EnumerantBuilder = 0; -static PyTypeObject *__pyx_ptype_6schema__StructNode_Member_BodyReader = 0; -static PyTypeObject *__pyx_ptype_6schema_MessageReader = 0; -static PyTypeObject *__pyx_ptype_6schema_PackedFdMessageReader = 0; -static PyTypeObject *__pyx_ptype_6schema__List_EnumNode_EnumNode_Enumerant_Reader = 0; -static PyTypeObject *__pyx_ptype_6schema__FileNode_ImportReader = 0; -static PyTypeObject *__pyx_ptype_6schema_StreamFdMessageReader = 0; -static PyTypeObject *__pyx_ptype_6schema__InterfaceNode_Method_ParamReader = 0; -static PyTypeObject *__pyx_ptype_6schema__CodeGeneratorRequestBuilder = 0; -static PyTypeObject *__pyx_ptype_6schema__NodeBuilder = 0; -static PyTypeObject *__pyx_ptype_6schema__List_FileNode_FileNode_Import_Builder = 0; -static PyTypeObject *__pyx_ptype_6schema__StructNode_UnionReader = 0; -static PyTypeObject *__pyx_ptype_6schema_MallocMessageBuilder = 0; -static PyTypeObject *__pyx_ptype_6schema__TypeBuilder = 0; -static PyTypeObject *__pyx_ptype_6schema__AnnotationBuilder = 0; -static PyTypeObject *__pyx_ptype_6schema__List_CodeGeneratorRequest_Node_Builder = 0; -static PyTypeObject *__pyx_ptype_6schema__Node_NestedNodeBuilder = 0; -static PyTypeObject *__pyx_ptype_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader = 0; -static PyTypeObject *__pyx_ptype_6schema__StructNode_UnionBuilder = 0; -static PyTypeObject *__pyx_ptype_6schema__Node_BodyReader = 0; -static PyTypeObject *__pyx_ptype_6schema__List_EnumNode_Enumerant_Annotation_Reader = 0; -static PyTypeObject *__pyx_ptype_6schema__ConstNodeBuilder = 0; -static PyTypeObject *__pyx_ptype_6schema__AnnotationReader = 0; -static PyTypeObject *__pyx_ptype_6schema__ValueReader = 0; -static PyTypeObject *__pyx_ptype_6schema__List_CodeGeneratorRequest_Node_Reader = 0; -static PyTypeObject *__pyx_ptype_6schema__StructNode_Member_BodyBuilder = 0; -static PyTypeObject *__pyx_ptype_6schema__AnnotationNodeReader = 0; -static PyTypeObject *__pyx_ptype_6schema__List_InterfaceNode_Method_Param_Annotation_Builder = 0; -static PyTypeObject *__pyx_ptype_6schema__CodeGeneratorRequestReader = 0; -static PyTypeObject *__pyx_ptype_6schema__List_InterfaceNode_InterfaceNode_Method_Builder = 0; -static PyTypeObject *__pyx_ptype_6schema__ValueBuilder = 0; -static PyTypeObject *__pyx_ptype_6schema__StructNode_MemberReader = 0; -static PyTypeObject *__pyx_ptype_6schema__EnumNodeBuilder = 0; -static PyTypeObject *__pyx_ptype_6schema__List_EnumNode_EnumNode_Enumerant_Builder = 0; -static PyTypeObject *__pyx_ptype_6schema__FileNode_ImportBuilder = 0; -static PyTypeObject *__pyx_ptype_6schema__NodeReader = 0; -static PyTypeObject *__pyx_ptype_6schema__Type_BodyBuilder = 0; -static PyTypeObject *__pyx_ptype_6schema__List_StructNode_StructNode_Member_Reader = 0; -static PyTypeObject *__pyx_ptype_6schema__List_StructNode_Union_StructNode_Member_Builder = 0; -static PyTypeObject *__pyx_ptype_6schema__InterfaceNode_Method_ParamBuilder = 0; -static PyTypeObject *__pyx_ptype_6schema__List_Node_Node_NestedNode_Builder = 0; -static PyTypeObject *__pyx_ptype_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder = 0; -static PyTypeObject *__pyx_ptype_6schema__Value_BodyBuilder = 0; -static PyTypeObject *__pyx_ptype_6schema__InterfaceNodeBuilder = 0; -static PyTypeObject *__pyx_ptype_6schema__List_StructNode_Member_Annotation_Reader = 0; -static PyTypeObject *__pyx_ptype_6schema__Node_NestedNodeReader = 0; -static PyTypeObject *__pyx_ptype_6schema__StructNode_MemberBuilder = 0; -static PyTypeObject *__pyx_ptype_6schema__List_UInt64_Reader = 0; -static PyTypeObject *__pyx_ptype_6schema__List_InterfaceNode_Method_Annotation_Builder = 0; -static PyTypeObject *__pyx_ptype_6schema__List_InterfaceNode_Method_Annotation_Reader = 0; -static PyTypeObject *__pyx_ptype_6schema__List_StructNode_Union_StructNode_Member_Reader = 0; -static PyTypeObject *__pyx_ptype_6schema__AnnotationNodeBuilder = 0; -static PyTypeObject *__pyx_ptype_6schema__List_EnumNode_Enumerant_Annotation_Builder = 0; -static PyTypeObject *__pyx_ptype_6schema__Value_BodyReader = 0; -static PyTypeObject *__pyx_ptype_6schema__StructNode_FieldReader = 0; -static PyTypeObject *__pyx_ptype_6schema__List_Node_Annotation_Reader = 0; -static PyTypeObject *__pyx_ptype_6schema__List_InterfaceNode_Method_Param_Annotation_Reader = 0; -static PyTypeObject *__pyx_ptype_6schema__FileNodeReader = 0; -static PyTypeObject *__pyx_ptype_6schema___pyx_scope_struct__make_enum = 0; -static PyTypeObject *__pyx_ptype_6schema__StructNodeBuilder = 0; -#define __Pyx_MODULE_NAME "schema" -int __pyx_module_is_main_schema = 0; - -/* Implementation of 'schema' */ -static PyObject *__pyx_builtin_zip; -static PyObject *__pyx_builtin_range; -static PyObject *__pyx_builtin_IndexError; -static PyObject *__pyx_pf_6schema_9make_enum_genexpr(PyObject *__pyx_self); /* proto */ -static PyObject *__pyx_pf_6schema_make_enum(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_enum_name, PyObject *__pyx_v_sequential, PyObject *__pyx_v_named); /* proto */ -static PyObject *__pyx_pf_6schema_47_List_InterfaceNode_InterfaceNode_Method_Reader___getitem__(struct __pyx_obj_6schema__List_InterfaceNode_InterfaceNode_Method_Reader *__pyx_v_self, PyObject *__pyx_v_index); /* proto */ -static Py_ssize_t __pyx_pf_6schema_47_List_InterfaceNode_InterfaceNode_Method_Reader_2__len__(struct __pyx_obj_6schema__List_InterfaceNode_InterfaceNode_Method_Reader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_48_List_InterfaceNode_InterfaceNode_Method_Builder___getitem__(struct __pyx_obj_6schema__List_InterfaceNode_InterfaceNode_Method_Builder *__pyx_v_self, PyObject *__pyx_v_index); /* proto */ -static Py_ssize_t __pyx_pf_6schema_48_List_InterfaceNode_InterfaceNode_Method_Builder_2__len__(struct __pyx_obj_6schema__List_InterfaceNode_InterfaceNode_Method_Builder *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_40_List_EnumNode_EnumNode_Enumerant_Reader___getitem__(struct __pyx_obj_6schema__List_EnumNode_EnumNode_Enumerant_Reader *__pyx_v_self, PyObject *__pyx_v_index); /* proto */ -static Py_ssize_t __pyx_pf_6schema_40_List_EnumNode_EnumNode_Enumerant_Reader_2__len__(struct __pyx_obj_6schema__List_EnumNode_EnumNode_Enumerant_Reader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_41_List_EnumNode_EnumNode_Enumerant_Builder___getitem__(struct __pyx_obj_6schema__List_EnumNode_EnumNode_Enumerant_Builder *__pyx_v_self, PyObject *__pyx_v_index); /* proto */ -static Py_ssize_t __pyx_pf_6schema_41_List_EnumNode_EnumNode_Enumerant_Builder_2__len__(struct __pyx_obj_6schema__List_EnumNode_EnumNode_Enumerant_Builder *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_47_List_StructNode_Union_StructNode_Member_Reader___getitem__(struct __pyx_obj_6schema__List_StructNode_Union_StructNode_Member_Reader *__pyx_v_self, PyObject *__pyx_v_index); /* proto */ -static Py_ssize_t __pyx_pf_6schema_47_List_StructNode_Union_StructNode_Member_Reader_2__len__(struct __pyx_obj_6schema__List_StructNode_Union_StructNode_Member_Reader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_48_List_StructNode_Union_StructNode_Member_Builder___getitem__(struct __pyx_obj_6schema__List_StructNode_Union_StructNode_Member_Builder *__pyx_v_self, PyObject *__pyx_v_index); /* proto */ -static Py_ssize_t __pyx_pf_6schema_48_List_StructNode_Union_StructNode_Member_Builder_2__len__(struct __pyx_obj_6schema__List_StructNode_Union_StructNode_Member_Builder *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_60_List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader___getitem__(struct __pyx_obj_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader *__pyx_v_self, PyObject *__pyx_v_index); /* proto */ -static Py_ssize_t __pyx_pf_6schema_60_List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader_2__len__(struct __pyx_obj_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_61_List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder___getitem__(struct __pyx_obj_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder *__pyx_v_self, PyObject *__pyx_v_index); /* proto */ -static Py_ssize_t __pyx_pf_6schema_61_List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder_2__len__(struct __pyx_obj_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_50_List_InterfaceNode_Method_Param_Annotation_Reader___getitem__(struct __pyx_obj_6schema__List_InterfaceNode_Method_Param_Annotation_Reader *__pyx_v_self, PyObject *__pyx_v_index); /* proto */ -static Py_ssize_t __pyx_pf_6schema_50_List_InterfaceNode_Method_Param_Annotation_Reader_2__len__(struct __pyx_obj_6schema__List_InterfaceNode_Method_Param_Annotation_Reader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_51_List_InterfaceNode_Method_Param_Annotation_Builder___getitem__(struct __pyx_obj_6schema__List_InterfaceNode_Method_Param_Annotation_Builder *__pyx_v_self, PyObject *__pyx_v_index); /* proto */ -static Py_ssize_t __pyx_pf_6schema_51_List_InterfaceNode_Method_Param_Annotation_Builder_2__len__(struct __pyx_obj_6schema__List_InterfaceNode_Method_Param_Annotation_Builder *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_19_List_UInt64_Reader___getitem__(struct __pyx_obj_6schema__List_UInt64_Reader *__pyx_v_self, PyObject *__pyx_v_index); /* proto */ -static Py_ssize_t __pyx_pf_6schema_19_List_UInt64_Reader_2__len__(struct __pyx_obj_6schema__List_UInt64_Reader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_20_List_UInt64_Builder___getitem__(struct __pyx_obj_6schema__List_UInt64_Builder *__pyx_v_self, PyObject *__pyx_v_index); /* proto */ -static Py_ssize_t __pyx_pf_6schema_20_List_UInt64_Builder_2__len__(struct __pyx_obj_6schema__List_UInt64_Builder *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_33_List_Node_Node_NestedNode_Reader___getitem__(struct __pyx_obj_6schema__List_Node_Node_NestedNode_Reader *__pyx_v_self, PyObject *__pyx_v_index); /* proto */ -static Py_ssize_t __pyx_pf_6schema_33_List_Node_Node_NestedNode_Reader_2__len__(struct __pyx_obj_6schema__List_Node_Node_NestedNode_Reader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_34_List_Node_Node_NestedNode_Builder___getitem__(struct __pyx_obj_6schema__List_Node_Node_NestedNode_Builder *__pyx_v_self, PyObject *__pyx_v_index); /* proto */ -static Py_ssize_t __pyx_pf_6schema_34_List_Node_Node_NestedNode_Builder_2__len__(struct __pyx_obj_6schema__List_Node_Node_NestedNode_Builder *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_41_List_StructNode_Member_Annotation_Reader___getitem__(struct __pyx_obj_6schema__List_StructNode_Member_Annotation_Reader *__pyx_v_self, PyObject *__pyx_v_index); /* proto */ -static Py_ssize_t __pyx_pf_6schema_41_List_StructNode_Member_Annotation_Reader_2__len__(struct __pyx_obj_6schema__List_StructNode_Member_Annotation_Reader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_42_List_StructNode_Member_Annotation_Builder___getitem__(struct __pyx_obj_6schema__List_StructNode_Member_Annotation_Builder *__pyx_v_self, PyObject *__pyx_v_index); /* proto */ -static Py_ssize_t __pyx_pf_6schema_42_List_StructNode_Member_Annotation_Builder_2__len__(struct __pyx_obj_6schema__List_StructNode_Member_Annotation_Builder *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_44_List_InterfaceNode_Method_Annotation_Reader___getitem__(struct __pyx_obj_6schema__List_InterfaceNode_Method_Annotation_Reader *__pyx_v_self, PyObject *__pyx_v_index); /* proto */ -static Py_ssize_t __pyx_pf_6schema_44_List_InterfaceNode_Method_Annotation_Reader_2__len__(struct __pyx_obj_6schema__List_InterfaceNode_Method_Annotation_Reader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_45_List_InterfaceNode_Method_Annotation_Builder___getitem__(struct __pyx_obj_6schema__List_InterfaceNode_Method_Annotation_Builder *__pyx_v_self, PyObject *__pyx_v_index); /* proto */ -static Py_ssize_t __pyx_pf_6schema_45_List_InterfaceNode_Method_Annotation_Builder_2__len__(struct __pyx_obj_6schema__List_InterfaceNode_Method_Annotation_Builder *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_41_List_StructNode_StructNode_Member_Reader___getitem__(struct __pyx_obj_6schema__List_StructNode_StructNode_Member_Reader *__pyx_v_self, PyObject *__pyx_v_index); /* proto */ -static Py_ssize_t __pyx_pf_6schema_41_List_StructNode_StructNode_Member_Reader_2__len__(struct __pyx_obj_6schema__List_StructNode_StructNode_Member_Reader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_42_List_StructNode_StructNode_Member_Builder___getitem__(struct __pyx_obj_6schema__List_StructNode_StructNode_Member_Builder *__pyx_v_self, PyObject *__pyx_v_index); /* proto */ -static Py_ssize_t __pyx_pf_6schema_42_List_StructNode_StructNode_Member_Builder_2__len__(struct __pyx_obj_6schema__List_StructNode_StructNode_Member_Builder *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_28_List_Node_Annotation_Reader___getitem__(struct __pyx_obj_6schema__List_Node_Annotation_Reader *__pyx_v_self, PyObject *__pyx_v_index); /* proto */ -static Py_ssize_t __pyx_pf_6schema_28_List_Node_Annotation_Reader_2__len__(struct __pyx_obj_6schema__List_Node_Annotation_Reader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_29_List_Node_Annotation_Builder___getitem__(struct __pyx_obj_6schema__List_Node_Annotation_Builder *__pyx_v_self, PyObject *__pyx_v_index); /* proto */ -static Py_ssize_t __pyx_pf_6schema_29_List_Node_Annotation_Builder_2__len__(struct __pyx_obj_6schema__List_Node_Annotation_Builder *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_38_List_CodeGeneratorRequest_Node_Reader___getitem__(struct __pyx_obj_6schema__List_CodeGeneratorRequest_Node_Reader *__pyx_v_self, PyObject *__pyx_v_index); /* proto */ -static Py_ssize_t __pyx_pf_6schema_38_List_CodeGeneratorRequest_Node_Reader_2__len__(struct __pyx_obj_6schema__List_CodeGeneratorRequest_Node_Reader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_39_List_CodeGeneratorRequest_Node_Builder___getitem__(struct __pyx_obj_6schema__List_CodeGeneratorRequest_Node_Builder *__pyx_v_self, PyObject *__pyx_v_index); /* proto */ -static Py_ssize_t __pyx_pf_6schema_39_List_CodeGeneratorRequest_Node_Builder_2__len__(struct __pyx_obj_6schema__List_CodeGeneratorRequest_Node_Builder *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_37_List_FileNode_FileNode_Import_Reader___getitem__(struct __pyx_obj_6schema__List_FileNode_FileNode_Import_Reader *__pyx_v_self, PyObject *__pyx_v_index); /* proto */ -static Py_ssize_t __pyx_pf_6schema_37_List_FileNode_FileNode_Import_Reader_2__len__(struct __pyx_obj_6schema__List_FileNode_FileNode_Import_Reader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_38_List_FileNode_FileNode_Import_Builder___getitem__(struct __pyx_obj_6schema__List_FileNode_FileNode_Import_Builder *__pyx_v_self, PyObject *__pyx_v_index); /* proto */ -static Py_ssize_t __pyx_pf_6schema_38_List_FileNode_FileNode_Import_Builder_2__len__(struct __pyx_obj_6schema__List_FileNode_FileNode_Import_Builder *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_42_List_EnumNode_Enumerant_Annotation_Reader___getitem__(struct __pyx_obj_6schema__List_EnumNode_Enumerant_Annotation_Reader *__pyx_v_self, PyObject *__pyx_v_index); /* proto */ -static Py_ssize_t __pyx_pf_6schema_42_List_EnumNode_Enumerant_Annotation_Reader_2__len__(struct __pyx_obj_6schema__List_EnumNode_Enumerant_Annotation_Reader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_43_List_EnumNode_Enumerant_Annotation_Builder___getitem__(struct __pyx_obj_6schema__List_EnumNode_Enumerant_Annotation_Builder *__pyx_v_self, PyObject *__pyx_v_index); /* proto */ -static Py_ssize_t __pyx_pf_6schema_43_List_EnumNode_Enumerant_Annotation_Builder_2__len__(struct __pyx_obj_6schema__List_EnumNode_Enumerant_Annotation_Builder *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_27_CodeGeneratorRequestReader_5nodes___get__(struct __pyx_obj_6schema__CodeGeneratorRequestReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_27_CodeGeneratorRequestReader_14requestedFiles___get__(struct __pyx_obj_6schema__CodeGeneratorRequestReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_28_CodeGeneratorRequestBuilder_5nodes___get__(struct __pyx_obj_6schema__CodeGeneratorRequestBuilder *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_28_CodeGeneratorRequestBuilder_initNodes(struct __pyx_obj_6schema__CodeGeneratorRequestBuilder *__pyx_v_self, __pyx_t_6schema_uint __pyx_v_num); /* proto */ -static PyObject *__pyx_pf_6schema_28_CodeGeneratorRequestBuilder_14requestedFiles___get__(struct __pyx_obj_6schema__CodeGeneratorRequestBuilder *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_28_CodeGeneratorRequestBuilder_2initRequestedFiles(struct __pyx_obj_6schema__CodeGeneratorRequestBuilder *__pyx_v_self, __pyx_t_6schema_uint __pyx_v_num); /* proto */ -static PyObject *__pyx_pf_6schema_33_InterfaceNode_Method_ParamReader_12defaultValue___get__(struct __pyx_obj_6schema__InterfaceNode_Method_ParamReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_33_InterfaceNode_Method_ParamReader_4type___get__(struct __pyx_obj_6schema__InterfaceNode_Method_ParamReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_33_InterfaceNode_Method_ParamReader_4name___get__(struct __pyx_obj_6schema__InterfaceNode_Method_ParamReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_33_InterfaceNode_Method_ParamReader_11annotations___get__(struct __pyx_obj_6schema__InterfaceNode_Method_ParamReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_34_InterfaceNode_Method_ParamBuilder_12defaultValue___get__(struct __pyx_obj_6schema__InterfaceNode_Method_ParamBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_34_InterfaceNode_Method_ParamBuilder_12defaultValue_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__InterfaceNode_Method_ParamBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_34_InterfaceNode_Method_ParamBuilder_4type___get__(struct __pyx_obj_6schema__InterfaceNode_Method_ParamBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_34_InterfaceNode_Method_ParamBuilder_4type_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__InterfaceNode_Method_ParamBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_34_InterfaceNode_Method_ParamBuilder_4name___get__(struct __pyx_obj_6schema__InterfaceNode_Method_ParamBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_34_InterfaceNode_Method_ParamBuilder_4name_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__InterfaceNode_Method_ParamBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_34_InterfaceNode_Method_ParamBuilder_11annotations___get__(struct __pyx_obj_6schema__InterfaceNode_Method_ParamBuilder *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_34_InterfaceNode_Method_ParamBuilder_initAnnotations(struct __pyx_obj_6schema__InterfaceNode_Method_ParamBuilder *__pyx_v_self, __pyx_t_6schema_uint __pyx_v_num); /* proto */ -static PyObject *__pyx_pf_6schema_27_InterfaceNode_MethodReader_9codeOrder___get__(struct __pyx_obj_6schema__InterfaceNode_MethodReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_27_InterfaceNode_MethodReader_4name___get__(struct __pyx_obj_6schema__InterfaceNode_MethodReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_27_InterfaceNode_MethodReader_6params___get__(struct __pyx_obj_6schema__InterfaceNode_MethodReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_27_InterfaceNode_MethodReader_18requiredParamCount___get__(struct __pyx_obj_6schema__InterfaceNode_MethodReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_27_InterfaceNode_MethodReader_10returnType___get__(struct __pyx_obj_6schema__InterfaceNode_MethodReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_27_InterfaceNode_MethodReader_11annotations___get__(struct __pyx_obj_6schema__InterfaceNode_MethodReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_28_InterfaceNode_MethodBuilder_9codeOrder___get__(struct __pyx_obj_6schema__InterfaceNode_MethodBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_28_InterfaceNode_MethodBuilder_9codeOrder_2__set__(struct __pyx_obj_6schema__InterfaceNode_MethodBuilder *__pyx_v_self, PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_28_InterfaceNode_MethodBuilder_4name___get__(struct __pyx_obj_6schema__InterfaceNode_MethodBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_28_InterfaceNode_MethodBuilder_4name_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__InterfaceNode_MethodBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_28_InterfaceNode_MethodBuilder_6params___get__(struct __pyx_obj_6schema__InterfaceNode_MethodBuilder *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_28_InterfaceNode_MethodBuilder_initParams(struct __pyx_obj_6schema__InterfaceNode_MethodBuilder *__pyx_v_self, __pyx_t_6schema_uint __pyx_v_num); /* proto */ -static PyObject *__pyx_pf_6schema_28_InterfaceNode_MethodBuilder_18requiredParamCount___get__(struct __pyx_obj_6schema__InterfaceNode_MethodBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_28_InterfaceNode_MethodBuilder_18requiredParamCount_2__set__(struct __pyx_obj_6schema__InterfaceNode_MethodBuilder *__pyx_v_self, PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_28_InterfaceNode_MethodBuilder_10returnType___get__(struct __pyx_obj_6schema__InterfaceNode_MethodBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_28_InterfaceNode_MethodBuilder_10returnType_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__InterfaceNode_MethodBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_28_InterfaceNode_MethodBuilder_11annotations___get__(struct __pyx_obj_6schema__InterfaceNode_MethodBuilder *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_28_InterfaceNode_MethodBuilder_2initAnnotations(struct __pyx_obj_6schema__InterfaceNode_MethodBuilder *__pyx_v_self, __pyx_t_6schema_uint __pyx_v_num); /* proto */ -static PyObject *__pyx_pf_6schema_20_InterfaceNodeReader_7methods___get__(struct __pyx_obj_6schema__InterfaceNodeReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_21_InterfaceNodeBuilder_7methods___get__(struct __pyx_obj_6schema__InterfaceNodeBuilder *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_21_InterfaceNodeBuilder_initMethods(struct __pyx_obj_6schema__InterfaceNodeBuilder *__pyx_v_self, __pyx_t_6schema_uint __pyx_v_num); /* proto */ -static PyObject *__pyx_pf_6schema_17_Value_BodyReader_which(struct __pyx_obj_6schema__Value_BodyReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_17_Value_BodyReader_11uint32Value___get__(struct __pyx_obj_6schema__Value_BodyReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_17_Value_BodyReader_12float64Value___get__(struct __pyx_obj_6schema__Value_BodyReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_17_Value_BodyReader_9voidValue___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Value_BodyReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_17_Value_BodyReader_9dataValue___get__(struct __pyx_obj_6schema__Value_BodyReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_17_Value_BodyReader_9listValue___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Value_BodyReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_17_Value_BodyReader_10int32Value___get__(struct __pyx_obj_6schema__Value_BodyReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_17_Value_BodyReader_9enumValue___get__(struct __pyx_obj_6schema__Value_BodyReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_17_Value_BodyReader_9int8Value___get__(struct __pyx_obj_6schema__Value_BodyReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_17_Value_BodyReader_9boolValue___get__(struct __pyx_obj_6schema__Value_BodyReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_17_Value_BodyReader_10int16Value___get__(struct __pyx_obj_6schema__Value_BodyReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_17_Value_BodyReader_12float32Value___get__(struct __pyx_obj_6schema__Value_BodyReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_17_Value_BodyReader_14interfaceValue___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Value_BodyReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_17_Value_BodyReader_11uint16Value___get__(struct __pyx_obj_6schema__Value_BodyReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_17_Value_BodyReader_10uint8Value___get__(struct __pyx_obj_6schema__Value_BodyReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_17_Value_BodyReader_10int64Value___get__(struct __pyx_obj_6schema__Value_BodyReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_17_Value_BodyReader_11structValue___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Value_BodyReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_17_Value_BodyReader_9textValue___get__(struct __pyx_obj_6schema__Value_BodyReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_17_Value_BodyReader_11uint64Value___get__(struct __pyx_obj_6schema__Value_BodyReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_17_Value_BodyReader_11objectValue___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Value_BodyReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_18_Value_BodyBuilder_which(struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_18_Value_BodyBuilder_11uint32Value___get__(struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_18_Value_BodyBuilder_11uint32Value_2__set__(struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self, PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_18_Value_BodyBuilder_12float64Value___get__(struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_18_Value_BodyBuilder_12float64Value_2__set__(struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self, PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_18_Value_BodyBuilder_9voidValue___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_18_Value_BodyBuilder_9voidValue_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_18_Value_BodyBuilder_9dataValue___get__(struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_18_Value_BodyBuilder_9dataValue_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_18_Value_BodyBuilder_9listValue___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_18_Value_BodyBuilder_9listValue_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_18_Value_BodyBuilder_10int32Value___get__(struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_18_Value_BodyBuilder_10int32Value_2__set__(struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self, PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_18_Value_BodyBuilder_9enumValue___get__(struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_18_Value_BodyBuilder_9enumValue_2__set__(struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self, PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_18_Value_BodyBuilder_9int8Value___get__(struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_18_Value_BodyBuilder_9int8Value_2__set__(struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self, PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_18_Value_BodyBuilder_9boolValue___get__(struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_18_Value_BodyBuilder_9boolValue_2__set__(struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self, PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_18_Value_BodyBuilder_10int16Value___get__(struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_18_Value_BodyBuilder_10int16Value_2__set__(struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self, PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_18_Value_BodyBuilder_12float32Value___get__(struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_18_Value_BodyBuilder_12float32Value_2__set__(struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self, PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_18_Value_BodyBuilder_14interfaceValue___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_18_Value_BodyBuilder_14interfaceValue_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_18_Value_BodyBuilder_11uint16Value___get__(struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_18_Value_BodyBuilder_11uint16Value_2__set__(struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self, PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_18_Value_BodyBuilder_10uint8Value___get__(struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_18_Value_BodyBuilder_10uint8Value_2__set__(struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self, PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_18_Value_BodyBuilder_10int64Value___get__(struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_18_Value_BodyBuilder_10int64Value_2__set__(struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self, PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_18_Value_BodyBuilder_11structValue___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_18_Value_BodyBuilder_11structValue_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_18_Value_BodyBuilder_9textValue___get__(struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_18_Value_BodyBuilder_9textValue_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_18_Value_BodyBuilder_11uint64Value___get__(struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_18_Value_BodyBuilder_11uint64Value_2__set__(struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self, PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_18_Value_BodyBuilder_11objectValue___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_18_Value_BodyBuilder_11objectValue_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_12_ValueReader_4body___get__(struct __pyx_obj_6schema__ValueReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_13_ValueBuilder_4body___get__(struct __pyx_obj_6schema__ValueBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_13_ValueBuilder_4body_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__ValueBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_16_ConstNodeReader_4type___get__(struct __pyx_obj_6schema__ConstNodeReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_16_ConstNodeReader_5value___get__(struct __pyx_obj_6schema__ConstNodeReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_17_ConstNodeBuilder_4type___get__(struct __pyx_obj_6schema__ConstNodeBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_17_ConstNodeBuilder_4type_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__ConstNodeBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_17_ConstNodeBuilder_5value___get__(struct __pyx_obj_6schema__ConstNodeBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_17_ConstNodeBuilder_5value_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__ConstNodeBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_16_Type_BodyReader_which(struct __pyx_obj_6schema__Type_BodyReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_16_Type_BodyReader_8boolType___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_16_Type_BodyReader_10structType___get__(struct __pyx_obj_6schema__Type_BodyReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_16_Type_BodyReader_9int32Type___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_16_Type_BodyReader_8voidType___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_16_Type_BodyReader_10uint16Type___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_16_Type_BodyReader_8dataType___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_16_Type_BodyReader_10objectType___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_16_Type_BodyReader_9int64Type___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_16_Type_BodyReader_11float64Type___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_16_Type_BodyReader_13interfaceType___get__(struct __pyx_obj_6schema__Type_BodyReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_16_Type_BodyReader_10uint32Type___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_16_Type_BodyReader_9uint8Type___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_16_Type_BodyReader_8listType___get__(struct __pyx_obj_6schema__Type_BodyReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_16_Type_BodyReader_8int8Type___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_16_Type_BodyReader_11float32Type___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_16_Type_BodyReader_8enumType___get__(struct __pyx_obj_6schema__Type_BodyReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_16_Type_BodyReader_10uint64Type___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_16_Type_BodyReader_8textType___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_16_Type_BodyReader_9int16Type___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_17_Type_BodyBuilder_which(struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_17_Type_BodyBuilder_8boolType___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_17_Type_BodyBuilder_8boolType_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_17_Type_BodyBuilder_10structType___get__(struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_17_Type_BodyBuilder_10structType_2__set__(struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self, PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_17_Type_BodyBuilder_9int32Type___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_17_Type_BodyBuilder_9int32Type_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_17_Type_BodyBuilder_8voidType___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_17_Type_BodyBuilder_8voidType_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_17_Type_BodyBuilder_10uint16Type___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_17_Type_BodyBuilder_10uint16Type_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_17_Type_BodyBuilder_8dataType___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_17_Type_BodyBuilder_8dataType_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_17_Type_BodyBuilder_10objectType___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_17_Type_BodyBuilder_10objectType_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_17_Type_BodyBuilder_9int64Type___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_17_Type_BodyBuilder_9int64Type_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_17_Type_BodyBuilder_11float64Type___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_17_Type_BodyBuilder_11float64Type_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_17_Type_BodyBuilder_13interfaceType___get__(struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_17_Type_BodyBuilder_13interfaceType_2__set__(struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self, PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_17_Type_BodyBuilder_10uint32Type___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_17_Type_BodyBuilder_10uint32Type_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_17_Type_BodyBuilder_9uint8Type___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_17_Type_BodyBuilder_9uint8Type_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_17_Type_BodyBuilder_8listType___get__(struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_17_Type_BodyBuilder_8listType_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_17_Type_BodyBuilder_8int8Type___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_17_Type_BodyBuilder_8int8Type_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_17_Type_BodyBuilder_11float32Type___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_17_Type_BodyBuilder_11float32Type_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_17_Type_BodyBuilder_8enumType___get__(struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_17_Type_BodyBuilder_8enumType_2__set__(struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self, PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_17_Type_BodyBuilder_10uint64Type___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_17_Type_BodyBuilder_10uint64Type_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_17_Type_BodyBuilder_8textType___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_17_Type_BodyBuilder_8textType_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_17_Type_BodyBuilder_9int16Type___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_17_Type_BodyBuilder_9int16Type_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_11_TypeReader_4body___get__(struct __pyx_obj_6schema__TypeReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_12_TypeBuilder_4body___get__(struct __pyx_obj_6schema__TypeBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_12_TypeBuilder_4body_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__TypeBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_22_FileNode_ImportReader_2id___get__(struct __pyx_obj_6schema__FileNode_ImportReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_22_FileNode_ImportReader_4name___get__(struct __pyx_obj_6schema__FileNode_ImportReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_23_FileNode_ImportBuilder_2id___get__(struct __pyx_obj_6schema__FileNode_ImportBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_23_FileNode_ImportBuilder_2id_2__set__(struct __pyx_obj_6schema__FileNode_ImportBuilder *__pyx_v_self, PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_23_FileNode_ImportBuilder_4name___get__(struct __pyx_obj_6schema__FileNode_ImportBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_23_FileNode_ImportBuilder_4name_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__FileNode_ImportBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_15_FileNodeReader_7imports___get__(struct __pyx_obj_6schema__FileNodeReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_16_FileNodeBuilder_7imports___get__(struct __pyx_obj_6schema__FileNodeBuilder *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_16_FileNodeBuilder_initImports(struct __pyx_obj_6schema__FileNodeBuilder *__pyx_v_self, __pyx_t_6schema_uint __pyx_v_num); /* proto */ -static PyObject *__pyx_pf_6schema_16_Node_BodyReader_which(struct __pyx_obj_6schema__Node_BodyReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_16_Node_BodyReader_14annotationNode___get__(struct __pyx_obj_6schema__Node_BodyReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_16_Node_BodyReader_13interfaceNode___get__(struct __pyx_obj_6schema__Node_BodyReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_16_Node_BodyReader_8enumNode___get__(struct __pyx_obj_6schema__Node_BodyReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_16_Node_BodyReader_10structNode___get__(struct __pyx_obj_6schema__Node_BodyReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_16_Node_BodyReader_9constNode___get__(struct __pyx_obj_6schema__Node_BodyReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_16_Node_BodyReader_8fileNode___get__(struct __pyx_obj_6schema__Node_BodyReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_17_Node_BodyBuilder_which(struct __pyx_obj_6schema__Node_BodyBuilder *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_17_Node_BodyBuilder_14annotationNode___get__(struct __pyx_obj_6schema__Node_BodyBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_17_Node_BodyBuilder_14annotationNode_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__Node_BodyBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_17_Node_BodyBuilder_13interfaceNode___get__(struct __pyx_obj_6schema__Node_BodyBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_17_Node_BodyBuilder_13interfaceNode_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__Node_BodyBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_17_Node_BodyBuilder_8enumNode___get__(struct __pyx_obj_6schema__Node_BodyBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_17_Node_BodyBuilder_8enumNode_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__Node_BodyBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_17_Node_BodyBuilder_10structNode___get__(struct __pyx_obj_6schema__Node_BodyBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_17_Node_BodyBuilder_10structNode_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__Node_BodyBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_17_Node_BodyBuilder_9constNode___get__(struct __pyx_obj_6schema__Node_BodyBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_17_Node_BodyBuilder_9constNode_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__Node_BodyBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_17_Node_BodyBuilder_8fileNode___get__(struct __pyx_obj_6schema__Node_BodyBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_17_Node_BodyBuilder_8fileNode_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__Node_BodyBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_22_Node_NestedNodeReader_4name___get__(struct __pyx_obj_6schema__Node_NestedNodeReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_22_Node_NestedNodeReader_2id___get__(struct __pyx_obj_6schema__Node_NestedNodeReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_23_Node_NestedNodeBuilder_4name___get__(struct __pyx_obj_6schema__Node_NestedNodeBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_23_Node_NestedNodeBuilder_4name_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__Node_NestedNodeBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_23_Node_NestedNodeBuilder_2id___get__(struct __pyx_obj_6schema__Node_NestedNodeBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_23_Node_NestedNodeBuilder_2id_2__set__(struct __pyx_obj_6schema__Node_NestedNodeBuilder *__pyx_v_self, PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_11_NodeReader_4body___get__(struct __pyx_obj_6schema__NodeReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_11_NodeReader_11displayName___get__(struct __pyx_obj_6schema__NodeReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_11_NodeReader_11annotations___get__(struct __pyx_obj_6schema__NodeReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_11_NodeReader_7scopeId___get__(struct __pyx_obj_6schema__NodeReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_11_NodeReader_11nestedNodes___get__(struct __pyx_obj_6schema__NodeReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_11_NodeReader_2id___get__(struct __pyx_obj_6schema__NodeReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_12_NodeBuilder_4body___get__(struct __pyx_obj_6schema__NodeBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_12_NodeBuilder_4body_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__NodeBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_12_NodeBuilder_11displayName___get__(struct __pyx_obj_6schema__NodeBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_12_NodeBuilder_11displayName_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__NodeBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_12_NodeBuilder_11annotations___get__(struct __pyx_obj_6schema__NodeBuilder *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_12_NodeBuilder_initAnnotations(struct __pyx_obj_6schema__NodeBuilder *__pyx_v_self, __pyx_t_6schema_uint __pyx_v_num); /* proto */ -static PyObject *__pyx_pf_6schema_12_NodeBuilder_7scopeId___get__(struct __pyx_obj_6schema__NodeBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_12_NodeBuilder_7scopeId_2__set__(struct __pyx_obj_6schema__NodeBuilder *__pyx_v_self, PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_12_NodeBuilder_11nestedNodes___get__(struct __pyx_obj_6schema__NodeBuilder *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_12_NodeBuilder_2initNestedNodes(struct __pyx_obj_6schema__NodeBuilder *__pyx_v_self, __pyx_t_6schema_uint __pyx_v_num); /* proto */ -static PyObject *__pyx_pf_6schema_12_NodeBuilder_2id___get__(struct __pyx_obj_6schema__NodeBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_12_NodeBuilder_2id_2__set__(struct __pyx_obj_6schema__NodeBuilder *__pyx_v_self, PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_21_AnnotationNodeReader_12targetsField___get__(struct __pyx_obj_6schema__AnnotationNodeReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_21_AnnotationNodeReader_12targetsConst___get__(struct __pyx_obj_6schema__AnnotationNodeReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_21_AnnotationNodeReader_11targetsFile___get__(struct __pyx_obj_6schema__AnnotationNodeReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_21_AnnotationNodeReader_13targetsStruct___get__(struct __pyx_obj_6schema__AnnotationNodeReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_21_AnnotationNodeReader_12targetsParam___get__(struct __pyx_obj_6schema__AnnotationNodeReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_21_AnnotationNodeReader_12targetsUnion___get__(struct __pyx_obj_6schema__AnnotationNodeReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_21_AnnotationNodeReader_17targetsAnnotation___get__(struct __pyx_obj_6schema__AnnotationNodeReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_21_AnnotationNodeReader_16targetsEnumerant___get__(struct __pyx_obj_6schema__AnnotationNodeReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_21_AnnotationNodeReader_4type___get__(struct __pyx_obj_6schema__AnnotationNodeReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_21_AnnotationNodeReader_11targetsEnum___get__(struct __pyx_obj_6schema__AnnotationNodeReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_21_AnnotationNodeReader_16targetsInterface___get__(struct __pyx_obj_6schema__AnnotationNodeReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_21_AnnotationNodeReader_13targetsMethod___get__(struct __pyx_obj_6schema__AnnotationNodeReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_22_AnnotationNodeBuilder_12targetsField___get__(struct __pyx_obj_6schema__AnnotationNodeBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_22_AnnotationNodeBuilder_12targetsField_2__set__(struct __pyx_obj_6schema__AnnotationNodeBuilder *__pyx_v_self, PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_22_AnnotationNodeBuilder_12targetsConst___get__(struct __pyx_obj_6schema__AnnotationNodeBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_22_AnnotationNodeBuilder_12targetsConst_2__set__(struct __pyx_obj_6schema__AnnotationNodeBuilder *__pyx_v_self, PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_22_AnnotationNodeBuilder_11targetsFile___get__(struct __pyx_obj_6schema__AnnotationNodeBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_22_AnnotationNodeBuilder_11targetsFile_2__set__(struct __pyx_obj_6schema__AnnotationNodeBuilder *__pyx_v_self, PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_22_AnnotationNodeBuilder_13targetsStruct___get__(struct __pyx_obj_6schema__AnnotationNodeBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_22_AnnotationNodeBuilder_13targetsStruct_2__set__(struct __pyx_obj_6schema__AnnotationNodeBuilder *__pyx_v_self, PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_22_AnnotationNodeBuilder_12targetsParam___get__(struct __pyx_obj_6schema__AnnotationNodeBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_22_AnnotationNodeBuilder_12targetsParam_2__set__(struct __pyx_obj_6schema__AnnotationNodeBuilder *__pyx_v_self, PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_22_AnnotationNodeBuilder_12targetsUnion___get__(struct __pyx_obj_6schema__AnnotationNodeBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_22_AnnotationNodeBuilder_12targetsUnion_2__set__(struct __pyx_obj_6schema__AnnotationNodeBuilder *__pyx_v_self, PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_22_AnnotationNodeBuilder_17targetsAnnotation___get__(struct __pyx_obj_6schema__AnnotationNodeBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_22_AnnotationNodeBuilder_17targetsAnnotation_2__set__(struct __pyx_obj_6schema__AnnotationNodeBuilder *__pyx_v_self, PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_22_AnnotationNodeBuilder_16targetsEnumerant___get__(struct __pyx_obj_6schema__AnnotationNodeBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_22_AnnotationNodeBuilder_16targetsEnumerant_2__set__(struct __pyx_obj_6schema__AnnotationNodeBuilder *__pyx_v_self, PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_22_AnnotationNodeBuilder_4type___get__(struct __pyx_obj_6schema__AnnotationNodeBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_22_AnnotationNodeBuilder_4type_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__AnnotationNodeBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_22_AnnotationNodeBuilder_11targetsEnum___get__(struct __pyx_obj_6schema__AnnotationNodeBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_22_AnnotationNodeBuilder_11targetsEnum_2__set__(struct __pyx_obj_6schema__AnnotationNodeBuilder *__pyx_v_self, PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_22_AnnotationNodeBuilder_16targetsInterface___get__(struct __pyx_obj_6schema__AnnotationNodeBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_22_AnnotationNodeBuilder_16targetsInterface_2__set__(struct __pyx_obj_6schema__AnnotationNodeBuilder *__pyx_v_self, PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_22_AnnotationNodeBuilder_13targetsMethod___get__(struct __pyx_obj_6schema__AnnotationNodeBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_22_AnnotationNodeBuilder_13targetsMethod_2__set__(struct __pyx_obj_6schema__AnnotationNodeBuilder *__pyx_v_self, PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_25_EnumNode_EnumerantReader_9codeOrder___get__(struct __pyx_obj_6schema__EnumNode_EnumerantReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_25_EnumNode_EnumerantReader_4name___get__(struct __pyx_obj_6schema__EnumNode_EnumerantReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_25_EnumNode_EnumerantReader_11annotations___get__(struct __pyx_obj_6schema__EnumNode_EnumerantReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_26_EnumNode_EnumerantBuilder_9codeOrder___get__(struct __pyx_obj_6schema__EnumNode_EnumerantBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_26_EnumNode_EnumerantBuilder_9codeOrder_2__set__(struct __pyx_obj_6schema__EnumNode_EnumerantBuilder *__pyx_v_self, PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_26_EnumNode_EnumerantBuilder_4name___get__(struct __pyx_obj_6schema__EnumNode_EnumerantBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_26_EnumNode_EnumerantBuilder_4name_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__EnumNode_EnumerantBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_26_EnumNode_EnumerantBuilder_11annotations___get__(struct __pyx_obj_6schema__EnumNode_EnumerantBuilder *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_26_EnumNode_EnumerantBuilder_initAnnotations(struct __pyx_obj_6schema__EnumNode_EnumerantBuilder *__pyx_v_self, __pyx_t_6schema_uint __pyx_v_num); /* proto */ -static PyObject *__pyx_pf_6schema_15_EnumNodeReader_10enumerants___get__(struct __pyx_obj_6schema__EnumNodeReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_16_EnumNodeBuilder_10enumerants___get__(struct __pyx_obj_6schema__EnumNodeBuilder *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_16_EnumNodeBuilder_initEnumerants(struct __pyx_obj_6schema__EnumNodeBuilder *__pyx_v_self, __pyx_t_6schema_uint __pyx_v_num); /* proto */ -static PyObject *__pyx_pf_6schema_23_StructNode_UnionReader_18discriminantOffset___get__(struct __pyx_obj_6schema__StructNode_UnionReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_23_StructNode_UnionReader_7members___get__(struct __pyx_obj_6schema__StructNode_UnionReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_24_StructNode_UnionBuilder_18discriminantOffset___get__(struct __pyx_obj_6schema__StructNode_UnionBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_24_StructNode_UnionBuilder_18discriminantOffset_2__set__(struct __pyx_obj_6schema__StructNode_UnionBuilder *__pyx_v_self, PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_24_StructNode_UnionBuilder_7members___get__(struct __pyx_obj_6schema__StructNode_UnionBuilder *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_24_StructNode_UnionBuilder_initMembers(struct __pyx_obj_6schema__StructNode_UnionBuilder *__pyx_v_self, __pyx_t_6schema_uint __pyx_v_num); /* proto */ -static PyObject *__pyx_pf_6schema_29_StructNode_Member_BodyReader_which(struct __pyx_obj_6schema__StructNode_Member_BodyReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_29_StructNode_Member_BodyReader_11fieldMember___get__(struct __pyx_obj_6schema__StructNode_Member_BodyReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_29_StructNode_Member_BodyReader_11unionMember___get__(struct __pyx_obj_6schema__StructNode_Member_BodyReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_30_StructNode_Member_BodyBuilder_which(struct __pyx_obj_6schema__StructNode_Member_BodyBuilder *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_30_StructNode_Member_BodyBuilder_11fieldMember___get__(struct __pyx_obj_6schema__StructNode_Member_BodyBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_30_StructNode_Member_BodyBuilder_11fieldMember_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__StructNode_Member_BodyBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_30_StructNode_Member_BodyBuilder_11unionMember___get__(struct __pyx_obj_6schema__StructNode_Member_BodyBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_30_StructNode_Member_BodyBuilder_11unionMember_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__StructNode_Member_BodyBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_24_StructNode_MemberReader_7ordinal___get__(struct __pyx_obj_6schema__StructNode_MemberReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_24_StructNode_MemberReader_4body___get__(struct __pyx_obj_6schema__StructNode_MemberReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_24_StructNode_MemberReader_9codeOrder___get__(struct __pyx_obj_6schema__StructNode_MemberReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_24_StructNode_MemberReader_4name___get__(struct __pyx_obj_6schema__StructNode_MemberReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_24_StructNode_MemberReader_11annotations___get__(struct __pyx_obj_6schema__StructNode_MemberReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_25_StructNode_MemberBuilder_7ordinal___get__(struct __pyx_obj_6schema__StructNode_MemberBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_25_StructNode_MemberBuilder_7ordinal_2__set__(struct __pyx_obj_6schema__StructNode_MemberBuilder *__pyx_v_self, PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_25_StructNode_MemberBuilder_4body___get__(struct __pyx_obj_6schema__StructNode_MemberBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_25_StructNode_MemberBuilder_4body_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__StructNode_MemberBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_25_StructNode_MemberBuilder_9codeOrder___get__(struct __pyx_obj_6schema__StructNode_MemberBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_25_StructNode_MemberBuilder_9codeOrder_2__set__(struct __pyx_obj_6schema__StructNode_MemberBuilder *__pyx_v_self, PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_25_StructNode_MemberBuilder_4name___get__(struct __pyx_obj_6schema__StructNode_MemberBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_25_StructNode_MemberBuilder_4name_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__StructNode_MemberBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_25_StructNode_MemberBuilder_11annotations___get__(struct __pyx_obj_6schema__StructNode_MemberBuilder *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_25_StructNode_MemberBuilder_initAnnotations(struct __pyx_obj_6schema__StructNode_MemberBuilder *__pyx_v_self, __pyx_t_6schema_uint __pyx_v_num); /* proto */ -static PyObject *__pyx_pf_6schema_23_StructNode_FieldReader_12defaultValue___get__(struct __pyx_obj_6schema__StructNode_FieldReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_23_StructNode_FieldReader_4type___get__(struct __pyx_obj_6schema__StructNode_FieldReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_23_StructNode_FieldReader_6offset___get__(struct __pyx_obj_6schema__StructNode_FieldReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_24_StructNode_FieldBuilder_12defaultValue___get__(struct __pyx_obj_6schema__StructNode_FieldBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_24_StructNode_FieldBuilder_12defaultValue_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__StructNode_FieldBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_24_StructNode_FieldBuilder_4type___get__(struct __pyx_obj_6schema__StructNode_FieldBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_24_StructNode_FieldBuilder_4type_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__StructNode_FieldBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_24_StructNode_FieldBuilder_6offset___get__(struct __pyx_obj_6schema__StructNode_FieldBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_24_StructNode_FieldBuilder_6offset_2__set__(struct __pyx_obj_6schema__StructNode_FieldBuilder *__pyx_v_self, PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_17_StructNodeReader_19dataSectionWordSize___get__(struct __pyx_obj_6schema__StructNodeReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_17_StructNodeReader_7members___get__(struct __pyx_obj_6schema__StructNodeReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_17_StructNodeReader_18pointerSectionSize___get__(struct __pyx_obj_6schema__StructNodeReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_18_StructNodeBuilder_19dataSectionWordSize___get__(struct __pyx_obj_6schema__StructNodeBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_18_StructNodeBuilder_19dataSectionWordSize_2__set__(struct __pyx_obj_6schema__StructNodeBuilder *__pyx_v_self, PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_18_StructNodeBuilder_7members___get__(struct __pyx_obj_6schema__StructNodeBuilder *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_18_StructNodeBuilder_initMembers(struct __pyx_obj_6schema__StructNodeBuilder *__pyx_v_self, __pyx_t_6schema_uint __pyx_v_num); /* proto */ -static PyObject *__pyx_pf_6schema_18_StructNodeBuilder_18pointerSectionSize___get__(struct __pyx_obj_6schema__StructNodeBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_18_StructNodeBuilder_18pointerSectionSize_2__set__(struct __pyx_obj_6schema__StructNodeBuilder *__pyx_v_self, PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_17_AnnotationReader_2id___get__(struct __pyx_obj_6schema__AnnotationReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_17_AnnotationReader_5value___get__(struct __pyx_obj_6schema__AnnotationReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_18_AnnotationBuilder_2id___get__(struct __pyx_obj_6schema__AnnotationBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_18_AnnotationBuilder_2id_2__set__(struct __pyx_obj_6schema__AnnotationBuilder *__pyx_v_self, PyObject *__pyx_v_val); /* proto */ -static PyObject *__pyx_pf_6schema_18_AnnotationBuilder_5value___get__(struct __pyx_obj_6schema__AnnotationBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_18_AnnotationBuilder_5value_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__AnnotationBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val); /* proto */ -static void __pyx_pf_6schema_14MessageBuilder___dealloc__(CYTHON_UNUSED struct __pyx_obj_6schema_MessageBuilder *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_14MessageBuilder_2getRootCodeGeneratorRequest(struct __pyx_obj_6schema_MessageBuilder *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_14MessageBuilder_4initRootCodeGeneratorRequest(struct __pyx_obj_6schema_MessageBuilder *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_14MessageBuilder_6getRootInterfaceNode(struct __pyx_obj_6schema_MessageBuilder *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_14MessageBuilder_8initRootInterfaceNode(struct __pyx_obj_6schema_MessageBuilder *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_14MessageBuilder_10getRootValue(struct __pyx_obj_6schema_MessageBuilder *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_14MessageBuilder_12initRootValue(struct __pyx_obj_6schema_MessageBuilder *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_14MessageBuilder_14getRootConstNode(struct __pyx_obj_6schema_MessageBuilder *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_14MessageBuilder_16initRootConstNode(struct __pyx_obj_6schema_MessageBuilder *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_14MessageBuilder_18getRootType(struct __pyx_obj_6schema_MessageBuilder *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_14MessageBuilder_20initRootType(struct __pyx_obj_6schema_MessageBuilder *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_14MessageBuilder_22getRootFileNode(struct __pyx_obj_6schema_MessageBuilder *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_14MessageBuilder_24initRootFileNode(struct __pyx_obj_6schema_MessageBuilder *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_14MessageBuilder_26getRootNode(struct __pyx_obj_6schema_MessageBuilder *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_14MessageBuilder_28initRootNode(struct __pyx_obj_6schema_MessageBuilder *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_14MessageBuilder_30getRootAnnotationNode(struct __pyx_obj_6schema_MessageBuilder *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_14MessageBuilder_32initRootAnnotationNode(struct __pyx_obj_6schema_MessageBuilder *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_14MessageBuilder_34getRootEnumNode(struct __pyx_obj_6schema_MessageBuilder *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_14MessageBuilder_36initRootEnumNode(struct __pyx_obj_6schema_MessageBuilder *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_14MessageBuilder_38getRootStructNode(struct __pyx_obj_6schema_MessageBuilder *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_14MessageBuilder_40initRootStructNode(struct __pyx_obj_6schema_MessageBuilder *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_14MessageBuilder_42getRootAnnotation(struct __pyx_obj_6schema_MessageBuilder *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_14MessageBuilder_44initRootAnnotation(struct __pyx_obj_6schema_MessageBuilder *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_20MallocMessageBuilder___cinit__(struct __pyx_obj_6schema_MallocMessageBuilder *__pyx_v_self); /* proto */ -static void __pyx_pf_6schema_13MessageReader___dealloc__(CYTHON_UNUSED struct __pyx_obj_6schema_MessageReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_13MessageReader_2getRootCodeGeneratorRequest(struct __pyx_obj_6schema_MessageReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_13MessageReader_4getRootInterfaceNode(struct __pyx_obj_6schema_MessageReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_13MessageReader_6getRootValue(struct __pyx_obj_6schema_MessageReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_13MessageReader_8getRootConstNode(struct __pyx_obj_6schema_MessageReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_13MessageReader_10getRootType(struct __pyx_obj_6schema_MessageReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_13MessageReader_12getRootFileNode(struct __pyx_obj_6schema_MessageReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_13MessageReader_14getRootNode(struct __pyx_obj_6schema_MessageReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_13MessageReader_16getRootAnnotationNode(struct __pyx_obj_6schema_MessageReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_13MessageReader_18getRootEnumNode(struct __pyx_obj_6schema_MessageReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_13MessageReader_20getRootStructNode(struct __pyx_obj_6schema_MessageReader *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_6schema_13MessageReader_22getRootAnnotation(struct __pyx_obj_6schema_MessageReader *__pyx_v_self); /* proto */ -static int __pyx_pf_6schema_21StreamFdMessageReader___cinit__(struct __pyx_obj_6schema_StreamFdMessageReader *__pyx_v_self, int __pyx_v_fd); /* proto */ -static int __pyx_pf_6schema_21PackedFdMessageReader___cinit__(struct __pyx_obj_6schema_PackedFdMessageReader *__pyx_v_self, int __pyx_v_fd); /* proto */ -static PyObject *__pyx_pf_6schema_2writeMessageToFd(CYTHON_UNUSED PyObject *__pyx_self, int __pyx_v_fd, struct __pyx_obj_6schema_MessageBuilder *__pyx_v_m); /* proto */ -static PyObject *__pyx_pf_6schema_4writePackedMessageToFd(CYTHON_UNUSED PyObject *__pyx_self, int __pyx_v_fd, struct __pyx_obj_6schema_MessageBuilder *__pyx_v_m); /* proto */ -static PyObject *__pyx_tp_new_6schema__List_FileNode_FileNode_Import_Reader(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema__StructNode_FieldBuilder(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema__StructNodeReader(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema__InterfaceNode_MethodReader(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema__Node_BodyBuilder(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema_MessageBuilder(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema__ConstNodeReader(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema__FileNodeBuilder(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema__Type_BodyReader(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema__List_InterfaceNode_InterfaceNode_Method_Reader(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema___pyx_scope_struct_1_genexpr(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema__List_StructNode_Member_Annotation_Builder(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema__InterfaceNodeReader(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema__EnumNodeReader(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema__List_Node_Annotation_Builder(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema__EnumNode_EnumerantReader(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema__List_StructNode_StructNode_Member_Builder(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema__List_UInt64_Builder(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema__InterfaceNode_MethodBuilder(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema__List_Node_Node_NestedNode_Reader(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema__TypeReader(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema__EnumNode_EnumerantBuilder(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema__StructNode_Member_BodyReader(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema_MessageReader(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema_PackedFdMessageReader(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema__List_EnumNode_EnumNode_Enumerant_Reader(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema__FileNode_ImportReader(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema_StreamFdMessageReader(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema__InterfaceNode_Method_ParamReader(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema__CodeGeneratorRequestBuilder(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema__NodeBuilder(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema__List_FileNode_FileNode_Import_Builder(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema__StructNode_UnionReader(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema_MallocMessageBuilder(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema__TypeBuilder(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema__AnnotationBuilder(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema__List_CodeGeneratorRequest_Node_Builder(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema__Node_NestedNodeBuilder(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema__StructNode_UnionBuilder(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema__Node_BodyReader(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema__List_EnumNode_Enumerant_Annotation_Reader(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema__ConstNodeBuilder(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema__AnnotationReader(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema__ValueReader(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema__List_CodeGeneratorRequest_Node_Reader(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema__StructNode_Member_BodyBuilder(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema__AnnotationNodeReader(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema__List_InterfaceNode_Method_Param_Annotation_Builder(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema__CodeGeneratorRequestReader(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema__List_InterfaceNode_InterfaceNode_Method_Builder(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema__ValueBuilder(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema__StructNode_MemberReader(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema__EnumNodeBuilder(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema__List_EnumNode_EnumNode_Enumerant_Builder(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema__FileNode_ImportBuilder(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema__NodeReader(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema__Type_BodyBuilder(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema__List_StructNode_StructNode_Member_Reader(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema__List_StructNode_Union_StructNode_Member_Builder(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema__InterfaceNode_Method_ParamBuilder(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema__List_Node_Node_NestedNode_Builder(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema__Value_BodyBuilder(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema__InterfaceNodeBuilder(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema__List_StructNode_Member_Annotation_Reader(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema__Node_NestedNodeReader(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema__StructNode_MemberBuilder(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema__List_UInt64_Reader(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema__List_InterfaceNode_Method_Annotation_Builder(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema__List_InterfaceNode_Method_Annotation_Reader(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema__List_StructNode_Union_StructNode_Member_Reader(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema__AnnotationNodeBuilder(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema__List_EnumNode_Enumerant_Annotation_Builder(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema__Value_BodyReader(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema__StructNode_FieldReader(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema__List_Node_Annotation_Reader(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema__List_InterfaceNode_Method_Param_Annotation_Reader(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema__FileNodeReader(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema___pyx_scope_struct__make_enum(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_6schema__StructNodeBuilder(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static char __pyx_k_1[] = "Out of bounds"; -static char __pyx_k_30[] = "getRootCodeGeneratorRequest"; -static char __pyx_k_31[] = "initRootCodeGeneratorRequest"; -static char __pyx_k_32[] = "getRootInterfaceNode"; -static char __pyx_k_33[] = "initRootInterfaceNode"; -static char __pyx_k_34[] = "getRootAnnotationNode"; -static char __pyx_k_35[] = "initRootAnnotationNode"; -static char __pyx_k_38[] = "/Users/jason/workspace/capnpc-python-cpp/schema.pyx"; -static char __pyx_k_43[] = "_StructNode_Member_Body_Which"; -static char __pyx_k_49[] = "writePackedMessageToFd"; -static char __pyx_k_50[] = "CodeGeneratorRequest"; -static char __pyx_k_54[] = "InterfaceNode.Method"; -static char __pyx_k_56[] = "InterfaceNode.Method.Param"; -static char __pyx_k_59[] = "Value.Body"; -static char __pyx_k_63[] = "Type.Body"; -static char __pyx_k_66[] = "FileNode.Import"; -static char __pyx_k_69[] = "Node.Body"; -static char __pyx_k_71[] = "Node.NestedNode"; -static char __pyx_k_75[] = "EnumNode.Enumerant"; -static char __pyx_k_78[] = "StructNode.Union"; -static char __pyx_k_80[] = "StructNode.Member"; -static char __pyx_k_82[] = "StructNode.Member.Body"; -static char __pyx_k_84[] = "StructNode.Field"; -static char __pyx_k__m[] = "m"; -static char __pyx_k__fd[] = "fd"; -static char __pyx_k__bit[] = "bit"; -static char __pyx_k__zip[] = "zip"; -static char __pyx_k__Body[] = "Body"; -static char __pyx_k__Node[] = "Node"; -static char __pyx_k__Type[] = "Type"; -static char __pyx_k__args[] = "args"; -static char __pyx_k__byte[] = "byte"; -static char __pyx_k__send[] = "send"; -static char __pyx_k__temp[] = "temp"; -static char __pyx_k__Field[] = "Field"; -static char __pyx_k__Param[] = "Param"; -static char __pyx_k__Union[] = "Union"; -static char __pyx_k__Value[] = "Value"; -static char __pyx_k__close[] = "close"; -static char __pyx_k__empty[] = "empty"; -static char __pyx_k__enums[] = "enums"; -static char __pyx_k__named[] = "named"; -static char __pyx_k__range[] = "range"; -static char __pyx_k__throw[] = "throw"; -static char __pyx_k__types[] = "types"; -static char __pyx_k__which[] = "which"; -static char __pyx_k__Import[] = "Import"; -static char __pyx_k__Member[] = "Member"; -static char __pyx_k__Method[] = "Method"; -static char __pyx_k__Reader[] = "Reader"; -static char __pyx_k__schema[] = "schema"; -static char __pyx_k__Builder[] = "Builder"; -static char __pyx_k__genexpr[] = "genexpr"; -static char __pyx_k__pointer[] = "pointer"; -static char __pyx_k__reverse[] = "reverse"; -static char __pyx_k__EnumNode[] = "EnumNode"; -static char __pyx_k__FileNode[] = "FileNode"; -static char __pyx_k____main__[] = "__main__"; -static char __pyx_k____test__[] = "__test__"; -static char __pyx_k__boolType[] = "boolType"; -static char __pyx_k__dataType[] = "dataType"; -static char __pyx_k__enumNode[] = "enumNode"; -static char __pyx_k__enumType[] = "enumType"; -static char __pyx_k__fileNode[] = "fileNode"; -static char __pyx_k__int8Type[] = "int8Type"; -static char __pyx_k__listType[] = "listType"; -static char __pyx_k__textType[] = "textType"; -static char __pyx_k__twoBytes[] = "twoBytes"; -static char __pyx_k__voidType[] = "voidType"; -static char __pyx_k__ConstNode[] = "ConstNode"; -static char __pyx_k__Enumerant[] = "Enumerant"; -static char __pyx_k__boolValue[] = "boolValue"; -static char __pyx_k__constNode[] = "constNode"; -static char __pyx_k__dataValue[] = "dataValue"; -static char __pyx_k__enumValue[] = "enumValue"; -static char __pyx_k__enum_name[] = "enum_name"; -static char __pyx_k__fourBytes[] = "fourBytes"; -static char __pyx_k__initNodes[] = "initNodes"; -static char __pyx_k__int16Type[] = "int16Type"; -static char __pyx_k__int32Type[] = "int32Type"; -static char __pyx_k__int64Type[] = "int64Type"; -static char __pyx_k__int8Value[] = "int8Value"; -static char __pyx_k__iteritems[] = "iteritems"; -static char __pyx_k__listValue[] = "listValue"; -static char __pyx_k__make_enum[] = "make_enum"; -static char __pyx_k__textValue[] = "textValue"; -static char __pyx_k__uint8Type[] = "uint8Type"; -static char __pyx_k__voidValue[] = "voidValue"; -static char __pyx_k__Annotation[] = "Annotation"; -static char __pyx_k__IndexError[] = "IndexError"; -static char __pyx_k__ModuleType[] = "ModuleType"; -static char __pyx_k__NestedNode[] = "NestedNode"; -static char __pyx_k__StructNode[] = "StructNode"; -static char __pyx_k____import__[] = "__import__"; -static char __pyx_k__eightBytes[] = "eightBytes"; -static char __pyx_k__initParams[] = "initParams"; -static char __pyx_k__int16Value[] = "int16Value"; -static char __pyx_k__int32Value[] = "int32Value"; -static char __pyx_k__int64Value[] = "int64Value"; -static char __pyx_k__objectType[] = "objectType"; -static char __pyx_k__sequential[] = "sequential"; -static char __pyx_k__structNode[] = "structNode"; -static char __pyx_k__structType[] = "structType"; -static char __pyx_k__uint16Type[] = "uint16Type"; -static char __pyx_k__uint32Type[] = "uint32Type"; -static char __pyx_k__uint64Type[] = "uint64Type"; -static char __pyx_k__uint8Value[] = "uint8Value"; -static char __pyx_k__ElementSize[] = "ElementSize"; -static char __pyx_k__fieldMember[] = "fieldMember"; -static char __pyx_k__float32Type[] = "float32Type"; -static char __pyx_k__float64Type[] = "float64Type"; -static char __pyx_k__getRootNode[] = "getRootNode"; -static char __pyx_k__getRootType[] = "getRootType"; -static char __pyx_k__initImports[] = "initImports"; -static char __pyx_k__initMembers[] = "initMembers"; -static char __pyx_k__initMethods[] = "initMethods"; -static char __pyx_k__objectValue[] = "objectValue"; -static char __pyx_k__structValue[] = "structValue"; -static char __pyx_k__uint16Value[] = "uint16Value"; -static char __pyx_k__uint32Value[] = "uint32Value"; -static char __pyx_k__uint64Value[] = "uint64Value"; -static char __pyx_k__unionMember[] = "unionMember"; -static char __pyx_k___ElementSize[] = "_ElementSize"; -static char __pyx_k__float32Value[] = "float32Value"; -static char __pyx_k__float64Value[] = "float64Value"; -static char __pyx_k__getRootValue[] = "getRootValue"; -static char __pyx_k__initRootNode[] = "initRootNode"; -static char __pyx_k__initRootType[] = "initRootType"; -static char __pyx_k__InterfaceNode[] = "InterfaceNode"; -static char __pyx_k__initRootValue[] = "initRootValue"; -static char __pyx_k__interfaceNode[] = "interfaceNode"; -static char __pyx_k__interfaceType[] = "interfaceType"; -static char __pyx_k__AnnotationNode[] = "AnnotationNode"; -static char __pyx_k____pyx_vtable__[] = "__pyx_vtable__"; -static char __pyx_k__annotationNode[] = "annotationNode"; -static char __pyx_k__initEnumerants[] = "initEnumerants"; -static char __pyx_k__interfaceValue[] = "interfaceValue"; -static char __pyx_k__getRootEnumNode[] = "getRootEnumNode"; -static char __pyx_k__getRootFileNode[] = "getRootFileNode"; -static char __pyx_k__initAnnotations[] = "initAnnotations"; -static char __pyx_k__initNestedNodes[] = "initNestedNodes"; -static char __pyx_k__inlineComposite[] = "inlineComposite"; -static char __pyx_k__reverse_mapping[] = "reverse_mapping"; -static char __pyx_k___Node_Body_Which[] = "_Node_Body_Which"; -static char __pyx_k___Type_Body_Which[] = "_Type_Body_Which"; -static char __pyx_k__getRootConstNode[] = "getRootConstNode"; -static char __pyx_k__initRootEnumNode[] = "initRootEnumNode"; -static char __pyx_k__initRootFileNode[] = "initRootFileNode"; -static char __pyx_k__writeMessageToFd[] = "writeMessageToFd"; -static char __pyx_k___Value_Body_Which[] = "_Value_Body_Which"; -static char __pyx_k__getRootAnnotation[] = "getRootAnnotation"; -static char __pyx_k__getRootStructNode[] = "getRootStructNode"; -static char __pyx_k__initRootConstNode[] = "initRootConstNode"; -static char __pyx_k__initRequestedFiles[] = "initRequestedFiles"; -static char __pyx_k__initRootAnnotation[] = "initRootAnnotation"; -static char __pyx_k__initRootStructNode[] = "initRootStructNode"; -static PyObject *__pyx_kp_s_1; -static PyObject *__pyx_n_s_30; -static PyObject *__pyx_n_s_31; -static PyObject *__pyx_n_s_32; -static PyObject *__pyx_n_s_33; -static PyObject *__pyx_n_s_34; -static PyObject *__pyx_n_s_35; -static PyObject *__pyx_kp_s_38; -static PyObject *__pyx_n_s_43; -static PyObject *__pyx_n_s_49; -static PyObject *__pyx_n_s_50; -static PyObject *__pyx_kp_s_54; -static PyObject *__pyx_kp_s_56; -static PyObject *__pyx_kp_s_59; -static PyObject *__pyx_kp_s_63; -static PyObject *__pyx_kp_s_66; -static PyObject *__pyx_kp_s_69; -static PyObject *__pyx_kp_s_71; -static PyObject *__pyx_kp_s_75; -static PyObject *__pyx_kp_s_78; -static PyObject *__pyx_kp_s_80; -static PyObject *__pyx_kp_s_82; -static PyObject *__pyx_kp_s_84; -static PyObject *__pyx_n_s__Annotation; -static PyObject *__pyx_n_s__AnnotationNode; -static PyObject *__pyx_n_s__Body; -static PyObject *__pyx_n_s__Builder; -static PyObject *__pyx_n_s__ConstNode; -static PyObject *__pyx_n_s__ElementSize; -static PyObject *__pyx_n_s__EnumNode; -static PyObject *__pyx_n_s__Enumerant; -static PyObject *__pyx_n_s__Field; -static PyObject *__pyx_n_s__FileNode; -static PyObject *__pyx_n_s__Import; -static PyObject *__pyx_n_s__IndexError; -static PyObject *__pyx_n_s__InterfaceNode; -static PyObject *__pyx_n_s__Member; -static PyObject *__pyx_n_s__Method; -static PyObject *__pyx_n_s__ModuleType; -static PyObject *__pyx_n_s__NestedNode; -static PyObject *__pyx_n_s__Node; -static PyObject *__pyx_n_s__Param; -static PyObject *__pyx_n_s__Reader; -static PyObject *__pyx_n_s__StructNode; -static PyObject *__pyx_n_s__Type; -static PyObject *__pyx_n_s__Union; -static PyObject *__pyx_n_s__Value; -static PyObject *__pyx_n_s___ElementSize; -static PyObject *__pyx_n_s___Node_Body_Which; -static PyObject *__pyx_n_s___Type_Body_Which; -static PyObject *__pyx_n_s___Value_Body_Which; -static PyObject *__pyx_n_s____import__; -static PyObject *__pyx_n_s____main__; -static PyObject *__pyx_n_s____pyx_vtable__; -static PyObject *__pyx_n_s____test__; -static PyObject *__pyx_n_s__annotationNode; -static PyObject *__pyx_n_s__args; -static PyObject *__pyx_n_s__bit; -static PyObject *__pyx_n_s__boolType; -static PyObject *__pyx_n_s__boolValue; -static PyObject *__pyx_n_s__byte; -static PyObject *__pyx_n_s__close; -static PyObject *__pyx_n_s__constNode; -static PyObject *__pyx_n_s__dataType; -static PyObject *__pyx_n_s__dataValue; -static PyObject *__pyx_n_s__eightBytes; -static PyObject *__pyx_n_s__empty; -static PyObject *__pyx_n_s__enumNode; -static PyObject *__pyx_n_s__enumType; -static PyObject *__pyx_n_s__enumValue; -static PyObject *__pyx_n_s__enum_name; -static PyObject *__pyx_n_s__enums; -static PyObject *__pyx_n_s__fd; -static PyObject *__pyx_n_s__fieldMember; -static PyObject *__pyx_n_s__fileNode; -static PyObject *__pyx_n_s__float32Type; -static PyObject *__pyx_n_s__float32Value; -static PyObject *__pyx_n_s__float64Type; -static PyObject *__pyx_n_s__float64Value; -static PyObject *__pyx_n_s__fourBytes; -static PyObject *__pyx_n_s__genexpr; -static PyObject *__pyx_n_s__getRootAnnotation; -static PyObject *__pyx_n_s__getRootConstNode; -static PyObject *__pyx_n_s__getRootEnumNode; -static PyObject *__pyx_n_s__getRootFileNode; -static PyObject *__pyx_n_s__getRootNode; -static PyObject *__pyx_n_s__getRootStructNode; -static PyObject *__pyx_n_s__getRootType; -static PyObject *__pyx_n_s__getRootValue; -static PyObject *__pyx_n_s__initAnnotations; -static PyObject *__pyx_n_s__initEnumerants; -static PyObject *__pyx_n_s__initImports; -static PyObject *__pyx_n_s__initMembers; -static PyObject *__pyx_n_s__initMethods; -static PyObject *__pyx_n_s__initNestedNodes; -static PyObject *__pyx_n_s__initNodes; -static PyObject *__pyx_n_s__initParams; -static PyObject *__pyx_n_s__initRequestedFiles; -static PyObject *__pyx_n_s__initRootAnnotation; -static PyObject *__pyx_n_s__initRootConstNode; -static PyObject *__pyx_n_s__initRootEnumNode; -static PyObject *__pyx_n_s__initRootFileNode; -static PyObject *__pyx_n_s__initRootNode; -static PyObject *__pyx_n_s__initRootStructNode; -static PyObject *__pyx_n_s__initRootType; -static PyObject *__pyx_n_s__initRootValue; -static PyObject *__pyx_n_s__inlineComposite; -static PyObject *__pyx_n_s__int16Type; -static PyObject *__pyx_n_s__int16Value; -static PyObject *__pyx_n_s__int32Type; -static PyObject *__pyx_n_s__int32Value; -static PyObject *__pyx_n_s__int64Type; -static PyObject *__pyx_n_s__int64Value; -static PyObject *__pyx_n_s__int8Type; -static PyObject *__pyx_n_s__int8Value; -static PyObject *__pyx_n_s__interfaceNode; -static PyObject *__pyx_n_s__interfaceType; -static PyObject *__pyx_n_s__interfaceValue; -static PyObject *__pyx_n_s__iteritems; -static PyObject *__pyx_n_s__listType; -static PyObject *__pyx_n_s__listValue; -static PyObject *__pyx_n_s__m; -static PyObject *__pyx_n_s__make_enum; -static PyObject *__pyx_n_s__named; -static PyObject *__pyx_n_s__objectType; -static PyObject *__pyx_n_s__objectValue; -static PyObject *__pyx_n_s__pointer; -static PyObject *__pyx_n_s__range; -static PyObject *__pyx_n_s__reverse; -static PyObject *__pyx_n_s__reverse_mapping; -static PyObject *__pyx_n_s__schema; -static PyObject *__pyx_n_s__send; -static PyObject *__pyx_n_s__sequential; -static PyObject *__pyx_n_s__structNode; -static PyObject *__pyx_n_s__structType; -static PyObject *__pyx_n_s__structValue; -static PyObject *__pyx_n_s__temp; -static PyObject *__pyx_n_s__textType; -static PyObject *__pyx_n_s__textValue; -static PyObject *__pyx_n_s__throw; -static PyObject *__pyx_n_s__twoBytes; -static PyObject *__pyx_n_s__types; -static PyObject *__pyx_n_s__uint16Type; -static PyObject *__pyx_n_s__uint16Value; -static PyObject *__pyx_n_s__uint32Type; -static PyObject *__pyx_n_s__uint32Value; -static PyObject *__pyx_n_s__uint64Type; -static PyObject *__pyx_n_s__uint64Value; -static PyObject *__pyx_n_s__uint8Type; -static PyObject *__pyx_n_s__uint8Value; -static PyObject *__pyx_n_s__unionMember; -static PyObject *__pyx_n_s__voidType; -static PyObject *__pyx_n_s__voidValue; -static PyObject *__pyx_n_s__which; -static PyObject *__pyx_n_s__writeMessageToFd; -static PyObject *__pyx_n_s__zip; -static PyObject *__pyx_k_tuple_2; -static PyObject *__pyx_k_tuple_3; -static PyObject *__pyx_k_tuple_4; -static PyObject *__pyx_k_tuple_5; -static PyObject *__pyx_k_tuple_6; -static PyObject *__pyx_k_tuple_7; -static PyObject *__pyx_k_tuple_8; -static PyObject *__pyx_k_tuple_9; -static PyObject *__pyx_k_tuple_10; -static PyObject *__pyx_k_tuple_11; -static PyObject *__pyx_k_tuple_12; -static PyObject *__pyx_k_tuple_13; -static PyObject *__pyx_k_tuple_14; -static PyObject *__pyx_k_tuple_15; -static PyObject *__pyx_k_tuple_16; -static PyObject *__pyx_k_tuple_17; -static PyObject *__pyx_k_tuple_18; -static PyObject *__pyx_k_tuple_19; -static PyObject *__pyx_k_tuple_20; -static PyObject *__pyx_k_tuple_21; -static PyObject *__pyx_k_tuple_22; -static PyObject *__pyx_k_tuple_23; -static PyObject *__pyx_k_tuple_24; -static PyObject *__pyx_k_tuple_25; -static PyObject *__pyx_k_tuple_26; -static PyObject *__pyx_k_tuple_27; -static PyObject *__pyx_k_tuple_28; -static PyObject *__pyx_k_tuple_29; -static PyObject *__pyx_k_tuple_36; -static PyObject *__pyx_k_tuple_39; -static PyObject *__pyx_k_tuple_40; -static PyObject *__pyx_k_tuple_41; -static PyObject *__pyx_k_tuple_42; -static PyObject *__pyx_k_tuple_44; -static PyObject *__pyx_k_tuple_45; -static PyObject *__pyx_k_tuple_47; -static PyObject *__pyx_k_tuple_51; -static PyObject *__pyx_k_tuple_52; -static PyObject *__pyx_k_tuple_53; -static PyObject *__pyx_k_tuple_55; -static PyObject *__pyx_k_tuple_57; -static PyObject *__pyx_k_tuple_58; -static PyObject *__pyx_k_tuple_60; -static PyObject *__pyx_k_tuple_61; -static PyObject *__pyx_k_tuple_62; -static PyObject *__pyx_k_tuple_64; -static PyObject *__pyx_k_tuple_65; -static PyObject *__pyx_k_tuple_67; -static PyObject *__pyx_k_tuple_68; -static PyObject *__pyx_k_tuple_70; -static PyObject *__pyx_k_tuple_72; -static PyObject *__pyx_k_tuple_73; -static PyObject *__pyx_k_tuple_74; -static PyObject *__pyx_k_tuple_76; -static PyObject *__pyx_k_tuple_77; -static PyObject *__pyx_k_tuple_79; -static PyObject *__pyx_k_tuple_81; -static PyObject *__pyx_k_tuple_83; -static PyObject *__pyx_k_tuple_85; -static PyObject *__pyx_k_tuple_86; -static PyObject *__pyx_k_codeobj_37; -static PyObject *__pyx_k_codeobj_46; -static PyObject *__pyx_k_codeobj_48; - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_1make_enum(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/ -static PyMethodDef __pyx_mdef_6schema_1make_enum = {__Pyx_NAMESTR("make_enum"), (PyCFunction)__pyx_pw_6schema_1make_enum, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)}; -static PyObject *__pyx_pw_6schema_1make_enum(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) { - PyObject *__pyx_v_enum_name = 0; - PyObject *__pyx_v_sequential = 0; - PyObject *__pyx_v_named = 0; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("make_enum (wrapper)", 0); - __pyx_v_named = PyDict_New(); if (unlikely(!__pyx_v_named)) return NULL; - __Pyx_GOTREF(__pyx_v_named); - if (PyTuple_GET_SIZE(__pyx_args) > 1) { - __pyx_v_sequential = PyTuple_GetSlice(__pyx_args, 1, PyTuple_GET_SIZE(__pyx_args)); - if (unlikely(!__pyx_v_sequential)) { - __Pyx_DECREF(__pyx_v_named); __pyx_v_named = 0; - __Pyx_RefNannyFinishContext(); - return NULL; - } - __Pyx_GOTREF(__pyx_v_sequential); - } else { - __pyx_v_sequential = __pyx_empty_tuple; __Pyx_INCREF(__pyx_empty_tuple); - } - { - static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__enum_name,0}; - PyObject* values[1] = {0}; - if (unlikely(__pyx_kwds)) { - Py_ssize_t kw_args; - const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args); - switch (pos_args) { - default: - case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0); - case 0: break; - } - kw_args = PyDict_Size(__pyx_kwds); - switch (pos_args) { - case 0: - if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__enum_name)) != 0)) kw_args--; - else goto __pyx_L5_argtuple_error; - } - if (unlikely(kw_args > 0)) { - const Py_ssize_t used_pos_args = (pos_args < 1) ? pos_args : 1; - if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_named, values, used_pos_args, "make_enum") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 45; __pyx_clineno = __LINE__; goto __pyx_L3_error;} - } - } else if (PyTuple_GET_SIZE(__pyx_args) < 1) { - goto __pyx_L5_argtuple_error; - } else { - values[0] = PyTuple_GET_ITEM(__pyx_args, 0); - } - __pyx_v_enum_name = values[0]; - } - goto __pyx_L4_argument_unpacking_done; - __pyx_L5_argtuple_error:; - __Pyx_RaiseArgtupleInvalid("make_enum", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 45; __pyx_clineno = __LINE__; goto __pyx_L3_error;} - __pyx_L3_error:; - __Pyx_DECREF(__pyx_v_sequential); __pyx_v_sequential = 0; - __Pyx_DECREF(__pyx_v_named); __pyx_v_named = 0; - __Pyx_AddTraceback("schema.make_enum", __pyx_clineno, __pyx_lineno, __pyx_filename); - __Pyx_RefNannyFinishContext(); - return NULL; - __pyx_L4_argument_unpacking_done:; - __pyx_r = __pyx_pf_6schema_make_enum(__pyx_self, __pyx_v_enum_name, __pyx_v_sequential, __pyx_v_named); - __Pyx_XDECREF(__pyx_v_sequential); - __Pyx_XDECREF(__pyx_v_named); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} -static PyObject *__pyx_gb_6schema_9make_enum_2generator(__pyx_GeneratorObject *__pyx_generator, PyObject *__pyx_sent_value); /* proto */ - -/* "schema.pyx":47 - * def make_enum(enum_name, *sequential, **named): - * enums = dict(zip(sequential, range(len(sequential))), **named) - * reverse = dict((value, key) for key, value in enums.iteritems()) # <<<<<<<<<<<<<< - * enums['reverse_mapping'] = reverse - * return type(enum_name, (), enums) - */ - -static PyObject *__pyx_pf_6schema_9make_enum_genexpr(PyObject *__pyx_self) { - struct __pyx_obj_6schema___pyx_scope_struct_1_genexpr *__pyx_cur_scope; - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("genexpr", 0); - __pyx_cur_scope = (struct __pyx_obj_6schema___pyx_scope_struct_1_genexpr *)__pyx_tp_new_6schema___pyx_scope_struct_1_genexpr(__pyx_ptype_6schema___pyx_scope_struct_1_genexpr, __pyx_empty_tuple, NULL); - if (unlikely(!__pyx_cur_scope)) { - __Pyx_RefNannyFinishContext(); - return NULL; - } - __Pyx_GOTREF(__pyx_cur_scope); - __pyx_cur_scope->__pyx_outer_scope = (struct __pyx_obj_6schema___pyx_scope_struct__make_enum *) __pyx_self; - __Pyx_INCREF(((PyObject *)__pyx_cur_scope->__pyx_outer_scope)); - __Pyx_GIVEREF(__pyx_cur_scope->__pyx_outer_scope); - { - __pyx_GeneratorObject *gen = __Pyx_Generator_New((__pyx_generator_body_t) __pyx_gb_6schema_9make_enum_2generator, (PyObject *) __pyx_cur_scope); if (unlikely(!gen)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 47; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_cur_scope); - __Pyx_RefNannyFinishContext(); - return (PyObject *) gen; - } - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_AddTraceback("schema.make_enum.genexpr", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_DECREF(((PyObject *)__pyx_cur_scope)); - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -static PyObject *__pyx_gb_6schema_9make_enum_2generator(__pyx_GeneratorObject *__pyx_generator, PyObject *__pyx_sent_value) /* generator body */ -{ - struct __pyx_obj_6schema___pyx_scope_struct_1_genexpr *__pyx_cur_scope = ((struct __pyx_obj_6schema___pyx_scope_struct_1_genexpr *)__pyx_generator->closure); - PyObject *__pyx_r = NULL; - PyObject *__pyx_t_1 = NULL; - Py_ssize_t __pyx_t_2; - Py_ssize_t __pyx_t_3; - int __pyx_t_4; - PyObject *__pyx_t_5 = NULL; - PyObject *__pyx_t_6 = NULL; - int __pyx_t_7; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("None", 0); - switch (__pyx_generator->resume_label) { - case 0: goto __pyx_L3_first_run; - case 1: goto __pyx_L6_resume_from_yield; - default: /* CPython raises the right error here */ - __Pyx_RefNannyFinishContext(); - return NULL; - } - __pyx_L3_first_run:; - if (unlikely(!__pyx_sent_value)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 47; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_t_2 = 0; - if (unlikely(!__pyx_cur_scope->__pyx_outer_scope->__pyx_v_enums)) { __Pyx_RaiseClosureNameError("enums"); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 47; __pyx_clineno = __LINE__; goto __pyx_L1_error;} } - if (unlikely(((PyObject *)__pyx_cur_scope->__pyx_outer_scope->__pyx_v_enums) == Py_None)) { - PyErr_Format(PyExc_AttributeError, "'NoneType' object has no attribute '%s'", "iteritems"); - {__pyx_filename = __pyx_f[0]; __pyx_lineno = 47; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - } - __pyx_t_5 = __Pyx_dict_iterator(((PyObject *)__pyx_cur_scope->__pyx_outer_scope->__pyx_v_enums), 1, ((PyObject *)__pyx_n_s__iteritems), (&__pyx_t_3), (&__pyx_t_4)); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 47; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_5); - __Pyx_XDECREF(__pyx_t_1); - __pyx_t_1 = __pyx_t_5; - __pyx_t_5 = 0; - while (1) { - __pyx_t_7 = __Pyx_dict_iter_next(__pyx_t_1, __pyx_t_3, &__pyx_t_2, &__pyx_t_5, &__pyx_t_6, NULL, __pyx_t_4); - if (unlikely(__pyx_t_7 == 0)) break; - if (unlikely(__pyx_t_7 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 47; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_5); - __Pyx_GOTREF(__pyx_t_6); - __Pyx_XGOTREF(__pyx_cur_scope->__pyx_v_key); - __Pyx_XDECREF(__pyx_cur_scope->__pyx_v_key); - __Pyx_GIVEREF(__pyx_t_5); - __pyx_cur_scope->__pyx_v_key = __pyx_t_5; - __pyx_t_5 = 0; - __Pyx_XGOTREF(__pyx_cur_scope->__pyx_v_value); - __Pyx_XDECREF(__pyx_cur_scope->__pyx_v_value); - __Pyx_GIVEREF(__pyx_t_6); - __pyx_cur_scope->__pyx_v_value = __pyx_t_6; - __pyx_t_6 = 0; - __pyx_t_6 = PyTuple_New(2); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 47; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_6); - __Pyx_INCREF(__pyx_cur_scope->__pyx_v_value); - PyTuple_SET_ITEM(__pyx_t_6, 0, __pyx_cur_scope->__pyx_v_value); - __Pyx_GIVEREF(__pyx_cur_scope->__pyx_v_value); - __Pyx_INCREF(__pyx_cur_scope->__pyx_v_key); - PyTuple_SET_ITEM(__pyx_t_6, 1, __pyx_cur_scope->__pyx_v_key); - __Pyx_GIVEREF(__pyx_cur_scope->__pyx_v_key); - __pyx_r = ((PyObject *)__pyx_t_6); - __pyx_t_6 = 0; - __Pyx_XGIVEREF(__pyx_t_1); - __pyx_cur_scope->__pyx_t_0 = __pyx_t_1; - __pyx_cur_scope->__pyx_t_1 = __pyx_t_2; - __pyx_cur_scope->__pyx_t_2 = __pyx_t_3; - __pyx_cur_scope->__pyx_t_3 = __pyx_t_4; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - /* return from generator, yielding value */ - __pyx_generator->resume_label = 1; - return __pyx_r; - __pyx_L6_resume_from_yield:; - __pyx_t_1 = __pyx_cur_scope->__pyx_t_0; - __pyx_cur_scope->__pyx_t_0 = 0; - __Pyx_XGOTREF(__pyx_t_1); - __pyx_t_2 = __pyx_cur_scope->__pyx_t_1; - __pyx_t_3 = __pyx_cur_scope->__pyx_t_2; - __pyx_t_4 = __pyx_cur_scope->__pyx_t_3; - if (unlikely(!__pyx_sent_value)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 47; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - } - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - PyErr_SetNone(PyExc_StopIteration); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_5); - __Pyx_XDECREF(__pyx_t_6); - __Pyx_AddTraceback("genexpr", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_L0:; - __Pyx_XDECREF(__pyx_r); - __pyx_generator->resume_label = -1; - __Pyx_Generator_clear((PyObject*)__pyx_generator); - __Pyx_RefNannyFinishContext(); - return NULL; -} - -/* "schema.pyx":45 - * T operator[](uint) - * uint size() - * def make_enum(enum_name, *sequential, **named): # <<<<<<<<<<<<<< - * enums = dict(zip(sequential, range(len(sequential))), **named) - * reverse = dict((value, key) for key, value in enums.iteritems()) - */ - -static PyObject *__pyx_pf_6schema_make_enum(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_enum_name, PyObject *__pyx_v_sequential, PyObject *__pyx_v_named) { - struct __pyx_obj_6schema___pyx_scope_struct__make_enum *__pyx_cur_scope; - PyObject *__pyx_v_reverse = NULL; - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - Py_ssize_t __pyx_t_1; - PyObject *__pyx_t_2 = NULL; - PyObject *__pyx_t_3 = NULL; - PyObject *__pyx_t_4 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("make_enum", 0); - __pyx_cur_scope = (struct __pyx_obj_6schema___pyx_scope_struct__make_enum *)__pyx_tp_new_6schema___pyx_scope_struct__make_enum(__pyx_ptype_6schema___pyx_scope_struct__make_enum, __pyx_empty_tuple, NULL); - if (unlikely(!__pyx_cur_scope)) { - __Pyx_RefNannyFinishContext(); - return NULL; - } - __Pyx_GOTREF(__pyx_cur_scope); - - /* "schema.pyx":46 - * uint size() - * def make_enum(enum_name, *sequential, **named): - * enums = dict(zip(sequential, range(len(sequential))), **named) # <<<<<<<<<<<<<< - * reverse = dict((value, key) for key, value in enums.iteritems()) - * enums['reverse_mapping'] = reverse - */ - __pyx_t_1 = PyTuple_GET_SIZE(((PyObject *)__pyx_v_sequential)); if (unlikely(__pyx_t_1 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 46; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_t_2 = PyInt_FromSsize_t(__pyx_t_1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 46; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 46; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_2); - __Pyx_GIVEREF(__pyx_t_2); - __pyx_t_2 = 0; - __pyx_t_2 = PyObject_Call(__pyx_builtin_range, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 46; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0; - __pyx_t_3 = PyTuple_New(2); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 46; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - __Pyx_INCREF(((PyObject *)__pyx_v_sequential)); - PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_v_sequential)); - __Pyx_GIVEREF(((PyObject *)__pyx_v_sequential)); - PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_t_2); - __Pyx_GIVEREF(__pyx_t_2); - __pyx_t_2 = 0; - __pyx_t_2 = PyObject_Call(__pyx_builtin_zip, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 46; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0; - __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 46; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_2); - __Pyx_GIVEREF(__pyx_t_2); - __pyx_t_2 = 0; - __pyx_t_2 = ((PyObject *)__pyx_v_named); - __Pyx_INCREF(__pyx_t_2); - __pyx_t_4 = PyObject_Call(((PyObject *)((PyObject*)(&PyDict_Type))), ((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 46; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_4); - __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0; - __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0; - if (!(likely(PyDict_CheckExact(__pyx_t_4))||((__pyx_t_4) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected dict, got %.200s", Py_TYPE(__pyx_t_4)->tp_name), 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 46; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GIVEREF(__pyx_t_4); - __pyx_cur_scope->__pyx_v_enums = ((PyObject*)__pyx_t_4); - __pyx_t_4 = 0; - - /* "schema.pyx":47 - * def make_enum(enum_name, *sequential, **named): - * enums = dict(zip(sequential, range(len(sequential))), **named) - * reverse = dict((value, key) for key, value in enums.iteritems()) # <<<<<<<<<<<<<< - * enums['reverse_mapping'] = reverse - * return type(enum_name, (), enums) - */ - __pyx_t_4 = __pyx_pf_6schema_9make_enum_genexpr(((PyObject*)__pyx_cur_scope)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 47; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_4); - __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 47; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_4); - __Pyx_GIVEREF(__pyx_t_4); - __pyx_t_4 = 0; - __pyx_t_4 = PyObject_Call(((PyObject *)((PyObject*)(&PyDict_Type))), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 47; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_4); - __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0; - __pyx_v_reverse = ((PyObject*)__pyx_t_4); - __pyx_t_4 = 0; - - /* "schema.pyx":48 - * enums = dict(zip(sequential, range(len(sequential))), **named) - * reverse = dict((value, key) for key, value in enums.iteritems()) - * enums['reverse_mapping'] = reverse # <<<<<<<<<<<<<< - * return type(enum_name, (), enums) - * cdef class _List_InterfaceNode_InterfaceNode_Method_Reader: - */ - if (unlikely(((PyObject *)__pyx_cur_scope->__pyx_v_enums) == Py_None)) { - PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); - {__pyx_filename = __pyx_f[0]; __pyx_lineno = 48; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - } - if (PyDict_SetItem(((PyObject *)__pyx_cur_scope->__pyx_v_enums), ((PyObject *)__pyx_n_s__reverse_mapping), ((PyObject *)__pyx_v_reverse)) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 48; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - - /* "schema.pyx":49 - * reverse = dict((value, key) for key, value in enums.iteritems()) - * enums['reverse_mapping'] = reverse - * return type(enum_name, (), enums) # <<<<<<<<<<<<<< - * cdef class _List_InterfaceNode_InterfaceNode_Method_Reader: - * cdef List[C_InterfaceNode.InterfaceNode.Method].Reader thisptr - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_4 = PyTuple_New(3); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 49; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_4); - __Pyx_INCREF(__pyx_v_enum_name); - PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_v_enum_name); - __Pyx_GIVEREF(__pyx_v_enum_name); - __Pyx_INCREF(((PyObject *)__pyx_empty_tuple)); - PyTuple_SET_ITEM(__pyx_t_4, 1, ((PyObject *)__pyx_empty_tuple)); - __Pyx_GIVEREF(((PyObject *)__pyx_empty_tuple)); - __Pyx_INCREF(((PyObject *)__pyx_cur_scope->__pyx_v_enums)); - PyTuple_SET_ITEM(__pyx_t_4, 2, ((PyObject *)__pyx_cur_scope->__pyx_v_enums)); - __Pyx_GIVEREF(((PyObject *)__pyx_cur_scope->__pyx_v_enums)); - __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)(&PyType_Type))), ((PyObject *)__pyx_t_4), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 49; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_2); - __Pyx_XDECREF(__pyx_t_3); - __Pyx_XDECREF(__pyx_t_4); - __Pyx_AddTraceback("schema.make_enum", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XDECREF(__pyx_v_reverse); - __Pyx_DECREF(((PyObject *)__pyx_cur_scope)); - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":52 - * cdef class _List_InterfaceNode_InterfaceNode_Method_Reader: - * cdef List[C_InterfaceNode.InterfaceNode.Method].Reader thisptr - * cdef init(self, List[C_InterfaceNode.InterfaceNode.Method].Reader other): # <<<<<<<<<<<<<< - * self.thisptr = other - * return self - */ - -static PyObject *__pyx_f_6schema_47_List_InterfaceNode_InterfaceNode_Method_Reader_init(struct __pyx_obj_6schema__List_InterfaceNode_InterfaceNode_Method_Reader *__pyx_v_self, ::capnp::List<::capnp::schema::InterfaceNode::Method>::Reader __pyx_v_other) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("init", 0); - - /* "schema.pyx":53 - * cdef List[C_InterfaceNode.InterfaceNode.Method].Reader thisptr - * cdef init(self, List[C_InterfaceNode.InterfaceNode.Method].Reader other): - * self.thisptr = other # <<<<<<<<<<<<<< - * return self - * def __getitem__(self, index): - */ - __pyx_v_self->thisptr = __pyx_v_other; - - /* "schema.pyx":54 - * cdef init(self, List[C_InterfaceNode.InterfaceNode.Method].Reader other): - * self.thisptr = other - * return self # <<<<<<<<<<<<<< - * def __getitem__(self, index): - * size = self.thisptr.size() - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(((PyObject *)__pyx_v_self)); - __pyx_r = ((PyObject *)__pyx_v_self); - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_47_List_InterfaceNode_InterfaceNode_Method_Reader_1__getitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_index); /*proto*/ -static PyObject *__pyx_pw_6schema_47_List_InterfaceNode_InterfaceNode_Method_Reader_1__getitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_index) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__getitem__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_47_List_InterfaceNode_InterfaceNode_Method_Reader___getitem__(((struct __pyx_obj_6schema__List_InterfaceNode_InterfaceNode_Method_Reader *)__pyx_v_self), ((PyObject *)__pyx_v_index)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":55 - * self.thisptr = other - * return self - * def __getitem__(self, index): # <<<<<<<<<<<<<< - * size = self.thisptr.size() - * if index >= size: - */ - -static PyObject *__pyx_pf_6schema_47_List_InterfaceNode_InterfaceNode_Method_Reader___getitem__(struct __pyx_obj_6schema__List_InterfaceNode_InterfaceNode_Method_Reader *__pyx_v_self, PyObject *__pyx_v_index) { - PyObject *__pyx_v_size = NULL; - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_t_2; - unsigned int __pyx_t_3; - PyObject *__pyx_t_4 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__getitem__", 0); - __Pyx_INCREF(__pyx_v_index); - - /* "schema.pyx":56 - * return self - * def __getitem__(self, index): - * size = self.thisptr.size() # <<<<<<<<<<<<<< - * if index >= size: - * raise IndexError('Out of bounds') - */ - __pyx_t_1 = PyLong_FromUnsignedLong(__pyx_v_self->thisptr.size()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 56; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_v_size = __pyx_t_1; - __pyx_t_1 = 0; - - /* "schema.pyx":57 - * def __getitem__(self, index): - * size = self.thisptr.size() - * if index >= size: # <<<<<<<<<<<<<< - * raise IndexError('Out of bounds') - * index = index % size - */ - __pyx_t_1 = PyObject_RichCompare(__pyx_v_index, __pyx_v_size, Py_GE); __Pyx_XGOTREF(__pyx_t_1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 57; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 57; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - if (__pyx_t_2) { - - /* "schema.pyx":58 - * size = self.thisptr.size() - * if index >= size: - * raise IndexError('Out of bounds') # <<<<<<<<<<<<<< - * index = index % size - * return _InterfaceNode_MethodReader().init(self.thisptr[index]) - */ - __pyx_t_1 = PyObject_Call(__pyx_builtin_IndexError, ((PyObject *)__pyx_k_tuple_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 58; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __Pyx_Raise(__pyx_t_1, 0, 0, 0); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - {__pyx_filename = __pyx_f[0]; __pyx_lineno = 58; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - goto __pyx_L3; - } - __pyx_L3:; - - /* "schema.pyx":59 - * if index >= size: - * raise IndexError('Out of bounds') - * index = index % size # <<<<<<<<<<<<<< - * return _InterfaceNode_MethodReader().init(self.thisptr[index]) - * - */ - __pyx_t_1 = PyNumber_Remainder(__pyx_v_index, __pyx_v_size); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 59; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __Pyx_DECREF(__pyx_v_index); - __pyx_v_index = __pyx_t_1; - __pyx_t_1 = 0; - - /* "schema.pyx":60 - * raise IndexError('Out of bounds') - * index = index % size - * return _InterfaceNode_MethodReader().init(self.thisptr[index]) # <<<<<<<<<<<<<< - * - * def __len__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__InterfaceNode_MethodReader)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 60; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_3 = __Pyx_PyInt_AsUnsignedInt(__pyx_v_index); if (unlikely((__pyx_t_3 == (unsigned int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 60; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_t_4 = ((struct __pyx_vtabstruct_6schema__InterfaceNode_MethodReader *)((struct __pyx_obj_6schema__InterfaceNode_MethodReader *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__InterfaceNode_MethodReader *)__pyx_t_1), ((::capnp::schema::InterfaceNode::Method::Reader)(__pyx_v_self->thisptr[__pyx_t_3]))); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 60; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_4); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_4; - __pyx_t_4 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_4); - __Pyx_AddTraceback("schema._List_InterfaceNode_InterfaceNode_Method_Reader.__getitem__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XDECREF(__pyx_v_size); - __Pyx_XDECREF(__pyx_v_index); - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static Py_ssize_t __pyx_pw_6schema_47_List_InterfaceNode_InterfaceNode_Method_Reader_3__len__(PyObject *__pyx_v_self); /*proto*/ -static Py_ssize_t __pyx_pw_6schema_47_List_InterfaceNode_InterfaceNode_Method_Reader_3__len__(PyObject *__pyx_v_self) { - Py_ssize_t __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__len__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_47_List_InterfaceNode_InterfaceNode_Method_Reader_2__len__(((struct __pyx_obj_6schema__List_InterfaceNode_InterfaceNode_Method_Reader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":62 - * return _InterfaceNode_MethodReader().init(self.thisptr[index]) - * - * def __len__(self): # <<<<<<<<<<<<<< - * return self.thisptr.size() - * cdef class _List_InterfaceNode_InterfaceNode_Method_Builder: - */ - -static Py_ssize_t __pyx_pf_6schema_47_List_InterfaceNode_InterfaceNode_Method_Reader_2__len__(struct __pyx_obj_6schema__List_InterfaceNode_InterfaceNode_Method_Reader *__pyx_v_self) { - Py_ssize_t __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__len__", 0); - - /* "schema.pyx":63 - * - * def __len__(self): - * return self.thisptr.size() # <<<<<<<<<<<<<< - * cdef class _List_InterfaceNode_InterfaceNode_Method_Builder: - * cdef List[C_InterfaceNode.InterfaceNode.Method].Builder thisptr - */ - __pyx_r = __pyx_v_self->thisptr.size(); - goto __pyx_L0; - - __pyx_r = 0; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":66 - * cdef class _List_InterfaceNode_InterfaceNode_Method_Builder: - * cdef List[C_InterfaceNode.InterfaceNode.Method].Builder thisptr - * cdef init(self, List[C_InterfaceNode.InterfaceNode.Method].Builder other): # <<<<<<<<<<<<<< - * self.thisptr = other - * return self - */ - -static PyObject *__pyx_f_6schema_48_List_InterfaceNode_InterfaceNode_Method_Builder_init(struct __pyx_obj_6schema__List_InterfaceNode_InterfaceNode_Method_Builder *__pyx_v_self, ::capnp::List<::capnp::schema::InterfaceNode::Method>::Builder __pyx_v_other) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("init", 0); - - /* "schema.pyx":67 - * cdef List[C_InterfaceNode.InterfaceNode.Method].Builder thisptr - * cdef init(self, List[C_InterfaceNode.InterfaceNode.Method].Builder other): - * self.thisptr = other # <<<<<<<<<<<<<< - * return self - * def __getitem__(self, index): - */ - __pyx_v_self->thisptr = __pyx_v_other; - - /* "schema.pyx":68 - * cdef init(self, List[C_InterfaceNode.InterfaceNode.Method].Builder other): - * self.thisptr = other - * return self # <<<<<<<<<<<<<< - * def __getitem__(self, index): - * size = self.thisptr.size() - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(((PyObject *)__pyx_v_self)); - __pyx_r = ((PyObject *)__pyx_v_self); - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_48_List_InterfaceNode_InterfaceNode_Method_Builder_1__getitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_index); /*proto*/ -static PyObject *__pyx_pw_6schema_48_List_InterfaceNode_InterfaceNode_Method_Builder_1__getitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_index) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__getitem__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_48_List_InterfaceNode_InterfaceNode_Method_Builder___getitem__(((struct __pyx_obj_6schema__List_InterfaceNode_InterfaceNode_Method_Builder *)__pyx_v_self), ((PyObject *)__pyx_v_index)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":69 - * self.thisptr = other - * return self - * def __getitem__(self, index): # <<<<<<<<<<<<<< - * size = self.thisptr.size() - * if index >= size: - */ - -static PyObject *__pyx_pf_6schema_48_List_InterfaceNode_InterfaceNode_Method_Builder___getitem__(struct __pyx_obj_6schema__List_InterfaceNode_InterfaceNode_Method_Builder *__pyx_v_self, PyObject *__pyx_v_index) { - PyObject *__pyx_v_size = NULL; - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_t_2; - unsigned int __pyx_t_3; - PyObject *__pyx_t_4 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__getitem__", 0); - __Pyx_INCREF(__pyx_v_index); - - /* "schema.pyx":70 - * return self - * def __getitem__(self, index): - * size = self.thisptr.size() # <<<<<<<<<<<<<< - * if index >= size: - * raise IndexError('Out of bounds') - */ - __pyx_t_1 = PyLong_FromUnsignedLong(__pyx_v_self->thisptr.size()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 70; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_v_size = __pyx_t_1; - __pyx_t_1 = 0; - - /* "schema.pyx":71 - * def __getitem__(self, index): - * size = self.thisptr.size() - * if index >= size: # <<<<<<<<<<<<<< - * raise IndexError('Out of bounds') - * index = index % size - */ - __pyx_t_1 = PyObject_RichCompare(__pyx_v_index, __pyx_v_size, Py_GE); __Pyx_XGOTREF(__pyx_t_1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 71; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 71; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - if (__pyx_t_2) { - - /* "schema.pyx":72 - * size = self.thisptr.size() - * if index >= size: - * raise IndexError('Out of bounds') # <<<<<<<<<<<<<< - * index = index % size - * return _InterfaceNode_MethodBuilder().init(self.thisptr[index]) - */ - __pyx_t_1 = PyObject_Call(__pyx_builtin_IndexError, ((PyObject *)__pyx_k_tuple_3), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 72; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __Pyx_Raise(__pyx_t_1, 0, 0, 0); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - {__pyx_filename = __pyx_f[0]; __pyx_lineno = 72; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - goto __pyx_L3; - } - __pyx_L3:; - - /* "schema.pyx":73 - * if index >= size: - * raise IndexError('Out of bounds') - * index = index % size # <<<<<<<<<<<<<< - * return _InterfaceNode_MethodBuilder().init(self.thisptr[index]) - * def __len__(self): - */ - __pyx_t_1 = PyNumber_Remainder(__pyx_v_index, __pyx_v_size); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 73; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __Pyx_DECREF(__pyx_v_index); - __pyx_v_index = __pyx_t_1; - __pyx_t_1 = 0; - - /* "schema.pyx":74 - * raise IndexError('Out of bounds') - * index = index % size - * return _InterfaceNode_MethodBuilder().init(self.thisptr[index]) # <<<<<<<<<<<<<< - * def __len__(self): - * return self.thisptr.size() - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__InterfaceNode_MethodBuilder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 74; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_3 = __Pyx_PyInt_AsUnsignedInt(__pyx_v_index); if (unlikely((__pyx_t_3 == (unsigned int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 74; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_t_4 = ((struct __pyx_vtabstruct_6schema__InterfaceNode_MethodBuilder *)((struct __pyx_obj_6schema__InterfaceNode_MethodBuilder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__InterfaceNode_MethodBuilder *)__pyx_t_1), ((::capnp::schema::InterfaceNode::Method::Builder)(__pyx_v_self->thisptr[__pyx_t_3]))); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 74; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_4); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_4; - __pyx_t_4 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_4); - __Pyx_AddTraceback("schema._List_InterfaceNode_InterfaceNode_Method_Builder.__getitem__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XDECREF(__pyx_v_size); - __Pyx_XDECREF(__pyx_v_index); - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static Py_ssize_t __pyx_pw_6schema_48_List_InterfaceNode_InterfaceNode_Method_Builder_3__len__(PyObject *__pyx_v_self); /*proto*/ -static Py_ssize_t __pyx_pw_6schema_48_List_InterfaceNode_InterfaceNode_Method_Builder_3__len__(PyObject *__pyx_v_self) { - Py_ssize_t __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__len__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_48_List_InterfaceNode_InterfaceNode_Method_Builder_2__len__(((struct __pyx_obj_6schema__List_InterfaceNode_InterfaceNode_Method_Builder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":75 - * index = index % size - * return _InterfaceNode_MethodBuilder().init(self.thisptr[index]) - * def __len__(self): # <<<<<<<<<<<<<< - * return self.thisptr.size() - * cdef class _List_EnumNode_EnumNode_Enumerant_Reader: - */ - -static Py_ssize_t __pyx_pf_6schema_48_List_InterfaceNode_InterfaceNode_Method_Builder_2__len__(struct __pyx_obj_6schema__List_InterfaceNode_InterfaceNode_Method_Builder *__pyx_v_self) { - Py_ssize_t __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__len__", 0); - - /* "schema.pyx":76 - * return _InterfaceNode_MethodBuilder().init(self.thisptr[index]) - * def __len__(self): - * return self.thisptr.size() # <<<<<<<<<<<<<< - * cdef class _List_EnumNode_EnumNode_Enumerant_Reader: - * cdef List[C_EnumNode.EnumNode.Enumerant].Reader thisptr - */ - __pyx_r = __pyx_v_self->thisptr.size(); - goto __pyx_L0; - - __pyx_r = 0; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":79 - * cdef class _List_EnumNode_EnumNode_Enumerant_Reader: - * cdef List[C_EnumNode.EnumNode.Enumerant].Reader thisptr - * cdef init(self, List[C_EnumNode.EnumNode.Enumerant].Reader other): # <<<<<<<<<<<<<< - * self.thisptr = other - * return self - */ - -static PyObject *__pyx_f_6schema_40_List_EnumNode_EnumNode_Enumerant_Reader_init(struct __pyx_obj_6schema__List_EnumNode_EnumNode_Enumerant_Reader *__pyx_v_self, ::capnp::List<::capnp::schema::EnumNode::Enumerant>::Reader __pyx_v_other) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("init", 0); - - /* "schema.pyx":80 - * cdef List[C_EnumNode.EnumNode.Enumerant].Reader thisptr - * cdef init(self, List[C_EnumNode.EnumNode.Enumerant].Reader other): - * self.thisptr = other # <<<<<<<<<<<<<< - * return self - * def __getitem__(self, index): - */ - __pyx_v_self->thisptr = __pyx_v_other; - - /* "schema.pyx":81 - * cdef init(self, List[C_EnumNode.EnumNode.Enumerant].Reader other): - * self.thisptr = other - * return self # <<<<<<<<<<<<<< - * def __getitem__(self, index): - * size = self.thisptr.size() - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(((PyObject *)__pyx_v_self)); - __pyx_r = ((PyObject *)__pyx_v_self); - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_40_List_EnumNode_EnumNode_Enumerant_Reader_1__getitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_index); /*proto*/ -static PyObject *__pyx_pw_6schema_40_List_EnumNode_EnumNode_Enumerant_Reader_1__getitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_index) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__getitem__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_40_List_EnumNode_EnumNode_Enumerant_Reader___getitem__(((struct __pyx_obj_6schema__List_EnumNode_EnumNode_Enumerant_Reader *)__pyx_v_self), ((PyObject *)__pyx_v_index)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":82 - * self.thisptr = other - * return self - * def __getitem__(self, index): # <<<<<<<<<<<<<< - * size = self.thisptr.size() - * if index >= size: - */ - -static PyObject *__pyx_pf_6schema_40_List_EnumNode_EnumNode_Enumerant_Reader___getitem__(struct __pyx_obj_6schema__List_EnumNode_EnumNode_Enumerant_Reader *__pyx_v_self, PyObject *__pyx_v_index) { - PyObject *__pyx_v_size = NULL; - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_t_2; - unsigned int __pyx_t_3; - PyObject *__pyx_t_4 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__getitem__", 0); - __Pyx_INCREF(__pyx_v_index); - - /* "schema.pyx":83 - * return self - * def __getitem__(self, index): - * size = self.thisptr.size() # <<<<<<<<<<<<<< - * if index >= size: - * raise IndexError('Out of bounds') - */ - __pyx_t_1 = PyLong_FromUnsignedLong(__pyx_v_self->thisptr.size()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 83; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_v_size = __pyx_t_1; - __pyx_t_1 = 0; - - /* "schema.pyx":84 - * def __getitem__(self, index): - * size = self.thisptr.size() - * if index >= size: # <<<<<<<<<<<<<< - * raise IndexError('Out of bounds') - * index = index % size - */ - __pyx_t_1 = PyObject_RichCompare(__pyx_v_index, __pyx_v_size, Py_GE); __Pyx_XGOTREF(__pyx_t_1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 84; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 84; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - if (__pyx_t_2) { - - /* "schema.pyx":85 - * size = self.thisptr.size() - * if index >= size: - * raise IndexError('Out of bounds') # <<<<<<<<<<<<<< - * index = index % size - * return _EnumNode_EnumerantReader().init(self.thisptr[index]) - */ - __pyx_t_1 = PyObject_Call(__pyx_builtin_IndexError, ((PyObject *)__pyx_k_tuple_4), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 85; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __Pyx_Raise(__pyx_t_1, 0, 0, 0); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - {__pyx_filename = __pyx_f[0]; __pyx_lineno = 85; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - goto __pyx_L3; - } - __pyx_L3:; - - /* "schema.pyx":86 - * if index >= size: - * raise IndexError('Out of bounds') - * index = index % size # <<<<<<<<<<<<<< - * return _EnumNode_EnumerantReader().init(self.thisptr[index]) - * - */ - __pyx_t_1 = PyNumber_Remainder(__pyx_v_index, __pyx_v_size); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 86; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __Pyx_DECREF(__pyx_v_index); - __pyx_v_index = __pyx_t_1; - __pyx_t_1 = 0; - - /* "schema.pyx":87 - * raise IndexError('Out of bounds') - * index = index % size - * return _EnumNode_EnumerantReader().init(self.thisptr[index]) # <<<<<<<<<<<<<< - * - * def __len__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__EnumNode_EnumerantReader)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 87; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_3 = __Pyx_PyInt_AsUnsignedInt(__pyx_v_index); if (unlikely((__pyx_t_3 == (unsigned int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 87; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_t_4 = ((struct __pyx_vtabstruct_6schema__EnumNode_EnumerantReader *)((struct __pyx_obj_6schema__EnumNode_EnumerantReader *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__EnumNode_EnumerantReader *)__pyx_t_1), ((::capnp::schema::EnumNode::Enumerant::Reader)(__pyx_v_self->thisptr[__pyx_t_3]))); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 87; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_4); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_4; - __pyx_t_4 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_4); - __Pyx_AddTraceback("schema._List_EnumNode_EnumNode_Enumerant_Reader.__getitem__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XDECREF(__pyx_v_size); - __Pyx_XDECREF(__pyx_v_index); - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static Py_ssize_t __pyx_pw_6schema_40_List_EnumNode_EnumNode_Enumerant_Reader_3__len__(PyObject *__pyx_v_self); /*proto*/ -static Py_ssize_t __pyx_pw_6schema_40_List_EnumNode_EnumNode_Enumerant_Reader_3__len__(PyObject *__pyx_v_self) { - Py_ssize_t __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__len__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_40_List_EnumNode_EnumNode_Enumerant_Reader_2__len__(((struct __pyx_obj_6schema__List_EnumNode_EnumNode_Enumerant_Reader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":89 - * return _EnumNode_EnumerantReader().init(self.thisptr[index]) - * - * def __len__(self): # <<<<<<<<<<<<<< - * return self.thisptr.size() - * cdef class _List_EnumNode_EnumNode_Enumerant_Builder: - */ - -static Py_ssize_t __pyx_pf_6schema_40_List_EnumNode_EnumNode_Enumerant_Reader_2__len__(struct __pyx_obj_6schema__List_EnumNode_EnumNode_Enumerant_Reader *__pyx_v_self) { - Py_ssize_t __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__len__", 0); - - /* "schema.pyx":90 - * - * def __len__(self): - * return self.thisptr.size() # <<<<<<<<<<<<<< - * cdef class _List_EnumNode_EnumNode_Enumerant_Builder: - * cdef List[C_EnumNode.EnumNode.Enumerant].Builder thisptr - */ - __pyx_r = __pyx_v_self->thisptr.size(); - goto __pyx_L0; - - __pyx_r = 0; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":93 - * cdef class _List_EnumNode_EnumNode_Enumerant_Builder: - * cdef List[C_EnumNode.EnumNode.Enumerant].Builder thisptr - * cdef init(self, List[C_EnumNode.EnumNode.Enumerant].Builder other): # <<<<<<<<<<<<<< - * self.thisptr = other - * return self - */ - -static PyObject *__pyx_f_6schema_41_List_EnumNode_EnumNode_Enumerant_Builder_init(struct __pyx_obj_6schema__List_EnumNode_EnumNode_Enumerant_Builder *__pyx_v_self, ::capnp::List<::capnp::schema::EnumNode::Enumerant>::Builder __pyx_v_other) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("init", 0); - - /* "schema.pyx":94 - * cdef List[C_EnumNode.EnumNode.Enumerant].Builder thisptr - * cdef init(self, List[C_EnumNode.EnumNode.Enumerant].Builder other): - * self.thisptr = other # <<<<<<<<<<<<<< - * return self - * def __getitem__(self, index): - */ - __pyx_v_self->thisptr = __pyx_v_other; - - /* "schema.pyx":95 - * cdef init(self, List[C_EnumNode.EnumNode.Enumerant].Builder other): - * self.thisptr = other - * return self # <<<<<<<<<<<<<< - * def __getitem__(self, index): - * size = self.thisptr.size() - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(((PyObject *)__pyx_v_self)); - __pyx_r = ((PyObject *)__pyx_v_self); - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_41_List_EnumNode_EnumNode_Enumerant_Builder_1__getitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_index); /*proto*/ -static PyObject *__pyx_pw_6schema_41_List_EnumNode_EnumNode_Enumerant_Builder_1__getitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_index) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__getitem__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_41_List_EnumNode_EnumNode_Enumerant_Builder___getitem__(((struct __pyx_obj_6schema__List_EnumNode_EnumNode_Enumerant_Builder *)__pyx_v_self), ((PyObject *)__pyx_v_index)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":96 - * self.thisptr = other - * return self - * def __getitem__(self, index): # <<<<<<<<<<<<<< - * size = self.thisptr.size() - * if index >= size: - */ - -static PyObject *__pyx_pf_6schema_41_List_EnumNode_EnumNode_Enumerant_Builder___getitem__(struct __pyx_obj_6schema__List_EnumNode_EnumNode_Enumerant_Builder *__pyx_v_self, PyObject *__pyx_v_index) { - PyObject *__pyx_v_size = NULL; - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_t_2; - unsigned int __pyx_t_3; - PyObject *__pyx_t_4 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__getitem__", 0); - __Pyx_INCREF(__pyx_v_index); - - /* "schema.pyx":97 - * return self - * def __getitem__(self, index): - * size = self.thisptr.size() # <<<<<<<<<<<<<< - * if index >= size: - * raise IndexError('Out of bounds') - */ - __pyx_t_1 = PyLong_FromUnsignedLong(__pyx_v_self->thisptr.size()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 97; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_v_size = __pyx_t_1; - __pyx_t_1 = 0; - - /* "schema.pyx":98 - * def __getitem__(self, index): - * size = self.thisptr.size() - * if index >= size: # <<<<<<<<<<<<<< - * raise IndexError('Out of bounds') - * index = index % size - */ - __pyx_t_1 = PyObject_RichCompare(__pyx_v_index, __pyx_v_size, Py_GE); __Pyx_XGOTREF(__pyx_t_1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 98; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 98; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - if (__pyx_t_2) { - - /* "schema.pyx":99 - * size = self.thisptr.size() - * if index >= size: - * raise IndexError('Out of bounds') # <<<<<<<<<<<<<< - * index = index % size - * return _EnumNode_EnumerantBuilder().init(self.thisptr[index]) - */ - __pyx_t_1 = PyObject_Call(__pyx_builtin_IndexError, ((PyObject *)__pyx_k_tuple_5), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 99; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __Pyx_Raise(__pyx_t_1, 0, 0, 0); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - {__pyx_filename = __pyx_f[0]; __pyx_lineno = 99; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - goto __pyx_L3; - } - __pyx_L3:; - - /* "schema.pyx":100 - * if index >= size: - * raise IndexError('Out of bounds') - * index = index % size # <<<<<<<<<<<<<< - * return _EnumNode_EnumerantBuilder().init(self.thisptr[index]) - * def __len__(self): - */ - __pyx_t_1 = PyNumber_Remainder(__pyx_v_index, __pyx_v_size); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 100; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __Pyx_DECREF(__pyx_v_index); - __pyx_v_index = __pyx_t_1; - __pyx_t_1 = 0; - - /* "schema.pyx":101 - * raise IndexError('Out of bounds') - * index = index % size - * return _EnumNode_EnumerantBuilder().init(self.thisptr[index]) # <<<<<<<<<<<<<< - * def __len__(self): - * return self.thisptr.size() - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__EnumNode_EnumerantBuilder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 101; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_3 = __Pyx_PyInt_AsUnsignedInt(__pyx_v_index); if (unlikely((__pyx_t_3 == (unsigned int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 101; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_t_4 = ((struct __pyx_vtabstruct_6schema__EnumNode_EnumerantBuilder *)((struct __pyx_obj_6schema__EnumNode_EnumerantBuilder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__EnumNode_EnumerantBuilder *)__pyx_t_1), ((::capnp::schema::EnumNode::Enumerant::Builder)(__pyx_v_self->thisptr[__pyx_t_3]))); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 101; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_4); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_4; - __pyx_t_4 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_4); - __Pyx_AddTraceback("schema._List_EnumNode_EnumNode_Enumerant_Builder.__getitem__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XDECREF(__pyx_v_size); - __Pyx_XDECREF(__pyx_v_index); - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static Py_ssize_t __pyx_pw_6schema_41_List_EnumNode_EnumNode_Enumerant_Builder_3__len__(PyObject *__pyx_v_self); /*proto*/ -static Py_ssize_t __pyx_pw_6schema_41_List_EnumNode_EnumNode_Enumerant_Builder_3__len__(PyObject *__pyx_v_self) { - Py_ssize_t __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__len__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_41_List_EnumNode_EnumNode_Enumerant_Builder_2__len__(((struct __pyx_obj_6schema__List_EnumNode_EnumNode_Enumerant_Builder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":102 - * index = index % size - * return _EnumNode_EnumerantBuilder().init(self.thisptr[index]) - * def __len__(self): # <<<<<<<<<<<<<< - * return self.thisptr.size() - * cdef class _List_StructNode_Union_StructNode_Member_Reader: - */ - -static Py_ssize_t __pyx_pf_6schema_41_List_EnumNode_EnumNode_Enumerant_Builder_2__len__(struct __pyx_obj_6schema__List_EnumNode_EnumNode_Enumerant_Builder *__pyx_v_self) { - Py_ssize_t __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__len__", 0); - - /* "schema.pyx":103 - * return _EnumNode_EnumerantBuilder().init(self.thisptr[index]) - * def __len__(self): - * return self.thisptr.size() # <<<<<<<<<<<<<< - * cdef class _List_StructNode_Union_StructNode_Member_Reader: - * cdef List[C_StructNode.Union.StructNode.Member].Reader thisptr - */ - __pyx_r = __pyx_v_self->thisptr.size(); - goto __pyx_L0; - - __pyx_r = 0; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":106 - * cdef class _List_StructNode_Union_StructNode_Member_Reader: - * cdef List[C_StructNode.Union.StructNode.Member].Reader thisptr - * cdef init(self, List[C_StructNode.Union.StructNode.Member].Reader other): # <<<<<<<<<<<<<< - * self.thisptr = other - * return self - */ - -static PyObject *__pyx_f_6schema_47_List_StructNode_Union_StructNode_Member_Reader_init(struct __pyx_obj_6schema__List_StructNode_Union_StructNode_Member_Reader *__pyx_v_self, ::capnp::List<::capnp::schema::StructNode::Member>::Reader __pyx_v_other) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("init", 0); - - /* "schema.pyx":107 - * cdef List[C_StructNode.Union.StructNode.Member].Reader thisptr - * cdef init(self, List[C_StructNode.Union.StructNode.Member].Reader other): - * self.thisptr = other # <<<<<<<<<<<<<< - * return self - * def __getitem__(self, index): - */ - __pyx_v_self->thisptr = __pyx_v_other; - - /* "schema.pyx":108 - * cdef init(self, List[C_StructNode.Union.StructNode.Member].Reader other): - * self.thisptr = other - * return self # <<<<<<<<<<<<<< - * def __getitem__(self, index): - * size = self.thisptr.size() - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(((PyObject *)__pyx_v_self)); - __pyx_r = ((PyObject *)__pyx_v_self); - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_47_List_StructNode_Union_StructNode_Member_Reader_1__getitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_index); /*proto*/ -static PyObject *__pyx_pw_6schema_47_List_StructNode_Union_StructNode_Member_Reader_1__getitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_index) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__getitem__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_47_List_StructNode_Union_StructNode_Member_Reader___getitem__(((struct __pyx_obj_6schema__List_StructNode_Union_StructNode_Member_Reader *)__pyx_v_self), ((PyObject *)__pyx_v_index)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":109 - * self.thisptr = other - * return self - * def __getitem__(self, index): # <<<<<<<<<<<<<< - * size = self.thisptr.size() - * if index >= size: - */ - -static PyObject *__pyx_pf_6schema_47_List_StructNode_Union_StructNode_Member_Reader___getitem__(struct __pyx_obj_6schema__List_StructNode_Union_StructNode_Member_Reader *__pyx_v_self, PyObject *__pyx_v_index) { - PyObject *__pyx_v_size = NULL; - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_t_2; - unsigned int __pyx_t_3; - PyObject *__pyx_t_4 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__getitem__", 0); - __Pyx_INCREF(__pyx_v_index); - - /* "schema.pyx":110 - * return self - * def __getitem__(self, index): - * size = self.thisptr.size() # <<<<<<<<<<<<<< - * if index >= size: - * raise IndexError('Out of bounds') - */ - __pyx_t_1 = PyLong_FromUnsignedLong(__pyx_v_self->thisptr.size()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 110; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_v_size = __pyx_t_1; - __pyx_t_1 = 0; - - /* "schema.pyx":111 - * def __getitem__(self, index): - * size = self.thisptr.size() - * if index >= size: # <<<<<<<<<<<<<< - * raise IndexError('Out of bounds') - * index = index % size - */ - __pyx_t_1 = PyObject_RichCompare(__pyx_v_index, __pyx_v_size, Py_GE); __Pyx_XGOTREF(__pyx_t_1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 111; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 111; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - if (__pyx_t_2) { - - /* "schema.pyx":112 - * size = self.thisptr.size() - * if index >= size: - * raise IndexError('Out of bounds') # <<<<<<<<<<<<<< - * index = index % size - * return _StructNode_MemberReader().init(self.thisptr[index]) - */ - __pyx_t_1 = PyObject_Call(__pyx_builtin_IndexError, ((PyObject *)__pyx_k_tuple_6), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 112; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __Pyx_Raise(__pyx_t_1, 0, 0, 0); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - {__pyx_filename = __pyx_f[0]; __pyx_lineno = 112; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - goto __pyx_L3; - } - __pyx_L3:; - - /* "schema.pyx":113 - * if index >= size: - * raise IndexError('Out of bounds') - * index = index % size # <<<<<<<<<<<<<< - * return _StructNode_MemberReader().init(self.thisptr[index]) - * - */ - __pyx_t_1 = PyNumber_Remainder(__pyx_v_index, __pyx_v_size); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 113; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __Pyx_DECREF(__pyx_v_index); - __pyx_v_index = __pyx_t_1; - __pyx_t_1 = 0; - - /* "schema.pyx":114 - * raise IndexError('Out of bounds') - * index = index % size - * return _StructNode_MemberReader().init(self.thisptr[index]) # <<<<<<<<<<<<<< - * - * def __len__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__StructNode_MemberReader)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 114; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_3 = __Pyx_PyInt_AsUnsignedInt(__pyx_v_index); if (unlikely((__pyx_t_3 == (unsigned int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 114; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_t_4 = ((struct __pyx_vtabstruct_6schema__StructNode_MemberReader *)((struct __pyx_obj_6schema__StructNode_MemberReader *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__StructNode_MemberReader *)__pyx_t_1), ((::capnp::schema::StructNode::Member::Reader)(__pyx_v_self->thisptr[__pyx_t_3]))); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 114; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_4); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_4; - __pyx_t_4 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_4); - __Pyx_AddTraceback("schema._List_StructNode_Union_StructNode_Member_Reader.__getitem__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XDECREF(__pyx_v_size); - __Pyx_XDECREF(__pyx_v_index); - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static Py_ssize_t __pyx_pw_6schema_47_List_StructNode_Union_StructNode_Member_Reader_3__len__(PyObject *__pyx_v_self); /*proto*/ -static Py_ssize_t __pyx_pw_6schema_47_List_StructNode_Union_StructNode_Member_Reader_3__len__(PyObject *__pyx_v_self) { - Py_ssize_t __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__len__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_47_List_StructNode_Union_StructNode_Member_Reader_2__len__(((struct __pyx_obj_6schema__List_StructNode_Union_StructNode_Member_Reader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":116 - * return _StructNode_MemberReader().init(self.thisptr[index]) - * - * def __len__(self): # <<<<<<<<<<<<<< - * return self.thisptr.size() - * cdef class _List_StructNode_Union_StructNode_Member_Builder: - */ - -static Py_ssize_t __pyx_pf_6schema_47_List_StructNode_Union_StructNode_Member_Reader_2__len__(struct __pyx_obj_6schema__List_StructNode_Union_StructNode_Member_Reader *__pyx_v_self) { - Py_ssize_t __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__len__", 0); - - /* "schema.pyx":117 - * - * def __len__(self): - * return self.thisptr.size() # <<<<<<<<<<<<<< - * cdef class _List_StructNode_Union_StructNode_Member_Builder: - * cdef List[C_StructNode.Union.StructNode.Member].Builder thisptr - */ - __pyx_r = __pyx_v_self->thisptr.size(); - goto __pyx_L0; - - __pyx_r = 0; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":120 - * cdef class _List_StructNode_Union_StructNode_Member_Builder: - * cdef List[C_StructNode.Union.StructNode.Member].Builder thisptr - * cdef init(self, List[C_StructNode.Union.StructNode.Member].Builder other): # <<<<<<<<<<<<<< - * self.thisptr = other - * return self - */ - -static PyObject *__pyx_f_6schema_48_List_StructNode_Union_StructNode_Member_Builder_init(struct __pyx_obj_6schema__List_StructNode_Union_StructNode_Member_Builder *__pyx_v_self, ::capnp::List<::capnp::schema::StructNode::Member>::Builder __pyx_v_other) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("init", 0); - - /* "schema.pyx":121 - * cdef List[C_StructNode.Union.StructNode.Member].Builder thisptr - * cdef init(self, List[C_StructNode.Union.StructNode.Member].Builder other): - * self.thisptr = other # <<<<<<<<<<<<<< - * return self - * def __getitem__(self, index): - */ - __pyx_v_self->thisptr = __pyx_v_other; - - /* "schema.pyx":122 - * cdef init(self, List[C_StructNode.Union.StructNode.Member].Builder other): - * self.thisptr = other - * return self # <<<<<<<<<<<<<< - * def __getitem__(self, index): - * size = self.thisptr.size() - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(((PyObject *)__pyx_v_self)); - __pyx_r = ((PyObject *)__pyx_v_self); - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_48_List_StructNode_Union_StructNode_Member_Builder_1__getitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_index); /*proto*/ -static PyObject *__pyx_pw_6schema_48_List_StructNode_Union_StructNode_Member_Builder_1__getitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_index) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__getitem__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_48_List_StructNode_Union_StructNode_Member_Builder___getitem__(((struct __pyx_obj_6schema__List_StructNode_Union_StructNode_Member_Builder *)__pyx_v_self), ((PyObject *)__pyx_v_index)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":123 - * self.thisptr = other - * return self - * def __getitem__(self, index): # <<<<<<<<<<<<<< - * size = self.thisptr.size() - * if index >= size: - */ - -static PyObject *__pyx_pf_6schema_48_List_StructNode_Union_StructNode_Member_Builder___getitem__(struct __pyx_obj_6schema__List_StructNode_Union_StructNode_Member_Builder *__pyx_v_self, PyObject *__pyx_v_index) { - PyObject *__pyx_v_size = NULL; - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_t_2; - unsigned int __pyx_t_3; - PyObject *__pyx_t_4 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__getitem__", 0); - __Pyx_INCREF(__pyx_v_index); - - /* "schema.pyx":124 - * return self - * def __getitem__(self, index): - * size = self.thisptr.size() # <<<<<<<<<<<<<< - * if index >= size: - * raise IndexError('Out of bounds') - */ - __pyx_t_1 = PyLong_FromUnsignedLong(__pyx_v_self->thisptr.size()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 124; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_v_size = __pyx_t_1; - __pyx_t_1 = 0; - - /* "schema.pyx":125 - * def __getitem__(self, index): - * size = self.thisptr.size() - * if index >= size: # <<<<<<<<<<<<<< - * raise IndexError('Out of bounds') - * index = index % size - */ - __pyx_t_1 = PyObject_RichCompare(__pyx_v_index, __pyx_v_size, Py_GE); __Pyx_XGOTREF(__pyx_t_1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 125; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 125; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - if (__pyx_t_2) { - - /* "schema.pyx":126 - * size = self.thisptr.size() - * if index >= size: - * raise IndexError('Out of bounds') # <<<<<<<<<<<<<< - * index = index % size - * return _StructNode_MemberBuilder().init(self.thisptr[index]) - */ - __pyx_t_1 = PyObject_Call(__pyx_builtin_IndexError, ((PyObject *)__pyx_k_tuple_7), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 126; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __Pyx_Raise(__pyx_t_1, 0, 0, 0); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - {__pyx_filename = __pyx_f[0]; __pyx_lineno = 126; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - goto __pyx_L3; - } - __pyx_L3:; - - /* "schema.pyx":127 - * if index >= size: - * raise IndexError('Out of bounds') - * index = index % size # <<<<<<<<<<<<<< - * return _StructNode_MemberBuilder().init(self.thisptr[index]) - * def __len__(self): - */ - __pyx_t_1 = PyNumber_Remainder(__pyx_v_index, __pyx_v_size); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 127; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __Pyx_DECREF(__pyx_v_index); - __pyx_v_index = __pyx_t_1; - __pyx_t_1 = 0; - - /* "schema.pyx":128 - * raise IndexError('Out of bounds') - * index = index % size - * return _StructNode_MemberBuilder().init(self.thisptr[index]) # <<<<<<<<<<<<<< - * def __len__(self): - * return self.thisptr.size() - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__StructNode_MemberBuilder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 128; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_3 = __Pyx_PyInt_AsUnsignedInt(__pyx_v_index); if (unlikely((__pyx_t_3 == (unsigned int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 128; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_t_4 = ((struct __pyx_vtabstruct_6schema__StructNode_MemberBuilder *)((struct __pyx_obj_6schema__StructNode_MemberBuilder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__StructNode_MemberBuilder *)__pyx_t_1), ((::capnp::schema::StructNode::Member::Builder)(__pyx_v_self->thisptr[__pyx_t_3]))); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 128; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_4); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_4; - __pyx_t_4 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_4); - __Pyx_AddTraceback("schema._List_StructNode_Union_StructNode_Member_Builder.__getitem__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XDECREF(__pyx_v_size); - __Pyx_XDECREF(__pyx_v_index); - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static Py_ssize_t __pyx_pw_6schema_48_List_StructNode_Union_StructNode_Member_Builder_3__len__(PyObject *__pyx_v_self); /*proto*/ -static Py_ssize_t __pyx_pw_6schema_48_List_StructNode_Union_StructNode_Member_Builder_3__len__(PyObject *__pyx_v_self) { - Py_ssize_t __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__len__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_48_List_StructNode_Union_StructNode_Member_Builder_2__len__(((struct __pyx_obj_6schema__List_StructNode_Union_StructNode_Member_Builder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":129 - * index = index % size - * return _StructNode_MemberBuilder().init(self.thisptr[index]) - * def __len__(self): # <<<<<<<<<<<<<< - * return self.thisptr.size() - * cdef class _List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader: - */ - -static Py_ssize_t __pyx_pf_6schema_48_List_StructNode_Union_StructNode_Member_Builder_2__len__(struct __pyx_obj_6schema__List_StructNode_Union_StructNode_Member_Builder *__pyx_v_self) { - Py_ssize_t __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__len__", 0); - - /* "schema.pyx":130 - * return _StructNode_MemberBuilder().init(self.thisptr[index]) - * def __len__(self): - * return self.thisptr.size() # <<<<<<<<<<<<<< - * cdef class _List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader: - * cdef List[C_InterfaceNode.Method.InterfaceNode.Method.Param].Reader thisptr - */ - __pyx_r = __pyx_v_self->thisptr.size(); - goto __pyx_L0; - - __pyx_r = 0; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":133 - * cdef class _List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader: - * cdef List[C_InterfaceNode.Method.InterfaceNode.Method.Param].Reader thisptr - * cdef init(self, List[C_InterfaceNode.Method.InterfaceNode.Method.Param].Reader other): # <<<<<<<<<<<<<< - * self.thisptr = other - * return self - */ - -static PyObject *__pyx_f_6schema_60_List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader_init(struct __pyx_obj_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader *__pyx_v_self, ::capnp::List<::capnp::schema::InterfaceNode::Method::Param>::Reader __pyx_v_other) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("init", 0); - - /* "schema.pyx":134 - * cdef List[C_InterfaceNode.Method.InterfaceNode.Method.Param].Reader thisptr - * cdef init(self, List[C_InterfaceNode.Method.InterfaceNode.Method.Param].Reader other): - * self.thisptr = other # <<<<<<<<<<<<<< - * return self - * def __getitem__(self, index): - */ - __pyx_v_self->thisptr = __pyx_v_other; - - /* "schema.pyx":135 - * cdef init(self, List[C_InterfaceNode.Method.InterfaceNode.Method.Param].Reader other): - * self.thisptr = other - * return self # <<<<<<<<<<<<<< - * def __getitem__(self, index): - * size = self.thisptr.size() - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(((PyObject *)__pyx_v_self)); - __pyx_r = ((PyObject *)__pyx_v_self); - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_60_List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader_1__getitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_index); /*proto*/ -static PyObject *__pyx_pw_6schema_60_List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader_1__getitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_index) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__getitem__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_60_List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader___getitem__(((struct __pyx_obj_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader *)__pyx_v_self), ((PyObject *)__pyx_v_index)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":136 - * self.thisptr = other - * return self - * def __getitem__(self, index): # <<<<<<<<<<<<<< - * size = self.thisptr.size() - * if index >= size: - */ - -static PyObject *__pyx_pf_6schema_60_List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader___getitem__(struct __pyx_obj_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader *__pyx_v_self, PyObject *__pyx_v_index) { - PyObject *__pyx_v_size = NULL; - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_t_2; - unsigned int __pyx_t_3; - PyObject *__pyx_t_4 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__getitem__", 0); - __Pyx_INCREF(__pyx_v_index); - - /* "schema.pyx":137 - * return self - * def __getitem__(self, index): - * size = self.thisptr.size() # <<<<<<<<<<<<<< - * if index >= size: - * raise IndexError('Out of bounds') - */ - __pyx_t_1 = PyLong_FromUnsignedLong(__pyx_v_self->thisptr.size()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 137; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_v_size = __pyx_t_1; - __pyx_t_1 = 0; - - /* "schema.pyx":138 - * def __getitem__(self, index): - * size = self.thisptr.size() - * if index >= size: # <<<<<<<<<<<<<< - * raise IndexError('Out of bounds') - * index = index % size - */ - __pyx_t_1 = PyObject_RichCompare(__pyx_v_index, __pyx_v_size, Py_GE); __Pyx_XGOTREF(__pyx_t_1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 138; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 138; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - if (__pyx_t_2) { - - /* "schema.pyx":139 - * size = self.thisptr.size() - * if index >= size: - * raise IndexError('Out of bounds') # <<<<<<<<<<<<<< - * index = index % size - * return _InterfaceNode_Method_ParamReader().init(self.thisptr[index]) - */ - __pyx_t_1 = PyObject_Call(__pyx_builtin_IndexError, ((PyObject *)__pyx_k_tuple_8), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 139; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __Pyx_Raise(__pyx_t_1, 0, 0, 0); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - {__pyx_filename = __pyx_f[0]; __pyx_lineno = 139; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - goto __pyx_L3; - } - __pyx_L3:; - - /* "schema.pyx":140 - * if index >= size: - * raise IndexError('Out of bounds') - * index = index % size # <<<<<<<<<<<<<< - * return _InterfaceNode_Method_ParamReader().init(self.thisptr[index]) - * - */ - __pyx_t_1 = PyNumber_Remainder(__pyx_v_index, __pyx_v_size); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 140; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __Pyx_DECREF(__pyx_v_index); - __pyx_v_index = __pyx_t_1; - __pyx_t_1 = 0; - - /* "schema.pyx":141 - * raise IndexError('Out of bounds') - * index = index % size - * return _InterfaceNode_Method_ParamReader().init(self.thisptr[index]) # <<<<<<<<<<<<<< - * - * def __len__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__InterfaceNode_Method_ParamReader)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 141; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_3 = __Pyx_PyInt_AsUnsignedInt(__pyx_v_index); if (unlikely((__pyx_t_3 == (unsigned int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 141; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_t_4 = ((struct __pyx_vtabstruct_6schema__InterfaceNode_Method_ParamReader *)((struct __pyx_obj_6schema__InterfaceNode_Method_ParamReader *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__InterfaceNode_Method_ParamReader *)__pyx_t_1), ((::capnp::schema::InterfaceNode::Method::Param::Reader)(__pyx_v_self->thisptr[__pyx_t_3]))); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 141; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_4); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_4; - __pyx_t_4 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_4); - __Pyx_AddTraceback("schema._List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader.__getitem__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XDECREF(__pyx_v_size); - __Pyx_XDECREF(__pyx_v_index); - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static Py_ssize_t __pyx_pw_6schema_60_List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader_3__len__(PyObject *__pyx_v_self); /*proto*/ -static Py_ssize_t __pyx_pw_6schema_60_List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader_3__len__(PyObject *__pyx_v_self) { - Py_ssize_t __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__len__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_60_List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader_2__len__(((struct __pyx_obj_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":143 - * return _InterfaceNode_Method_ParamReader().init(self.thisptr[index]) - * - * def __len__(self): # <<<<<<<<<<<<<< - * return self.thisptr.size() - * cdef class _List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder: - */ - -static Py_ssize_t __pyx_pf_6schema_60_List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader_2__len__(struct __pyx_obj_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader *__pyx_v_self) { - Py_ssize_t __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__len__", 0); - - /* "schema.pyx":144 - * - * def __len__(self): - * return self.thisptr.size() # <<<<<<<<<<<<<< - * cdef class _List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder: - * cdef List[C_InterfaceNode.Method.InterfaceNode.Method.Param].Builder thisptr - */ - __pyx_r = __pyx_v_self->thisptr.size(); - goto __pyx_L0; - - __pyx_r = 0; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":147 - * cdef class _List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder: - * cdef List[C_InterfaceNode.Method.InterfaceNode.Method.Param].Builder thisptr - * cdef init(self, List[C_InterfaceNode.Method.InterfaceNode.Method.Param].Builder other): # <<<<<<<<<<<<<< - * self.thisptr = other - * return self - */ - -static PyObject *__pyx_f_6schema_61_List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder_init(struct __pyx_obj_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder *__pyx_v_self, ::capnp::List<::capnp::schema::InterfaceNode::Method::Param>::Builder __pyx_v_other) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("init", 0); - - /* "schema.pyx":148 - * cdef List[C_InterfaceNode.Method.InterfaceNode.Method.Param].Builder thisptr - * cdef init(self, List[C_InterfaceNode.Method.InterfaceNode.Method.Param].Builder other): - * self.thisptr = other # <<<<<<<<<<<<<< - * return self - * def __getitem__(self, index): - */ - __pyx_v_self->thisptr = __pyx_v_other; - - /* "schema.pyx":149 - * cdef init(self, List[C_InterfaceNode.Method.InterfaceNode.Method.Param].Builder other): - * self.thisptr = other - * return self # <<<<<<<<<<<<<< - * def __getitem__(self, index): - * size = self.thisptr.size() - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(((PyObject *)__pyx_v_self)); - __pyx_r = ((PyObject *)__pyx_v_self); - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_61_List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder_1__getitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_index); /*proto*/ -static PyObject *__pyx_pw_6schema_61_List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder_1__getitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_index) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__getitem__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_61_List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder___getitem__(((struct __pyx_obj_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder *)__pyx_v_self), ((PyObject *)__pyx_v_index)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":150 - * self.thisptr = other - * return self - * def __getitem__(self, index): # <<<<<<<<<<<<<< - * size = self.thisptr.size() - * if index >= size: - */ - -static PyObject *__pyx_pf_6schema_61_List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder___getitem__(struct __pyx_obj_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder *__pyx_v_self, PyObject *__pyx_v_index) { - PyObject *__pyx_v_size = NULL; - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_t_2; - unsigned int __pyx_t_3; - PyObject *__pyx_t_4 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__getitem__", 0); - __Pyx_INCREF(__pyx_v_index); - - /* "schema.pyx":151 - * return self - * def __getitem__(self, index): - * size = self.thisptr.size() # <<<<<<<<<<<<<< - * if index >= size: - * raise IndexError('Out of bounds') - */ - __pyx_t_1 = PyLong_FromUnsignedLong(__pyx_v_self->thisptr.size()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 151; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_v_size = __pyx_t_1; - __pyx_t_1 = 0; - - /* "schema.pyx":152 - * def __getitem__(self, index): - * size = self.thisptr.size() - * if index >= size: # <<<<<<<<<<<<<< - * raise IndexError('Out of bounds') - * index = index % size - */ - __pyx_t_1 = PyObject_RichCompare(__pyx_v_index, __pyx_v_size, Py_GE); __Pyx_XGOTREF(__pyx_t_1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 152; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 152; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - if (__pyx_t_2) { - - /* "schema.pyx":153 - * size = self.thisptr.size() - * if index >= size: - * raise IndexError('Out of bounds') # <<<<<<<<<<<<<< - * index = index % size - * return _InterfaceNode_Method_ParamBuilder().init(self.thisptr[index]) - */ - __pyx_t_1 = PyObject_Call(__pyx_builtin_IndexError, ((PyObject *)__pyx_k_tuple_9), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 153; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __Pyx_Raise(__pyx_t_1, 0, 0, 0); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - {__pyx_filename = __pyx_f[0]; __pyx_lineno = 153; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - goto __pyx_L3; - } - __pyx_L3:; - - /* "schema.pyx":154 - * if index >= size: - * raise IndexError('Out of bounds') - * index = index % size # <<<<<<<<<<<<<< - * return _InterfaceNode_Method_ParamBuilder().init(self.thisptr[index]) - * def __len__(self): - */ - __pyx_t_1 = PyNumber_Remainder(__pyx_v_index, __pyx_v_size); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 154; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __Pyx_DECREF(__pyx_v_index); - __pyx_v_index = __pyx_t_1; - __pyx_t_1 = 0; - - /* "schema.pyx":155 - * raise IndexError('Out of bounds') - * index = index % size - * return _InterfaceNode_Method_ParamBuilder().init(self.thisptr[index]) # <<<<<<<<<<<<<< - * def __len__(self): - * return self.thisptr.size() - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__InterfaceNode_Method_ParamBuilder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 155; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_3 = __Pyx_PyInt_AsUnsignedInt(__pyx_v_index); if (unlikely((__pyx_t_3 == (unsigned int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 155; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_t_4 = ((struct __pyx_vtabstruct_6schema__InterfaceNode_Method_ParamBuilder *)((struct __pyx_obj_6schema__InterfaceNode_Method_ParamBuilder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__InterfaceNode_Method_ParamBuilder *)__pyx_t_1), ((::capnp::schema::InterfaceNode::Method::Param::Builder)(__pyx_v_self->thisptr[__pyx_t_3]))); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 155; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_4); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_4; - __pyx_t_4 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_4); - __Pyx_AddTraceback("schema._List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder.__getitem__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XDECREF(__pyx_v_size); - __Pyx_XDECREF(__pyx_v_index); - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static Py_ssize_t __pyx_pw_6schema_61_List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder_3__len__(PyObject *__pyx_v_self); /*proto*/ -static Py_ssize_t __pyx_pw_6schema_61_List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder_3__len__(PyObject *__pyx_v_self) { - Py_ssize_t __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__len__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_61_List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder_2__len__(((struct __pyx_obj_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":156 - * index = index % size - * return _InterfaceNode_Method_ParamBuilder().init(self.thisptr[index]) - * def __len__(self): # <<<<<<<<<<<<<< - * return self.thisptr.size() - * cdef class _List_InterfaceNode_Method_Param_Annotation_Reader: - */ - -static Py_ssize_t __pyx_pf_6schema_61_List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder_2__len__(struct __pyx_obj_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder *__pyx_v_self) { - Py_ssize_t __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__len__", 0); - - /* "schema.pyx":157 - * return _InterfaceNode_Method_ParamBuilder().init(self.thisptr[index]) - * def __len__(self): - * return self.thisptr.size() # <<<<<<<<<<<<<< - * cdef class _List_InterfaceNode_Method_Param_Annotation_Reader: - * cdef List[C_InterfaceNode.Method.Param.Annotation].Reader thisptr - */ - __pyx_r = __pyx_v_self->thisptr.size(); - goto __pyx_L0; - - __pyx_r = 0; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":160 - * cdef class _List_InterfaceNode_Method_Param_Annotation_Reader: - * cdef List[C_InterfaceNode.Method.Param.Annotation].Reader thisptr - * cdef init(self, List[C_InterfaceNode.Method.Param.Annotation].Reader other): # <<<<<<<<<<<<<< - * self.thisptr = other - * return self - */ - -static PyObject *__pyx_f_6schema_50_List_InterfaceNode_Method_Param_Annotation_Reader_init(struct __pyx_obj_6schema__List_InterfaceNode_Method_Param_Annotation_Reader *__pyx_v_self, ::capnp::List<::capnp::schema::Annotation>::Reader __pyx_v_other) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("init", 0); - - /* "schema.pyx":161 - * cdef List[C_InterfaceNode.Method.Param.Annotation].Reader thisptr - * cdef init(self, List[C_InterfaceNode.Method.Param.Annotation].Reader other): - * self.thisptr = other # <<<<<<<<<<<<<< - * return self - * def __getitem__(self, index): - */ - __pyx_v_self->thisptr = __pyx_v_other; - - /* "schema.pyx":162 - * cdef init(self, List[C_InterfaceNode.Method.Param.Annotation].Reader other): - * self.thisptr = other - * return self # <<<<<<<<<<<<<< - * def __getitem__(self, index): - * size = self.thisptr.size() - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(((PyObject *)__pyx_v_self)); - __pyx_r = ((PyObject *)__pyx_v_self); - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_50_List_InterfaceNode_Method_Param_Annotation_Reader_1__getitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_index); /*proto*/ -static PyObject *__pyx_pw_6schema_50_List_InterfaceNode_Method_Param_Annotation_Reader_1__getitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_index) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__getitem__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_50_List_InterfaceNode_Method_Param_Annotation_Reader___getitem__(((struct __pyx_obj_6schema__List_InterfaceNode_Method_Param_Annotation_Reader *)__pyx_v_self), ((PyObject *)__pyx_v_index)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":163 - * self.thisptr = other - * return self - * def __getitem__(self, index): # <<<<<<<<<<<<<< - * size = self.thisptr.size() - * if index >= size: - */ - -static PyObject *__pyx_pf_6schema_50_List_InterfaceNode_Method_Param_Annotation_Reader___getitem__(struct __pyx_obj_6schema__List_InterfaceNode_Method_Param_Annotation_Reader *__pyx_v_self, PyObject *__pyx_v_index) { - PyObject *__pyx_v_size = NULL; - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_t_2; - unsigned int __pyx_t_3; - PyObject *__pyx_t_4 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__getitem__", 0); - __Pyx_INCREF(__pyx_v_index); - - /* "schema.pyx":164 - * return self - * def __getitem__(self, index): - * size = self.thisptr.size() # <<<<<<<<<<<<<< - * if index >= size: - * raise IndexError('Out of bounds') - */ - __pyx_t_1 = PyLong_FromUnsignedLong(__pyx_v_self->thisptr.size()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 164; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_v_size = __pyx_t_1; - __pyx_t_1 = 0; - - /* "schema.pyx":165 - * def __getitem__(self, index): - * size = self.thisptr.size() - * if index >= size: # <<<<<<<<<<<<<< - * raise IndexError('Out of bounds') - * index = index % size - */ - __pyx_t_1 = PyObject_RichCompare(__pyx_v_index, __pyx_v_size, Py_GE); __Pyx_XGOTREF(__pyx_t_1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 165; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 165; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - if (__pyx_t_2) { - - /* "schema.pyx":166 - * size = self.thisptr.size() - * if index >= size: - * raise IndexError('Out of bounds') # <<<<<<<<<<<<<< - * index = index % size - * return _AnnotationReader().init(self.thisptr[index]) - */ - __pyx_t_1 = PyObject_Call(__pyx_builtin_IndexError, ((PyObject *)__pyx_k_tuple_10), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 166; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __Pyx_Raise(__pyx_t_1, 0, 0, 0); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - {__pyx_filename = __pyx_f[0]; __pyx_lineno = 166; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - goto __pyx_L3; - } - __pyx_L3:; - - /* "schema.pyx":167 - * if index >= size: - * raise IndexError('Out of bounds') - * index = index % size # <<<<<<<<<<<<<< - * return _AnnotationReader().init(self.thisptr[index]) - * - */ - __pyx_t_1 = PyNumber_Remainder(__pyx_v_index, __pyx_v_size); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 167; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __Pyx_DECREF(__pyx_v_index); - __pyx_v_index = __pyx_t_1; - __pyx_t_1 = 0; - - /* "schema.pyx":168 - * raise IndexError('Out of bounds') - * index = index % size - * return _AnnotationReader().init(self.thisptr[index]) # <<<<<<<<<<<<<< - * - * def __len__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__AnnotationReader)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 168; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_3 = __Pyx_PyInt_AsUnsignedInt(__pyx_v_index); if (unlikely((__pyx_t_3 == (unsigned int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 168; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_t_4 = ((struct __pyx_vtabstruct_6schema__AnnotationReader *)((struct __pyx_obj_6schema__AnnotationReader *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__AnnotationReader *)__pyx_t_1), ((::capnp::schema::Annotation::Reader)(__pyx_v_self->thisptr[__pyx_t_3]))); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 168; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_4); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_4; - __pyx_t_4 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_4); - __Pyx_AddTraceback("schema._List_InterfaceNode_Method_Param_Annotation_Reader.__getitem__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XDECREF(__pyx_v_size); - __Pyx_XDECREF(__pyx_v_index); - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static Py_ssize_t __pyx_pw_6schema_50_List_InterfaceNode_Method_Param_Annotation_Reader_3__len__(PyObject *__pyx_v_self); /*proto*/ -static Py_ssize_t __pyx_pw_6schema_50_List_InterfaceNode_Method_Param_Annotation_Reader_3__len__(PyObject *__pyx_v_self) { - Py_ssize_t __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__len__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_50_List_InterfaceNode_Method_Param_Annotation_Reader_2__len__(((struct __pyx_obj_6schema__List_InterfaceNode_Method_Param_Annotation_Reader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":170 - * return _AnnotationReader().init(self.thisptr[index]) - * - * def __len__(self): # <<<<<<<<<<<<<< - * return self.thisptr.size() - * cdef class _List_InterfaceNode_Method_Param_Annotation_Builder: - */ - -static Py_ssize_t __pyx_pf_6schema_50_List_InterfaceNode_Method_Param_Annotation_Reader_2__len__(struct __pyx_obj_6schema__List_InterfaceNode_Method_Param_Annotation_Reader *__pyx_v_self) { - Py_ssize_t __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__len__", 0); - - /* "schema.pyx":171 - * - * def __len__(self): - * return self.thisptr.size() # <<<<<<<<<<<<<< - * cdef class _List_InterfaceNode_Method_Param_Annotation_Builder: - * cdef List[C_InterfaceNode.Method.Param.Annotation].Builder thisptr - */ - __pyx_r = __pyx_v_self->thisptr.size(); - goto __pyx_L0; - - __pyx_r = 0; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":174 - * cdef class _List_InterfaceNode_Method_Param_Annotation_Builder: - * cdef List[C_InterfaceNode.Method.Param.Annotation].Builder thisptr - * cdef init(self, List[C_InterfaceNode.Method.Param.Annotation].Builder other): # <<<<<<<<<<<<<< - * self.thisptr = other - * return self - */ - -static PyObject *__pyx_f_6schema_51_List_InterfaceNode_Method_Param_Annotation_Builder_init(struct __pyx_obj_6schema__List_InterfaceNode_Method_Param_Annotation_Builder *__pyx_v_self, ::capnp::List<::capnp::schema::Annotation>::Builder __pyx_v_other) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("init", 0); - - /* "schema.pyx":175 - * cdef List[C_InterfaceNode.Method.Param.Annotation].Builder thisptr - * cdef init(self, List[C_InterfaceNode.Method.Param.Annotation].Builder other): - * self.thisptr = other # <<<<<<<<<<<<<< - * return self - * def __getitem__(self, index): - */ - __pyx_v_self->thisptr = __pyx_v_other; - - /* "schema.pyx":176 - * cdef init(self, List[C_InterfaceNode.Method.Param.Annotation].Builder other): - * self.thisptr = other - * return self # <<<<<<<<<<<<<< - * def __getitem__(self, index): - * size = self.thisptr.size() - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(((PyObject *)__pyx_v_self)); - __pyx_r = ((PyObject *)__pyx_v_self); - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_51_List_InterfaceNode_Method_Param_Annotation_Builder_1__getitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_index); /*proto*/ -static PyObject *__pyx_pw_6schema_51_List_InterfaceNode_Method_Param_Annotation_Builder_1__getitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_index) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__getitem__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_51_List_InterfaceNode_Method_Param_Annotation_Builder___getitem__(((struct __pyx_obj_6schema__List_InterfaceNode_Method_Param_Annotation_Builder *)__pyx_v_self), ((PyObject *)__pyx_v_index)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":177 - * self.thisptr = other - * return self - * def __getitem__(self, index): # <<<<<<<<<<<<<< - * size = self.thisptr.size() - * if index >= size: - */ - -static PyObject *__pyx_pf_6schema_51_List_InterfaceNode_Method_Param_Annotation_Builder___getitem__(struct __pyx_obj_6schema__List_InterfaceNode_Method_Param_Annotation_Builder *__pyx_v_self, PyObject *__pyx_v_index) { - PyObject *__pyx_v_size = NULL; - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_t_2; - unsigned int __pyx_t_3; - PyObject *__pyx_t_4 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__getitem__", 0); - __Pyx_INCREF(__pyx_v_index); - - /* "schema.pyx":178 - * return self - * def __getitem__(self, index): - * size = self.thisptr.size() # <<<<<<<<<<<<<< - * if index >= size: - * raise IndexError('Out of bounds') - */ - __pyx_t_1 = PyLong_FromUnsignedLong(__pyx_v_self->thisptr.size()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 178; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_v_size = __pyx_t_1; - __pyx_t_1 = 0; - - /* "schema.pyx":179 - * def __getitem__(self, index): - * size = self.thisptr.size() - * if index >= size: # <<<<<<<<<<<<<< - * raise IndexError('Out of bounds') - * index = index % size - */ - __pyx_t_1 = PyObject_RichCompare(__pyx_v_index, __pyx_v_size, Py_GE); __Pyx_XGOTREF(__pyx_t_1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 179; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 179; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - if (__pyx_t_2) { - - /* "schema.pyx":180 - * size = self.thisptr.size() - * if index >= size: - * raise IndexError('Out of bounds') # <<<<<<<<<<<<<< - * index = index % size - * return _AnnotationBuilder().init(self.thisptr[index]) - */ - __pyx_t_1 = PyObject_Call(__pyx_builtin_IndexError, ((PyObject *)__pyx_k_tuple_11), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 180; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __Pyx_Raise(__pyx_t_1, 0, 0, 0); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - {__pyx_filename = __pyx_f[0]; __pyx_lineno = 180; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - goto __pyx_L3; - } - __pyx_L3:; - - /* "schema.pyx":181 - * if index >= size: - * raise IndexError('Out of bounds') - * index = index % size # <<<<<<<<<<<<<< - * return _AnnotationBuilder().init(self.thisptr[index]) - * def __len__(self): - */ - __pyx_t_1 = PyNumber_Remainder(__pyx_v_index, __pyx_v_size); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 181; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __Pyx_DECREF(__pyx_v_index); - __pyx_v_index = __pyx_t_1; - __pyx_t_1 = 0; - - /* "schema.pyx":182 - * raise IndexError('Out of bounds') - * index = index % size - * return _AnnotationBuilder().init(self.thisptr[index]) # <<<<<<<<<<<<<< - * def __len__(self): - * return self.thisptr.size() - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__AnnotationBuilder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 182; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_3 = __Pyx_PyInt_AsUnsignedInt(__pyx_v_index); if (unlikely((__pyx_t_3 == (unsigned int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 182; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_t_4 = ((struct __pyx_vtabstruct_6schema__AnnotationBuilder *)((struct __pyx_obj_6schema__AnnotationBuilder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__AnnotationBuilder *)__pyx_t_1), ((::capnp::schema::Annotation::Builder)(__pyx_v_self->thisptr[__pyx_t_3]))); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 182; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_4); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_4; - __pyx_t_4 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_4); - __Pyx_AddTraceback("schema._List_InterfaceNode_Method_Param_Annotation_Builder.__getitem__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XDECREF(__pyx_v_size); - __Pyx_XDECREF(__pyx_v_index); - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static Py_ssize_t __pyx_pw_6schema_51_List_InterfaceNode_Method_Param_Annotation_Builder_3__len__(PyObject *__pyx_v_self); /*proto*/ -static Py_ssize_t __pyx_pw_6schema_51_List_InterfaceNode_Method_Param_Annotation_Builder_3__len__(PyObject *__pyx_v_self) { - Py_ssize_t __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__len__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_51_List_InterfaceNode_Method_Param_Annotation_Builder_2__len__(((struct __pyx_obj_6schema__List_InterfaceNode_Method_Param_Annotation_Builder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":183 - * index = index % size - * return _AnnotationBuilder().init(self.thisptr[index]) - * def __len__(self): # <<<<<<<<<<<<<< - * return self.thisptr.size() - * cdef class _List_UInt64_Reader: - */ - -static Py_ssize_t __pyx_pf_6schema_51_List_InterfaceNode_Method_Param_Annotation_Builder_2__len__(struct __pyx_obj_6schema__List_InterfaceNode_Method_Param_Annotation_Builder *__pyx_v_self) { - Py_ssize_t __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__len__", 0); - - /* "schema.pyx":184 - * return _AnnotationBuilder().init(self.thisptr[index]) - * def __len__(self): - * return self.thisptr.size() # <<<<<<<<<<<<<< - * cdef class _List_UInt64_Reader: - * cdef List[UInt64].Reader thisptr - */ - __pyx_r = __pyx_v_self->thisptr.size(); - goto __pyx_L0; - - __pyx_r = 0; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":187 - * cdef class _List_UInt64_Reader: - * cdef List[UInt64].Reader thisptr - * cdef init(self, List[UInt64].Reader other): # <<<<<<<<<<<<<< - * self.thisptr = other - * return self - */ - -static PyObject *__pyx_f_6schema_19_List_UInt64_Reader_init(struct __pyx_obj_6schema__List_UInt64_Reader *__pyx_v_self, ::capnp::List<__pyx_t_6schema_UInt64>::Reader __pyx_v_other) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("init", 0); - - /* "schema.pyx":188 - * cdef List[UInt64].Reader thisptr - * cdef init(self, List[UInt64].Reader other): - * self.thisptr = other # <<<<<<<<<<<<<< - * return self - * def __getitem__(self, index): - */ - __pyx_v_self->thisptr = __pyx_v_other; - - /* "schema.pyx":189 - * cdef init(self, List[UInt64].Reader other): - * self.thisptr = other - * return self # <<<<<<<<<<<<<< - * def __getitem__(self, index): - * size = self.thisptr.size() - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(((PyObject *)__pyx_v_self)); - __pyx_r = ((PyObject *)__pyx_v_self); - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_19_List_UInt64_Reader_1__getitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_index); /*proto*/ -static PyObject *__pyx_pw_6schema_19_List_UInt64_Reader_1__getitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_index) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__getitem__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_19_List_UInt64_Reader___getitem__(((struct __pyx_obj_6schema__List_UInt64_Reader *)__pyx_v_self), ((PyObject *)__pyx_v_index)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":190 - * self.thisptr = other - * return self - * def __getitem__(self, index): # <<<<<<<<<<<<<< - * size = self.thisptr.size() - * if index >= size: - */ - -static PyObject *__pyx_pf_6schema_19_List_UInt64_Reader___getitem__(struct __pyx_obj_6schema__List_UInt64_Reader *__pyx_v_self, PyObject *__pyx_v_index) { - PyObject *__pyx_v_size = NULL; - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_t_2; - unsigned int __pyx_t_3; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__getitem__", 0); - __Pyx_INCREF(__pyx_v_index); - - /* "schema.pyx":191 - * return self - * def __getitem__(self, index): - * size = self.thisptr.size() # <<<<<<<<<<<<<< - * if index >= size: - * raise IndexError('Out of bounds') - */ - __pyx_t_1 = PyLong_FromUnsignedLong(__pyx_v_self->thisptr.size()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 191; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_v_size = __pyx_t_1; - __pyx_t_1 = 0; - - /* "schema.pyx":192 - * def __getitem__(self, index): - * size = self.thisptr.size() - * if index >= size: # <<<<<<<<<<<<<< - * raise IndexError('Out of bounds') - * index = index % size - */ - __pyx_t_1 = PyObject_RichCompare(__pyx_v_index, __pyx_v_size, Py_GE); __Pyx_XGOTREF(__pyx_t_1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 192; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 192; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - if (__pyx_t_2) { - - /* "schema.pyx":193 - * size = self.thisptr.size() - * if index >= size: - * raise IndexError('Out of bounds') # <<<<<<<<<<<<<< - * index = index % size - * return self.thisptr[index] - */ - __pyx_t_1 = PyObject_Call(__pyx_builtin_IndexError, ((PyObject *)__pyx_k_tuple_12), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 193; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __Pyx_Raise(__pyx_t_1, 0, 0, 0); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - {__pyx_filename = __pyx_f[0]; __pyx_lineno = 193; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - goto __pyx_L3; - } - __pyx_L3:; - - /* "schema.pyx":194 - * if index >= size: - * raise IndexError('Out of bounds') - * index = index % size # <<<<<<<<<<<<<< - * return self.thisptr[index] - * - */ - __pyx_t_1 = PyNumber_Remainder(__pyx_v_index, __pyx_v_size); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 194; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __Pyx_DECREF(__pyx_v_index); - __pyx_v_index = __pyx_t_1; - __pyx_t_1 = 0; - - /* "schema.pyx":195 - * raise IndexError('Out of bounds') - * index = index % size - * return self.thisptr[index] # <<<<<<<<<<<<<< - * - * def __len__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_3 = __Pyx_PyInt_AsUnsignedInt(__pyx_v_index); if (unlikely((__pyx_t_3 == (unsigned int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 195; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_t_1 = __Pyx_PyInt_to_py_uint64_t((__pyx_v_self->thisptr[__pyx_t_3])); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 195; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._List_UInt64_Reader.__getitem__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XDECREF(__pyx_v_size); - __Pyx_XDECREF(__pyx_v_index); - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static Py_ssize_t __pyx_pw_6schema_19_List_UInt64_Reader_3__len__(PyObject *__pyx_v_self); /*proto*/ -static Py_ssize_t __pyx_pw_6schema_19_List_UInt64_Reader_3__len__(PyObject *__pyx_v_self) { - Py_ssize_t __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__len__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_19_List_UInt64_Reader_2__len__(((struct __pyx_obj_6schema__List_UInt64_Reader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":197 - * return self.thisptr[index] - * - * def __len__(self): # <<<<<<<<<<<<<< - * return self.thisptr.size() - * cdef class _List_UInt64_Builder: - */ - -static Py_ssize_t __pyx_pf_6schema_19_List_UInt64_Reader_2__len__(struct __pyx_obj_6schema__List_UInt64_Reader *__pyx_v_self) { - Py_ssize_t __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__len__", 0); - - /* "schema.pyx":198 - * - * def __len__(self): - * return self.thisptr.size() # <<<<<<<<<<<<<< - * cdef class _List_UInt64_Builder: - * cdef List[UInt64].Builder thisptr - */ - __pyx_r = __pyx_v_self->thisptr.size(); - goto __pyx_L0; - - __pyx_r = 0; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":201 - * cdef class _List_UInt64_Builder: - * cdef List[UInt64].Builder thisptr - * cdef init(self, List[UInt64].Builder other): # <<<<<<<<<<<<<< - * self.thisptr = other - * return self - */ - -static PyObject *__pyx_f_6schema_20_List_UInt64_Builder_init(struct __pyx_obj_6schema__List_UInt64_Builder *__pyx_v_self, ::capnp::List<__pyx_t_6schema_UInt64>::Builder __pyx_v_other) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("init", 0); - - /* "schema.pyx":202 - * cdef List[UInt64].Builder thisptr - * cdef init(self, List[UInt64].Builder other): - * self.thisptr = other # <<<<<<<<<<<<<< - * return self - * def __getitem__(self, index): - */ - __pyx_v_self->thisptr = __pyx_v_other; - - /* "schema.pyx":203 - * cdef init(self, List[UInt64].Builder other): - * self.thisptr = other - * return self # <<<<<<<<<<<<<< - * def __getitem__(self, index): - * size = self.thisptr.size() - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(((PyObject *)__pyx_v_self)); - __pyx_r = ((PyObject *)__pyx_v_self); - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_20_List_UInt64_Builder_1__getitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_index); /*proto*/ -static PyObject *__pyx_pw_6schema_20_List_UInt64_Builder_1__getitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_index) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__getitem__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_20_List_UInt64_Builder___getitem__(((struct __pyx_obj_6schema__List_UInt64_Builder *)__pyx_v_self), ((PyObject *)__pyx_v_index)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":204 - * self.thisptr = other - * return self - * def __getitem__(self, index): # <<<<<<<<<<<<<< - * size = self.thisptr.size() - * if index >= size: - */ - -static PyObject *__pyx_pf_6schema_20_List_UInt64_Builder___getitem__(struct __pyx_obj_6schema__List_UInt64_Builder *__pyx_v_self, PyObject *__pyx_v_index) { - PyObject *__pyx_v_size = NULL; - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_t_2; - unsigned int __pyx_t_3; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__getitem__", 0); - __Pyx_INCREF(__pyx_v_index); - - /* "schema.pyx":205 - * return self - * def __getitem__(self, index): - * size = self.thisptr.size() # <<<<<<<<<<<<<< - * if index >= size: - * raise IndexError('Out of bounds') - */ - __pyx_t_1 = PyLong_FromUnsignedLong(__pyx_v_self->thisptr.size()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 205; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_v_size = __pyx_t_1; - __pyx_t_1 = 0; - - /* "schema.pyx":206 - * def __getitem__(self, index): - * size = self.thisptr.size() - * if index >= size: # <<<<<<<<<<<<<< - * raise IndexError('Out of bounds') - * index = index % size - */ - __pyx_t_1 = PyObject_RichCompare(__pyx_v_index, __pyx_v_size, Py_GE); __Pyx_XGOTREF(__pyx_t_1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 206; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 206; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - if (__pyx_t_2) { - - /* "schema.pyx":207 - * size = self.thisptr.size() - * if index >= size: - * raise IndexError('Out of bounds') # <<<<<<<<<<<<<< - * index = index % size - * return self.thisptr[index] - */ - __pyx_t_1 = PyObject_Call(__pyx_builtin_IndexError, ((PyObject *)__pyx_k_tuple_13), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 207; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __Pyx_Raise(__pyx_t_1, 0, 0, 0); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - {__pyx_filename = __pyx_f[0]; __pyx_lineno = 207; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - goto __pyx_L3; - } - __pyx_L3:; - - /* "schema.pyx":208 - * if index >= size: - * raise IndexError('Out of bounds') - * index = index % size # <<<<<<<<<<<<<< - * return self.thisptr[index] - * def __len__(self): - */ - __pyx_t_1 = PyNumber_Remainder(__pyx_v_index, __pyx_v_size); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 208; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __Pyx_DECREF(__pyx_v_index); - __pyx_v_index = __pyx_t_1; - __pyx_t_1 = 0; - - /* "schema.pyx":209 - * raise IndexError('Out of bounds') - * index = index % size - * return self.thisptr[index] # <<<<<<<<<<<<<< - * def __len__(self): - * return self.thisptr.size() - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_3 = __Pyx_PyInt_AsUnsignedInt(__pyx_v_index); if (unlikely((__pyx_t_3 == (unsigned int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 209; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_t_1 = __Pyx_PyInt_to_py_uint64_t((__pyx_v_self->thisptr[__pyx_t_3])); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 209; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._List_UInt64_Builder.__getitem__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XDECREF(__pyx_v_size); - __Pyx_XDECREF(__pyx_v_index); - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static Py_ssize_t __pyx_pw_6schema_20_List_UInt64_Builder_3__len__(PyObject *__pyx_v_self); /*proto*/ -static Py_ssize_t __pyx_pw_6schema_20_List_UInt64_Builder_3__len__(PyObject *__pyx_v_self) { - Py_ssize_t __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__len__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_20_List_UInt64_Builder_2__len__(((struct __pyx_obj_6schema__List_UInt64_Builder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":210 - * index = index % size - * return self.thisptr[index] - * def __len__(self): # <<<<<<<<<<<<<< - * return self.thisptr.size() - * cdef class _List_Node_Node_NestedNode_Reader: - */ - -static Py_ssize_t __pyx_pf_6schema_20_List_UInt64_Builder_2__len__(struct __pyx_obj_6schema__List_UInt64_Builder *__pyx_v_self) { - Py_ssize_t __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__len__", 0); - - /* "schema.pyx":211 - * return self.thisptr[index] - * def __len__(self): - * return self.thisptr.size() # <<<<<<<<<<<<<< - * cdef class _List_Node_Node_NestedNode_Reader: - * cdef List[C_Node.Node.NestedNode].Reader thisptr - */ - __pyx_r = __pyx_v_self->thisptr.size(); - goto __pyx_L0; - - __pyx_r = 0; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":214 - * cdef class _List_Node_Node_NestedNode_Reader: - * cdef List[C_Node.Node.NestedNode].Reader thisptr - * cdef init(self, List[C_Node.Node.NestedNode].Reader other): # <<<<<<<<<<<<<< - * self.thisptr = other - * return self - */ - -static PyObject *__pyx_f_6schema_33_List_Node_Node_NestedNode_Reader_init(struct __pyx_obj_6schema__List_Node_Node_NestedNode_Reader *__pyx_v_self, ::capnp::List<::capnp::schema::Node::NestedNode>::Reader __pyx_v_other) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("init", 0); - - /* "schema.pyx":215 - * cdef List[C_Node.Node.NestedNode].Reader thisptr - * cdef init(self, List[C_Node.Node.NestedNode].Reader other): - * self.thisptr = other # <<<<<<<<<<<<<< - * return self - * def __getitem__(self, index): - */ - __pyx_v_self->thisptr = __pyx_v_other; - - /* "schema.pyx":216 - * cdef init(self, List[C_Node.Node.NestedNode].Reader other): - * self.thisptr = other - * return self # <<<<<<<<<<<<<< - * def __getitem__(self, index): - * size = self.thisptr.size() - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(((PyObject *)__pyx_v_self)); - __pyx_r = ((PyObject *)__pyx_v_self); - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_33_List_Node_Node_NestedNode_Reader_1__getitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_index); /*proto*/ -static PyObject *__pyx_pw_6schema_33_List_Node_Node_NestedNode_Reader_1__getitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_index) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__getitem__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_33_List_Node_Node_NestedNode_Reader___getitem__(((struct __pyx_obj_6schema__List_Node_Node_NestedNode_Reader *)__pyx_v_self), ((PyObject *)__pyx_v_index)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":217 - * self.thisptr = other - * return self - * def __getitem__(self, index): # <<<<<<<<<<<<<< - * size = self.thisptr.size() - * if index >= size: - */ - -static PyObject *__pyx_pf_6schema_33_List_Node_Node_NestedNode_Reader___getitem__(struct __pyx_obj_6schema__List_Node_Node_NestedNode_Reader *__pyx_v_self, PyObject *__pyx_v_index) { - PyObject *__pyx_v_size = NULL; - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_t_2; - unsigned int __pyx_t_3; - PyObject *__pyx_t_4 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__getitem__", 0); - __Pyx_INCREF(__pyx_v_index); - - /* "schema.pyx":218 - * return self - * def __getitem__(self, index): - * size = self.thisptr.size() # <<<<<<<<<<<<<< - * if index >= size: - * raise IndexError('Out of bounds') - */ - __pyx_t_1 = PyLong_FromUnsignedLong(__pyx_v_self->thisptr.size()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 218; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_v_size = __pyx_t_1; - __pyx_t_1 = 0; - - /* "schema.pyx":219 - * def __getitem__(self, index): - * size = self.thisptr.size() - * if index >= size: # <<<<<<<<<<<<<< - * raise IndexError('Out of bounds') - * index = index % size - */ - __pyx_t_1 = PyObject_RichCompare(__pyx_v_index, __pyx_v_size, Py_GE); __Pyx_XGOTREF(__pyx_t_1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 219; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 219; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - if (__pyx_t_2) { - - /* "schema.pyx":220 - * size = self.thisptr.size() - * if index >= size: - * raise IndexError('Out of bounds') # <<<<<<<<<<<<<< - * index = index % size - * return _Node_NestedNodeReader().init(self.thisptr[index]) - */ - __pyx_t_1 = PyObject_Call(__pyx_builtin_IndexError, ((PyObject *)__pyx_k_tuple_14), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 220; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __Pyx_Raise(__pyx_t_1, 0, 0, 0); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - {__pyx_filename = __pyx_f[0]; __pyx_lineno = 220; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - goto __pyx_L3; - } - __pyx_L3:; - - /* "schema.pyx":221 - * if index >= size: - * raise IndexError('Out of bounds') - * index = index % size # <<<<<<<<<<<<<< - * return _Node_NestedNodeReader().init(self.thisptr[index]) - * - */ - __pyx_t_1 = PyNumber_Remainder(__pyx_v_index, __pyx_v_size); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 221; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __Pyx_DECREF(__pyx_v_index); - __pyx_v_index = __pyx_t_1; - __pyx_t_1 = 0; - - /* "schema.pyx":222 - * raise IndexError('Out of bounds') - * index = index % size - * return _Node_NestedNodeReader().init(self.thisptr[index]) # <<<<<<<<<<<<<< - * - * def __len__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__Node_NestedNodeReader)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 222; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_3 = __Pyx_PyInt_AsUnsignedInt(__pyx_v_index); if (unlikely((__pyx_t_3 == (unsigned int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 222; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_t_4 = ((struct __pyx_vtabstruct_6schema__Node_NestedNodeReader *)((struct __pyx_obj_6schema__Node_NestedNodeReader *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__Node_NestedNodeReader *)__pyx_t_1), ((::capnp::schema::Node::NestedNode::Reader)(__pyx_v_self->thisptr[__pyx_t_3]))); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 222; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_4); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_4; - __pyx_t_4 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_4); - __Pyx_AddTraceback("schema._List_Node_Node_NestedNode_Reader.__getitem__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XDECREF(__pyx_v_size); - __Pyx_XDECREF(__pyx_v_index); - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static Py_ssize_t __pyx_pw_6schema_33_List_Node_Node_NestedNode_Reader_3__len__(PyObject *__pyx_v_self); /*proto*/ -static Py_ssize_t __pyx_pw_6schema_33_List_Node_Node_NestedNode_Reader_3__len__(PyObject *__pyx_v_self) { - Py_ssize_t __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__len__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_33_List_Node_Node_NestedNode_Reader_2__len__(((struct __pyx_obj_6schema__List_Node_Node_NestedNode_Reader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":224 - * return _Node_NestedNodeReader().init(self.thisptr[index]) - * - * def __len__(self): # <<<<<<<<<<<<<< - * return self.thisptr.size() - * cdef class _List_Node_Node_NestedNode_Builder: - */ - -static Py_ssize_t __pyx_pf_6schema_33_List_Node_Node_NestedNode_Reader_2__len__(struct __pyx_obj_6schema__List_Node_Node_NestedNode_Reader *__pyx_v_self) { - Py_ssize_t __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__len__", 0); - - /* "schema.pyx":225 - * - * def __len__(self): - * return self.thisptr.size() # <<<<<<<<<<<<<< - * cdef class _List_Node_Node_NestedNode_Builder: - * cdef List[C_Node.Node.NestedNode].Builder thisptr - */ - __pyx_r = __pyx_v_self->thisptr.size(); - goto __pyx_L0; - - __pyx_r = 0; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":228 - * cdef class _List_Node_Node_NestedNode_Builder: - * cdef List[C_Node.Node.NestedNode].Builder thisptr - * cdef init(self, List[C_Node.Node.NestedNode].Builder other): # <<<<<<<<<<<<<< - * self.thisptr = other - * return self - */ - -static PyObject *__pyx_f_6schema_34_List_Node_Node_NestedNode_Builder_init(struct __pyx_obj_6schema__List_Node_Node_NestedNode_Builder *__pyx_v_self, ::capnp::List<::capnp::schema::Node::NestedNode>::Builder __pyx_v_other) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("init", 0); - - /* "schema.pyx":229 - * cdef List[C_Node.Node.NestedNode].Builder thisptr - * cdef init(self, List[C_Node.Node.NestedNode].Builder other): - * self.thisptr = other # <<<<<<<<<<<<<< - * return self - * def __getitem__(self, index): - */ - __pyx_v_self->thisptr = __pyx_v_other; - - /* "schema.pyx":230 - * cdef init(self, List[C_Node.Node.NestedNode].Builder other): - * self.thisptr = other - * return self # <<<<<<<<<<<<<< - * def __getitem__(self, index): - * size = self.thisptr.size() - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(((PyObject *)__pyx_v_self)); - __pyx_r = ((PyObject *)__pyx_v_self); - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_34_List_Node_Node_NestedNode_Builder_1__getitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_index); /*proto*/ -static PyObject *__pyx_pw_6schema_34_List_Node_Node_NestedNode_Builder_1__getitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_index) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__getitem__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_34_List_Node_Node_NestedNode_Builder___getitem__(((struct __pyx_obj_6schema__List_Node_Node_NestedNode_Builder *)__pyx_v_self), ((PyObject *)__pyx_v_index)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":231 - * self.thisptr = other - * return self - * def __getitem__(self, index): # <<<<<<<<<<<<<< - * size = self.thisptr.size() - * if index >= size: - */ - -static PyObject *__pyx_pf_6schema_34_List_Node_Node_NestedNode_Builder___getitem__(struct __pyx_obj_6schema__List_Node_Node_NestedNode_Builder *__pyx_v_self, PyObject *__pyx_v_index) { - PyObject *__pyx_v_size = NULL; - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_t_2; - unsigned int __pyx_t_3; - PyObject *__pyx_t_4 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__getitem__", 0); - __Pyx_INCREF(__pyx_v_index); - - /* "schema.pyx":232 - * return self - * def __getitem__(self, index): - * size = self.thisptr.size() # <<<<<<<<<<<<<< - * if index >= size: - * raise IndexError('Out of bounds') - */ - __pyx_t_1 = PyLong_FromUnsignedLong(__pyx_v_self->thisptr.size()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 232; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_v_size = __pyx_t_1; - __pyx_t_1 = 0; - - /* "schema.pyx":233 - * def __getitem__(self, index): - * size = self.thisptr.size() - * if index >= size: # <<<<<<<<<<<<<< - * raise IndexError('Out of bounds') - * index = index % size - */ - __pyx_t_1 = PyObject_RichCompare(__pyx_v_index, __pyx_v_size, Py_GE); __Pyx_XGOTREF(__pyx_t_1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 233; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 233; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - if (__pyx_t_2) { - - /* "schema.pyx":234 - * size = self.thisptr.size() - * if index >= size: - * raise IndexError('Out of bounds') # <<<<<<<<<<<<<< - * index = index % size - * return _Node_NestedNodeBuilder().init(self.thisptr[index]) - */ - __pyx_t_1 = PyObject_Call(__pyx_builtin_IndexError, ((PyObject *)__pyx_k_tuple_15), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 234; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __Pyx_Raise(__pyx_t_1, 0, 0, 0); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - {__pyx_filename = __pyx_f[0]; __pyx_lineno = 234; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - goto __pyx_L3; - } - __pyx_L3:; - - /* "schema.pyx":235 - * if index >= size: - * raise IndexError('Out of bounds') - * index = index % size # <<<<<<<<<<<<<< - * return _Node_NestedNodeBuilder().init(self.thisptr[index]) - * def __len__(self): - */ - __pyx_t_1 = PyNumber_Remainder(__pyx_v_index, __pyx_v_size); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 235; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __Pyx_DECREF(__pyx_v_index); - __pyx_v_index = __pyx_t_1; - __pyx_t_1 = 0; - - /* "schema.pyx":236 - * raise IndexError('Out of bounds') - * index = index % size - * return _Node_NestedNodeBuilder().init(self.thisptr[index]) # <<<<<<<<<<<<<< - * def __len__(self): - * return self.thisptr.size() - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__Node_NestedNodeBuilder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 236; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_3 = __Pyx_PyInt_AsUnsignedInt(__pyx_v_index); if (unlikely((__pyx_t_3 == (unsigned int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 236; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_t_4 = ((struct __pyx_vtabstruct_6schema__Node_NestedNodeBuilder *)((struct __pyx_obj_6schema__Node_NestedNodeBuilder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__Node_NestedNodeBuilder *)__pyx_t_1), ((::capnp::schema::Node::NestedNode::Builder)(__pyx_v_self->thisptr[__pyx_t_3]))); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 236; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_4); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_4; - __pyx_t_4 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_4); - __Pyx_AddTraceback("schema._List_Node_Node_NestedNode_Builder.__getitem__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XDECREF(__pyx_v_size); - __Pyx_XDECREF(__pyx_v_index); - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static Py_ssize_t __pyx_pw_6schema_34_List_Node_Node_NestedNode_Builder_3__len__(PyObject *__pyx_v_self); /*proto*/ -static Py_ssize_t __pyx_pw_6schema_34_List_Node_Node_NestedNode_Builder_3__len__(PyObject *__pyx_v_self) { - Py_ssize_t __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__len__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_34_List_Node_Node_NestedNode_Builder_2__len__(((struct __pyx_obj_6schema__List_Node_Node_NestedNode_Builder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":237 - * index = index % size - * return _Node_NestedNodeBuilder().init(self.thisptr[index]) - * def __len__(self): # <<<<<<<<<<<<<< - * return self.thisptr.size() - * cdef class _List_StructNode_Member_Annotation_Reader: - */ - -static Py_ssize_t __pyx_pf_6schema_34_List_Node_Node_NestedNode_Builder_2__len__(struct __pyx_obj_6schema__List_Node_Node_NestedNode_Builder *__pyx_v_self) { - Py_ssize_t __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__len__", 0); - - /* "schema.pyx":238 - * return _Node_NestedNodeBuilder().init(self.thisptr[index]) - * def __len__(self): - * return self.thisptr.size() # <<<<<<<<<<<<<< - * cdef class _List_StructNode_Member_Annotation_Reader: - * cdef List[C_StructNode.Member.Annotation].Reader thisptr - */ - __pyx_r = __pyx_v_self->thisptr.size(); - goto __pyx_L0; - - __pyx_r = 0; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":241 - * cdef class _List_StructNode_Member_Annotation_Reader: - * cdef List[C_StructNode.Member.Annotation].Reader thisptr - * cdef init(self, List[C_StructNode.Member.Annotation].Reader other): # <<<<<<<<<<<<<< - * self.thisptr = other - * return self - */ - -static PyObject *__pyx_f_6schema_41_List_StructNode_Member_Annotation_Reader_init(struct __pyx_obj_6schema__List_StructNode_Member_Annotation_Reader *__pyx_v_self, ::capnp::List<::capnp::schema::Annotation>::Reader __pyx_v_other) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("init", 0); - - /* "schema.pyx":242 - * cdef List[C_StructNode.Member.Annotation].Reader thisptr - * cdef init(self, List[C_StructNode.Member.Annotation].Reader other): - * self.thisptr = other # <<<<<<<<<<<<<< - * return self - * def __getitem__(self, index): - */ - __pyx_v_self->thisptr = __pyx_v_other; - - /* "schema.pyx":243 - * cdef init(self, List[C_StructNode.Member.Annotation].Reader other): - * self.thisptr = other - * return self # <<<<<<<<<<<<<< - * def __getitem__(self, index): - * size = self.thisptr.size() - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(((PyObject *)__pyx_v_self)); - __pyx_r = ((PyObject *)__pyx_v_self); - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_41_List_StructNode_Member_Annotation_Reader_1__getitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_index); /*proto*/ -static PyObject *__pyx_pw_6schema_41_List_StructNode_Member_Annotation_Reader_1__getitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_index) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__getitem__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_41_List_StructNode_Member_Annotation_Reader___getitem__(((struct __pyx_obj_6schema__List_StructNode_Member_Annotation_Reader *)__pyx_v_self), ((PyObject *)__pyx_v_index)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":244 - * self.thisptr = other - * return self - * def __getitem__(self, index): # <<<<<<<<<<<<<< - * size = self.thisptr.size() - * if index >= size: - */ - -static PyObject *__pyx_pf_6schema_41_List_StructNode_Member_Annotation_Reader___getitem__(struct __pyx_obj_6schema__List_StructNode_Member_Annotation_Reader *__pyx_v_self, PyObject *__pyx_v_index) { - PyObject *__pyx_v_size = NULL; - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_t_2; - unsigned int __pyx_t_3; - PyObject *__pyx_t_4 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__getitem__", 0); - __Pyx_INCREF(__pyx_v_index); - - /* "schema.pyx":245 - * return self - * def __getitem__(self, index): - * size = self.thisptr.size() # <<<<<<<<<<<<<< - * if index >= size: - * raise IndexError('Out of bounds') - */ - __pyx_t_1 = PyLong_FromUnsignedLong(__pyx_v_self->thisptr.size()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 245; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_v_size = __pyx_t_1; - __pyx_t_1 = 0; - - /* "schema.pyx":246 - * def __getitem__(self, index): - * size = self.thisptr.size() - * if index >= size: # <<<<<<<<<<<<<< - * raise IndexError('Out of bounds') - * index = index % size - */ - __pyx_t_1 = PyObject_RichCompare(__pyx_v_index, __pyx_v_size, Py_GE); __Pyx_XGOTREF(__pyx_t_1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 246; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 246; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - if (__pyx_t_2) { - - /* "schema.pyx":247 - * size = self.thisptr.size() - * if index >= size: - * raise IndexError('Out of bounds') # <<<<<<<<<<<<<< - * index = index % size - * return _AnnotationReader().init(self.thisptr[index]) - */ - __pyx_t_1 = PyObject_Call(__pyx_builtin_IndexError, ((PyObject *)__pyx_k_tuple_16), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 247; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __Pyx_Raise(__pyx_t_1, 0, 0, 0); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - {__pyx_filename = __pyx_f[0]; __pyx_lineno = 247; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - goto __pyx_L3; - } - __pyx_L3:; - - /* "schema.pyx":248 - * if index >= size: - * raise IndexError('Out of bounds') - * index = index % size # <<<<<<<<<<<<<< - * return _AnnotationReader().init(self.thisptr[index]) - * - */ - __pyx_t_1 = PyNumber_Remainder(__pyx_v_index, __pyx_v_size); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 248; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __Pyx_DECREF(__pyx_v_index); - __pyx_v_index = __pyx_t_1; - __pyx_t_1 = 0; - - /* "schema.pyx":249 - * raise IndexError('Out of bounds') - * index = index % size - * return _AnnotationReader().init(self.thisptr[index]) # <<<<<<<<<<<<<< - * - * def __len__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__AnnotationReader)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 249; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_3 = __Pyx_PyInt_AsUnsignedInt(__pyx_v_index); if (unlikely((__pyx_t_3 == (unsigned int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 249; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_t_4 = ((struct __pyx_vtabstruct_6schema__AnnotationReader *)((struct __pyx_obj_6schema__AnnotationReader *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__AnnotationReader *)__pyx_t_1), ((::capnp::schema::Annotation::Reader)(__pyx_v_self->thisptr[__pyx_t_3]))); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 249; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_4); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_4; - __pyx_t_4 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_4); - __Pyx_AddTraceback("schema._List_StructNode_Member_Annotation_Reader.__getitem__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XDECREF(__pyx_v_size); - __Pyx_XDECREF(__pyx_v_index); - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static Py_ssize_t __pyx_pw_6schema_41_List_StructNode_Member_Annotation_Reader_3__len__(PyObject *__pyx_v_self); /*proto*/ -static Py_ssize_t __pyx_pw_6schema_41_List_StructNode_Member_Annotation_Reader_3__len__(PyObject *__pyx_v_self) { - Py_ssize_t __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__len__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_41_List_StructNode_Member_Annotation_Reader_2__len__(((struct __pyx_obj_6schema__List_StructNode_Member_Annotation_Reader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":251 - * return _AnnotationReader().init(self.thisptr[index]) - * - * def __len__(self): # <<<<<<<<<<<<<< - * return self.thisptr.size() - * cdef class _List_StructNode_Member_Annotation_Builder: - */ - -static Py_ssize_t __pyx_pf_6schema_41_List_StructNode_Member_Annotation_Reader_2__len__(struct __pyx_obj_6schema__List_StructNode_Member_Annotation_Reader *__pyx_v_self) { - Py_ssize_t __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__len__", 0); - - /* "schema.pyx":252 - * - * def __len__(self): - * return self.thisptr.size() # <<<<<<<<<<<<<< - * cdef class _List_StructNode_Member_Annotation_Builder: - * cdef List[C_StructNode.Member.Annotation].Builder thisptr - */ - __pyx_r = __pyx_v_self->thisptr.size(); - goto __pyx_L0; - - __pyx_r = 0; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":255 - * cdef class _List_StructNode_Member_Annotation_Builder: - * cdef List[C_StructNode.Member.Annotation].Builder thisptr - * cdef init(self, List[C_StructNode.Member.Annotation].Builder other): # <<<<<<<<<<<<<< - * self.thisptr = other - * return self - */ - -static PyObject *__pyx_f_6schema_42_List_StructNode_Member_Annotation_Builder_init(struct __pyx_obj_6schema__List_StructNode_Member_Annotation_Builder *__pyx_v_self, ::capnp::List<::capnp::schema::Annotation>::Builder __pyx_v_other) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("init", 0); - - /* "schema.pyx":256 - * cdef List[C_StructNode.Member.Annotation].Builder thisptr - * cdef init(self, List[C_StructNode.Member.Annotation].Builder other): - * self.thisptr = other # <<<<<<<<<<<<<< - * return self - * def __getitem__(self, index): - */ - __pyx_v_self->thisptr = __pyx_v_other; - - /* "schema.pyx":257 - * cdef init(self, List[C_StructNode.Member.Annotation].Builder other): - * self.thisptr = other - * return self # <<<<<<<<<<<<<< - * def __getitem__(self, index): - * size = self.thisptr.size() - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(((PyObject *)__pyx_v_self)); - __pyx_r = ((PyObject *)__pyx_v_self); - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_42_List_StructNode_Member_Annotation_Builder_1__getitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_index); /*proto*/ -static PyObject *__pyx_pw_6schema_42_List_StructNode_Member_Annotation_Builder_1__getitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_index) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__getitem__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_42_List_StructNode_Member_Annotation_Builder___getitem__(((struct __pyx_obj_6schema__List_StructNode_Member_Annotation_Builder *)__pyx_v_self), ((PyObject *)__pyx_v_index)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":258 - * self.thisptr = other - * return self - * def __getitem__(self, index): # <<<<<<<<<<<<<< - * size = self.thisptr.size() - * if index >= size: - */ - -static PyObject *__pyx_pf_6schema_42_List_StructNode_Member_Annotation_Builder___getitem__(struct __pyx_obj_6schema__List_StructNode_Member_Annotation_Builder *__pyx_v_self, PyObject *__pyx_v_index) { - PyObject *__pyx_v_size = NULL; - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_t_2; - unsigned int __pyx_t_3; - PyObject *__pyx_t_4 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__getitem__", 0); - __Pyx_INCREF(__pyx_v_index); - - /* "schema.pyx":259 - * return self - * def __getitem__(self, index): - * size = self.thisptr.size() # <<<<<<<<<<<<<< - * if index >= size: - * raise IndexError('Out of bounds') - */ - __pyx_t_1 = PyLong_FromUnsignedLong(__pyx_v_self->thisptr.size()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 259; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_v_size = __pyx_t_1; - __pyx_t_1 = 0; - - /* "schema.pyx":260 - * def __getitem__(self, index): - * size = self.thisptr.size() - * if index >= size: # <<<<<<<<<<<<<< - * raise IndexError('Out of bounds') - * index = index % size - */ - __pyx_t_1 = PyObject_RichCompare(__pyx_v_index, __pyx_v_size, Py_GE); __Pyx_XGOTREF(__pyx_t_1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 260; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 260; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - if (__pyx_t_2) { - - /* "schema.pyx":261 - * size = self.thisptr.size() - * if index >= size: - * raise IndexError('Out of bounds') # <<<<<<<<<<<<<< - * index = index % size - * return _AnnotationBuilder().init(self.thisptr[index]) - */ - __pyx_t_1 = PyObject_Call(__pyx_builtin_IndexError, ((PyObject *)__pyx_k_tuple_17), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 261; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __Pyx_Raise(__pyx_t_1, 0, 0, 0); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - {__pyx_filename = __pyx_f[0]; __pyx_lineno = 261; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - goto __pyx_L3; - } - __pyx_L3:; - - /* "schema.pyx":262 - * if index >= size: - * raise IndexError('Out of bounds') - * index = index % size # <<<<<<<<<<<<<< - * return _AnnotationBuilder().init(self.thisptr[index]) - * def __len__(self): - */ - __pyx_t_1 = PyNumber_Remainder(__pyx_v_index, __pyx_v_size); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 262; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __Pyx_DECREF(__pyx_v_index); - __pyx_v_index = __pyx_t_1; - __pyx_t_1 = 0; - - /* "schema.pyx":263 - * raise IndexError('Out of bounds') - * index = index % size - * return _AnnotationBuilder().init(self.thisptr[index]) # <<<<<<<<<<<<<< - * def __len__(self): - * return self.thisptr.size() - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__AnnotationBuilder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 263; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_3 = __Pyx_PyInt_AsUnsignedInt(__pyx_v_index); if (unlikely((__pyx_t_3 == (unsigned int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 263; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_t_4 = ((struct __pyx_vtabstruct_6schema__AnnotationBuilder *)((struct __pyx_obj_6schema__AnnotationBuilder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__AnnotationBuilder *)__pyx_t_1), ((::capnp::schema::Annotation::Builder)(__pyx_v_self->thisptr[__pyx_t_3]))); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 263; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_4); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_4; - __pyx_t_4 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_4); - __Pyx_AddTraceback("schema._List_StructNode_Member_Annotation_Builder.__getitem__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XDECREF(__pyx_v_size); - __Pyx_XDECREF(__pyx_v_index); - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static Py_ssize_t __pyx_pw_6schema_42_List_StructNode_Member_Annotation_Builder_3__len__(PyObject *__pyx_v_self); /*proto*/ -static Py_ssize_t __pyx_pw_6schema_42_List_StructNode_Member_Annotation_Builder_3__len__(PyObject *__pyx_v_self) { - Py_ssize_t __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__len__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_42_List_StructNode_Member_Annotation_Builder_2__len__(((struct __pyx_obj_6schema__List_StructNode_Member_Annotation_Builder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":264 - * index = index % size - * return _AnnotationBuilder().init(self.thisptr[index]) - * def __len__(self): # <<<<<<<<<<<<<< - * return self.thisptr.size() - * cdef class _List_InterfaceNode_Method_Annotation_Reader: - */ - -static Py_ssize_t __pyx_pf_6schema_42_List_StructNode_Member_Annotation_Builder_2__len__(struct __pyx_obj_6schema__List_StructNode_Member_Annotation_Builder *__pyx_v_self) { - Py_ssize_t __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__len__", 0); - - /* "schema.pyx":265 - * return _AnnotationBuilder().init(self.thisptr[index]) - * def __len__(self): - * return self.thisptr.size() # <<<<<<<<<<<<<< - * cdef class _List_InterfaceNode_Method_Annotation_Reader: - * cdef List[C_InterfaceNode.Method.Annotation].Reader thisptr - */ - __pyx_r = __pyx_v_self->thisptr.size(); - goto __pyx_L0; - - __pyx_r = 0; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":268 - * cdef class _List_InterfaceNode_Method_Annotation_Reader: - * cdef List[C_InterfaceNode.Method.Annotation].Reader thisptr - * cdef init(self, List[C_InterfaceNode.Method.Annotation].Reader other): # <<<<<<<<<<<<<< - * self.thisptr = other - * return self - */ - -static PyObject *__pyx_f_6schema_44_List_InterfaceNode_Method_Annotation_Reader_init(struct __pyx_obj_6schema__List_InterfaceNode_Method_Annotation_Reader *__pyx_v_self, ::capnp::List<::capnp::schema::Annotation>::Reader __pyx_v_other) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("init", 0); - - /* "schema.pyx":269 - * cdef List[C_InterfaceNode.Method.Annotation].Reader thisptr - * cdef init(self, List[C_InterfaceNode.Method.Annotation].Reader other): - * self.thisptr = other # <<<<<<<<<<<<<< - * return self - * def __getitem__(self, index): - */ - __pyx_v_self->thisptr = __pyx_v_other; - - /* "schema.pyx":270 - * cdef init(self, List[C_InterfaceNode.Method.Annotation].Reader other): - * self.thisptr = other - * return self # <<<<<<<<<<<<<< - * def __getitem__(self, index): - * size = self.thisptr.size() - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(((PyObject *)__pyx_v_self)); - __pyx_r = ((PyObject *)__pyx_v_self); - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_44_List_InterfaceNode_Method_Annotation_Reader_1__getitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_index); /*proto*/ -static PyObject *__pyx_pw_6schema_44_List_InterfaceNode_Method_Annotation_Reader_1__getitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_index) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__getitem__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_44_List_InterfaceNode_Method_Annotation_Reader___getitem__(((struct __pyx_obj_6schema__List_InterfaceNode_Method_Annotation_Reader *)__pyx_v_self), ((PyObject *)__pyx_v_index)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":271 - * self.thisptr = other - * return self - * def __getitem__(self, index): # <<<<<<<<<<<<<< - * size = self.thisptr.size() - * if index >= size: - */ - -static PyObject *__pyx_pf_6schema_44_List_InterfaceNode_Method_Annotation_Reader___getitem__(struct __pyx_obj_6schema__List_InterfaceNode_Method_Annotation_Reader *__pyx_v_self, PyObject *__pyx_v_index) { - PyObject *__pyx_v_size = NULL; - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_t_2; - unsigned int __pyx_t_3; - PyObject *__pyx_t_4 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__getitem__", 0); - __Pyx_INCREF(__pyx_v_index); - - /* "schema.pyx":272 - * return self - * def __getitem__(self, index): - * size = self.thisptr.size() # <<<<<<<<<<<<<< - * if index >= size: - * raise IndexError('Out of bounds') - */ - __pyx_t_1 = PyLong_FromUnsignedLong(__pyx_v_self->thisptr.size()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 272; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_v_size = __pyx_t_1; - __pyx_t_1 = 0; - - /* "schema.pyx":273 - * def __getitem__(self, index): - * size = self.thisptr.size() - * if index >= size: # <<<<<<<<<<<<<< - * raise IndexError('Out of bounds') - * index = index % size - */ - __pyx_t_1 = PyObject_RichCompare(__pyx_v_index, __pyx_v_size, Py_GE); __Pyx_XGOTREF(__pyx_t_1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 273; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 273; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - if (__pyx_t_2) { - - /* "schema.pyx":274 - * size = self.thisptr.size() - * if index >= size: - * raise IndexError('Out of bounds') # <<<<<<<<<<<<<< - * index = index % size - * return _AnnotationReader().init(self.thisptr[index]) - */ - __pyx_t_1 = PyObject_Call(__pyx_builtin_IndexError, ((PyObject *)__pyx_k_tuple_18), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 274; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __Pyx_Raise(__pyx_t_1, 0, 0, 0); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - {__pyx_filename = __pyx_f[0]; __pyx_lineno = 274; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - goto __pyx_L3; - } - __pyx_L3:; - - /* "schema.pyx":275 - * if index >= size: - * raise IndexError('Out of bounds') - * index = index % size # <<<<<<<<<<<<<< - * return _AnnotationReader().init(self.thisptr[index]) - * - */ - __pyx_t_1 = PyNumber_Remainder(__pyx_v_index, __pyx_v_size); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 275; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __Pyx_DECREF(__pyx_v_index); - __pyx_v_index = __pyx_t_1; - __pyx_t_1 = 0; - - /* "schema.pyx":276 - * raise IndexError('Out of bounds') - * index = index % size - * return _AnnotationReader().init(self.thisptr[index]) # <<<<<<<<<<<<<< - * - * def __len__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__AnnotationReader)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 276; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_3 = __Pyx_PyInt_AsUnsignedInt(__pyx_v_index); if (unlikely((__pyx_t_3 == (unsigned int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 276; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_t_4 = ((struct __pyx_vtabstruct_6schema__AnnotationReader *)((struct __pyx_obj_6schema__AnnotationReader *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__AnnotationReader *)__pyx_t_1), ((::capnp::schema::Annotation::Reader)(__pyx_v_self->thisptr[__pyx_t_3]))); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 276; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_4); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_4; - __pyx_t_4 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_4); - __Pyx_AddTraceback("schema._List_InterfaceNode_Method_Annotation_Reader.__getitem__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XDECREF(__pyx_v_size); - __Pyx_XDECREF(__pyx_v_index); - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static Py_ssize_t __pyx_pw_6schema_44_List_InterfaceNode_Method_Annotation_Reader_3__len__(PyObject *__pyx_v_self); /*proto*/ -static Py_ssize_t __pyx_pw_6schema_44_List_InterfaceNode_Method_Annotation_Reader_3__len__(PyObject *__pyx_v_self) { - Py_ssize_t __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__len__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_44_List_InterfaceNode_Method_Annotation_Reader_2__len__(((struct __pyx_obj_6schema__List_InterfaceNode_Method_Annotation_Reader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":278 - * return _AnnotationReader().init(self.thisptr[index]) - * - * def __len__(self): # <<<<<<<<<<<<<< - * return self.thisptr.size() - * cdef class _List_InterfaceNode_Method_Annotation_Builder: - */ - -static Py_ssize_t __pyx_pf_6schema_44_List_InterfaceNode_Method_Annotation_Reader_2__len__(struct __pyx_obj_6schema__List_InterfaceNode_Method_Annotation_Reader *__pyx_v_self) { - Py_ssize_t __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__len__", 0); - - /* "schema.pyx":279 - * - * def __len__(self): - * return self.thisptr.size() # <<<<<<<<<<<<<< - * cdef class _List_InterfaceNode_Method_Annotation_Builder: - * cdef List[C_InterfaceNode.Method.Annotation].Builder thisptr - */ - __pyx_r = __pyx_v_self->thisptr.size(); - goto __pyx_L0; - - __pyx_r = 0; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":282 - * cdef class _List_InterfaceNode_Method_Annotation_Builder: - * cdef List[C_InterfaceNode.Method.Annotation].Builder thisptr - * cdef init(self, List[C_InterfaceNode.Method.Annotation].Builder other): # <<<<<<<<<<<<<< - * self.thisptr = other - * return self - */ - -static PyObject *__pyx_f_6schema_45_List_InterfaceNode_Method_Annotation_Builder_init(struct __pyx_obj_6schema__List_InterfaceNode_Method_Annotation_Builder *__pyx_v_self, ::capnp::List<::capnp::schema::Annotation>::Builder __pyx_v_other) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("init", 0); - - /* "schema.pyx":283 - * cdef List[C_InterfaceNode.Method.Annotation].Builder thisptr - * cdef init(self, List[C_InterfaceNode.Method.Annotation].Builder other): - * self.thisptr = other # <<<<<<<<<<<<<< - * return self - * def __getitem__(self, index): - */ - __pyx_v_self->thisptr = __pyx_v_other; - - /* "schema.pyx":284 - * cdef init(self, List[C_InterfaceNode.Method.Annotation].Builder other): - * self.thisptr = other - * return self # <<<<<<<<<<<<<< - * def __getitem__(self, index): - * size = self.thisptr.size() - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(((PyObject *)__pyx_v_self)); - __pyx_r = ((PyObject *)__pyx_v_self); - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_45_List_InterfaceNode_Method_Annotation_Builder_1__getitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_index); /*proto*/ -static PyObject *__pyx_pw_6schema_45_List_InterfaceNode_Method_Annotation_Builder_1__getitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_index) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__getitem__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_45_List_InterfaceNode_Method_Annotation_Builder___getitem__(((struct __pyx_obj_6schema__List_InterfaceNode_Method_Annotation_Builder *)__pyx_v_self), ((PyObject *)__pyx_v_index)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":285 - * self.thisptr = other - * return self - * def __getitem__(self, index): # <<<<<<<<<<<<<< - * size = self.thisptr.size() - * if index >= size: - */ - -static PyObject *__pyx_pf_6schema_45_List_InterfaceNode_Method_Annotation_Builder___getitem__(struct __pyx_obj_6schema__List_InterfaceNode_Method_Annotation_Builder *__pyx_v_self, PyObject *__pyx_v_index) { - PyObject *__pyx_v_size = NULL; - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_t_2; - unsigned int __pyx_t_3; - PyObject *__pyx_t_4 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__getitem__", 0); - __Pyx_INCREF(__pyx_v_index); - - /* "schema.pyx":286 - * return self - * def __getitem__(self, index): - * size = self.thisptr.size() # <<<<<<<<<<<<<< - * if index >= size: - * raise IndexError('Out of bounds') - */ - __pyx_t_1 = PyLong_FromUnsignedLong(__pyx_v_self->thisptr.size()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 286; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_v_size = __pyx_t_1; - __pyx_t_1 = 0; - - /* "schema.pyx":287 - * def __getitem__(self, index): - * size = self.thisptr.size() - * if index >= size: # <<<<<<<<<<<<<< - * raise IndexError('Out of bounds') - * index = index % size - */ - __pyx_t_1 = PyObject_RichCompare(__pyx_v_index, __pyx_v_size, Py_GE); __Pyx_XGOTREF(__pyx_t_1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 287; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 287; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - if (__pyx_t_2) { - - /* "schema.pyx":288 - * size = self.thisptr.size() - * if index >= size: - * raise IndexError('Out of bounds') # <<<<<<<<<<<<<< - * index = index % size - * return _AnnotationBuilder().init(self.thisptr[index]) - */ - __pyx_t_1 = PyObject_Call(__pyx_builtin_IndexError, ((PyObject *)__pyx_k_tuple_19), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 288; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __Pyx_Raise(__pyx_t_1, 0, 0, 0); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - {__pyx_filename = __pyx_f[0]; __pyx_lineno = 288; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - goto __pyx_L3; - } - __pyx_L3:; - - /* "schema.pyx":289 - * if index >= size: - * raise IndexError('Out of bounds') - * index = index % size # <<<<<<<<<<<<<< - * return _AnnotationBuilder().init(self.thisptr[index]) - * def __len__(self): - */ - __pyx_t_1 = PyNumber_Remainder(__pyx_v_index, __pyx_v_size); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 289; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __Pyx_DECREF(__pyx_v_index); - __pyx_v_index = __pyx_t_1; - __pyx_t_1 = 0; - - /* "schema.pyx":290 - * raise IndexError('Out of bounds') - * index = index % size - * return _AnnotationBuilder().init(self.thisptr[index]) # <<<<<<<<<<<<<< - * def __len__(self): - * return self.thisptr.size() - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__AnnotationBuilder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 290; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_3 = __Pyx_PyInt_AsUnsignedInt(__pyx_v_index); if (unlikely((__pyx_t_3 == (unsigned int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 290; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_t_4 = ((struct __pyx_vtabstruct_6schema__AnnotationBuilder *)((struct __pyx_obj_6schema__AnnotationBuilder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__AnnotationBuilder *)__pyx_t_1), ((::capnp::schema::Annotation::Builder)(__pyx_v_self->thisptr[__pyx_t_3]))); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 290; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_4); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_4; - __pyx_t_4 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_4); - __Pyx_AddTraceback("schema._List_InterfaceNode_Method_Annotation_Builder.__getitem__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XDECREF(__pyx_v_size); - __Pyx_XDECREF(__pyx_v_index); - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static Py_ssize_t __pyx_pw_6schema_45_List_InterfaceNode_Method_Annotation_Builder_3__len__(PyObject *__pyx_v_self); /*proto*/ -static Py_ssize_t __pyx_pw_6schema_45_List_InterfaceNode_Method_Annotation_Builder_3__len__(PyObject *__pyx_v_self) { - Py_ssize_t __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__len__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_45_List_InterfaceNode_Method_Annotation_Builder_2__len__(((struct __pyx_obj_6schema__List_InterfaceNode_Method_Annotation_Builder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":291 - * index = index % size - * return _AnnotationBuilder().init(self.thisptr[index]) - * def __len__(self): # <<<<<<<<<<<<<< - * return self.thisptr.size() - * cdef class _List_StructNode_StructNode_Member_Reader: - */ - -static Py_ssize_t __pyx_pf_6schema_45_List_InterfaceNode_Method_Annotation_Builder_2__len__(struct __pyx_obj_6schema__List_InterfaceNode_Method_Annotation_Builder *__pyx_v_self) { - Py_ssize_t __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__len__", 0); - - /* "schema.pyx":292 - * return _AnnotationBuilder().init(self.thisptr[index]) - * def __len__(self): - * return self.thisptr.size() # <<<<<<<<<<<<<< - * cdef class _List_StructNode_StructNode_Member_Reader: - * cdef List[C_StructNode.StructNode.Member].Reader thisptr - */ - __pyx_r = __pyx_v_self->thisptr.size(); - goto __pyx_L0; - - __pyx_r = 0; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":295 - * cdef class _List_StructNode_StructNode_Member_Reader: - * cdef List[C_StructNode.StructNode.Member].Reader thisptr - * cdef init(self, List[C_StructNode.StructNode.Member].Reader other): # <<<<<<<<<<<<<< - * self.thisptr = other - * return self - */ - -static PyObject *__pyx_f_6schema_41_List_StructNode_StructNode_Member_Reader_init(struct __pyx_obj_6schema__List_StructNode_StructNode_Member_Reader *__pyx_v_self, ::capnp::List<::capnp::schema::StructNode::Member>::Reader __pyx_v_other) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("init", 0); - - /* "schema.pyx":296 - * cdef List[C_StructNode.StructNode.Member].Reader thisptr - * cdef init(self, List[C_StructNode.StructNode.Member].Reader other): - * self.thisptr = other # <<<<<<<<<<<<<< - * return self - * def __getitem__(self, index): - */ - __pyx_v_self->thisptr = __pyx_v_other; - - /* "schema.pyx":297 - * cdef init(self, List[C_StructNode.StructNode.Member].Reader other): - * self.thisptr = other - * return self # <<<<<<<<<<<<<< - * def __getitem__(self, index): - * size = self.thisptr.size() - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(((PyObject *)__pyx_v_self)); - __pyx_r = ((PyObject *)__pyx_v_self); - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_41_List_StructNode_StructNode_Member_Reader_1__getitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_index); /*proto*/ -static PyObject *__pyx_pw_6schema_41_List_StructNode_StructNode_Member_Reader_1__getitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_index) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__getitem__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_41_List_StructNode_StructNode_Member_Reader___getitem__(((struct __pyx_obj_6schema__List_StructNode_StructNode_Member_Reader *)__pyx_v_self), ((PyObject *)__pyx_v_index)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":298 - * self.thisptr = other - * return self - * def __getitem__(self, index): # <<<<<<<<<<<<<< - * size = self.thisptr.size() - * if index >= size: - */ - -static PyObject *__pyx_pf_6schema_41_List_StructNode_StructNode_Member_Reader___getitem__(struct __pyx_obj_6schema__List_StructNode_StructNode_Member_Reader *__pyx_v_self, PyObject *__pyx_v_index) { - PyObject *__pyx_v_size = NULL; - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_t_2; - unsigned int __pyx_t_3; - PyObject *__pyx_t_4 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__getitem__", 0); - __Pyx_INCREF(__pyx_v_index); - - /* "schema.pyx":299 - * return self - * def __getitem__(self, index): - * size = self.thisptr.size() # <<<<<<<<<<<<<< - * if index >= size: - * raise IndexError('Out of bounds') - */ - __pyx_t_1 = PyLong_FromUnsignedLong(__pyx_v_self->thisptr.size()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 299; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_v_size = __pyx_t_1; - __pyx_t_1 = 0; - - /* "schema.pyx":300 - * def __getitem__(self, index): - * size = self.thisptr.size() - * if index >= size: # <<<<<<<<<<<<<< - * raise IndexError('Out of bounds') - * index = index % size - */ - __pyx_t_1 = PyObject_RichCompare(__pyx_v_index, __pyx_v_size, Py_GE); __Pyx_XGOTREF(__pyx_t_1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 300; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 300; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - if (__pyx_t_2) { - - /* "schema.pyx":301 - * size = self.thisptr.size() - * if index >= size: - * raise IndexError('Out of bounds') # <<<<<<<<<<<<<< - * index = index % size - * return _StructNode_MemberReader().init(self.thisptr[index]) - */ - __pyx_t_1 = PyObject_Call(__pyx_builtin_IndexError, ((PyObject *)__pyx_k_tuple_20), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 301; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __Pyx_Raise(__pyx_t_1, 0, 0, 0); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - {__pyx_filename = __pyx_f[0]; __pyx_lineno = 301; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - goto __pyx_L3; - } - __pyx_L3:; - - /* "schema.pyx":302 - * if index >= size: - * raise IndexError('Out of bounds') - * index = index % size # <<<<<<<<<<<<<< - * return _StructNode_MemberReader().init(self.thisptr[index]) - * - */ - __pyx_t_1 = PyNumber_Remainder(__pyx_v_index, __pyx_v_size); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 302; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __Pyx_DECREF(__pyx_v_index); - __pyx_v_index = __pyx_t_1; - __pyx_t_1 = 0; - - /* "schema.pyx":303 - * raise IndexError('Out of bounds') - * index = index % size - * return _StructNode_MemberReader().init(self.thisptr[index]) # <<<<<<<<<<<<<< - * - * def __len__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__StructNode_MemberReader)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 303; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_3 = __Pyx_PyInt_AsUnsignedInt(__pyx_v_index); if (unlikely((__pyx_t_3 == (unsigned int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 303; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_t_4 = ((struct __pyx_vtabstruct_6schema__StructNode_MemberReader *)((struct __pyx_obj_6schema__StructNode_MemberReader *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__StructNode_MemberReader *)__pyx_t_1), ((::capnp::schema::StructNode::Member::Reader)(__pyx_v_self->thisptr[__pyx_t_3]))); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 303; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_4); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_4; - __pyx_t_4 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_4); - __Pyx_AddTraceback("schema._List_StructNode_StructNode_Member_Reader.__getitem__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XDECREF(__pyx_v_size); - __Pyx_XDECREF(__pyx_v_index); - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static Py_ssize_t __pyx_pw_6schema_41_List_StructNode_StructNode_Member_Reader_3__len__(PyObject *__pyx_v_self); /*proto*/ -static Py_ssize_t __pyx_pw_6schema_41_List_StructNode_StructNode_Member_Reader_3__len__(PyObject *__pyx_v_self) { - Py_ssize_t __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__len__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_41_List_StructNode_StructNode_Member_Reader_2__len__(((struct __pyx_obj_6schema__List_StructNode_StructNode_Member_Reader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":305 - * return _StructNode_MemberReader().init(self.thisptr[index]) - * - * def __len__(self): # <<<<<<<<<<<<<< - * return self.thisptr.size() - * cdef class _List_StructNode_StructNode_Member_Builder: - */ - -static Py_ssize_t __pyx_pf_6schema_41_List_StructNode_StructNode_Member_Reader_2__len__(struct __pyx_obj_6schema__List_StructNode_StructNode_Member_Reader *__pyx_v_self) { - Py_ssize_t __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__len__", 0); - - /* "schema.pyx":306 - * - * def __len__(self): - * return self.thisptr.size() # <<<<<<<<<<<<<< - * cdef class _List_StructNode_StructNode_Member_Builder: - * cdef List[C_StructNode.StructNode.Member].Builder thisptr - */ - __pyx_r = __pyx_v_self->thisptr.size(); - goto __pyx_L0; - - __pyx_r = 0; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":309 - * cdef class _List_StructNode_StructNode_Member_Builder: - * cdef List[C_StructNode.StructNode.Member].Builder thisptr - * cdef init(self, List[C_StructNode.StructNode.Member].Builder other): # <<<<<<<<<<<<<< - * self.thisptr = other - * return self - */ - -static PyObject *__pyx_f_6schema_42_List_StructNode_StructNode_Member_Builder_init(struct __pyx_obj_6schema__List_StructNode_StructNode_Member_Builder *__pyx_v_self, ::capnp::List<::capnp::schema::StructNode::Member>::Builder __pyx_v_other) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("init", 0); - - /* "schema.pyx":310 - * cdef List[C_StructNode.StructNode.Member].Builder thisptr - * cdef init(self, List[C_StructNode.StructNode.Member].Builder other): - * self.thisptr = other # <<<<<<<<<<<<<< - * return self - * def __getitem__(self, index): - */ - __pyx_v_self->thisptr = __pyx_v_other; - - /* "schema.pyx":311 - * cdef init(self, List[C_StructNode.StructNode.Member].Builder other): - * self.thisptr = other - * return self # <<<<<<<<<<<<<< - * def __getitem__(self, index): - * size = self.thisptr.size() - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(((PyObject *)__pyx_v_self)); - __pyx_r = ((PyObject *)__pyx_v_self); - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_42_List_StructNode_StructNode_Member_Builder_1__getitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_index); /*proto*/ -static PyObject *__pyx_pw_6schema_42_List_StructNode_StructNode_Member_Builder_1__getitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_index) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__getitem__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_42_List_StructNode_StructNode_Member_Builder___getitem__(((struct __pyx_obj_6schema__List_StructNode_StructNode_Member_Builder *)__pyx_v_self), ((PyObject *)__pyx_v_index)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":312 - * self.thisptr = other - * return self - * def __getitem__(self, index): # <<<<<<<<<<<<<< - * size = self.thisptr.size() - * if index >= size: - */ - -static PyObject *__pyx_pf_6schema_42_List_StructNode_StructNode_Member_Builder___getitem__(struct __pyx_obj_6schema__List_StructNode_StructNode_Member_Builder *__pyx_v_self, PyObject *__pyx_v_index) { - PyObject *__pyx_v_size = NULL; - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_t_2; - unsigned int __pyx_t_3; - PyObject *__pyx_t_4 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__getitem__", 0); - __Pyx_INCREF(__pyx_v_index); - - /* "schema.pyx":313 - * return self - * def __getitem__(self, index): - * size = self.thisptr.size() # <<<<<<<<<<<<<< - * if index >= size: - * raise IndexError('Out of bounds') - */ - __pyx_t_1 = PyLong_FromUnsignedLong(__pyx_v_self->thisptr.size()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 313; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_v_size = __pyx_t_1; - __pyx_t_1 = 0; - - /* "schema.pyx":314 - * def __getitem__(self, index): - * size = self.thisptr.size() - * if index >= size: # <<<<<<<<<<<<<< - * raise IndexError('Out of bounds') - * index = index % size - */ - __pyx_t_1 = PyObject_RichCompare(__pyx_v_index, __pyx_v_size, Py_GE); __Pyx_XGOTREF(__pyx_t_1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 314; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 314; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - if (__pyx_t_2) { - - /* "schema.pyx":315 - * size = self.thisptr.size() - * if index >= size: - * raise IndexError('Out of bounds') # <<<<<<<<<<<<<< - * index = index % size - * return _StructNode_MemberBuilder().init(self.thisptr[index]) - */ - __pyx_t_1 = PyObject_Call(__pyx_builtin_IndexError, ((PyObject *)__pyx_k_tuple_21), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 315; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __Pyx_Raise(__pyx_t_1, 0, 0, 0); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - {__pyx_filename = __pyx_f[0]; __pyx_lineno = 315; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - goto __pyx_L3; - } - __pyx_L3:; - - /* "schema.pyx":316 - * if index >= size: - * raise IndexError('Out of bounds') - * index = index % size # <<<<<<<<<<<<<< - * return _StructNode_MemberBuilder().init(self.thisptr[index]) - * def __len__(self): - */ - __pyx_t_1 = PyNumber_Remainder(__pyx_v_index, __pyx_v_size); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 316; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __Pyx_DECREF(__pyx_v_index); - __pyx_v_index = __pyx_t_1; - __pyx_t_1 = 0; - - /* "schema.pyx":317 - * raise IndexError('Out of bounds') - * index = index % size - * return _StructNode_MemberBuilder().init(self.thisptr[index]) # <<<<<<<<<<<<<< - * def __len__(self): - * return self.thisptr.size() - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__StructNode_MemberBuilder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 317; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_3 = __Pyx_PyInt_AsUnsignedInt(__pyx_v_index); if (unlikely((__pyx_t_3 == (unsigned int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 317; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_t_4 = ((struct __pyx_vtabstruct_6schema__StructNode_MemberBuilder *)((struct __pyx_obj_6schema__StructNode_MemberBuilder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__StructNode_MemberBuilder *)__pyx_t_1), ((::capnp::schema::StructNode::Member::Builder)(__pyx_v_self->thisptr[__pyx_t_3]))); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 317; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_4); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_4; - __pyx_t_4 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_4); - __Pyx_AddTraceback("schema._List_StructNode_StructNode_Member_Builder.__getitem__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XDECREF(__pyx_v_size); - __Pyx_XDECREF(__pyx_v_index); - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static Py_ssize_t __pyx_pw_6schema_42_List_StructNode_StructNode_Member_Builder_3__len__(PyObject *__pyx_v_self); /*proto*/ -static Py_ssize_t __pyx_pw_6schema_42_List_StructNode_StructNode_Member_Builder_3__len__(PyObject *__pyx_v_self) { - Py_ssize_t __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__len__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_42_List_StructNode_StructNode_Member_Builder_2__len__(((struct __pyx_obj_6schema__List_StructNode_StructNode_Member_Builder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":318 - * index = index % size - * return _StructNode_MemberBuilder().init(self.thisptr[index]) - * def __len__(self): # <<<<<<<<<<<<<< - * return self.thisptr.size() - * cdef class _List_Node_Annotation_Reader: - */ - -static Py_ssize_t __pyx_pf_6schema_42_List_StructNode_StructNode_Member_Builder_2__len__(struct __pyx_obj_6schema__List_StructNode_StructNode_Member_Builder *__pyx_v_self) { - Py_ssize_t __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__len__", 0); - - /* "schema.pyx":319 - * return _StructNode_MemberBuilder().init(self.thisptr[index]) - * def __len__(self): - * return self.thisptr.size() # <<<<<<<<<<<<<< - * cdef class _List_Node_Annotation_Reader: - * cdef List[C_Node.Annotation].Reader thisptr - */ - __pyx_r = __pyx_v_self->thisptr.size(); - goto __pyx_L0; - - __pyx_r = 0; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":322 - * cdef class _List_Node_Annotation_Reader: - * cdef List[C_Node.Annotation].Reader thisptr - * cdef init(self, List[C_Node.Annotation].Reader other): # <<<<<<<<<<<<<< - * self.thisptr = other - * return self - */ - -static PyObject *__pyx_f_6schema_28_List_Node_Annotation_Reader_init(struct __pyx_obj_6schema__List_Node_Annotation_Reader *__pyx_v_self, ::capnp::List<::capnp::schema::Annotation>::Reader __pyx_v_other) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("init", 0); - - /* "schema.pyx":323 - * cdef List[C_Node.Annotation].Reader thisptr - * cdef init(self, List[C_Node.Annotation].Reader other): - * self.thisptr = other # <<<<<<<<<<<<<< - * return self - * def __getitem__(self, index): - */ - __pyx_v_self->thisptr = __pyx_v_other; - - /* "schema.pyx":324 - * cdef init(self, List[C_Node.Annotation].Reader other): - * self.thisptr = other - * return self # <<<<<<<<<<<<<< - * def __getitem__(self, index): - * size = self.thisptr.size() - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(((PyObject *)__pyx_v_self)); - __pyx_r = ((PyObject *)__pyx_v_self); - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_28_List_Node_Annotation_Reader_1__getitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_index); /*proto*/ -static PyObject *__pyx_pw_6schema_28_List_Node_Annotation_Reader_1__getitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_index) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__getitem__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_28_List_Node_Annotation_Reader___getitem__(((struct __pyx_obj_6schema__List_Node_Annotation_Reader *)__pyx_v_self), ((PyObject *)__pyx_v_index)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":325 - * self.thisptr = other - * return self - * def __getitem__(self, index): # <<<<<<<<<<<<<< - * size = self.thisptr.size() - * if index >= size: - */ - -static PyObject *__pyx_pf_6schema_28_List_Node_Annotation_Reader___getitem__(struct __pyx_obj_6schema__List_Node_Annotation_Reader *__pyx_v_self, PyObject *__pyx_v_index) { - PyObject *__pyx_v_size = NULL; - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_t_2; - unsigned int __pyx_t_3; - PyObject *__pyx_t_4 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__getitem__", 0); - __Pyx_INCREF(__pyx_v_index); - - /* "schema.pyx":326 - * return self - * def __getitem__(self, index): - * size = self.thisptr.size() # <<<<<<<<<<<<<< - * if index >= size: - * raise IndexError('Out of bounds') - */ - __pyx_t_1 = PyLong_FromUnsignedLong(__pyx_v_self->thisptr.size()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 326; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_v_size = __pyx_t_1; - __pyx_t_1 = 0; - - /* "schema.pyx":327 - * def __getitem__(self, index): - * size = self.thisptr.size() - * if index >= size: # <<<<<<<<<<<<<< - * raise IndexError('Out of bounds') - * index = index % size - */ - __pyx_t_1 = PyObject_RichCompare(__pyx_v_index, __pyx_v_size, Py_GE); __Pyx_XGOTREF(__pyx_t_1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 327; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 327; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - if (__pyx_t_2) { - - /* "schema.pyx":328 - * size = self.thisptr.size() - * if index >= size: - * raise IndexError('Out of bounds') # <<<<<<<<<<<<<< - * index = index % size - * return _AnnotationReader().init(self.thisptr[index]) - */ - __pyx_t_1 = PyObject_Call(__pyx_builtin_IndexError, ((PyObject *)__pyx_k_tuple_22), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 328; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __Pyx_Raise(__pyx_t_1, 0, 0, 0); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - {__pyx_filename = __pyx_f[0]; __pyx_lineno = 328; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - goto __pyx_L3; - } - __pyx_L3:; - - /* "schema.pyx":329 - * if index >= size: - * raise IndexError('Out of bounds') - * index = index % size # <<<<<<<<<<<<<< - * return _AnnotationReader().init(self.thisptr[index]) - * - */ - __pyx_t_1 = PyNumber_Remainder(__pyx_v_index, __pyx_v_size); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 329; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __Pyx_DECREF(__pyx_v_index); - __pyx_v_index = __pyx_t_1; - __pyx_t_1 = 0; - - /* "schema.pyx":330 - * raise IndexError('Out of bounds') - * index = index % size - * return _AnnotationReader().init(self.thisptr[index]) # <<<<<<<<<<<<<< - * - * def __len__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__AnnotationReader)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 330; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_3 = __Pyx_PyInt_AsUnsignedInt(__pyx_v_index); if (unlikely((__pyx_t_3 == (unsigned int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 330; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_t_4 = ((struct __pyx_vtabstruct_6schema__AnnotationReader *)((struct __pyx_obj_6schema__AnnotationReader *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__AnnotationReader *)__pyx_t_1), ((::capnp::schema::Annotation::Reader)(__pyx_v_self->thisptr[__pyx_t_3]))); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 330; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_4); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_4; - __pyx_t_4 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_4); - __Pyx_AddTraceback("schema._List_Node_Annotation_Reader.__getitem__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XDECREF(__pyx_v_size); - __Pyx_XDECREF(__pyx_v_index); - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static Py_ssize_t __pyx_pw_6schema_28_List_Node_Annotation_Reader_3__len__(PyObject *__pyx_v_self); /*proto*/ -static Py_ssize_t __pyx_pw_6schema_28_List_Node_Annotation_Reader_3__len__(PyObject *__pyx_v_self) { - Py_ssize_t __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__len__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_28_List_Node_Annotation_Reader_2__len__(((struct __pyx_obj_6schema__List_Node_Annotation_Reader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":332 - * return _AnnotationReader().init(self.thisptr[index]) - * - * def __len__(self): # <<<<<<<<<<<<<< - * return self.thisptr.size() - * cdef class _List_Node_Annotation_Builder: - */ - -static Py_ssize_t __pyx_pf_6schema_28_List_Node_Annotation_Reader_2__len__(struct __pyx_obj_6schema__List_Node_Annotation_Reader *__pyx_v_self) { - Py_ssize_t __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__len__", 0); - - /* "schema.pyx":333 - * - * def __len__(self): - * return self.thisptr.size() # <<<<<<<<<<<<<< - * cdef class _List_Node_Annotation_Builder: - * cdef List[C_Node.Annotation].Builder thisptr - */ - __pyx_r = __pyx_v_self->thisptr.size(); - goto __pyx_L0; - - __pyx_r = 0; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":336 - * cdef class _List_Node_Annotation_Builder: - * cdef List[C_Node.Annotation].Builder thisptr - * cdef init(self, List[C_Node.Annotation].Builder other): # <<<<<<<<<<<<<< - * self.thisptr = other - * return self - */ - -static PyObject *__pyx_f_6schema_29_List_Node_Annotation_Builder_init(struct __pyx_obj_6schema__List_Node_Annotation_Builder *__pyx_v_self, ::capnp::List<::capnp::schema::Annotation>::Builder __pyx_v_other) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("init", 0); - - /* "schema.pyx":337 - * cdef List[C_Node.Annotation].Builder thisptr - * cdef init(self, List[C_Node.Annotation].Builder other): - * self.thisptr = other # <<<<<<<<<<<<<< - * return self - * def __getitem__(self, index): - */ - __pyx_v_self->thisptr = __pyx_v_other; - - /* "schema.pyx":338 - * cdef init(self, List[C_Node.Annotation].Builder other): - * self.thisptr = other - * return self # <<<<<<<<<<<<<< - * def __getitem__(self, index): - * size = self.thisptr.size() - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(((PyObject *)__pyx_v_self)); - __pyx_r = ((PyObject *)__pyx_v_self); - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_29_List_Node_Annotation_Builder_1__getitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_index); /*proto*/ -static PyObject *__pyx_pw_6schema_29_List_Node_Annotation_Builder_1__getitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_index) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__getitem__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_29_List_Node_Annotation_Builder___getitem__(((struct __pyx_obj_6schema__List_Node_Annotation_Builder *)__pyx_v_self), ((PyObject *)__pyx_v_index)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":339 - * self.thisptr = other - * return self - * def __getitem__(self, index): # <<<<<<<<<<<<<< - * size = self.thisptr.size() - * if index >= size: - */ - -static PyObject *__pyx_pf_6schema_29_List_Node_Annotation_Builder___getitem__(struct __pyx_obj_6schema__List_Node_Annotation_Builder *__pyx_v_self, PyObject *__pyx_v_index) { - PyObject *__pyx_v_size = NULL; - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_t_2; - unsigned int __pyx_t_3; - PyObject *__pyx_t_4 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__getitem__", 0); - __Pyx_INCREF(__pyx_v_index); - - /* "schema.pyx":340 - * return self - * def __getitem__(self, index): - * size = self.thisptr.size() # <<<<<<<<<<<<<< - * if index >= size: - * raise IndexError('Out of bounds') - */ - __pyx_t_1 = PyLong_FromUnsignedLong(__pyx_v_self->thisptr.size()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 340; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_v_size = __pyx_t_1; - __pyx_t_1 = 0; - - /* "schema.pyx":341 - * def __getitem__(self, index): - * size = self.thisptr.size() - * if index >= size: # <<<<<<<<<<<<<< - * raise IndexError('Out of bounds') - * index = index % size - */ - __pyx_t_1 = PyObject_RichCompare(__pyx_v_index, __pyx_v_size, Py_GE); __Pyx_XGOTREF(__pyx_t_1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 341; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 341; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - if (__pyx_t_2) { - - /* "schema.pyx":342 - * size = self.thisptr.size() - * if index >= size: - * raise IndexError('Out of bounds') # <<<<<<<<<<<<<< - * index = index % size - * return _AnnotationBuilder().init(self.thisptr[index]) - */ - __pyx_t_1 = PyObject_Call(__pyx_builtin_IndexError, ((PyObject *)__pyx_k_tuple_23), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 342; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __Pyx_Raise(__pyx_t_1, 0, 0, 0); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - {__pyx_filename = __pyx_f[0]; __pyx_lineno = 342; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - goto __pyx_L3; - } - __pyx_L3:; - - /* "schema.pyx":343 - * if index >= size: - * raise IndexError('Out of bounds') - * index = index % size # <<<<<<<<<<<<<< - * return _AnnotationBuilder().init(self.thisptr[index]) - * def __len__(self): - */ - __pyx_t_1 = PyNumber_Remainder(__pyx_v_index, __pyx_v_size); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 343; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __Pyx_DECREF(__pyx_v_index); - __pyx_v_index = __pyx_t_1; - __pyx_t_1 = 0; - - /* "schema.pyx":344 - * raise IndexError('Out of bounds') - * index = index % size - * return _AnnotationBuilder().init(self.thisptr[index]) # <<<<<<<<<<<<<< - * def __len__(self): - * return self.thisptr.size() - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__AnnotationBuilder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 344; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_3 = __Pyx_PyInt_AsUnsignedInt(__pyx_v_index); if (unlikely((__pyx_t_3 == (unsigned int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 344; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_t_4 = ((struct __pyx_vtabstruct_6schema__AnnotationBuilder *)((struct __pyx_obj_6schema__AnnotationBuilder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__AnnotationBuilder *)__pyx_t_1), ((::capnp::schema::Annotation::Builder)(__pyx_v_self->thisptr[__pyx_t_3]))); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 344; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_4); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_4; - __pyx_t_4 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_4); - __Pyx_AddTraceback("schema._List_Node_Annotation_Builder.__getitem__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XDECREF(__pyx_v_size); - __Pyx_XDECREF(__pyx_v_index); - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static Py_ssize_t __pyx_pw_6schema_29_List_Node_Annotation_Builder_3__len__(PyObject *__pyx_v_self); /*proto*/ -static Py_ssize_t __pyx_pw_6schema_29_List_Node_Annotation_Builder_3__len__(PyObject *__pyx_v_self) { - Py_ssize_t __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__len__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_29_List_Node_Annotation_Builder_2__len__(((struct __pyx_obj_6schema__List_Node_Annotation_Builder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":345 - * index = index % size - * return _AnnotationBuilder().init(self.thisptr[index]) - * def __len__(self): # <<<<<<<<<<<<<< - * return self.thisptr.size() - * cdef class _List_CodeGeneratorRequest_Node_Reader: - */ - -static Py_ssize_t __pyx_pf_6schema_29_List_Node_Annotation_Builder_2__len__(struct __pyx_obj_6schema__List_Node_Annotation_Builder *__pyx_v_self) { - Py_ssize_t __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__len__", 0); - - /* "schema.pyx":346 - * return _AnnotationBuilder().init(self.thisptr[index]) - * def __len__(self): - * return self.thisptr.size() # <<<<<<<<<<<<<< - * cdef class _List_CodeGeneratorRequest_Node_Reader: - * cdef List[C_CodeGeneratorRequest.Node].Reader thisptr - */ - __pyx_r = __pyx_v_self->thisptr.size(); - goto __pyx_L0; - - __pyx_r = 0; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":349 - * cdef class _List_CodeGeneratorRequest_Node_Reader: - * cdef List[C_CodeGeneratorRequest.Node].Reader thisptr - * cdef init(self, List[C_CodeGeneratorRequest.Node].Reader other): # <<<<<<<<<<<<<< - * self.thisptr = other - * return self - */ - -static PyObject *__pyx_f_6schema_38_List_CodeGeneratorRequest_Node_Reader_init(struct __pyx_obj_6schema__List_CodeGeneratorRequest_Node_Reader *__pyx_v_self, ::capnp::List<::capnp::schema::Node>::Reader __pyx_v_other) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("init", 0); - - /* "schema.pyx":350 - * cdef List[C_CodeGeneratorRequest.Node].Reader thisptr - * cdef init(self, List[C_CodeGeneratorRequest.Node].Reader other): - * self.thisptr = other # <<<<<<<<<<<<<< - * return self - * def __getitem__(self, index): - */ - __pyx_v_self->thisptr = __pyx_v_other; - - /* "schema.pyx":351 - * cdef init(self, List[C_CodeGeneratorRequest.Node].Reader other): - * self.thisptr = other - * return self # <<<<<<<<<<<<<< - * def __getitem__(self, index): - * size = self.thisptr.size() - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(((PyObject *)__pyx_v_self)); - __pyx_r = ((PyObject *)__pyx_v_self); - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_38_List_CodeGeneratorRequest_Node_Reader_1__getitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_index); /*proto*/ -static PyObject *__pyx_pw_6schema_38_List_CodeGeneratorRequest_Node_Reader_1__getitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_index) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__getitem__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_38_List_CodeGeneratorRequest_Node_Reader___getitem__(((struct __pyx_obj_6schema__List_CodeGeneratorRequest_Node_Reader *)__pyx_v_self), ((PyObject *)__pyx_v_index)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":352 - * self.thisptr = other - * return self - * def __getitem__(self, index): # <<<<<<<<<<<<<< - * size = self.thisptr.size() - * if index >= size: - */ - -static PyObject *__pyx_pf_6schema_38_List_CodeGeneratorRequest_Node_Reader___getitem__(struct __pyx_obj_6schema__List_CodeGeneratorRequest_Node_Reader *__pyx_v_self, PyObject *__pyx_v_index) { - PyObject *__pyx_v_size = NULL; - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_t_2; - unsigned int __pyx_t_3; - PyObject *__pyx_t_4 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__getitem__", 0); - __Pyx_INCREF(__pyx_v_index); - - /* "schema.pyx":353 - * return self - * def __getitem__(self, index): - * size = self.thisptr.size() # <<<<<<<<<<<<<< - * if index >= size: - * raise IndexError('Out of bounds') - */ - __pyx_t_1 = PyLong_FromUnsignedLong(__pyx_v_self->thisptr.size()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 353; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_v_size = __pyx_t_1; - __pyx_t_1 = 0; - - /* "schema.pyx":354 - * def __getitem__(self, index): - * size = self.thisptr.size() - * if index >= size: # <<<<<<<<<<<<<< - * raise IndexError('Out of bounds') - * index = index % size - */ - __pyx_t_1 = PyObject_RichCompare(__pyx_v_index, __pyx_v_size, Py_GE); __Pyx_XGOTREF(__pyx_t_1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 354; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 354; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - if (__pyx_t_2) { - - /* "schema.pyx":355 - * size = self.thisptr.size() - * if index >= size: - * raise IndexError('Out of bounds') # <<<<<<<<<<<<<< - * index = index % size - * return _NodeReader().init(self.thisptr[index]) - */ - __pyx_t_1 = PyObject_Call(__pyx_builtin_IndexError, ((PyObject *)__pyx_k_tuple_24), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 355; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __Pyx_Raise(__pyx_t_1, 0, 0, 0); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - {__pyx_filename = __pyx_f[0]; __pyx_lineno = 355; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - goto __pyx_L3; - } - __pyx_L3:; - - /* "schema.pyx":356 - * if index >= size: - * raise IndexError('Out of bounds') - * index = index % size # <<<<<<<<<<<<<< - * return _NodeReader().init(self.thisptr[index]) - * - */ - __pyx_t_1 = PyNumber_Remainder(__pyx_v_index, __pyx_v_size); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 356; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __Pyx_DECREF(__pyx_v_index); - __pyx_v_index = __pyx_t_1; - __pyx_t_1 = 0; - - /* "schema.pyx":357 - * raise IndexError('Out of bounds') - * index = index % size - * return _NodeReader().init(self.thisptr[index]) # <<<<<<<<<<<<<< - * - * def __len__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__NodeReader)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 357; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_3 = __Pyx_PyInt_AsUnsignedInt(__pyx_v_index); if (unlikely((__pyx_t_3 == (unsigned int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 357; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_t_4 = ((struct __pyx_vtabstruct_6schema__NodeReader *)((struct __pyx_obj_6schema__NodeReader *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__NodeReader *)__pyx_t_1), ((::capnp::schema::Node::Reader)(__pyx_v_self->thisptr[__pyx_t_3]))); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 357; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_4); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_4; - __pyx_t_4 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_4); - __Pyx_AddTraceback("schema._List_CodeGeneratorRequest_Node_Reader.__getitem__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XDECREF(__pyx_v_size); - __Pyx_XDECREF(__pyx_v_index); - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static Py_ssize_t __pyx_pw_6schema_38_List_CodeGeneratorRequest_Node_Reader_3__len__(PyObject *__pyx_v_self); /*proto*/ -static Py_ssize_t __pyx_pw_6schema_38_List_CodeGeneratorRequest_Node_Reader_3__len__(PyObject *__pyx_v_self) { - Py_ssize_t __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__len__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_38_List_CodeGeneratorRequest_Node_Reader_2__len__(((struct __pyx_obj_6schema__List_CodeGeneratorRequest_Node_Reader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":359 - * return _NodeReader().init(self.thisptr[index]) - * - * def __len__(self): # <<<<<<<<<<<<<< - * return self.thisptr.size() - * cdef class _List_CodeGeneratorRequest_Node_Builder: - */ - -static Py_ssize_t __pyx_pf_6schema_38_List_CodeGeneratorRequest_Node_Reader_2__len__(struct __pyx_obj_6schema__List_CodeGeneratorRequest_Node_Reader *__pyx_v_self) { - Py_ssize_t __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__len__", 0); - - /* "schema.pyx":360 - * - * def __len__(self): - * return self.thisptr.size() # <<<<<<<<<<<<<< - * cdef class _List_CodeGeneratorRequest_Node_Builder: - * cdef List[C_CodeGeneratorRequest.Node].Builder thisptr - */ - __pyx_r = __pyx_v_self->thisptr.size(); - goto __pyx_L0; - - __pyx_r = 0; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":363 - * cdef class _List_CodeGeneratorRequest_Node_Builder: - * cdef List[C_CodeGeneratorRequest.Node].Builder thisptr - * cdef init(self, List[C_CodeGeneratorRequest.Node].Builder other): # <<<<<<<<<<<<<< - * self.thisptr = other - * return self - */ - -static PyObject *__pyx_f_6schema_39_List_CodeGeneratorRequest_Node_Builder_init(struct __pyx_obj_6schema__List_CodeGeneratorRequest_Node_Builder *__pyx_v_self, ::capnp::List<::capnp::schema::Node>::Builder __pyx_v_other) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("init", 0); - - /* "schema.pyx":364 - * cdef List[C_CodeGeneratorRequest.Node].Builder thisptr - * cdef init(self, List[C_CodeGeneratorRequest.Node].Builder other): - * self.thisptr = other # <<<<<<<<<<<<<< - * return self - * def __getitem__(self, index): - */ - __pyx_v_self->thisptr = __pyx_v_other; - - /* "schema.pyx":365 - * cdef init(self, List[C_CodeGeneratorRequest.Node].Builder other): - * self.thisptr = other - * return self # <<<<<<<<<<<<<< - * def __getitem__(self, index): - * size = self.thisptr.size() - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(((PyObject *)__pyx_v_self)); - __pyx_r = ((PyObject *)__pyx_v_self); - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_39_List_CodeGeneratorRequest_Node_Builder_1__getitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_index); /*proto*/ -static PyObject *__pyx_pw_6schema_39_List_CodeGeneratorRequest_Node_Builder_1__getitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_index) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__getitem__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_39_List_CodeGeneratorRequest_Node_Builder___getitem__(((struct __pyx_obj_6schema__List_CodeGeneratorRequest_Node_Builder *)__pyx_v_self), ((PyObject *)__pyx_v_index)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":366 - * self.thisptr = other - * return self - * def __getitem__(self, index): # <<<<<<<<<<<<<< - * size = self.thisptr.size() - * if index >= size: - */ - -static PyObject *__pyx_pf_6schema_39_List_CodeGeneratorRequest_Node_Builder___getitem__(struct __pyx_obj_6schema__List_CodeGeneratorRequest_Node_Builder *__pyx_v_self, PyObject *__pyx_v_index) { - PyObject *__pyx_v_size = NULL; - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_t_2; - unsigned int __pyx_t_3; - PyObject *__pyx_t_4 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__getitem__", 0); - __Pyx_INCREF(__pyx_v_index); - - /* "schema.pyx":367 - * return self - * def __getitem__(self, index): - * size = self.thisptr.size() # <<<<<<<<<<<<<< - * if index >= size: - * raise IndexError('Out of bounds') - */ - __pyx_t_1 = PyLong_FromUnsignedLong(__pyx_v_self->thisptr.size()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 367; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_v_size = __pyx_t_1; - __pyx_t_1 = 0; - - /* "schema.pyx":368 - * def __getitem__(self, index): - * size = self.thisptr.size() - * if index >= size: # <<<<<<<<<<<<<< - * raise IndexError('Out of bounds') - * index = index % size - */ - __pyx_t_1 = PyObject_RichCompare(__pyx_v_index, __pyx_v_size, Py_GE); __Pyx_XGOTREF(__pyx_t_1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 368; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 368; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - if (__pyx_t_2) { - - /* "schema.pyx":369 - * size = self.thisptr.size() - * if index >= size: - * raise IndexError('Out of bounds') # <<<<<<<<<<<<<< - * index = index % size - * return _NodeBuilder().init(self.thisptr[index]) - */ - __pyx_t_1 = PyObject_Call(__pyx_builtin_IndexError, ((PyObject *)__pyx_k_tuple_25), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 369; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __Pyx_Raise(__pyx_t_1, 0, 0, 0); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - {__pyx_filename = __pyx_f[0]; __pyx_lineno = 369; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - goto __pyx_L3; - } - __pyx_L3:; - - /* "schema.pyx":370 - * if index >= size: - * raise IndexError('Out of bounds') - * index = index % size # <<<<<<<<<<<<<< - * return _NodeBuilder().init(self.thisptr[index]) - * def __len__(self): - */ - __pyx_t_1 = PyNumber_Remainder(__pyx_v_index, __pyx_v_size); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 370; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __Pyx_DECREF(__pyx_v_index); - __pyx_v_index = __pyx_t_1; - __pyx_t_1 = 0; - - /* "schema.pyx":371 - * raise IndexError('Out of bounds') - * index = index % size - * return _NodeBuilder().init(self.thisptr[index]) # <<<<<<<<<<<<<< - * def __len__(self): - * return self.thisptr.size() - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__NodeBuilder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 371; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_3 = __Pyx_PyInt_AsUnsignedInt(__pyx_v_index); if (unlikely((__pyx_t_3 == (unsigned int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 371; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_t_4 = ((struct __pyx_vtabstruct_6schema__NodeBuilder *)((struct __pyx_obj_6schema__NodeBuilder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__NodeBuilder *)__pyx_t_1), ((::capnp::schema::Node::Builder)(__pyx_v_self->thisptr[__pyx_t_3]))); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 371; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_4); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_4; - __pyx_t_4 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_4); - __Pyx_AddTraceback("schema._List_CodeGeneratorRequest_Node_Builder.__getitem__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XDECREF(__pyx_v_size); - __Pyx_XDECREF(__pyx_v_index); - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static Py_ssize_t __pyx_pw_6schema_39_List_CodeGeneratorRequest_Node_Builder_3__len__(PyObject *__pyx_v_self); /*proto*/ -static Py_ssize_t __pyx_pw_6schema_39_List_CodeGeneratorRequest_Node_Builder_3__len__(PyObject *__pyx_v_self) { - Py_ssize_t __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__len__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_39_List_CodeGeneratorRequest_Node_Builder_2__len__(((struct __pyx_obj_6schema__List_CodeGeneratorRequest_Node_Builder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":372 - * index = index % size - * return _NodeBuilder().init(self.thisptr[index]) - * def __len__(self): # <<<<<<<<<<<<<< - * return self.thisptr.size() - * cdef class _List_FileNode_FileNode_Import_Reader: - */ - -static Py_ssize_t __pyx_pf_6schema_39_List_CodeGeneratorRequest_Node_Builder_2__len__(struct __pyx_obj_6schema__List_CodeGeneratorRequest_Node_Builder *__pyx_v_self) { - Py_ssize_t __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__len__", 0); - - /* "schema.pyx":373 - * return _NodeBuilder().init(self.thisptr[index]) - * def __len__(self): - * return self.thisptr.size() # <<<<<<<<<<<<<< - * cdef class _List_FileNode_FileNode_Import_Reader: - * cdef List[C_FileNode.FileNode.Import].Reader thisptr - */ - __pyx_r = __pyx_v_self->thisptr.size(); - goto __pyx_L0; - - __pyx_r = 0; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":376 - * cdef class _List_FileNode_FileNode_Import_Reader: - * cdef List[C_FileNode.FileNode.Import].Reader thisptr - * cdef init(self, List[C_FileNode.FileNode.Import].Reader other): # <<<<<<<<<<<<<< - * self.thisptr = other - * return self - */ - -static PyObject *__pyx_f_6schema_37_List_FileNode_FileNode_Import_Reader_init(struct __pyx_obj_6schema__List_FileNode_FileNode_Import_Reader *__pyx_v_self, ::capnp::List<::capnp::schema::FileNode::Import>::Reader __pyx_v_other) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("init", 0); - - /* "schema.pyx":377 - * cdef List[C_FileNode.FileNode.Import].Reader thisptr - * cdef init(self, List[C_FileNode.FileNode.Import].Reader other): - * self.thisptr = other # <<<<<<<<<<<<<< - * return self - * def __getitem__(self, index): - */ - __pyx_v_self->thisptr = __pyx_v_other; - - /* "schema.pyx":378 - * cdef init(self, List[C_FileNode.FileNode.Import].Reader other): - * self.thisptr = other - * return self # <<<<<<<<<<<<<< - * def __getitem__(self, index): - * size = self.thisptr.size() - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(((PyObject *)__pyx_v_self)); - __pyx_r = ((PyObject *)__pyx_v_self); - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_37_List_FileNode_FileNode_Import_Reader_1__getitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_index); /*proto*/ -static PyObject *__pyx_pw_6schema_37_List_FileNode_FileNode_Import_Reader_1__getitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_index) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__getitem__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_37_List_FileNode_FileNode_Import_Reader___getitem__(((struct __pyx_obj_6schema__List_FileNode_FileNode_Import_Reader *)__pyx_v_self), ((PyObject *)__pyx_v_index)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":379 - * self.thisptr = other - * return self - * def __getitem__(self, index): # <<<<<<<<<<<<<< - * size = self.thisptr.size() - * if index >= size: - */ - -static PyObject *__pyx_pf_6schema_37_List_FileNode_FileNode_Import_Reader___getitem__(struct __pyx_obj_6schema__List_FileNode_FileNode_Import_Reader *__pyx_v_self, PyObject *__pyx_v_index) { - PyObject *__pyx_v_size = NULL; - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_t_2; - unsigned int __pyx_t_3; - PyObject *__pyx_t_4 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__getitem__", 0); - __Pyx_INCREF(__pyx_v_index); - - /* "schema.pyx":380 - * return self - * def __getitem__(self, index): - * size = self.thisptr.size() # <<<<<<<<<<<<<< - * if index >= size: - * raise IndexError('Out of bounds') - */ - __pyx_t_1 = PyLong_FromUnsignedLong(__pyx_v_self->thisptr.size()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 380; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_v_size = __pyx_t_1; - __pyx_t_1 = 0; - - /* "schema.pyx":381 - * def __getitem__(self, index): - * size = self.thisptr.size() - * if index >= size: # <<<<<<<<<<<<<< - * raise IndexError('Out of bounds') - * index = index % size - */ - __pyx_t_1 = PyObject_RichCompare(__pyx_v_index, __pyx_v_size, Py_GE); __Pyx_XGOTREF(__pyx_t_1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 381; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 381; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - if (__pyx_t_2) { - - /* "schema.pyx":382 - * size = self.thisptr.size() - * if index >= size: - * raise IndexError('Out of bounds') # <<<<<<<<<<<<<< - * index = index % size - * return _FileNode_ImportReader().init(self.thisptr[index]) - */ - __pyx_t_1 = PyObject_Call(__pyx_builtin_IndexError, ((PyObject *)__pyx_k_tuple_26), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 382; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __Pyx_Raise(__pyx_t_1, 0, 0, 0); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - {__pyx_filename = __pyx_f[0]; __pyx_lineno = 382; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - goto __pyx_L3; - } - __pyx_L3:; - - /* "schema.pyx":383 - * if index >= size: - * raise IndexError('Out of bounds') - * index = index % size # <<<<<<<<<<<<<< - * return _FileNode_ImportReader().init(self.thisptr[index]) - * - */ - __pyx_t_1 = PyNumber_Remainder(__pyx_v_index, __pyx_v_size); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 383; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __Pyx_DECREF(__pyx_v_index); - __pyx_v_index = __pyx_t_1; - __pyx_t_1 = 0; - - /* "schema.pyx":384 - * raise IndexError('Out of bounds') - * index = index % size - * return _FileNode_ImportReader().init(self.thisptr[index]) # <<<<<<<<<<<<<< - * - * def __len__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__FileNode_ImportReader)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 384; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_3 = __Pyx_PyInt_AsUnsignedInt(__pyx_v_index); if (unlikely((__pyx_t_3 == (unsigned int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 384; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_t_4 = ((struct __pyx_vtabstruct_6schema__FileNode_ImportReader *)((struct __pyx_obj_6schema__FileNode_ImportReader *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__FileNode_ImportReader *)__pyx_t_1), ((::capnp::schema::FileNode::Import::Reader)(__pyx_v_self->thisptr[__pyx_t_3]))); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 384; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_4); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_4; - __pyx_t_4 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_4); - __Pyx_AddTraceback("schema._List_FileNode_FileNode_Import_Reader.__getitem__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XDECREF(__pyx_v_size); - __Pyx_XDECREF(__pyx_v_index); - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static Py_ssize_t __pyx_pw_6schema_37_List_FileNode_FileNode_Import_Reader_3__len__(PyObject *__pyx_v_self); /*proto*/ -static Py_ssize_t __pyx_pw_6schema_37_List_FileNode_FileNode_Import_Reader_3__len__(PyObject *__pyx_v_self) { - Py_ssize_t __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__len__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_37_List_FileNode_FileNode_Import_Reader_2__len__(((struct __pyx_obj_6schema__List_FileNode_FileNode_Import_Reader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":386 - * return _FileNode_ImportReader().init(self.thisptr[index]) - * - * def __len__(self): # <<<<<<<<<<<<<< - * return self.thisptr.size() - * cdef class _List_FileNode_FileNode_Import_Builder: - */ - -static Py_ssize_t __pyx_pf_6schema_37_List_FileNode_FileNode_Import_Reader_2__len__(struct __pyx_obj_6schema__List_FileNode_FileNode_Import_Reader *__pyx_v_self) { - Py_ssize_t __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__len__", 0); - - /* "schema.pyx":387 - * - * def __len__(self): - * return self.thisptr.size() # <<<<<<<<<<<<<< - * cdef class _List_FileNode_FileNode_Import_Builder: - * cdef List[C_FileNode.FileNode.Import].Builder thisptr - */ - __pyx_r = __pyx_v_self->thisptr.size(); - goto __pyx_L0; - - __pyx_r = 0; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":390 - * cdef class _List_FileNode_FileNode_Import_Builder: - * cdef List[C_FileNode.FileNode.Import].Builder thisptr - * cdef init(self, List[C_FileNode.FileNode.Import].Builder other): # <<<<<<<<<<<<<< - * self.thisptr = other - * return self - */ - -static PyObject *__pyx_f_6schema_38_List_FileNode_FileNode_Import_Builder_init(struct __pyx_obj_6schema__List_FileNode_FileNode_Import_Builder *__pyx_v_self, ::capnp::List<::capnp::schema::FileNode::Import>::Builder __pyx_v_other) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("init", 0); - - /* "schema.pyx":391 - * cdef List[C_FileNode.FileNode.Import].Builder thisptr - * cdef init(self, List[C_FileNode.FileNode.Import].Builder other): - * self.thisptr = other # <<<<<<<<<<<<<< - * return self - * def __getitem__(self, index): - */ - __pyx_v_self->thisptr = __pyx_v_other; - - /* "schema.pyx":392 - * cdef init(self, List[C_FileNode.FileNode.Import].Builder other): - * self.thisptr = other - * return self # <<<<<<<<<<<<<< - * def __getitem__(self, index): - * size = self.thisptr.size() - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(((PyObject *)__pyx_v_self)); - __pyx_r = ((PyObject *)__pyx_v_self); - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_38_List_FileNode_FileNode_Import_Builder_1__getitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_index); /*proto*/ -static PyObject *__pyx_pw_6schema_38_List_FileNode_FileNode_Import_Builder_1__getitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_index) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__getitem__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_38_List_FileNode_FileNode_Import_Builder___getitem__(((struct __pyx_obj_6schema__List_FileNode_FileNode_Import_Builder *)__pyx_v_self), ((PyObject *)__pyx_v_index)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":393 - * self.thisptr = other - * return self - * def __getitem__(self, index): # <<<<<<<<<<<<<< - * size = self.thisptr.size() - * if index >= size: - */ - -static PyObject *__pyx_pf_6schema_38_List_FileNode_FileNode_Import_Builder___getitem__(struct __pyx_obj_6schema__List_FileNode_FileNode_Import_Builder *__pyx_v_self, PyObject *__pyx_v_index) { - PyObject *__pyx_v_size = NULL; - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_t_2; - unsigned int __pyx_t_3; - PyObject *__pyx_t_4 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__getitem__", 0); - __Pyx_INCREF(__pyx_v_index); - - /* "schema.pyx":394 - * return self - * def __getitem__(self, index): - * size = self.thisptr.size() # <<<<<<<<<<<<<< - * if index >= size: - * raise IndexError('Out of bounds') - */ - __pyx_t_1 = PyLong_FromUnsignedLong(__pyx_v_self->thisptr.size()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 394; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_v_size = __pyx_t_1; - __pyx_t_1 = 0; - - /* "schema.pyx":395 - * def __getitem__(self, index): - * size = self.thisptr.size() - * if index >= size: # <<<<<<<<<<<<<< - * raise IndexError('Out of bounds') - * index = index % size - */ - __pyx_t_1 = PyObject_RichCompare(__pyx_v_index, __pyx_v_size, Py_GE); __Pyx_XGOTREF(__pyx_t_1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 395; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 395; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - if (__pyx_t_2) { - - /* "schema.pyx":396 - * size = self.thisptr.size() - * if index >= size: - * raise IndexError('Out of bounds') # <<<<<<<<<<<<<< - * index = index % size - * return _FileNode_ImportBuilder().init(self.thisptr[index]) - */ - __pyx_t_1 = PyObject_Call(__pyx_builtin_IndexError, ((PyObject *)__pyx_k_tuple_27), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 396; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __Pyx_Raise(__pyx_t_1, 0, 0, 0); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - {__pyx_filename = __pyx_f[0]; __pyx_lineno = 396; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - goto __pyx_L3; - } - __pyx_L3:; - - /* "schema.pyx":397 - * if index >= size: - * raise IndexError('Out of bounds') - * index = index % size # <<<<<<<<<<<<<< - * return _FileNode_ImportBuilder().init(self.thisptr[index]) - * def __len__(self): - */ - __pyx_t_1 = PyNumber_Remainder(__pyx_v_index, __pyx_v_size); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 397; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __Pyx_DECREF(__pyx_v_index); - __pyx_v_index = __pyx_t_1; - __pyx_t_1 = 0; - - /* "schema.pyx":398 - * raise IndexError('Out of bounds') - * index = index % size - * return _FileNode_ImportBuilder().init(self.thisptr[index]) # <<<<<<<<<<<<<< - * def __len__(self): - * return self.thisptr.size() - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__FileNode_ImportBuilder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 398; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_3 = __Pyx_PyInt_AsUnsignedInt(__pyx_v_index); if (unlikely((__pyx_t_3 == (unsigned int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 398; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_t_4 = ((struct __pyx_vtabstruct_6schema__FileNode_ImportBuilder *)((struct __pyx_obj_6schema__FileNode_ImportBuilder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__FileNode_ImportBuilder *)__pyx_t_1), ((::capnp::schema::FileNode::Import::Builder)(__pyx_v_self->thisptr[__pyx_t_3]))); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 398; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_4); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_4; - __pyx_t_4 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_4); - __Pyx_AddTraceback("schema._List_FileNode_FileNode_Import_Builder.__getitem__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XDECREF(__pyx_v_size); - __Pyx_XDECREF(__pyx_v_index); - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static Py_ssize_t __pyx_pw_6schema_38_List_FileNode_FileNode_Import_Builder_3__len__(PyObject *__pyx_v_self); /*proto*/ -static Py_ssize_t __pyx_pw_6schema_38_List_FileNode_FileNode_Import_Builder_3__len__(PyObject *__pyx_v_self) { - Py_ssize_t __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__len__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_38_List_FileNode_FileNode_Import_Builder_2__len__(((struct __pyx_obj_6schema__List_FileNode_FileNode_Import_Builder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":399 - * index = index % size - * return _FileNode_ImportBuilder().init(self.thisptr[index]) - * def __len__(self): # <<<<<<<<<<<<<< - * return self.thisptr.size() - * cdef class _List_EnumNode_Enumerant_Annotation_Reader: - */ - -static Py_ssize_t __pyx_pf_6schema_38_List_FileNode_FileNode_Import_Builder_2__len__(struct __pyx_obj_6schema__List_FileNode_FileNode_Import_Builder *__pyx_v_self) { - Py_ssize_t __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__len__", 0); - - /* "schema.pyx":400 - * return _FileNode_ImportBuilder().init(self.thisptr[index]) - * def __len__(self): - * return self.thisptr.size() # <<<<<<<<<<<<<< - * cdef class _List_EnumNode_Enumerant_Annotation_Reader: - * cdef List[C_EnumNode.Enumerant.Annotation].Reader thisptr - */ - __pyx_r = __pyx_v_self->thisptr.size(); - goto __pyx_L0; - - __pyx_r = 0; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":403 - * cdef class _List_EnumNode_Enumerant_Annotation_Reader: - * cdef List[C_EnumNode.Enumerant.Annotation].Reader thisptr - * cdef init(self, List[C_EnumNode.Enumerant.Annotation].Reader other): # <<<<<<<<<<<<<< - * self.thisptr = other - * return self - */ - -static PyObject *__pyx_f_6schema_42_List_EnumNode_Enumerant_Annotation_Reader_init(struct __pyx_obj_6schema__List_EnumNode_Enumerant_Annotation_Reader *__pyx_v_self, ::capnp::List<::capnp::schema::Annotation>::Reader __pyx_v_other) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("init", 0); - - /* "schema.pyx":404 - * cdef List[C_EnumNode.Enumerant.Annotation].Reader thisptr - * cdef init(self, List[C_EnumNode.Enumerant.Annotation].Reader other): - * self.thisptr = other # <<<<<<<<<<<<<< - * return self - * def __getitem__(self, index): - */ - __pyx_v_self->thisptr = __pyx_v_other; - - /* "schema.pyx":405 - * cdef init(self, List[C_EnumNode.Enumerant.Annotation].Reader other): - * self.thisptr = other - * return self # <<<<<<<<<<<<<< - * def __getitem__(self, index): - * size = self.thisptr.size() - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(((PyObject *)__pyx_v_self)); - __pyx_r = ((PyObject *)__pyx_v_self); - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_42_List_EnumNode_Enumerant_Annotation_Reader_1__getitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_index); /*proto*/ -static PyObject *__pyx_pw_6schema_42_List_EnumNode_Enumerant_Annotation_Reader_1__getitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_index) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__getitem__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_42_List_EnumNode_Enumerant_Annotation_Reader___getitem__(((struct __pyx_obj_6schema__List_EnumNode_Enumerant_Annotation_Reader *)__pyx_v_self), ((PyObject *)__pyx_v_index)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":406 - * self.thisptr = other - * return self - * def __getitem__(self, index): # <<<<<<<<<<<<<< - * size = self.thisptr.size() - * if index >= size: - */ - -static PyObject *__pyx_pf_6schema_42_List_EnumNode_Enumerant_Annotation_Reader___getitem__(struct __pyx_obj_6schema__List_EnumNode_Enumerant_Annotation_Reader *__pyx_v_self, PyObject *__pyx_v_index) { - PyObject *__pyx_v_size = NULL; - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_t_2; - unsigned int __pyx_t_3; - PyObject *__pyx_t_4 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__getitem__", 0); - __Pyx_INCREF(__pyx_v_index); - - /* "schema.pyx":407 - * return self - * def __getitem__(self, index): - * size = self.thisptr.size() # <<<<<<<<<<<<<< - * if index >= size: - * raise IndexError('Out of bounds') - */ - __pyx_t_1 = PyLong_FromUnsignedLong(__pyx_v_self->thisptr.size()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 407; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_v_size = __pyx_t_1; - __pyx_t_1 = 0; - - /* "schema.pyx":408 - * def __getitem__(self, index): - * size = self.thisptr.size() - * if index >= size: # <<<<<<<<<<<<<< - * raise IndexError('Out of bounds') - * index = index % size - */ - __pyx_t_1 = PyObject_RichCompare(__pyx_v_index, __pyx_v_size, Py_GE); __Pyx_XGOTREF(__pyx_t_1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 408; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 408; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - if (__pyx_t_2) { - - /* "schema.pyx":409 - * size = self.thisptr.size() - * if index >= size: - * raise IndexError('Out of bounds') # <<<<<<<<<<<<<< - * index = index % size - * return _AnnotationReader().init(self.thisptr[index]) - */ - __pyx_t_1 = PyObject_Call(__pyx_builtin_IndexError, ((PyObject *)__pyx_k_tuple_28), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 409; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __Pyx_Raise(__pyx_t_1, 0, 0, 0); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - {__pyx_filename = __pyx_f[0]; __pyx_lineno = 409; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - goto __pyx_L3; - } - __pyx_L3:; - - /* "schema.pyx":410 - * if index >= size: - * raise IndexError('Out of bounds') - * index = index % size # <<<<<<<<<<<<<< - * return _AnnotationReader().init(self.thisptr[index]) - * - */ - __pyx_t_1 = PyNumber_Remainder(__pyx_v_index, __pyx_v_size); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 410; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __Pyx_DECREF(__pyx_v_index); - __pyx_v_index = __pyx_t_1; - __pyx_t_1 = 0; - - /* "schema.pyx":411 - * raise IndexError('Out of bounds') - * index = index % size - * return _AnnotationReader().init(self.thisptr[index]) # <<<<<<<<<<<<<< - * - * def __len__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__AnnotationReader)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 411; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_3 = __Pyx_PyInt_AsUnsignedInt(__pyx_v_index); if (unlikely((__pyx_t_3 == (unsigned int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 411; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_t_4 = ((struct __pyx_vtabstruct_6schema__AnnotationReader *)((struct __pyx_obj_6schema__AnnotationReader *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__AnnotationReader *)__pyx_t_1), ((::capnp::schema::Annotation::Reader)(__pyx_v_self->thisptr[__pyx_t_3]))); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 411; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_4); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_4; - __pyx_t_4 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_4); - __Pyx_AddTraceback("schema._List_EnumNode_Enumerant_Annotation_Reader.__getitem__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XDECREF(__pyx_v_size); - __Pyx_XDECREF(__pyx_v_index); - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static Py_ssize_t __pyx_pw_6schema_42_List_EnumNode_Enumerant_Annotation_Reader_3__len__(PyObject *__pyx_v_self); /*proto*/ -static Py_ssize_t __pyx_pw_6schema_42_List_EnumNode_Enumerant_Annotation_Reader_3__len__(PyObject *__pyx_v_self) { - Py_ssize_t __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__len__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_42_List_EnumNode_Enumerant_Annotation_Reader_2__len__(((struct __pyx_obj_6schema__List_EnumNode_Enumerant_Annotation_Reader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":413 - * return _AnnotationReader().init(self.thisptr[index]) - * - * def __len__(self): # <<<<<<<<<<<<<< - * return self.thisptr.size() - * cdef class _List_EnumNode_Enumerant_Annotation_Builder: - */ - -static Py_ssize_t __pyx_pf_6schema_42_List_EnumNode_Enumerant_Annotation_Reader_2__len__(struct __pyx_obj_6schema__List_EnumNode_Enumerant_Annotation_Reader *__pyx_v_self) { - Py_ssize_t __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__len__", 0); - - /* "schema.pyx":414 - * - * def __len__(self): - * return self.thisptr.size() # <<<<<<<<<<<<<< - * cdef class _List_EnumNode_Enumerant_Annotation_Builder: - * cdef List[C_EnumNode.Enumerant.Annotation].Builder thisptr - */ - __pyx_r = __pyx_v_self->thisptr.size(); - goto __pyx_L0; - - __pyx_r = 0; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":417 - * cdef class _List_EnumNode_Enumerant_Annotation_Builder: - * cdef List[C_EnumNode.Enumerant.Annotation].Builder thisptr - * cdef init(self, List[C_EnumNode.Enumerant.Annotation].Builder other): # <<<<<<<<<<<<<< - * self.thisptr = other - * return self - */ - -static PyObject *__pyx_f_6schema_43_List_EnumNode_Enumerant_Annotation_Builder_init(struct __pyx_obj_6schema__List_EnumNode_Enumerant_Annotation_Builder *__pyx_v_self, ::capnp::List<::capnp::schema::Annotation>::Builder __pyx_v_other) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("init", 0); - - /* "schema.pyx":418 - * cdef List[C_EnumNode.Enumerant.Annotation].Builder thisptr - * cdef init(self, List[C_EnumNode.Enumerant.Annotation].Builder other): - * self.thisptr = other # <<<<<<<<<<<<<< - * return self - * def __getitem__(self, index): - */ - __pyx_v_self->thisptr = __pyx_v_other; - - /* "schema.pyx":419 - * cdef init(self, List[C_EnumNode.Enumerant.Annotation].Builder other): - * self.thisptr = other - * return self # <<<<<<<<<<<<<< - * def __getitem__(self, index): - * size = self.thisptr.size() - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(((PyObject *)__pyx_v_self)); - __pyx_r = ((PyObject *)__pyx_v_self); - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_43_List_EnumNode_Enumerant_Annotation_Builder_1__getitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_index); /*proto*/ -static PyObject *__pyx_pw_6schema_43_List_EnumNode_Enumerant_Annotation_Builder_1__getitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_index) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__getitem__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_43_List_EnumNode_Enumerant_Annotation_Builder___getitem__(((struct __pyx_obj_6schema__List_EnumNode_Enumerant_Annotation_Builder *)__pyx_v_self), ((PyObject *)__pyx_v_index)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":420 - * self.thisptr = other - * return self - * def __getitem__(self, index): # <<<<<<<<<<<<<< - * size = self.thisptr.size() - * if index >= size: - */ - -static PyObject *__pyx_pf_6schema_43_List_EnumNode_Enumerant_Annotation_Builder___getitem__(struct __pyx_obj_6schema__List_EnumNode_Enumerant_Annotation_Builder *__pyx_v_self, PyObject *__pyx_v_index) { - PyObject *__pyx_v_size = NULL; - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_t_2; - unsigned int __pyx_t_3; - PyObject *__pyx_t_4 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__getitem__", 0); - __Pyx_INCREF(__pyx_v_index); - - /* "schema.pyx":421 - * return self - * def __getitem__(self, index): - * size = self.thisptr.size() # <<<<<<<<<<<<<< - * if index >= size: - * raise IndexError('Out of bounds') - */ - __pyx_t_1 = PyLong_FromUnsignedLong(__pyx_v_self->thisptr.size()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 421; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_v_size = __pyx_t_1; - __pyx_t_1 = 0; - - /* "schema.pyx":422 - * def __getitem__(self, index): - * size = self.thisptr.size() - * if index >= size: # <<<<<<<<<<<<<< - * raise IndexError('Out of bounds') - * index = index % size - */ - __pyx_t_1 = PyObject_RichCompare(__pyx_v_index, __pyx_v_size, Py_GE); __Pyx_XGOTREF(__pyx_t_1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 422; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 422; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - if (__pyx_t_2) { - - /* "schema.pyx":423 - * size = self.thisptr.size() - * if index >= size: - * raise IndexError('Out of bounds') # <<<<<<<<<<<<<< - * index = index % size - * return _AnnotationBuilder().init(self.thisptr[index]) - */ - __pyx_t_1 = PyObject_Call(__pyx_builtin_IndexError, ((PyObject *)__pyx_k_tuple_29), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 423; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __Pyx_Raise(__pyx_t_1, 0, 0, 0); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - {__pyx_filename = __pyx_f[0]; __pyx_lineno = 423; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - goto __pyx_L3; - } - __pyx_L3:; - - /* "schema.pyx":424 - * if index >= size: - * raise IndexError('Out of bounds') - * index = index % size # <<<<<<<<<<<<<< - * return _AnnotationBuilder().init(self.thisptr[index]) - * def __len__(self): - */ - __pyx_t_1 = PyNumber_Remainder(__pyx_v_index, __pyx_v_size); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 424; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __Pyx_DECREF(__pyx_v_index); - __pyx_v_index = __pyx_t_1; - __pyx_t_1 = 0; - - /* "schema.pyx":425 - * raise IndexError('Out of bounds') - * index = index % size - * return _AnnotationBuilder().init(self.thisptr[index]) # <<<<<<<<<<<<<< - * def __len__(self): - * return self.thisptr.size() - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__AnnotationBuilder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 425; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_3 = __Pyx_PyInt_AsUnsignedInt(__pyx_v_index); if (unlikely((__pyx_t_3 == (unsigned int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 425; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_t_4 = ((struct __pyx_vtabstruct_6schema__AnnotationBuilder *)((struct __pyx_obj_6schema__AnnotationBuilder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__AnnotationBuilder *)__pyx_t_1), ((::capnp::schema::Annotation::Builder)(__pyx_v_self->thisptr[__pyx_t_3]))); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 425; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_4); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_4; - __pyx_t_4 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_4); - __Pyx_AddTraceback("schema._List_EnumNode_Enumerant_Annotation_Builder.__getitem__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XDECREF(__pyx_v_size); - __Pyx_XDECREF(__pyx_v_index); - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static Py_ssize_t __pyx_pw_6schema_43_List_EnumNode_Enumerant_Annotation_Builder_3__len__(PyObject *__pyx_v_self); /*proto*/ -static Py_ssize_t __pyx_pw_6schema_43_List_EnumNode_Enumerant_Annotation_Builder_3__len__(PyObject *__pyx_v_self) { - Py_ssize_t __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__len__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_43_List_EnumNode_Enumerant_Annotation_Builder_2__len__(((struct __pyx_obj_6schema__List_EnumNode_Enumerant_Annotation_Builder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":426 - * index = index % size - * return _AnnotationBuilder().init(self.thisptr[index]) - * def __len__(self): # <<<<<<<<<<<<<< - * return self.thisptr.size() - * - */ - -static Py_ssize_t __pyx_pf_6schema_43_List_EnumNode_Enumerant_Annotation_Builder_2__len__(struct __pyx_obj_6schema__List_EnumNode_Enumerant_Annotation_Builder *__pyx_v_self) { - Py_ssize_t __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__len__", 0); - - /* "schema.pyx":427 - * return _AnnotationBuilder().init(self.thisptr[index]) - * def __len__(self): - * return self.thisptr.size() # <<<<<<<<<<<<<< - * - * cdef class _CodeGeneratorRequestReader: - */ - __pyx_r = __pyx_v_self->thisptr.size(); - goto __pyx_L0; - - __pyx_r = 0; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":431 - * cdef class _CodeGeneratorRequestReader: - * cdef C_CodeGeneratorRequest.Reader thisptr - * cdef init(self, C_CodeGeneratorRequest.Reader other): # <<<<<<<<<<<<<< - * self.thisptr = other - * return self - */ - -static PyObject *__pyx_f_6schema_27_CodeGeneratorRequestReader_init(struct __pyx_obj_6schema__CodeGeneratorRequestReader *__pyx_v_self, ::capnp::schema::CodeGeneratorRequest::Reader __pyx_v_other) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("init", 0); - - /* "schema.pyx":432 - * cdef C_CodeGeneratorRequest.Reader thisptr - * cdef init(self, C_CodeGeneratorRequest.Reader other): - * self.thisptr = other # <<<<<<<<<<<<<< - * return self - * - */ - __pyx_v_self->thisptr = __pyx_v_other; - - /* "schema.pyx":433 - * cdef init(self, C_CodeGeneratorRequest.Reader other): - * self.thisptr = other - * return self # <<<<<<<<<<<<<< - * - * property nodes: - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(((PyObject *)__pyx_v_self)); - __pyx_r = ((PyObject *)__pyx_v_self); - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_27_CodeGeneratorRequestReader_5nodes_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_27_CodeGeneratorRequestReader_5nodes_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_27_CodeGeneratorRequestReader_5nodes___get__(((struct __pyx_obj_6schema__CodeGeneratorRequestReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":436 - * - * property nodes: - * def __get__(self): # <<<<<<<<<<<<<< - * return _List_CodeGeneratorRequest_Node_Reader().init(self.thisptr.getNodes()) - * property requestedFiles: - */ - -static PyObject *__pyx_pf_6schema_27_CodeGeneratorRequestReader_5nodes___get__(struct __pyx_obj_6schema__CodeGeneratorRequestReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":437 - * property nodes: - * def __get__(self): - * return _List_CodeGeneratorRequest_Node_Reader().init(self.thisptr.getNodes()) # <<<<<<<<<<<<<< - * property requestedFiles: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__List_CodeGeneratorRequest_Node_Reader)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 437; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__List_CodeGeneratorRequest_Node_Reader *)((struct __pyx_obj_6schema__List_CodeGeneratorRequest_Node_Reader *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__List_CodeGeneratorRequest_Node_Reader *)__pyx_t_1), __pyx_v_self->thisptr.getNodes()); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 437; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema._CodeGeneratorRequestReader.nodes.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_27_CodeGeneratorRequestReader_14requestedFiles_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_27_CodeGeneratorRequestReader_14requestedFiles_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_27_CodeGeneratorRequestReader_14requestedFiles___get__(((struct __pyx_obj_6schema__CodeGeneratorRequestReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":439 - * return _List_CodeGeneratorRequest_Node_Reader().init(self.thisptr.getNodes()) - * property requestedFiles: - * def __get__(self): # <<<<<<<<<<<<<< - * return _List_UInt64_Reader().init(self.thisptr.getRequestedFiles()) - * - */ - -static PyObject *__pyx_pf_6schema_27_CodeGeneratorRequestReader_14requestedFiles___get__(struct __pyx_obj_6schema__CodeGeneratorRequestReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":440 - * property requestedFiles: - * def __get__(self): - * return _List_UInt64_Reader().init(self.thisptr.getRequestedFiles()) # <<<<<<<<<<<<<< - * - * cdef class _CodeGeneratorRequestBuilder: - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__List_UInt64_Reader)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 440; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__List_UInt64_Reader *)((struct __pyx_obj_6schema__List_UInt64_Reader *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__List_UInt64_Reader *)__pyx_t_1), __pyx_v_self->thisptr.getRequestedFiles()); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 440; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema._CodeGeneratorRequestReader.requestedFiles.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":444 - * cdef class _CodeGeneratorRequestBuilder: - * cdef C_CodeGeneratorRequest.Builder thisptr - * cdef init(self, C_CodeGeneratorRequest.Builder other): # <<<<<<<<<<<<<< - * self.thisptr = other - * return self - */ - -static PyObject *__pyx_f_6schema_28_CodeGeneratorRequestBuilder_init(struct __pyx_obj_6schema__CodeGeneratorRequestBuilder *__pyx_v_self, ::capnp::schema::CodeGeneratorRequest::Builder __pyx_v_other) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("init", 0); - - /* "schema.pyx":445 - * cdef C_CodeGeneratorRequest.Builder thisptr - * cdef init(self, C_CodeGeneratorRequest.Builder other): - * self.thisptr = other # <<<<<<<<<<<<<< - * return self - * - */ - __pyx_v_self->thisptr = __pyx_v_other; - - /* "schema.pyx":446 - * cdef init(self, C_CodeGeneratorRequest.Builder other): - * self.thisptr = other - * return self # <<<<<<<<<<<<<< - * - * property nodes: - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(((PyObject *)__pyx_v_self)); - __pyx_r = ((PyObject *)__pyx_v_self); - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_28_CodeGeneratorRequestBuilder_5nodes_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_28_CodeGeneratorRequestBuilder_5nodes_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_28_CodeGeneratorRequestBuilder_5nodes___get__(((struct __pyx_obj_6schema__CodeGeneratorRequestBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":449 - * - * property nodes: - * def __get__(self): # <<<<<<<<<<<<<< - * return _List_CodeGeneratorRequest_Node_Builder().init(self.thisptr.getNodes()) - * cpdef initNodes(self, uint num): - */ - -static PyObject *__pyx_pf_6schema_28_CodeGeneratorRequestBuilder_5nodes___get__(struct __pyx_obj_6schema__CodeGeneratorRequestBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":450 - * property nodes: - * def __get__(self): - * return _List_CodeGeneratorRequest_Node_Builder().init(self.thisptr.getNodes()) # <<<<<<<<<<<<<< - * cpdef initNodes(self, uint num): - * return _List_CodeGeneratorRequest_Node_Builder().init(self.thisptr.initNodes(num)) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__List_CodeGeneratorRequest_Node_Builder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 450; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__List_CodeGeneratorRequest_Node_Builder *)((struct __pyx_obj_6schema__List_CodeGeneratorRequest_Node_Builder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__List_CodeGeneratorRequest_Node_Builder *)__pyx_t_1), __pyx_v_self->thisptr.getNodes()); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 450; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema._CodeGeneratorRequestBuilder.nodes.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":451 - * def __get__(self): - * return _List_CodeGeneratorRequest_Node_Builder().init(self.thisptr.getNodes()) - * cpdef initNodes(self, uint num): # <<<<<<<<<<<<<< - * return _List_CodeGeneratorRequest_Node_Builder().init(self.thisptr.initNodes(num)) - * property requestedFiles: - */ - -static PyObject *__pyx_pw_6schema_28_CodeGeneratorRequestBuilder_1initNodes(PyObject *__pyx_v_self, PyObject *__pyx_arg_num); /*proto*/ -static PyObject *__pyx_f_6schema_28_CodeGeneratorRequestBuilder_initNodes(struct __pyx_obj_6schema__CodeGeneratorRequestBuilder *__pyx_v_self, __pyx_t_6schema_uint __pyx_v_num, int __pyx_skip_dispatch) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - PyObject *__pyx_t_3 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("initNodes", 0); - /* Check if called by wrapper */ - if (unlikely(__pyx_skip_dispatch)) ; - /* Check if overridden in Python */ - else if (unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0)) { - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s__initNodes); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 451; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (!PyCFunction_Check(__pyx_t_1) || (PyCFunction_GET_FUNCTION(__pyx_t_1) != (PyCFunction)__pyx_pw_6schema_28_CodeGeneratorRequestBuilder_1initNodes)) { - __Pyx_XDECREF(__pyx_r); - __pyx_t_2 = PyLong_FromUnsignedLong(__pyx_v_num); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 451; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 451; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_2); - __Pyx_GIVEREF(__pyx_t_2); - __pyx_t_2 = 0; - __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 451; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - goto __pyx_L0; - } - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - } - - /* "schema.pyx":452 - * return _List_CodeGeneratorRequest_Node_Builder().init(self.thisptr.getNodes()) - * cpdef initNodes(self, uint num): - * return _List_CodeGeneratorRequest_Node_Builder().init(self.thisptr.initNodes(num)) # <<<<<<<<<<<<<< - * property requestedFiles: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__List_CodeGeneratorRequest_Node_Builder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 452; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__List_CodeGeneratorRequest_Node_Builder *)((struct __pyx_obj_6schema__List_CodeGeneratorRequest_Node_Builder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__List_CodeGeneratorRequest_Node_Builder *)__pyx_t_1), __pyx_v_self->thisptr.initNodes(__pyx_v_num)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 452; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_XDECREF(__pyx_t_3); - __Pyx_AddTraceback("schema._CodeGeneratorRequestBuilder.initNodes", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = 0; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_28_CodeGeneratorRequestBuilder_1initNodes(PyObject *__pyx_v_self, PyObject *__pyx_arg_num); /*proto*/ -static PyObject *__pyx_pw_6schema_28_CodeGeneratorRequestBuilder_1initNodes(PyObject *__pyx_v_self, PyObject *__pyx_arg_num) { - __pyx_t_6schema_uint __pyx_v_num; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("initNodes (wrapper)", 0); - assert(__pyx_arg_num); { - __pyx_v_num = __Pyx_PyInt_AsUnsignedInt(__pyx_arg_num); if (unlikely((__pyx_v_num == (unsigned int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 451; __pyx_clineno = __LINE__; goto __pyx_L3_error;} - } - goto __pyx_L4_argument_unpacking_done; - __pyx_L3_error:; - __Pyx_AddTraceback("schema._CodeGeneratorRequestBuilder.initNodes", __pyx_clineno, __pyx_lineno, __pyx_filename); - __Pyx_RefNannyFinishContext(); - return NULL; - __pyx_L4_argument_unpacking_done:; - __pyx_r = __pyx_pf_6schema_28_CodeGeneratorRequestBuilder_initNodes(((struct __pyx_obj_6schema__CodeGeneratorRequestBuilder *)__pyx_v_self), ((__pyx_t_6schema_uint)__pyx_v_num)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":451 - * def __get__(self): - * return _List_CodeGeneratorRequest_Node_Builder().init(self.thisptr.getNodes()) - * cpdef initNodes(self, uint num): # <<<<<<<<<<<<<< - * return _List_CodeGeneratorRequest_Node_Builder().init(self.thisptr.initNodes(num)) - * property requestedFiles: - */ - -static PyObject *__pyx_pf_6schema_28_CodeGeneratorRequestBuilder_initNodes(struct __pyx_obj_6schema__CodeGeneratorRequestBuilder *__pyx_v_self, __pyx_t_6schema_uint __pyx_v_num) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("initNodes", 0); - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = ((struct __pyx_vtabstruct_6schema__CodeGeneratorRequestBuilder *)__pyx_v_self->__pyx_vtab)->initNodes(__pyx_v_self, __pyx_v_num, 1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 451; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._CodeGeneratorRequestBuilder.initNodes", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_28_CodeGeneratorRequestBuilder_14requestedFiles_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_28_CodeGeneratorRequestBuilder_14requestedFiles_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_28_CodeGeneratorRequestBuilder_14requestedFiles___get__(((struct __pyx_obj_6schema__CodeGeneratorRequestBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":454 - * return _List_CodeGeneratorRequest_Node_Builder().init(self.thisptr.initNodes(num)) - * property requestedFiles: - * def __get__(self): # <<<<<<<<<<<<<< - * return _List_UInt64_Builder().init(self.thisptr.getRequestedFiles()) - * cpdef initRequestedFiles(self, uint num): - */ - -static PyObject *__pyx_pf_6schema_28_CodeGeneratorRequestBuilder_14requestedFiles___get__(struct __pyx_obj_6schema__CodeGeneratorRequestBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":455 - * property requestedFiles: - * def __get__(self): - * return _List_UInt64_Builder().init(self.thisptr.getRequestedFiles()) # <<<<<<<<<<<<<< - * cpdef initRequestedFiles(self, uint num): - * return _List_UInt64_Builder().init(self.thisptr.initRequestedFiles(num)) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__List_UInt64_Builder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 455; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__List_UInt64_Builder *)((struct __pyx_obj_6schema__List_UInt64_Builder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__List_UInt64_Builder *)__pyx_t_1), __pyx_v_self->thisptr.getRequestedFiles()); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 455; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema._CodeGeneratorRequestBuilder.requestedFiles.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":456 - * def __get__(self): - * return _List_UInt64_Builder().init(self.thisptr.getRequestedFiles()) - * cpdef initRequestedFiles(self, uint num): # <<<<<<<<<<<<<< - * return _List_UInt64_Builder().init(self.thisptr.initRequestedFiles(num)) - * - */ - -static PyObject *__pyx_pw_6schema_28_CodeGeneratorRequestBuilder_3initRequestedFiles(PyObject *__pyx_v_self, PyObject *__pyx_arg_num); /*proto*/ -static PyObject *__pyx_f_6schema_28_CodeGeneratorRequestBuilder_initRequestedFiles(struct __pyx_obj_6schema__CodeGeneratorRequestBuilder *__pyx_v_self, __pyx_t_6schema_uint __pyx_v_num, int __pyx_skip_dispatch) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - PyObject *__pyx_t_3 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("initRequestedFiles", 0); - /* Check if called by wrapper */ - if (unlikely(__pyx_skip_dispatch)) ; - /* Check if overridden in Python */ - else if (unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0)) { - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s__initRequestedFiles); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 456; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (!PyCFunction_Check(__pyx_t_1) || (PyCFunction_GET_FUNCTION(__pyx_t_1) != (PyCFunction)__pyx_pw_6schema_28_CodeGeneratorRequestBuilder_3initRequestedFiles)) { - __Pyx_XDECREF(__pyx_r); - __pyx_t_2 = PyLong_FromUnsignedLong(__pyx_v_num); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 456; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 456; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_2); - __Pyx_GIVEREF(__pyx_t_2); - __pyx_t_2 = 0; - __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 456; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - goto __pyx_L0; - } - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - } - - /* "schema.pyx":457 - * return _List_UInt64_Builder().init(self.thisptr.getRequestedFiles()) - * cpdef initRequestedFiles(self, uint num): - * return _List_UInt64_Builder().init(self.thisptr.initRequestedFiles(num)) # <<<<<<<<<<<<<< - * - * _ElementSize = make_enum('_ElementSize',inlineComposite = _ElementSize_inlineComposite,eightBytes = _ElementSize_eightBytes,pointer = _ElementSize_pointer,bit = _ElementSize_bit,twoBytes = _ElementSize_twoBytes,fourBytes = _ElementSize_fourBytes,byte = _ElementSize_byte,empty = _ElementSize_empty,) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__List_UInt64_Builder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 457; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__List_UInt64_Builder *)((struct __pyx_obj_6schema__List_UInt64_Builder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__List_UInt64_Builder *)__pyx_t_1), __pyx_v_self->thisptr.initRequestedFiles(__pyx_v_num)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 457; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_XDECREF(__pyx_t_3); - __Pyx_AddTraceback("schema._CodeGeneratorRequestBuilder.initRequestedFiles", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = 0; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_28_CodeGeneratorRequestBuilder_3initRequestedFiles(PyObject *__pyx_v_self, PyObject *__pyx_arg_num); /*proto*/ -static PyObject *__pyx_pw_6schema_28_CodeGeneratorRequestBuilder_3initRequestedFiles(PyObject *__pyx_v_self, PyObject *__pyx_arg_num) { - __pyx_t_6schema_uint __pyx_v_num; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("initRequestedFiles (wrapper)", 0); - assert(__pyx_arg_num); { - __pyx_v_num = __Pyx_PyInt_AsUnsignedInt(__pyx_arg_num); if (unlikely((__pyx_v_num == (unsigned int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 456; __pyx_clineno = __LINE__; goto __pyx_L3_error;} - } - goto __pyx_L4_argument_unpacking_done; - __pyx_L3_error:; - __Pyx_AddTraceback("schema._CodeGeneratorRequestBuilder.initRequestedFiles", __pyx_clineno, __pyx_lineno, __pyx_filename); - __Pyx_RefNannyFinishContext(); - return NULL; - __pyx_L4_argument_unpacking_done:; - __pyx_r = __pyx_pf_6schema_28_CodeGeneratorRequestBuilder_2initRequestedFiles(((struct __pyx_obj_6schema__CodeGeneratorRequestBuilder *)__pyx_v_self), ((__pyx_t_6schema_uint)__pyx_v_num)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":456 - * def __get__(self): - * return _List_UInt64_Builder().init(self.thisptr.getRequestedFiles()) - * cpdef initRequestedFiles(self, uint num): # <<<<<<<<<<<<<< - * return _List_UInt64_Builder().init(self.thisptr.initRequestedFiles(num)) - * - */ - -static PyObject *__pyx_pf_6schema_28_CodeGeneratorRequestBuilder_2initRequestedFiles(struct __pyx_obj_6schema__CodeGeneratorRequestBuilder *__pyx_v_self, __pyx_t_6schema_uint __pyx_v_num) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("initRequestedFiles", 0); - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = ((struct __pyx_vtabstruct_6schema__CodeGeneratorRequestBuilder *)__pyx_v_self->__pyx_vtab)->initRequestedFiles(__pyx_v_self, __pyx_v_num, 1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 456; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._CodeGeneratorRequestBuilder.initRequestedFiles", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":465 - * cdef class _InterfaceNode_Method_ParamReader: - * cdef C_InterfaceNode.Method.Param.Reader thisptr - * cdef init(self, C_InterfaceNode.Method.Param.Reader other): # <<<<<<<<<<<<<< - * self.thisptr = other - * return self - */ - -static PyObject *__pyx_f_6schema_33_InterfaceNode_Method_ParamReader_init(struct __pyx_obj_6schema__InterfaceNode_Method_ParamReader *__pyx_v_self, ::capnp::schema::InterfaceNode::Method::Param::Reader __pyx_v_other) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("init", 0); - - /* "schema.pyx":466 - * cdef C_InterfaceNode.Method.Param.Reader thisptr - * cdef init(self, C_InterfaceNode.Method.Param.Reader other): - * self.thisptr = other # <<<<<<<<<<<<<< - * return self - * - */ - __pyx_v_self->thisptr = __pyx_v_other; - - /* "schema.pyx":467 - * cdef init(self, C_InterfaceNode.Method.Param.Reader other): - * self.thisptr = other - * return self # <<<<<<<<<<<<<< - * - * property defaultValue: - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(((PyObject *)__pyx_v_self)); - __pyx_r = ((PyObject *)__pyx_v_self); - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_33_InterfaceNode_Method_ParamReader_12defaultValue_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_33_InterfaceNode_Method_ParamReader_12defaultValue_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_33_InterfaceNode_Method_ParamReader_12defaultValue___get__(((struct __pyx_obj_6schema__InterfaceNode_Method_ParamReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":470 - * - * property defaultValue: - * def __get__(self): # <<<<<<<<<<<<<< - * return _ValueReader().init(self.thisptr.getDefaultValue()) - * property type: - */ - -static PyObject *__pyx_pf_6schema_33_InterfaceNode_Method_ParamReader_12defaultValue___get__(struct __pyx_obj_6schema__InterfaceNode_Method_ParamReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":471 - * property defaultValue: - * def __get__(self): - * return _ValueReader().init(self.thisptr.getDefaultValue()) # <<<<<<<<<<<<<< - * property type: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__ValueReader)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 471; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__ValueReader *)((struct __pyx_obj_6schema__ValueReader *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__ValueReader *)__pyx_t_1), ((::capnp::schema::Value::Reader)__pyx_v_self->thisptr.getDefaultValue())); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 471; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema._InterfaceNode_Method_ParamReader.defaultValue.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_33_InterfaceNode_Method_ParamReader_4type_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_33_InterfaceNode_Method_ParamReader_4type_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_33_InterfaceNode_Method_ParamReader_4type___get__(((struct __pyx_obj_6schema__InterfaceNode_Method_ParamReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":473 - * return _ValueReader().init(self.thisptr.getDefaultValue()) - * property type: - * def __get__(self): # <<<<<<<<<<<<<< - * return _TypeReader().init(self.thisptr.getType()) - * property name: - */ - -static PyObject *__pyx_pf_6schema_33_InterfaceNode_Method_ParamReader_4type___get__(struct __pyx_obj_6schema__InterfaceNode_Method_ParamReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":474 - * property type: - * def __get__(self): - * return _TypeReader().init(self.thisptr.getType()) # <<<<<<<<<<<<<< - * property name: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__TypeReader)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 474; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__TypeReader *)((struct __pyx_obj_6schema__TypeReader *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__TypeReader *)__pyx_t_1), ((::capnp::schema::Type::Reader)__pyx_v_self->thisptr.getType())); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 474; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema._InterfaceNode_Method_ParamReader.type.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_33_InterfaceNode_Method_ParamReader_4name_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_33_InterfaceNode_Method_ParamReader_4name_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_33_InterfaceNode_Method_ParamReader_4name___get__(((struct __pyx_obj_6schema__InterfaceNode_Method_ParamReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":476 - * return _TypeReader().init(self.thisptr.getType()) - * property name: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getName().cStr() - * property annotations: - */ - -static PyObject *__pyx_pf_6schema_33_InterfaceNode_Method_ParamReader_4name___get__(struct __pyx_obj_6schema__InterfaceNode_Method_ParamReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":477 - * property name: - * def __get__(self): - * return self.thisptr.getName().cStr() # <<<<<<<<<<<<<< - * property annotations: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyBytes_FromString(__pyx_v_self->thisptr.getName().cStr()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 477; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(((PyObject *)__pyx_t_1)); - __pyx_r = ((PyObject *)__pyx_t_1); - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._InterfaceNode_Method_ParamReader.name.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_33_InterfaceNode_Method_ParamReader_11annotations_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_33_InterfaceNode_Method_ParamReader_11annotations_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_33_InterfaceNode_Method_ParamReader_11annotations___get__(((struct __pyx_obj_6schema__InterfaceNode_Method_ParamReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":479 - * return self.thisptr.getName().cStr() - * property annotations: - * def __get__(self): # <<<<<<<<<<<<<< - * return _List_InterfaceNode_Method_Param_Annotation_Reader().init(self.thisptr.getAnnotations()) - * - */ - -static PyObject *__pyx_pf_6schema_33_InterfaceNode_Method_ParamReader_11annotations___get__(struct __pyx_obj_6schema__InterfaceNode_Method_ParamReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":480 - * property annotations: - * def __get__(self): - * return _List_InterfaceNode_Method_Param_Annotation_Reader().init(self.thisptr.getAnnotations()) # <<<<<<<<<<<<<< - * - * cdef class _InterfaceNode_Method_ParamBuilder: - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__List_InterfaceNode_Method_Param_Annotation_Reader)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 480; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__List_InterfaceNode_Method_Param_Annotation_Reader *)((struct __pyx_obj_6schema__List_InterfaceNode_Method_Param_Annotation_Reader *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__List_InterfaceNode_Method_Param_Annotation_Reader *)__pyx_t_1), __pyx_v_self->thisptr.getAnnotations()); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 480; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema._InterfaceNode_Method_ParamReader.annotations.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":484 - * cdef class _InterfaceNode_Method_ParamBuilder: - * cdef C_InterfaceNode.Method.Param.Builder thisptr - * cdef init(self, C_InterfaceNode.Method.Param.Builder other): # <<<<<<<<<<<<<< - * self.thisptr = other - * return self - */ - -static PyObject *__pyx_f_6schema_34_InterfaceNode_Method_ParamBuilder_init(struct __pyx_obj_6schema__InterfaceNode_Method_ParamBuilder *__pyx_v_self, ::capnp::schema::InterfaceNode::Method::Param::Builder __pyx_v_other) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("init", 0); - - /* "schema.pyx":485 - * cdef C_InterfaceNode.Method.Param.Builder thisptr - * cdef init(self, C_InterfaceNode.Method.Param.Builder other): - * self.thisptr = other # <<<<<<<<<<<<<< - * return self - * - */ - __pyx_v_self->thisptr = __pyx_v_other; - - /* "schema.pyx":486 - * cdef init(self, C_InterfaceNode.Method.Param.Builder other): - * self.thisptr = other - * return self # <<<<<<<<<<<<<< - * - * property defaultValue: - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(((PyObject *)__pyx_v_self)); - __pyx_r = ((PyObject *)__pyx_v_self); - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_34_InterfaceNode_Method_ParamBuilder_12defaultValue_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_34_InterfaceNode_Method_ParamBuilder_12defaultValue_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_34_InterfaceNode_Method_ParamBuilder_12defaultValue___get__(((struct __pyx_obj_6schema__InterfaceNode_Method_ParamBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":489 - * - * property defaultValue: - * def __get__(self): # <<<<<<<<<<<<<< - * return _ValueBuilder().init(self.thisptr.getDefaultValue()) - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_34_InterfaceNode_Method_ParamBuilder_12defaultValue___get__(struct __pyx_obj_6schema__InterfaceNode_Method_ParamBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":490 - * property defaultValue: - * def __get__(self): - * return _ValueBuilder().init(self.thisptr.getDefaultValue()) # <<<<<<<<<<<<<< - * def __set__(self, val): - * pass - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__ValueBuilder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 490; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__ValueBuilder *)((struct __pyx_obj_6schema__ValueBuilder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__ValueBuilder *)__pyx_t_1), ((::capnp::schema::Value::Builder)__pyx_v_self->thisptr.getDefaultValue())); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 490; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema._InterfaceNode_Method_ParamBuilder.defaultValue.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_34_InterfaceNode_Method_ParamBuilder_12defaultValue_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_34_InterfaceNode_Method_ParamBuilder_12defaultValue_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_34_InterfaceNode_Method_ParamBuilder_12defaultValue_2__set__(((struct __pyx_obj_6schema__InterfaceNode_Method_ParamBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":491 - * def __get__(self): - * return _ValueBuilder().init(self.thisptr.getDefaultValue()) - * def __set__(self, val): # <<<<<<<<<<<<<< - * pass - * property type: - */ - -static int __pyx_pf_6schema_34_InterfaceNode_Method_ParamBuilder_12defaultValue_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__InterfaceNode_Method_ParamBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__", 0); - - __pyx_r = 0; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_34_InterfaceNode_Method_ParamBuilder_4type_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_34_InterfaceNode_Method_ParamBuilder_4type_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_34_InterfaceNode_Method_ParamBuilder_4type___get__(((struct __pyx_obj_6schema__InterfaceNode_Method_ParamBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":494 - * pass - * property type: - * def __get__(self): # <<<<<<<<<<<<<< - * return _TypeBuilder().init(self.thisptr.getType()) - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_34_InterfaceNode_Method_ParamBuilder_4type___get__(struct __pyx_obj_6schema__InterfaceNode_Method_ParamBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":495 - * property type: - * def __get__(self): - * return _TypeBuilder().init(self.thisptr.getType()) # <<<<<<<<<<<<<< - * def __set__(self, val): - * pass - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__TypeBuilder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 495; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__TypeBuilder *)((struct __pyx_obj_6schema__TypeBuilder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__TypeBuilder *)__pyx_t_1), ((::capnp::schema::Type::Builder)__pyx_v_self->thisptr.getType())); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 495; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema._InterfaceNode_Method_ParamBuilder.type.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_34_InterfaceNode_Method_ParamBuilder_4type_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_34_InterfaceNode_Method_ParamBuilder_4type_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_34_InterfaceNode_Method_ParamBuilder_4type_2__set__(((struct __pyx_obj_6schema__InterfaceNode_Method_ParamBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":496 - * def __get__(self): - * return _TypeBuilder().init(self.thisptr.getType()) - * def __set__(self, val): # <<<<<<<<<<<<<< - * pass - * property name: - */ - -static int __pyx_pf_6schema_34_InterfaceNode_Method_ParamBuilder_4type_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__InterfaceNode_Method_ParamBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__", 0); - - __pyx_r = 0; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_34_InterfaceNode_Method_ParamBuilder_4name_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_34_InterfaceNode_Method_ParamBuilder_4name_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_34_InterfaceNode_Method_ParamBuilder_4name___get__(((struct __pyx_obj_6schema__InterfaceNode_Method_ParamBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":499 - * pass - * property name: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getName().cStr() - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_34_InterfaceNode_Method_ParamBuilder_4name___get__(struct __pyx_obj_6schema__InterfaceNode_Method_ParamBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":500 - * property name: - * def __get__(self): - * return self.thisptr.getName().cStr() # <<<<<<<<<<<<<< - * def __set__(self, val): - * pass - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyBytes_FromString(__pyx_v_self->thisptr.getName().cStr()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 500; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(((PyObject *)__pyx_t_1)); - __pyx_r = ((PyObject *)__pyx_t_1); - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._InterfaceNode_Method_ParamBuilder.name.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_34_InterfaceNode_Method_ParamBuilder_4name_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_34_InterfaceNode_Method_ParamBuilder_4name_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_34_InterfaceNode_Method_ParamBuilder_4name_2__set__(((struct __pyx_obj_6schema__InterfaceNode_Method_ParamBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":501 - * def __get__(self): - * return self.thisptr.getName().cStr() - * def __set__(self, val): # <<<<<<<<<<<<<< - * pass - * property annotations: - */ - -static int __pyx_pf_6schema_34_InterfaceNode_Method_ParamBuilder_4name_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__InterfaceNode_Method_ParamBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__", 0); - - __pyx_r = 0; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_34_InterfaceNode_Method_ParamBuilder_11annotations_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_34_InterfaceNode_Method_ParamBuilder_11annotations_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_34_InterfaceNode_Method_ParamBuilder_11annotations___get__(((struct __pyx_obj_6schema__InterfaceNode_Method_ParamBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":504 - * pass - * property annotations: - * def __get__(self): # <<<<<<<<<<<<<< - * return _List_InterfaceNode_Method_Param_Annotation_Builder().init(self.thisptr.getAnnotations()) - * cpdef initAnnotations(self, uint num): - */ - -static PyObject *__pyx_pf_6schema_34_InterfaceNode_Method_ParamBuilder_11annotations___get__(struct __pyx_obj_6schema__InterfaceNode_Method_ParamBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":505 - * property annotations: - * def __get__(self): - * return _List_InterfaceNode_Method_Param_Annotation_Builder().init(self.thisptr.getAnnotations()) # <<<<<<<<<<<<<< - * cpdef initAnnotations(self, uint num): - * return _List_InterfaceNode_Method_Param_Annotation_Builder().init(self.thisptr.initAnnotations(num)) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__List_InterfaceNode_Method_Param_Annotation_Builder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 505; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__List_InterfaceNode_Method_Param_Annotation_Builder *)((struct __pyx_obj_6schema__List_InterfaceNode_Method_Param_Annotation_Builder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__List_InterfaceNode_Method_Param_Annotation_Builder *)__pyx_t_1), __pyx_v_self->thisptr.getAnnotations()); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 505; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema._InterfaceNode_Method_ParamBuilder.annotations.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":506 - * def __get__(self): - * return _List_InterfaceNode_Method_Param_Annotation_Builder().init(self.thisptr.getAnnotations()) - * cpdef initAnnotations(self, uint num): # <<<<<<<<<<<<<< - * return _List_InterfaceNode_Method_Param_Annotation_Builder().init(self.thisptr.initAnnotations(num)) - * cdef class _InterfaceNode_MethodReader: - */ - -static PyObject *__pyx_pw_6schema_34_InterfaceNode_Method_ParamBuilder_1initAnnotations(PyObject *__pyx_v_self, PyObject *__pyx_arg_num); /*proto*/ -static PyObject *__pyx_f_6schema_34_InterfaceNode_Method_ParamBuilder_initAnnotations(struct __pyx_obj_6schema__InterfaceNode_Method_ParamBuilder *__pyx_v_self, __pyx_t_6schema_uint __pyx_v_num, int __pyx_skip_dispatch) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - PyObject *__pyx_t_3 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("initAnnotations", 0); - /* Check if called by wrapper */ - if (unlikely(__pyx_skip_dispatch)) ; - /* Check if overridden in Python */ - else if (unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0)) { - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s__initAnnotations); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 506; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (!PyCFunction_Check(__pyx_t_1) || (PyCFunction_GET_FUNCTION(__pyx_t_1) != (PyCFunction)__pyx_pw_6schema_34_InterfaceNode_Method_ParamBuilder_1initAnnotations)) { - __Pyx_XDECREF(__pyx_r); - __pyx_t_2 = PyLong_FromUnsignedLong(__pyx_v_num); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 506; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 506; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_2); - __Pyx_GIVEREF(__pyx_t_2); - __pyx_t_2 = 0; - __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 506; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - goto __pyx_L0; - } - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - } - - /* "schema.pyx":507 - * return _List_InterfaceNode_Method_Param_Annotation_Builder().init(self.thisptr.getAnnotations()) - * cpdef initAnnotations(self, uint num): - * return _List_InterfaceNode_Method_Param_Annotation_Builder().init(self.thisptr.initAnnotations(num)) # <<<<<<<<<<<<<< - * cdef class _InterfaceNode_MethodReader: - * cdef C_InterfaceNode.Method.Reader thisptr - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__List_InterfaceNode_Method_Param_Annotation_Builder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 507; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__List_InterfaceNode_Method_Param_Annotation_Builder *)((struct __pyx_obj_6schema__List_InterfaceNode_Method_Param_Annotation_Builder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__List_InterfaceNode_Method_Param_Annotation_Builder *)__pyx_t_1), __pyx_v_self->thisptr.initAnnotations(__pyx_v_num)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 507; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_XDECREF(__pyx_t_3); - __Pyx_AddTraceback("schema._InterfaceNode_Method_ParamBuilder.initAnnotations", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = 0; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_34_InterfaceNode_Method_ParamBuilder_1initAnnotations(PyObject *__pyx_v_self, PyObject *__pyx_arg_num); /*proto*/ -static PyObject *__pyx_pw_6schema_34_InterfaceNode_Method_ParamBuilder_1initAnnotations(PyObject *__pyx_v_self, PyObject *__pyx_arg_num) { - __pyx_t_6schema_uint __pyx_v_num; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("initAnnotations (wrapper)", 0); - assert(__pyx_arg_num); { - __pyx_v_num = __Pyx_PyInt_AsUnsignedInt(__pyx_arg_num); if (unlikely((__pyx_v_num == (unsigned int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 506; __pyx_clineno = __LINE__; goto __pyx_L3_error;} - } - goto __pyx_L4_argument_unpacking_done; - __pyx_L3_error:; - __Pyx_AddTraceback("schema._InterfaceNode_Method_ParamBuilder.initAnnotations", __pyx_clineno, __pyx_lineno, __pyx_filename); - __Pyx_RefNannyFinishContext(); - return NULL; - __pyx_L4_argument_unpacking_done:; - __pyx_r = __pyx_pf_6schema_34_InterfaceNode_Method_ParamBuilder_initAnnotations(((struct __pyx_obj_6schema__InterfaceNode_Method_ParamBuilder *)__pyx_v_self), ((__pyx_t_6schema_uint)__pyx_v_num)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":506 - * def __get__(self): - * return _List_InterfaceNode_Method_Param_Annotation_Builder().init(self.thisptr.getAnnotations()) - * cpdef initAnnotations(self, uint num): # <<<<<<<<<<<<<< - * return _List_InterfaceNode_Method_Param_Annotation_Builder().init(self.thisptr.initAnnotations(num)) - * cdef class _InterfaceNode_MethodReader: - */ - -static PyObject *__pyx_pf_6schema_34_InterfaceNode_Method_ParamBuilder_initAnnotations(struct __pyx_obj_6schema__InterfaceNode_Method_ParamBuilder *__pyx_v_self, __pyx_t_6schema_uint __pyx_v_num) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("initAnnotations", 0); - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = ((struct __pyx_vtabstruct_6schema__InterfaceNode_Method_ParamBuilder *)__pyx_v_self->__pyx_vtab)->initAnnotations(__pyx_v_self, __pyx_v_num, 1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 506; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._InterfaceNode_Method_ParamBuilder.initAnnotations", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":510 - * cdef class _InterfaceNode_MethodReader: - * cdef C_InterfaceNode.Method.Reader thisptr - * cdef init(self, C_InterfaceNode.Method.Reader other): # <<<<<<<<<<<<<< - * self.thisptr = other - * return self - */ - -static PyObject *__pyx_f_6schema_27_InterfaceNode_MethodReader_init(struct __pyx_obj_6schema__InterfaceNode_MethodReader *__pyx_v_self, ::capnp::schema::InterfaceNode::Method::Reader __pyx_v_other) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("init", 0); - - /* "schema.pyx":511 - * cdef C_InterfaceNode.Method.Reader thisptr - * cdef init(self, C_InterfaceNode.Method.Reader other): - * self.thisptr = other # <<<<<<<<<<<<<< - * return self - * - */ - __pyx_v_self->thisptr = __pyx_v_other; - - /* "schema.pyx":512 - * cdef init(self, C_InterfaceNode.Method.Reader other): - * self.thisptr = other - * return self # <<<<<<<<<<<<<< - * - * property codeOrder: - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(((PyObject *)__pyx_v_self)); - __pyx_r = ((PyObject *)__pyx_v_self); - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_27_InterfaceNode_MethodReader_9codeOrder_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_27_InterfaceNode_MethodReader_9codeOrder_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_27_InterfaceNode_MethodReader_9codeOrder___get__(((struct __pyx_obj_6schema__InterfaceNode_MethodReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":515 - * - * property codeOrder: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getCodeOrder() - * property name: - */ - -static PyObject *__pyx_pf_6schema_27_InterfaceNode_MethodReader_9codeOrder___get__(struct __pyx_obj_6schema__InterfaceNode_MethodReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":516 - * property codeOrder: - * def __get__(self): - * return self.thisptr.getCodeOrder() # <<<<<<<<<<<<<< - * property name: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyInt_to_py_uint16_t(__pyx_v_self->thisptr.getCodeOrder()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 516; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._InterfaceNode_MethodReader.codeOrder.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_27_InterfaceNode_MethodReader_4name_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_27_InterfaceNode_MethodReader_4name_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_27_InterfaceNode_MethodReader_4name___get__(((struct __pyx_obj_6schema__InterfaceNode_MethodReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":518 - * return self.thisptr.getCodeOrder() - * property name: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getName().cStr() - * property params: - */ - -static PyObject *__pyx_pf_6schema_27_InterfaceNode_MethodReader_4name___get__(struct __pyx_obj_6schema__InterfaceNode_MethodReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":519 - * property name: - * def __get__(self): - * return self.thisptr.getName().cStr() # <<<<<<<<<<<<<< - * property params: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyBytes_FromString(__pyx_v_self->thisptr.getName().cStr()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 519; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(((PyObject *)__pyx_t_1)); - __pyx_r = ((PyObject *)__pyx_t_1); - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._InterfaceNode_MethodReader.name.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_27_InterfaceNode_MethodReader_6params_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_27_InterfaceNode_MethodReader_6params_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_27_InterfaceNode_MethodReader_6params___get__(((struct __pyx_obj_6schema__InterfaceNode_MethodReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":521 - * return self.thisptr.getName().cStr() - * property params: - * def __get__(self): # <<<<<<<<<<<<<< - * return _List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader().init(self.thisptr.getParams()) - * property requiredParamCount: - */ - -static PyObject *__pyx_pf_6schema_27_InterfaceNode_MethodReader_6params___get__(struct __pyx_obj_6schema__InterfaceNode_MethodReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":522 - * property params: - * def __get__(self): - * return _List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader().init(self.thisptr.getParams()) # <<<<<<<<<<<<<< - * property requiredParamCount: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 522; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader *)((struct __pyx_obj_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader *)__pyx_t_1), __pyx_v_self->thisptr.getParams()); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 522; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema._InterfaceNode_MethodReader.params.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_27_InterfaceNode_MethodReader_18requiredParamCount_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_27_InterfaceNode_MethodReader_18requiredParamCount_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_27_InterfaceNode_MethodReader_18requiredParamCount___get__(((struct __pyx_obj_6schema__InterfaceNode_MethodReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":524 - * return _List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader().init(self.thisptr.getParams()) - * property requiredParamCount: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getRequiredParamCount() - * property returnType: - */ - -static PyObject *__pyx_pf_6schema_27_InterfaceNode_MethodReader_18requiredParamCount___get__(struct __pyx_obj_6schema__InterfaceNode_MethodReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":525 - * property requiredParamCount: - * def __get__(self): - * return self.thisptr.getRequiredParamCount() # <<<<<<<<<<<<<< - * property returnType: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyInt_to_py_uint16_t(__pyx_v_self->thisptr.getRequiredParamCount()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 525; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._InterfaceNode_MethodReader.requiredParamCount.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_27_InterfaceNode_MethodReader_10returnType_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_27_InterfaceNode_MethodReader_10returnType_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_27_InterfaceNode_MethodReader_10returnType___get__(((struct __pyx_obj_6schema__InterfaceNode_MethodReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":527 - * return self.thisptr.getRequiredParamCount() - * property returnType: - * def __get__(self): # <<<<<<<<<<<<<< - * return _TypeReader().init(self.thisptr.getReturnType()) - * property annotations: - */ - -static PyObject *__pyx_pf_6schema_27_InterfaceNode_MethodReader_10returnType___get__(struct __pyx_obj_6schema__InterfaceNode_MethodReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":528 - * property returnType: - * def __get__(self): - * return _TypeReader().init(self.thisptr.getReturnType()) # <<<<<<<<<<<<<< - * property annotations: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__TypeReader)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 528; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__TypeReader *)((struct __pyx_obj_6schema__TypeReader *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__TypeReader *)__pyx_t_1), ((::capnp::schema::Type::Reader)__pyx_v_self->thisptr.getReturnType())); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 528; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema._InterfaceNode_MethodReader.returnType.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_27_InterfaceNode_MethodReader_11annotations_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_27_InterfaceNode_MethodReader_11annotations_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_27_InterfaceNode_MethodReader_11annotations___get__(((struct __pyx_obj_6schema__InterfaceNode_MethodReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":530 - * return _TypeReader().init(self.thisptr.getReturnType()) - * property annotations: - * def __get__(self): # <<<<<<<<<<<<<< - * return _List_InterfaceNode_Method_Annotation_Reader().init(self.thisptr.getAnnotations()) - * - */ - -static PyObject *__pyx_pf_6schema_27_InterfaceNode_MethodReader_11annotations___get__(struct __pyx_obj_6schema__InterfaceNode_MethodReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":531 - * property annotations: - * def __get__(self): - * return _List_InterfaceNode_Method_Annotation_Reader().init(self.thisptr.getAnnotations()) # <<<<<<<<<<<<<< - * - * cdef class _InterfaceNode_MethodBuilder: - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__List_InterfaceNode_Method_Annotation_Reader)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 531; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__List_InterfaceNode_Method_Annotation_Reader *)((struct __pyx_obj_6schema__List_InterfaceNode_Method_Annotation_Reader *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__List_InterfaceNode_Method_Annotation_Reader *)__pyx_t_1), __pyx_v_self->thisptr.getAnnotations()); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 531; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema._InterfaceNode_MethodReader.annotations.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":535 - * cdef class _InterfaceNode_MethodBuilder: - * cdef C_InterfaceNode.Method.Builder thisptr - * cdef init(self, C_InterfaceNode.Method.Builder other): # <<<<<<<<<<<<<< - * self.thisptr = other - * return self - */ - -static PyObject *__pyx_f_6schema_28_InterfaceNode_MethodBuilder_init(struct __pyx_obj_6schema__InterfaceNode_MethodBuilder *__pyx_v_self, ::capnp::schema::InterfaceNode::Method::Builder __pyx_v_other) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("init", 0); - - /* "schema.pyx":536 - * cdef C_InterfaceNode.Method.Builder thisptr - * cdef init(self, C_InterfaceNode.Method.Builder other): - * self.thisptr = other # <<<<<<<<<<<<<< - * return self - * - */ - __pyx_v_self->thisptr = __pyx_v_other; - - /* "schema.pyx":537 - * cdef init(self, C_InterfaceNode.Method.Builder other): - * self.thisptr = other - * return self # <<<<<<<<<<<<<< - * - * property codeOrder: - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(((PyObject *)__pyx_v_self)); - __pyx_r = ((PyObject *)__pyx_v_self); - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_28_InterfaceNode_MethodBuilder_9codeOrder_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_28_InterfaceNode_MethodBuilder_9codeOrder_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_28_InterfaceNode_MethodBuilder_9codeOrder___get__(((struct __pyx_obj_6schema__InterfaceNode_MethodBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":540 - * - * property codeOrder: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getCodeOrder() - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_28_InterfaceNode_MethodBuilder_9codeOrder___get__(struct __pyx_obj_6schema__InterfaceNode_MethodBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":541 - * property codeOrder: - * def __get__(self): - * return self.thisptr.getCodeOrder() # <<<<<<<<<<<<<< - * def __set__(self, val): - * self.thisptr.setCodeOrder(val) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyInt_to_py_uint16_t(__pyx_v_self->thisptr.getCodeOrder()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 541; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._InterfaceNode_MethodBuilder.codeOrder.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_28_InterfaceNode_MethodBuilder_9codeOrder_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_28_InterfaceNode_MethodBuilder_9codeOrder_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_28_InterfaceNode_MethodBuilder_9codeOrder_2__set__(((struct __pyx_obj_6schema__InterfaceNode_MethodBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":542 - * def __get__(self): - * return self.thisptr.getCodeOrder() - * def __set__(self, val): # <<<<<<<<<<<<<< - * self.thisptr.setCodeOrder(val) - * property name: - */ - -static int __pyx_pf_6schema_28_InterfaceNode_MethodBuilder_9codeOrder_2__set__(struct __pyx_obj_6schema__InterfaceNode_MethodBuilder *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __pyx_t_10schema_cpp_UInt16 __pyx_t_1; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__set__", 0); - - /* "schema.pyx":543 - * return self.thisptr.getCodeOrder() - * def __set__(self, val): - * self.thisptr.setCodeOrder(val) # <<<<<<<<<<<<<< - * property name: - * def __get__(self): - */ - __pyx_t_1 = __Pyx_PyInt_from_py_uint16_t(__pyx_v_val); if (unlikely((__pyx_t_1 == (uint16_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 543; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_v_self->thisptr.setCodeOrder(__pyx_t_1); - - __pyx_r = 0; - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_AddTraceback("schema._InterfaceNode_MethodBuilder.codeOrder.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = -1; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_28_InterfaceNode_MethodBuilder_4name_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_28_InterfaceNode_MethodBuilder_4name_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_28_InterfaceNode_MethodBuilder_4name___get__(((struct __pyx_obj_6schema__InterfaceNode_MethodBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":545 - * self.thisptr.setCodeOrder(val) - * property name: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getName().cStr() - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_28_InterfaceNode_MethodBuilder_4name___get__(struct __pyx_obj_6schema__InterfaceNode_MethodBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":546 - * property name: - * def __get__(self): - * return self.thisptr.getName().cStr() # <<<<<<<<<<<<<< - * def __set__(self, val): - * pass - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyBytes_FromString(__pyx_v_self->thisptr.getName().cStr()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 546; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(((PyObject *)__pyx_t_1)); - __pyx_r = ((PyObject *)__pyx_t_1); - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._InterfaceNode_MethodBuilder.name.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_28_InterfaceNode_MethodBuilder_4name_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_28_InterfaceNode_MethodBuilder_4name_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_28_InterfaceNode_MethodBuilder_4name_2__set__(((struct __pyx_obj_6schema__InterfaceNode_MethodBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":547 - * def __get__(self): - * return self.thisptr.getName().cStr() - * def __set__(self, val): # <<<<<<<<<<<<<< - * pass - * property params: - */ - -static int __pyx_pf_6schema_28_InterfaceNode_MethodBuilder_4name_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__InterfaceNode_MethodBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__", 0); - - __pyx_r = 0; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_28_InterfaceNode_MethodBuilder_6params_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_28_InterfaceNode_MethodBuilder_6params_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_28_InterfaceNode_MethodBuilder_6params___get__(((struct __pyx_obj_6schema__InterfaceNode_MethodBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":550 - * pass - * property params: - * def __get__(self): # <<<<<<<<<<<<<< - * return _List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder().init(self.thisptr.getParams()) - * cpdef initParams(self, uint num): - */ - -static PyObject *__pyx_pf_6schema_28_InterfaceNode_MethodBuilder_6params___get__(struct __pyx_obj_6schema__InterfaceNode_MethodBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":551 - * property params: - * def __get__(self): - * return _List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder().init(self.thisptr.getParams()) # <<<<<<<<<<<<<< - * cpdef initParams(self, uint num): - * return _List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder().init(self.thisptr.initParams(num)) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 551; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder *)((struct __pyx_obj_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder *)__pyx_t_1), __pyx_v_self->thisptr.getParams()); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 551; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema._InterfaceNode_MethodBuilder.params.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":552 - * def __get__(self): - * return _List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder().init(self.thisptr.getParams()) - * cpdef initParams(self, uint num): # <<<<<<<<<<<<<< - * return _List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder().init(self.thisptr.initParams(num)) - * property requiredParamCount: - */ - -static PyObject *__pyx_pw_6schema_28_InterfaceNode_MethodBuilder_1initParams(PyObject *__pyx_v_self, PyObject *__pyx_arg_num); /*proto*/ -static PyObject *__pyx_f_6schema_28_InterfaceNode_MethodBuilder_initParams(struct __pyx_obj_6schema__InterfaceNode_MethodBuilder *__pyx_v_self, __pyx_t_6schema_uint __pyx_v_num, int __pyx_skip_dispatch) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - PyObject *__pyx_t_3 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("initParams", 0); - /* Check if called by wrapper */ - if (unlikely(__pyx_skip_dispatch)) ; - /* Check if overridden in Python */ - else if (unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0)) { - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s__initParams); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 552; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (!PyCFunction_Check(__pyx_t_1) || (PyCFunction_GET_FUNCTION(__pyx_t_1) != (PyCFunction)__pyx_pw_6schema_28_InterfaceNode_MethodBuilder_1initParams)) { - __Pyx_XDECREF(__pyx_r); - __pyx_t_2 = PyLong_FromUnsignedLong(__pyx_v_num); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 552; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 552; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_2); - __Pyx_GIVEREF(__pyx_t_2); - __pyx_t_2 = 0; - __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 552; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - goto __pyx_L0; - } - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - } - - /* "schema.pyx":553 - * return _List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder().init(self.thisptr.getParams()) - * cpdef initParams(self, uint num): - * return _List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder().init(self.thisptr.initParams(num)) # <<<<<<<<<<<<<< - * property requiredParamCount: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 553; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder *)((struct __pyx_obj_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder *)__pyx_t_1), __pyx_v_self->thisptr.initParams(__pyx_v_num)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 553; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_XDECREF(__pyx_t_3); - __Pyx_AddTraceback("schema._InterfaceNode_MethodBuilder.initParams", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = 0; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_28_InterfaceNode_MethodBuilder_1initParams(PyObject *__pyx_v_self, PyObject *__pyx_arg_num); /*proto*/ -static PyObject *__pyx_pw_6schema_28_InterfaceNode_MethodBuilder_1initParams(PyObject *__pyx_v_self, PyObject *__pyx_arg_num) { - __pyx_t_6schema_uint __pyx_v_num; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("initParams (wrapper)", 0); - assert(__pyx_arg_num); { - __pyx_v_num = __Pyx_PyInt_AsUnsignedInt(__pyx_arg_num); if (unlikely((__pyx_v_num == (unsigned int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 552; __pyx_clineno = __LINE__; goto __pyx_L3_error;} - } - goto __pyx_L4_argument_unpacking_done; - __pyx_L3_error:; - __Pyx_AddTraceback("schema._InterfaceNode_MethodBuilder.initParams", __pyx_clineno, __pyx_lineno, __pyx_filename); - __Pyx_RefNannyFinishContext(); - return NULL; - __pyx_L4_argument_unpacking_done:; - __pyx_r = __pyx_pf_6schema_28_InterfaceNode_MethodBuilder_initParams(((struct __pyx_obj_6schema__InterfaceNode_MethodBuilder *)__pyx_v_self), ((__pyx_t_6schema_uint)__pyx_v_num)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":552 - * def __get__(self): - * return _List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder().init(self.thisptr.getParams()) - * cpdef initParams(self, uint num): # <<<<<<<<<<<<<< - * return _List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder().init(self.thisptr.initParams(num)) - * property requiredParamCount: - */ - -static PyObject *__pyx_pf_6schema_28_InterfaceNode_MethodBuilder_initParams(struct __pyx_obj_6schema__InterfaceNode_MethodBuilder *__pyx_v_self, __pyx_t_6schema_uint __pyx_v_num) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("initParams", 0); - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = ((struct __pyx_vtabstruct_6schema__InterfaceNode_MethodBuilder *)__pyx_v_self->__pyx_vtab)->initParams(__pyx_v_self, __pyx_v_num, 1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 552; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._InterfaceNode_MethodBuilder.initParams", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_28_InterfaceNode_MethodBuilder_18requiredParamCount_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_28_InterfaceNode_MethodBuilder_18requiredParamCount_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_28_InterfaceNode_MethodBuilder_18requiredParamCount___get__(((struct __pyx_obj_6schema__InterfaceNode_MethodBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":555 - * return _List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder().init(self.thisptr.initParams(num)) - * property requiredParamCount: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getRequiredParamCount() - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_28_InterfaceNode_MethodBuilder_18requiredParamCount___get__(struct __pyx_obj_6schema__InterfaceNode_MethodBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":556 - * property requiredParamCount: - * def __get__(self): - * return self.thisptr.getRequiredParamCount() # <<<<<<<<<<<<<< - * def __set__(self, val): - * self.thisptr.setRequiredParamCount(val) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyInt_to_py_uint16_t(__pyx_v_self->thisptr.getRequiredParamCount()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 556; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._InterfaceNode_MethodBuilder.requiredParamCount.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_28_InterfaceNode_MethodBuilder_18requiredParamCount_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_28_InterfaceNode_MethodBuilder_18requiredParamCount_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_28_InterfaceNode_MethodBuilder_18requiredParamCount_2__set__(((struct __pyx_obj_6schema__InterfaceNode_MethodBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":557 - * def __get__(self): - * return self.thisptr.getRequiredParamCount() - * def __set__(self, val): # <<<<<<<<<<<<<< - * self.thisptr.setRequiredParamCount(val) - * property returnType: - */ - -static int __pyx_pf_6schema_28_InterfaceNode_MethodBuilder_18requiredParamCount_2__set__(struct __pyx_obj_6schema__InterfaceNode_MethodBuilder *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __pyx_t_10schema_cpp_UInt16 __pyx_t_1; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__set__", 0); - - /* "schema.pyx":558 - * return self.thisptr.getRequiredParamCount() - * def __set__(self, val): - * self.thisptr.setRequiredParamCount(val) # <<<<<<<<<<<<<< - * property returnType: - * def __get__(self): - */ - __pyx_t_1 = __Pyx_PyInt_from_py_uint16_t(__pyx_v_val); if (unlikely((__pyx_t_1 == (uint16_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 558; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_v_self->thisptr.setRequiredParamCount(__pyx_t_1); - - __pyx_r = 0; - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_AddTraceback("schema._InterfaceNode_MethodBuilder.requiredParamCount.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = -1; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_28_InterfaceNode_MethodBuilder_10returnType_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_28_InterfaceNode_MethodBuilder_10returnType_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_28_InterfaceNode_MethodBuilder_10returnType___get__(((struct __pyx_obj_6schema__InterfaceNode_MethodBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":560 - * self.thisptr.setRequiredParamCount(val) - * property returnType: - * def __get__(self): # <<<<<<<<<<<<<< - * return _TypeBuilder().init(self.thisptr.getReturnType()) - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_28_InterfaceNode_MethodBuilder_10returnType___get__(struct __pyx_obj_6schema__InterfaceNode_MethodBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":561 - * property returnType: - * def __get__(self): - * return _TypeBuilder().init(self.thisptr.getReturnType()) # <<<<<<<<<<<<<< - * def __set__(self, val): - * pass - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__TypeBuilder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 561; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__TypeBuilder *)((struct __pyx_obj_6schema__TypeBuilder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__TypeBuilder *)__pyx_t_1), ((::capnp::schema::Type::Builder)__pyx_v_self->thisptr.getReturnType())); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 561; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema._InterfaceNode_MethodBuilder.returnType.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_28_InterfaceNode_MethodBuilder_10returnType_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_28_InterfaceNode_MethodBuilder_10returnType_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_28_InterfaceNode_MethodBuilder_10returnType_2__set__(((struct __pyx_obj_6schema__InterfaceNode_MethodBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":562 - * def __get__(self): - * return _TypeBuilder().init(self.thisptr.getReturnType()) - * def __set__(self, val): # <<<<<<<<<<<<<< - * pass - * property annotations: - */ - -static int __pyx_pf_6schema_28_InterfaceNode_MethodBuilder_10returnType_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__InterfaceNode_MethodBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__", 0); - - __pyx_r = 0; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_28_InterfaceNode_MethodBuilder_11annotations_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_28_InterfaceNode_MethodBuilder_11annotations_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_28_InterfaceNode_MethodBuilder_11annotations___get__(((struct __pyx_obj_6schema__InterfaceNode_MethodBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":565 - * pass - * property annotations: - * def __get__(self): # <<<<<<<<<<<<<< - * return _List_InterfaceNode_Method_Annotation_Builder().init(self.thisptr.getAnnotations()) - * cpdef initAnnotations(self, uint num): - */ - -static PyObject *__pyx_pf_6schema_28_InterfaceNode_MethodBuilder_11annotations___get__(struct __pyx_obj_6schema__InterfaceNode_MethodBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":566 - * property annotations: - * def __get__(self): - * return _List_InterfaceNode_Method_Annotation_Builder().init(self.thisptr.getAnnotations()) # <<<<<<<<<<<<<< - * cpdef initAnnotations(self, uint num): - * return _List_InterfaceNode_Method_Annotation_Builder().init(self.thisptr.initAnnotations(num)) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__List_InterfaceNode_Method_Annotation_Builder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 566; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__List_InterfaceNode_Method_Annotation_Builder *)((struct __pyx_obj_6schema__List_InterfaceNode_Method_Annotation_Builder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__List_InterfaceNode_Method_Annotation_Builder *)__pyx_t_1), __pyx_v_self->thisptr.getAnnotations()); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 566; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema._InterfaceNode_MethodBuilder.annotations.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":567 - * def __get__(self): - * return _List_InterfaceNode_Method_Annotation_Builder().init(self.thisptr.getAnnotations()) - * cpdef initAnnotations(self, uint num): # <<<<<<<<<<<<<< - * return _List_InterfaceNode_Method_Annotation_Builder().init(self.thisptr.initAnnotations(num)) - * cdef class _InterfaceNodeReader: - */ - -static PyObject *__pyx_pw_6schema_28_InterfaceNode_MethodBuilder_3initAnnotations(PyObject *__pyx_v_self, PyObject *__pyx_arg_num); /*proto*/ -static PyObject *__pyx_f_6schema_28_InterfaceNode_MethodBuilder_initAnnotations(struct __pyx_obj_6schema__InterfaceNode_MethodBuilder *__pyx_v_self, __pyx_t_6schema_uint __pyx_v_num, int __pyx_skip_dispatch) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - PyObject *__pyx_t_3 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("initAnnotations", 0); - /* Check if called by wrapper */ - if (unlikely(__pyx_skip_dispatch)) ; - /* Check if overridden in Python */ - else if (unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0)) { - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s__initAnnotations); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 567; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (!PyCFunction_Check(__pyx_t_1) || (PyCFunction_GET_FUNCTION(__pyx_t_1) != (PyCFunction)__pyx_pw_6schema_28_InterfaceNode_MethodBuilder_3initAnnotations)) { - __Pyx_XDECREF(__pyx_r); - __pyx_t_2 = PyLong_FromUnsignedLong(__pyx_v_num); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 567; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 567; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_2); - __Pyx_GIVEREF(__pyx_t_2); - __pyx_t_2 = 0; - __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 567; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - goto __pyx_L0; - } - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - } - - /* "schema.pyx":568 - * return _List_InterfaceNode_Method_Annotation_Builder().init(self.thisptr.getAnnotations()) - * cpdef initAnnotations(self, uint num): - * return _List_InterfaceNode_Method_Annotation_Builder().init(self.thisptr.initAnnotations(num)) # <<<<<<<<<<<<<< - * cdef class _InterfaceNodeReader: - * cdef C_InterfaceNode.Reader thisptr - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__List_InterfaceNode_Method_Annotation_Builder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 568; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__List_InterfaceNode_Method_Annotation_Builder *)((struct __pyx_obj_6schema__List_InterfaceNode_Method_Annotation_Builder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__List_InterfaceNode_Method_Annotation_Builder *)__pyx_t_1), __pyx_v_self->thisptr.initAnnotations(__pyx_v_num)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 568; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_XDECREF(__pyx_t_3); - __Pyx_AddTraceback("schema._InterfaceNode_MethodBuilder.initAnnotations", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = 0; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_28_InterfaceNode_MethodBuilder_3initAnnotations(PyObject *__pyx_v_self, PyObject *__pyx_arg_num); /*proto*/ -static PyObject *__pyx_pw_6schema_28_InterfaceNode_MethodBuilder_3initAnnotations(PyObject *__pyx_v_self, PyObject *__pyx_arg_num) { - __pyx_t_6schema_uint __pyx_v_num; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("initAnnotations (wrapper)", 0); - assert(__pyx_arg_num); { - __pyx_v_num = __Pyx_PyInt_AsUnsignedInt(__pyx_arg_num); if (unlikely((__pyx_v_num == (unsigned int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 567; __pyx_clineno = __LINE__; goto __pyx_L3_error;} - } - goto __pyx_L4_argument_unpacking_done; - __pyx_L3_error:; - __Pyx_AddTraceback("schema._InterfaceNode_MethodBuilder.initAnnotations", __pyx_clineno, __pyx_lineno, __pyx_filename); - __Pyx_RefNannyFinishContext(); - return NULL; - __pyx_L4_argument_unpacking_done:; - __pyx_r = __pyx_pf_6schema_28_InterfaceNode_MethodBuilder_2initAnnotations(((struct __pyx_obj_6schema__InterfaceNode_MethodBuilder *)__pyx_v_self), ((__pyx_t_6schema_uint)__pyx_v_num)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":567 - * def __get__(self): - * return _List_InterfaceNode_Method_Annotation_Builder().init(self.thisptr.getAnnotations()) - * cpdef initAnnotations(self, uint num): # <<<<<<<<<<<<<< - * return _List_InterfaceNode_Method_Annotation_Builder().init(self.thisptr.initAnnotations(num)) - * cdef class _InterfaceNodeReader: - */ - -static PyObject *__pyx_pf_6schema_28_InterfaceNode_MethodBuilder_2initAnnotations(struct __pyx_obj_6schema__InterfaceNode_MethodBuilder *__pyx_v_self, __pyx_t_6schema_uint __pyx_v_num) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("initAnnotations", 0); - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = ((struct __pyx_vtabstruct_6schema__InterfaceNode_MethodBuilder *)__pyx_v_self->__pyx_vtab)->initAnnotations(__pyx_v_self, __pyx_v_num, 1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 567; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._InterfaceNode_MethodBuilder.initAnnotations", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":571 - * cdef class _InterfaceNodeReader: - * cdef C_InterfaceNode.Reader thisptr - * cdef init(self, C_InterfaceNode.Reader other): # <<<<<<<<<<<<<< - * self.thisptr = other - * return self - */ - -static PyObject *__pyx_f_6schema_20_InterfaceNodeReader_init(struct __pyx_obj_6schema__InterfaceNodeReader *__pyx_v_self, ::capnp::schema::InterfaceNode::Reader __pyx_v_other) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("init", 0); - - /* "schema.pyx":572 - * cdef C_InterfaceNode.Reader thisptr - * cdef init(self, C_InterfaceNode.Reader other): - * self.thisptr = other # <<<<<<<<<<<<<< - * return self - * - */ - __pyx_v_self->thisptr = __pyx_v_other; - - /* "schema.pyx":573 - * cdef init(self, C_InterfaceNode.Reader other): - * self.thisptr = other - * return self # <<<<<<<<<<<<<< - * - * property methods: - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(((PyObject *)__pyx_v_self)); - __pyx_r = ((PyObject *)__pyx_v_self); - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_20_InterfaceNodeReader_7methods_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_20_InterfaceNodeReader_7methods_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_20_InterfaceNodeReader_7methods___get__(((struct __pyx_obj_6schema__InterfaceNodeReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":576 - * - * property methods: - * def __get__(self): # <<<<<<<<<<<<<< - * return _List_InterfaceNode_InterfaceNode_Method_Reader().init(self.thisptr.getMethods()) - * - */ - -static PyObject *__pyx_pf_6schema_20_InterfaceNodeReader_7methods___get__(struct __pyx_obj_6schema__InterfaceNodeReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":577 - * property methods: - * def __get__(self): - * return _List_InterfaceNode_InterfaceNode_Method_Reader().init(self.thisptr.getMethods()) # <<<<<<<<<<<<<< - * - * cdef class _InterfaceNodeBuilder: - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__List_InterfaceNode_InterfaceNode_Method_Reader)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 577; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__List_InterfaceNode_InterfaceNode_Method_Reader *)((struct __pyx_obj_6schema__List_InterfaceNode_InterfaceNode_Method_Reader *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__List_InterfaceNode_InterfaceNode_Method_Reader *)__pyx_t_1), __pyx_v_self->thisptr.getMethods()); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 577; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema._InterfaceNodeReader.methods.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":581 - * cdef class _InterfaceNodeBuilder: - * cdef C_InterfaceNode.Builder thisptr - * cdef init(self, C_InterfaceNode.Builder other): # <<<<<<<<<<<<<< - * self.thisptr = other - * return self - */ - -static PyObject *__pyx_f_6schema_21_InterfaceNodeBuilder_init(struct __pyx_obj_6schema__InterfaceNodeBuilder *__pyx_v_self, ::capnp::schema::InterfaceNode::Builder __pyx_v_other) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("init", 0); - - /* "schema.pyx":582 - * cdef C_InterfaceNode.Builder thisptr - * cdef init(self, C_InterfaceNode.Builder other): - * self.thisptr = other # <<<<<<<<<<<<<< - * return self - * - */ - __pyx_v_self->thisptr = __pyx_v_other; - - /* "schema.pyx":583 - * cdef init(self, C_InterfaceNode.Builder other): - * self.thisptr = other - * return self # <<<<<<<<<<<<<< - * - * property methods: - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(((PyObject *)__pyx_v_self)); - __pyx_r = ((PyObject *)__pyx_v_self); - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_21_InterfaceNodeBuilder_7methods_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_21_InterfaceNodeBuilder_7methods_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_21_InterfaceNodeBuilder_7methods___get__(((struct __pyx_obj_6schema__InterfaceNodeBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":586 - * - * property methods: - * def __get__(self): # <<<<<<<<<<<<<< - * return _List_InterfaceNode_InterfaceNode_Method_Builder().init(self.thisptr.getMethods()) - * cpdef initMethods(self, uint num): - */ - -static PyObject *__pyx_pf_6schema_21_InterfaceNodeBuilder_7methods___get__(struct __pyx_obj_6schema__InterfaceNodeBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":587 - * property methods: - * def __get__(self): - * return _List_InterfaceNode_InterfaceNode_Method_Builder().init(self.thisptr.getMethods()) # <<<<<<<<<<<<<< - * cpdef initMethods(self, uint num): - * return _List_InterfaceNode_InterfaceNode_Method_Builder().init(self.thisptr.initMethods(num)) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__List_InterfaceNode_InterfaceNode_Method_Builder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 587; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__List_InterfaceNode_InterfaceNode_Method_Builder *)((struct __pyx_obj_6schema__List_InterfaceNode_InterfaceNode_Method_Builder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__List_InterfaceNode_InterfaceNode_Method_Builder *)__pyx_t_1), __pyx_v_self->thisptr.getMethods()); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 587; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema._InterfaceNodeBuilder.methods.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":588 - * def __get__(self): - * return _List_InterfaceNode_InterfaceNode_Method_Builder().init(self.thisptr.getMethods()) - * cpdef initMethods(self, uint num): # <<<<<<<<<<<<<< - * return _List_InterfaceNode_InterfaceNode_Method_Builder().init(self.thisptr.initMethods(num)) - * - */ - -static PyObject *__pyx_pw_6schema_21_InterfaceNodeBuilder_1initMethods(PyObject *__pyx_v_self, PyObject *__pyx_arg_num); /*proto*/ -static PyObject *__pyx_f_6schema_21_InterfaceNodeBuilder_initMethods(struct __pyx_obj_6schema__InterfaceNodeBuilder *__pyx_v_self, __pyx_t_6schema_uint __pyx_v_num, int __pyx_skip_dispatch) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - PyObject *__pyx_t_3 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("initMethods", 0); - /* Check if called by wrapper */ - if (unlikely(__pyx_skip_dispatch)) ; - /* Check if overridden in Python */ - else if (unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0)) { - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s__initMethods); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 588; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (!PyCFunction_Check(__pyx_t_1) || (PyCFunction_GET_FUNCTION(__pyx_t_1) != (PyCFunction)__pyx_pw_6schema_21_InterfaceNodeBuilder_1initMethods)) { - __Pyx_XDECREF(__pyx_r); - __pyx_t_2 = PyLong_FromUnsignedLong(__pyx_v_num); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 588; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 588; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_2); - __Pyx_GIVEREF(__pyx_t_2); - __pyx_t_2 = 0; - __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 588; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - goto __pyx_L0; - } - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - } - - /* "schema.pyx":589 - * return _List_InterfaceNode_InterfaceNode_Method_Builder().init(self.thisptr.getMethods()) - * cpdef initMethods(self, uint num): - * return _List_InterfaceNode_InterfaceNode_Method_Builder().init(self.thisptr.initMethods(num)) # <<<<<<<<<<<<<< - * - * - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__List_InterfaceNode_InterfaceNode_Method_Builder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 589; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__List_InterfaceNode_InterfaceNode_Method_Builder *)((struct __pyx_obj_6schema__List_InterfaceNode_InterfaceNode_Method_Builder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__List_InterfaceNode_InterfaceNode_Method_Builder *)__pyx_t_1), __pyx_v_self->thisptr.initMethods(__pyx_v_num)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 589; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_XDECREF(__pyx_t_3); - __Pyx_AddTraceback("schema._InterfaceNodeBuilder.initMethods", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = 0; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_21_InterfaceNodeBuilder_1initMethods(PyObject *__pyx_v_self, PyObject *__pyx_arg_num); /*proto*/ -static PyObject *__pyx_pw_6schema_21_InterfaceNodeBuilder_1initMethods(PyObject *__pyx_v_self, PyObject *__pyx_arg_num) { - __pyx_t_6schema_uint __pyx_v_num; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("initMethods (wrapper)", 0); - assert(__pyx_arg_num); { - __pyx_v_num = __Pyx_PyInt_AsUnsignedInt(__pyx_arg_num); if (unlikely((__pyx_v_num == (unsigned int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 588; __pyx_clineno = __LINE__; goto __pyx_L3_error;} - } - goto __pyx_L4_argument_unpacking_done; - __pyx_L3_error:; - __Pyx_AddTraceback("schema._InterfaceNodeBuilder.initMethods", __pyx_clineno, __pyx_lineno, __pyx_filename); - __Pyx_RefNannyFinishContext(); - return NULL; - __pyx_L4_argument_unpacking_done:; - __pyx_r = __pyx_pf_6schema_21_InterfaceNodeBuilder_initMethods(((struct __pyx_obj_6schema__InterfaceNodeBuilder *)__pyx_v_self), ((__pyx_t_6schema_uint)__pyx_v_num)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":588 - * def __get__(self): - * return _List_InterfaceNode_InterfaceNode_Method_Builder().init(self.thisptr.getMethods()) - * cpdef initMethods(self, uint num): # <<<<<<<<<<<<<< - * return _List_InterfaceNode_InterfaceNode_Method_Builder().init(self.thisptr.initMethods(num)) - * - */ - -static PyObject *__pyx_pf_6schema_21_InterfaceNodeBuilder_initMethods(struct __pyx_obj_6schema__InterfaceNodeBuilder *__pyx_v_self, __pyx_t_6schema_uint __pyx_v_num) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("initMethods", 0); - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = ((struct __pyx_vtabstruct_6schema__InterfaceNodeBuilder *)__pyx_v_self->__pyx_vtab)->initMethods(__pyx_v_self, __pyx_v_num, 1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 588; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._InterfaceNodeBuilder.initMethods", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":595 - * cdef class _Value_BodyReader: - * cdef C_Value.Body.Reader thisptr - * cdef init(self, C_Value.Body.Reader other): # <<<<<<<<<<<<<< - * self.thisptr = other - * return self - */ - -static PyObject *__pyx_f_6schema_17_Value_BodyReader_init(struct __pyx_obj_6schema__Value_BodyReader *__pyx_v_self, ::capnp::schema::Value::Body::Reader __pyx_v_other) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("init", 0); - - /* "schema.pyx":596 - * cdef C_Value.Body.Reader thisptr - * cdef init(self, C_Value.Body.Reader other): - * self.thisptr = other # <<<<<<<<<<<<<< - * return self - * - */ - __pyx_v_self->thisptr = __pyx_v_other; - - /* "schema.pyx":597 - * cdef init(self, C_Value.Body.Reader other): - * self.thisptr = other - * return self # <<<<<<<<<<<<<< - * - * cpdef int which(self): - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(((PyObject *)__pyx_v_self)); - __pyx_r = ((PyObject *)__pyx_v_self); - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":599 - * return self - * - * cpdef int which(self): # <<<<<<<<<<<<<< - * return self.thisptr.which() - * property uint32Value: - */ - -static PyObject *__pyx_pw_6schema_17_Value_BodyReader_1which(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static int __pyx_f_6schema_17_Value_BodyReader_which(struct __pyx_obj_6schema__Value_BodyReader *__pyx_v_self, int __pyx_skip_dispatch) { - int __pyx_r; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_t_3; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("which", 0); - /* Check if called by wrapper */ - if (unlikely(__pyx_skip_dispatch)) ; - /* Check if overridden in Python */ - else if (unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0)) { - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s__which); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 599; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (!PyCFunction_Check(__pyx_t_1) || (PyCFunction_GET_FUNCTION(__pyx_t_1) != (PyCFunction)__pyx_pw_6schema_17_Value_BodyReader_1which)) { - __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 599; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __pyx_t_3 = __Pyx_PyInt_AsInt(__pyx_t_2); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 599; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_r = __pyx_t_3; - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - goto __pyx_L0; - } - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - } - - /* "schema.pyx":600 - * - * cpdef int which(self): - * return self.thisptr.which() # <<<<<<<<<<<<<< - * property uint32Value: - * def __get__(self): - */ - __pyx_r = __pyx_v_self->thisptr.which(); - goto __pyx_L0; - - __pyx_r = 0; - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_WriteUnraisable("schema._Value_BodyReader.which", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = 0; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_17_Value_BodyReader_1which(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static PyObject *__pyx_pw_6schema_17_Value_BodyReader_1which(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("which (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_Value_BodyReader_which(((struct __pyx_obj_6schema__Value_BodyReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":599 - * return self - * - * cpdef int which(self): # <<<<<<<<<<<<<< - * return self.thisptr.which() - * property uint32Value: - */ - -static PyObject *__pyx_pf_6schema_17_Value_BodyReader_which(struct __pyx_obj_6schema__Value_BodyReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("which", 0); - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyInt_FromLong(((struct __pyx_vtabstruct_6schema__Value_BodyReader *)__pyx_v_self->__pyx_vtab)->which(__pyx_v_self, 1)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 599; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._Value_BodyReader.which", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_17_Value_BodyReader_11uint32Value_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_17_Value_BodyReader_11uint32Value_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_Value_BodyReader_11uint32Value___get__(((struct __pyx_obj_6schema__Value_BodyReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":602 - * return self.thisptr.which() - * property uint32Value: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getUint32Value() - * property float64Value: - */ - -static PyObject *__pyx_pf_6schema_17_Value_BodyReader_11uint32Value___get__(struct __pyx_obj_6schema__Value_BodyReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":603 - * property uint32Value: - * def __get__(self): - * return self.thisptr.getUint32Value() # <<<<<<<<<<<<<< - * property float64Value: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyInt_to_py_uint32_t(__pyx_v_self->thisptr.getUint32Value()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 603; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._Value_BodyReader.uint32Value.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_17_Value_BodyReader_12float64Value_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_17_Value_BodyReader_12float64Value_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_Value_BodyReader_12float64Value___get__(((struct __pyx_obj_6schema__Value_BodyReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":605 - * return self.thisptr.getUint32Value() - * property float64Value: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getFloat64Value() - * property voidValue: - */ - -static PyObject *__pyx_pf_6schema_17_Value_BodyReader_12float64Value___get__(struct __pyx_obj_6schema__Value_BodyReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":606 - * property float64Value: - * def __get__(self): - * return self.thisptr.getFloat64Value() # <<<<<<<<<<<<<< - * property voidValue: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyFloat_FromDouble(__pyx_v_self->thisptr.getFloat64Value()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 606; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._Value_BodyReader.float64Value.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_17_Value_BodyReader_9voidValue_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_17_Value_BodyReader_9voidValue_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_Value_BodyReader_9voidValue___get__(((struct __pyx_obj_6schema__Value_BodyReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":608 - * return self.thisptr.getFloat64Value() - * property voidValue: - * def __get__(self): # <<<<<<<<<<<<<< - * return None - * property dataValue: - */ - -static PyObject *__pyx_pf_6schema_17_Value_BodyReader_9voidValue___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Value_BodyReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":609 - * property voidValue: - * def __get__(self): - * return None # <<<<<<<<<<<<<< - * property dataValue: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(Py_None); - __pyx_r = Py_None; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_17_Value_BodyReader_9dataValue_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_17_Value_BodyReader_9dataValue_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_Value_BodyReader_9dataValue___get__(((struct __pyx_obj_6schema__Value_BodyReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":611 - * return None - * property dataValue: - * def __get__(self): # <<<<<<<<<<<<<< - * temp = self.thisptr.getDataValue() - * return (temp.begin())[:temp.size()] - */ - -static PyObject *__pyx_pf_6schema_17_Value_BodyReader_9dataValue___get__(struct __pyx_obj_6schema__Value_BodyReader *__pyx_v_self) { - ::capnp::Data::Reader __pyx_v_temp; - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":612 - * property dataValue: - * def __get__(self): - * temp = self.thisptr.getDataValue() # <<<<<<<<<<<<<< - * return (temp.begin())[:temp.size()] - * property listValue: - */ - __pyx_v_temp = __pyx_v_self->thisptr.getDataValue(); - - /* "schema.pyx":613 - * def __get__(self): - * temp = self.thisptr.getDataValue() - * return (temp.begin())[:temp.size()] # <<<<<<<<<<<<<< - * property listValue: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyBytes_FromStringAndSize(((char *)__pyx_v_temp.begin()) + 0, __pyx_v_temp.size() - 0); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 613; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(((PyObject *)__pyx_t_1)); - __pyx_r = ((PyObject *)__pyx_t_1); - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._Value_BodyReader.dataValue.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_17_Value_BodyReader_9listValue_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_17_Value_BodyReader_9listValue_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_Value_BodyReader_9listValue___get__(((struct __pyx_obj_6schema__Value_BodyReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":615 - * return (temp.begin())[:temp.size()] - * property listValue: - * def __get__(self): # <<<<<<<<<<<<<< - * return None - * property int32Value: - */ - -static PyObject *__pyx_pf_6schema_17_Value_BodyReader_9listValue___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Value_BodyReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":616 - * property listValue: - * def __get__(self): - * return None # <<<<<<<<<<<<<< - * property int32Value: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(Py_None); - __pyx_r = Py_None; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_17_Value_BodyReader_10int32Value_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_17_Value_BodyReader_10int32Value_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_Value_BodyReader_10int32Value___get__(((struct __pyx_obj_6schema__Value_BodyReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":618 - * return None - * property int32Value: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getInt32Value() - * property enumValue: - */ - -static PyObject *__pyx_pf_6schema_17_Value_BodyReader_10int32Value___get__(struct __pyx_obj_6schema__Value_BodyReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":619 - * property int32Value: - * def __get__(self): - * return self.thisptr.getInt32Value() # <<<<<<<<<<<<<< - * property enumValue: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyInt_to_py_int32_t(__pyx_v_self->thisptr.getInt32Value()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 619; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._Value_BodyReader.int32Value.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_17_Value_BodyReader_9enumValue_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_17_Value_BodyReader_9enumValue_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_Value_BodyReader_9enumValue___get__(((struct __pyx_obj_6schema__Value_BodyReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":621 - * return self.thisptr.getInt32Value() - * property enumValue: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getEnumValue() - * property int8Value: - */ - -static PyObject *__pyx_pf_6schema_17_Value_BodyReader_9enumValue___get__(struct __pyx_obj_6schema__Value_BodyReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":622 - * property enumValue: - * def __get__(self): - * return self.thisptr.getEnumValue() # <<<<<<<<<<<<<< - * property int8Value: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyInt_to_py_uint16_t(__pyx_v_self->thisptr.getEnumValue()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 622; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._Value_BodyReader.enumValue.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_17_Value_BodyReader_9int8Value_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_17_Value_BodyReader_9int8Value_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_Value_BodyReader_9int8Value___get__(((struct __pyx_obj_6schema__Value_BodyReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":624 - * return self.thisptr.getEnumValue() - * property int8Value: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getInt8Value() - * property boolValue: - */ - -static PyObject *__pyx_pf_6schema_17_Value_BodyReader_9int8Value___get__(struct __pyx_obj_6schema__Value_BodyReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":625 - * property int8Value: - * def __get__(self): - * return self.thisptr.getInt8Value() # <<<<<<<<<<<<<< - * property boolValue: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyInt_to_py_int8_t(__pyx_v_self->thisptr.getInt8Value()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 625; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._Value_BodyReader.int8Value.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_17_Value_BodyReader_9boolValue_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_17_Value_BodyReader_9boolValue_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_Value_BodyReader_9boolValue___get__(((struct __pyx_obj_6schema__Value_BodyReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":627 - * return self.thisptr.getInt8Value() - * property boolValue: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getBoolValue() - * property int16Value: - */ - -static PyObject *__pyx_pf_6schema_17_Value_BodyReader_9boolValue___get__(struct __pyx_obj_6schema__Value_BodyReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":628 - * property boolValue: - * def __get__(self): - * return self.thisptr.getBoolValue() # <<<<<<<<<<<<<< - * property int16Value: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_v_self->thisptr.getBoolValue()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 628; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._Value_BodyReader.boolValue.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_17_Value_BodyReader_10int16Value_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_17_Value_BodyReader_10int16Value_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_Value_BodyReader_10int16Value___get__(((struct __pyx_obj_6schema__Value_BodyReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":630 - * return self.thisptr.getBoolValue() - * property int16Value: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getInt16Value() - * property float32Value: - */ - -static PyObject *__pyx_pf_6schema_17_Value_BodyReader_10int16Value___get__(struct __pyx_obj_6schema__Value_BodyReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":631 - * property int16Value: - * def __get__(self): - * return self.thisptr.getInt16Value() # <<<<<<<<<<<<<< - * property float32Value: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyInt_to_py_int16_t(__pyx_v_self->thisptr.getInt16Value()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 631; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._Value_BodyReader.int16Value.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_17_Value_BodyReader_12float32Value_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_17_Value_BodyReader_12float32Value_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_Value_BodyReader_12float32Value___get__(((struct __pyx_obj_6schema__Value_BodyReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":633 - * return self.thisptr.getInt16Value() - * property float32Value: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getFloat32Value() - * property interfaceValue: - */ - -static PyObject *__pyx_pf_6schema_17_Value_BodyReader_12float32Value___get__(struct __pyx_obj_6schema__Value_BodyReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":634 - * property float32Value: - * def __get__(self): - * return self.thisptr.getFloat32Value() # <<<<<<<<<<<<<< - * property interfaceValue: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyFloat_FromDouble(__pyx_v_self->thisptr.getFloat32Value()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 634; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._Value_BodyReader.float32Value.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_17_Value_BodyReader_14interfaceValue_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_17_Value_BodyReader_14interfaceValue_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_Value_BodyReader_14interfaceValue___get__(((struct __pyx_obj_6schema__Value_BodyReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":636 - * return self.thisptr.getFloat32Value() - * property interfaceValue: - * def __get__(self): # <<<<<<<<<<<<<< - * return None - * property uint16Value: - */ - -static PyObject *__pyx_pf_6schema_17_Value_BodyReader_14interfaceValue___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Value_BodyReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":637 - * property interfaceValue: - * def __get__(self): - * return None # <<<<<<<<<<<<<< - * property uint16Value: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(Py_None); - __pyx_r = Py_None; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_17_Value_BodyReader_11uint16Value_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_17_Value_BodyReader_11uint16Value_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_Value_BodyReader_11uint16Value___get__(((struct __pyx_obj_6schema__Value_BodyReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":639 - * return None - * property uint16Value: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getUint16Value() - * property uint8Value: - */ - -static PyObject *__pyx_pf_6schema_17_Value_BodyReader_11uint16Value___get__(struct __pyx_obj_6schema__Value_BodyReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":640 - * property uint16Value: - * def __get__(self): - * return self.thisptr.getUint16Value() # <<<<<<<<<<<<<< - * property uint8Value: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyInt_to_py_uint16_t(__pyx_v_self->thisptr.getUint16Value()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 640; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._Value_BodyReader.uint16Value.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_17_Value_BodyReader_10uint8Value_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_17_Value_BodyReader_10uint8Value_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_Value_BodyReader_10uint8Value___get__(((struct __pyx_obj_6schema__Value_BodyReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":642 - * return self.thisptr.getUint16Value() - * property uint8Value: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getUint8Value() - * property int64Value: - */ - -static PyObject *__pyx_pf_6schema_17_Value_BodyReader_10uint8Value___get__(struct __pyx_obj_6schema__Value_BodyReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":643 - * property uint8Value: - * def __get__(self): - * return self.thisptr.getUint8Value() # <<<<<<<<<<<<<< - * property int64Value: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyInt_to_py_uint8_t(__pyx_v_self->thisptr.getUint8Value()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 643; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._Value_BodyReader.uint8Value.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_17_Value_BodyReader_10int64Value_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_17_Value_BodyReader_10int64Value_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_Value_BodyReader_10int64Value___get__(((struct __pyx_obj_6schema__Value_BodyReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":645 - * return self.thisptr.getUint8Value() - * property int64Value: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getInt64Value() - * property structValue: - */ - -static PyObject *__pyx_pf_6schema_17_Value_BodyReader_10int64Value___get__(struct __pyx_obj_6schema__Value_BodyReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":646 - * property int64Value: - * def __get__(self): - * return self.thisptr.getInt64Value() # <<<<<<<<<<<<<< - * property structValue: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyInt_to_py_int64_t(__pyx_v_self->thisptr.getInt64Value()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 646; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._Value_BodyReader.int64Value.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_17_Value_BodyReader_11structValue_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_17_Value_BodyReader_11structValue_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_Value_BodyReader_11structValue___get__(((struct __pyx_obj_6schema__Value_BodyReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":648 - * return self.thisptr.getInt64Value() - * property structValue: - * def __get__(self): # <<<<<<<<<<<<<< - * return None - * property textValue: - */ - -static PyObject *__pyx_pf_6schema_17_Value_BodyReader_11structValue___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Value_BodyReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":649 - * property structValue: - * def __get__(self): - * return None # <<<<<<<<<<<<<< - * property textValue: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(Py_None); - __pyx_r = Py_None; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_17_Value_BodyReader_9textValue_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_17_Value_BodyReader_9textValue_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_Value_BodyReader_9textValue___get__(((struct __pyx_obj_6schema__Value_BodyReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":651 - * return None - * property textValue: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getTextValue().cStr() - * property uint64Value: - */ - -static PyObject *__pyx_pf_6schema_17_Value_BodyReader_9textValue___get__(struct __pyx_obj_6schema__Value_BodyReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":652 - * property textValue: - * def __get__(self): - * return self.thisptr.getTextValue().cStr() # <<<<<<<<<<<<<< - * property uint64Value: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyBytes_FromString(__pyx_v_self->thisptr.getTextValue().cStr()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 652; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(((PyObject *)__pyx_t_1)); - __pyx_r = ((PyObject *)__pyx_t_1); - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._Value_BodyReader.textValue.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_17_Value_BodyReader_11uint64Value_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_17_Value_BodyReader_11uint64Value_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_Value_BodyReader_11uint64Value___get__(((struct __pyx_obj_6schema__Value_BodyReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":654 - * return self.thisptr.getTextValue().cStr() - * property uint64Value: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getUint64Value() - * property objectValue: - */ - -static PyObject *__pyx_pf_6schema_17_Value_BodyReader_11uint64Value___get__(struct __pyx_obj_6schema__Value_BodyReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":655 - * property uint64Value: - * def __get__(self): - * return self.thisptr.getUint64Value() # <<<<<<<<<<<<<< - * property objectValue: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyInt_to_py_uint64_t(__pyx_v_self->thisptr.getUint64Value()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 655; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._Value_BodyReader.uint64Value.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_17_Value_BodyReader_11objectValue_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_17_Value_BodyReader_11objectValue_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_Value_BodyReader_11objectValue___get__(((struct __pyx_obj_6schema__Value_BodyReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":657 - * return self.thisptr.getUint64Value() - * property objectValue: - * def __get__(self): # <<<<<<<<<<<<<< - * return None - * - */ - -static PyObject *__pyx_pf_6schema_17_Value_BodyReader_11objectValue___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Value_BodyReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":658 - * property objectValue: - * def __get__(self): - * return None # <<<<<<<<<<<<<< - * - * cdef class _Value_BodyBuilder: - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(Py_None); - __pyx_r = Py_None; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":662 - * cdef class _Value_BodyBuilder: - * cdef C_Value.Body.Builder thisptr - * cdef init(self, C_Value.Body.Builder other): # <<<<<<<<<<<<<< - * self.thisptr = other - * return self - */ - -static PyObject *__pyx_f_6schema_18_Value_BodyBuilder_init(struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self, ::capnp::schema::Value::Body::Builder __pyx_v_other) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("init", 0); - - /* "schema.pyx":663 - * cdef C_Value.Body.Builder thisptr - * cdef init(self, C_Value.Body.Builder other): - * self.thisptr = other # <<<<<<<<<<<<<< - * return self - * - */ - __pyx_v_self->thisptr = __pyx_v_other; - - /* "schema.pyx":664 - * cdef init(self, C_Value.Body.Builder other): - * self.thisptr = other - * return self # <<<<<<<<<<<<<< - * - * cpdef int which(self): - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(((PyObject *)__pyx_v_self)); - __pyx_r = ((PyObject *)__pyx_v_self); - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":666 - * return self - * - * cpdef int which(self): # <<<<<<<<<<<<<< - * return self.thisptr.which() - * property uint32Value: - */ - -static PyObject *__pyx_pw_6schema_18_Value_BodyBuilder_1which(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static int __pyx_f_6schema_18_Value_BodyBuilder_which(struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self, int __pyx_skip_dispatch) { - int __pyx_r; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_t_3; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("which", 0); - /* Check if called by wrapper */ - if (unlikely(__pyx_skip_dispatch)) ; - /* Check if overridden in Python */ - else if (unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0)) { - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s__which); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 666; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (!PyCFunction_Check(__pyx_t_1) || (PyCFunction_GET_FUNCTION(__pyx_t_1) != (PyCFunction)__pyx_pw_6schema_18_Value_BodyBuilder_1which)) { - __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 666; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __pyx_t_3 = __Pyx_PyInt_AsInt(__pyx_t_2); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 666; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_r = __pyx_t_3; - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - goto __pyx_L0; - } - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - } - - /* "schema.pyx":667 - * - * cpdef int which(self): - * return self.thisptr.which() # <<<<<<<<<<<<<< - * property uint32Value: - * def __get__(self): - */ - __pyx_r = __pyx_v_self->thisptr.which(); - goto __pyx_L0; - - __pyx_r = 0; - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_WriteUnraisable("schema._Value_BodyBuilder.which", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = 0; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_18_Value_BodyBuilder_1which(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static PyObject *__pyx_pw_6schema_18_Value_BodyBuilder_1which(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("which (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_18_Value_BodyBuilder_which(((struct __pyx_obj_6schema__Value_BodyBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":666 - * return self - * - * cpdef int which(self): # <<<<<<<<<<<<<< - * return self.thisptr.which() - * property uint32Value: - */ - -static PyObject *__pyx_pf_6schema_18_Value_BodyBuilder_which(struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("which", 0); - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyInt_FromLong(((struct __pyx_vtabstruct_6schema__Value_BodyBuilder *)__pyx_v_self->__pyx_vtab)->which(__pyx_v_self, 1)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 666; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._Value_BodyBuilder.which", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_18_Value_BodyBuilder_11uint32Value_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_18_Value_BodyBuilder_11uint32Value_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_18_Value_BodyBuilder_11uint32Value___get__(((struct __pyx_obj_6schema__Value_BodyBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":669 - * return self.thisptr.which() - * property uint32Value: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getUint32Value() - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_18_Value_BodyBuilder_11uint32Value___get__(struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":670 - * property uint32Value: - * def __get__(self): - * return self.thisptr.getUint32Value() # <<<<<<<<<<<<<< - * def __set__(self, val): - * self.thisptr.setUint32Value(val) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyInt_to_py_uint32_t(__pyx_v_self->thisptr.getUint32Value()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 670; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._Value_BodyBuilder.uint32Value.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_18_Value_BodyBuilder_11uint32Value_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_18_Value_BodyBuilder_11uint32Value_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_18_Value_BodyBuilder_11uint32Value_2__set__(((struct __pyx_obj_6schema__Value_BodyBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":671 - * def __get__(self): - * return self.thisptr.getUint32Value() - * def __set__(self, val): # <<<<<<<<<<<<<< - * self.thisptr.setUint32Value(val) - * property float64Value: - */ - -static int __pyx_pf_6schema_18_Value_BodyBuilder_11uint32Value_2__set__(struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __pyx_t_10schema_cpp_UInt32 __pyx_t_1; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__set__", 0); - - /* "schema.pyx":672 - * return self.thisptr.getUint32Value() - * def __set__(self, val): - * self.thisptr.setUint32Value(val) # <<<<<<<<<<<<<< - * property float64Value: - * def __get__(self): - */ - __pyx_t_1 = __Pyx_PyInt_from_py_uint32_t(__pyx_v_val); if (unlikely((__pyx_t_1 == (uint32_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 672; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_v_self->thisptr.setUint32Value(__pyx_t_1); - - __pyx_r = 0; - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_AddTraceback("schema._Value_BodyBuilder.uint32Value.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = -1; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_18_Value_BodyBuilder_12float64Value_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_18_Value_BodyBuilder_12float64Value_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_18_Value_BodyBuilder_12float64Value___get__(((struct __pyx_obj_6schema__Value_BodyBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":674 - * self.thisptr.setUint32Value(val) - * property float64Value: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getFloat64Value() - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_18_Value_BodyBuilder_12float64Value___get__(struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":675 - * property float64Value: - * def __get__(self): - * return self.thisptr.getFloat64Value() # <<<<<<<<<<<<<< - * def __set__(self, val): - * self.thisptr.setFloat64Value(val) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyFloat_FromDouble(__pyx_v_self->thisptr.getFloat64Value()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 675; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._Value_BodyBuilder.float64Value.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_18_Value_BodyBuilder_12float64Value_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_18_Value_BodyBuilder_12float64Value_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_18_Value_BodyBuilder_12float64Value_2__set__(((struct __pyx_obj_6schema__Value_BodyBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":676 - * def __get__(self): - * return self.thisptr.getFloat64Value() - * def __set__(self, val): # <<<<<<<<<<<<<< - * self.thisptr.setFloat64Value(val) - * property voidValue: - */ - -static int __pyx_pf_6schema_18_Value_BodyBuilder_12float64Value_2__set__(struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __pyx_t_10schema_cpp_Float64 __pyx_t_1; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__set__", 0); - - /* "schema.pyx":677 - * return self.thisptr.getFloat64Value() - * def __set__(self, val): - * self.thisptr.setFloat64Value(val) # <<<<<<<<<<<<<< - * property voidValue: - * def __get__(self): - */ - __pyx_t_1 = __pyx_PyFloat_AsDouble(__pyx_v_val); if (unlikely((__pyx_t_1 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 677; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_v_self->thisptr.setFloat64Value(__pyx_t_1); - - __pyx_r = 0; - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_AddTraceback("schema._Value_BodyBuilder.float64Value.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = -1; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_18_Value_BodyBuilder_9voidValue_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_18_Value_BodyBuilder_9voidValue_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_18_Value_BodyBuilder_9voidValue___get__(((struct __pyx_obj_6schema__Value_BodyBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":679 - * self.thisptr.setFloat64Value(val) - * property voidValue: - * def __get__(self): # <<<<<<<<<<<<<< - * return None - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_18_Value_BodyBuilder_9voidValue___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":680 - * property voidValue: - * def __get__(self): - * return None # <<<<<<<<<<<<<< - * def __set__(self, val): - * pass - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(Py_None); - __pyx_r = Py_None; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_18_Value_BodyBuilder_9voidValue_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_18_Value_BodyBuilder_9voidValue_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_18_Value_BodyBuilder_9voidValue_2__set__(((struct __pyx_obj_6schema__Value_BodyBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":681 - * def __get__(self): - * return None - * def __set__(self, val): # <<<<<<<<<<<<<< - * pass - * property dataValue: - */ - -static int __pyx_pf_6schema_18_Value_BodyBuilder_9voidValue_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__", 0); - - __pyx_r = 0; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_18_Value_BodyBuilder_9dataValue_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_18_Value_BodyBuilder_9dataValue_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_18_Value_BodyBuilder_9dataValue___get__(((struct __pyx_obj_6schema__Value_BodyBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":684 - * pass - * property dataValue: - * def __get__(self): # <<<<<<<<<<<<<< - * temp = self.thisptr.getDataValue() - * return (temp.begin())[:temp.size()] - */ - -static PyObject *__pyx_pf_6schema_18_Value_BodyBuilder_9dataValue___get__(struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self) { - ::capnp::Data::Builder __pyx_v_temp; - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":685 - * property dataValue: - * def __get__(self): - * temp = self.thisptr.getDataValue() # <<<<<<<<<<<<<< - * return (temp.begin())[:temp.size()] - * def __set__(self, val): - */ - __pyx_v_temp = __pyx_v_self->thisptr.getDataValue(); - - /* "schema.pyx":686 - * def __get__(self): - * temp = self.thisptr.getDataValue() - * return (temp.begin())[:temp.size()] # <<<<<<<<<<<<<< - * def __set__(self, val): - * pass - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyBytes_FromStringAndSize(((char *)__pyx_v_temp.begin()) + 0, __pyx_v_temp.size() - 0); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 686; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(((PyObject *)__pyx_t_1)); - __pyx_r = ((PyObject *)__pyx_t_1); - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._Value_BodyBuilder.dataValue.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_18_Value_BodyBuilder_9dataValue_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_18_Value_BodyBuilder_9dataValue_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_18_Value_BodyBuilder_9dataValue_2__set__(((struct __pyx_obj_6schema__Value_BodyBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":687 - * temp = self.thisptr.getDataValue() - * return (temp.begin())[:temp.size()] - * def __set__(self, val): # <<<<<<<<<<<<<< - * pass - * property listValue: - */ - -static int __pyx_pf_6schema_18_Value_BodyBuilder_9dataValue_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__", 0); - - __pyx_r = 0; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_18_Value_BodyBuilder_9listValue_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_18_Value_BodyBuilder_9listValue_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_18_Value_BodyBuilder_9listValue___get__(((struct __pyx_obj_6schema__Value_BodyBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":690 - * pass - * property listValue: - * def __get__(self): # <<<<<<<<<<<<<< - * return None - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_18_Value_BodyBuilder_9listValue___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":691 - * property listValue: - * def __get__(self): - * return None # <<<<<<<<<<<<<< - * def __set__(self, val): - * pass - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(Py_None); - __pyx_r = Py_None; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_18_Value_BodyBuilder_9listValue_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_18_Value_BodyBuilder_9listValue_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_18_Value_BodyBuilder_9listValue_2__set__(((struct __pyx_obj_6schema__Value_BodyBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":692 - * def __get__(self): - * return None - * def __set__(self, val): # <<<<<<<<<<<<<< - * pass - * property int32Value: - */ - -static int __pyx_pf_6schema_18_Value_BodyBuilder_9listValue_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__", 0); - - __pyx_r = 0; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_18_Value_BodyBuilder_10int32Value_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_18_Value_BodyBuilder_10int32Value_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_18_Value_BodyBuilder_10int32Value___get__(((struct __pyx_obj_6schema__Value_BodyBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":695 - * pass - * property int32Value: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getInt32Value() - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_18_Value_BodyBuilder_10int32Value___get__(struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":696 - * property int32Value: - * def __get__(self): - * return self.thisptr.getInt32Value() # <<<<<<<<<<<<<< - * def __set__(self, val): - * self.thisptr.setInt32Value(val) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyInt_to_py_int32_t(__pyx_v_self->thisptr.getInt32Value()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 696; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._Value_BodyBuilder.int32Value.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_18_Value_BodyBuilder_10int32Value_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_18_Value_BodyBuilder_10int32Value_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_18_Value_BodyBuilder_10int32Value_2__set__(((struct __pyx_obj_6schema__Value_BodyBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":697 - * def __get__(self): - * return self.thisptr.getInt32Value() - * def __set__(self, val): # <<<<<<<<<<<<<< - * self.thisptr.setInt32Value(val) - * property enumValue: - */ - -static int __pyx_pf_6schema_18_Value_BodyBuilder_10int32Value_2__set__(struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __pyx_t_10schema_cpp_Int32 __pyx_t_1; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__set__", 0); - - /* "schema.pyx":698 - * return self.thisptr.getInt32Value() - * def __set__(self, val): - * self.thisptr.setInt32Value(val) # <<<<<<<<<<<<<< - * property enumValue: - * def __get__(self): - */ - __pyx_t_1 = __Pyx_PyInt_from_py_int32_t(__pyx_v_val); if (unlikely((__pyx_t_1 == (int32_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 698; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_v_self->thisptr.setInt32Value(__pyx_t_1); - - __pyx_r = 0; - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_AddTraceback("schema._Value_BodyBuilder.int32Value.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = -1; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_18_Value_BodyBuilder_9enumValue_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_18_Value_BodyBuilder_9enumValue_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_18_Value_BodyBuilder_9enumValue___get__(((struct __pyx_obj_6schema__Value_BodyBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":700 - * self.thisptr.setInt32Value(val) - * property enumValue: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getEnumValue() - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_18_Value_BodyBuilder_9enumValue___get__(struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":701 - * property enumValue: - * def __get__(self): - * return self.thisptr.getEnumValue() # <<<<<<<<<<<<<< - * def __set__(self, val): - * self.thisptr.setEnumValue(val) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyInt_to_py_uint16_t(__pyx_v_self->thisptr.getEnumValue()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 701; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._Value_BodyBuilder.enumValue.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_18_Value_BodyBuilder_9enumValue_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_18_Value_BodyBuilder_9enumValue_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_18_Value_BodyBuilder_9enumValue_2__set__(((struct __pyx_obj_6schema__Value_BodyBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":702 - * def __get__(self): - * return self.thisptr.getEnumValue() - * def __set__(self, val): # <<<<<<<<<<<<<< - * self.thisptr.setEnumValue(val) - * property int8Value: - */ - -static int __pyx_pf_6schema_18_Value_BodyBuilder_9enumValue_2__set__(struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __pyx_t_10schema_cpp_UInt16 __pyx_t_1; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__set__", 0); - - /* "schema.pyx":703 - * return self.thisptr.getEnumValue() - * def __set__(self, val): - * self.thisptr.setEnumValue(val) # <<<<<<<<<<<<<< - * property int8Value: - * def __get__(self): - */ - __pyx_t_1 = __Pyx_PyInt_from_py_uint16_t(__pyx_v_val); if (unlikely((__pyx_t_1 == (uint16_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 703; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_v_self->thisptr.setEnumValue(__pyx_t_1); - - __pyx_r = 0; - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_AddTraceback("schema._Value_BodyBuilder.enumValue.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = -1; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_18_Value_BodyBuilder_9int8Value_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_18_Value_BodyBuilder_9int8Value_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_18_Value_BodyBuilder_9int8Value___get__(((struct __pyx_obj_6schema__Value_BodyBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":705 - * self.thisptr.setEnumValue(val) - * property int8Value: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getInt8Value() - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_18_Value_BodyBuilder_9int8Value___get__(struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":706 - * property int8Value: - * def __get__(self): - * return self.thisptr.getInt8Value() # <<<<<<<<<<<<<< - * def __set__(self, val): - * self.thisptr.setInt8Value(val) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyInt_to_py_int8_t(__pyx_v_self->thisptr.getInt8Value()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 706; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._Value_BodyBuilder.int8Value.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_18_Value_BodyBuilder_9int8Value_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_18_Value_BodyBuilder_9int8Value_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_18_Value_BodyBuilder_9int8Value_2__set__(((struct __pyx_obj_6schema__Value_BodyBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":707 - * def __get__(self): - * return self.thisptr.getInt8Value() - * def __set__(self, val): # <<<<<<<<<<<<<< - * self.thisptr.setInt8Value(val) - * property boolValue: - */ - -static int __pyx_pf_6schema_18_Value_BodyBuilder_9int8Value_2__set__(struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __pyx_t_10schema_cpp_Int8 __pyx_t_1; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__set__", 0); - - /* "schema.pyx":708 - * return self.thisptr.getInt8Value() - * def __set__(self, val): - * self.thisptr.setInt8Value(val) # <<<<<<<<<<<<<< - * property boolValue: - * def __get__(self): - */ - __pyx_t_1 = __Pyx_PyInt_from_py_int8_t(__pyx_v_val); if (unlikely((__pyx_t_1 == (int8_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 708; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_v_self->thisptr.setInt8Value(__pyx_t_1); - - __pyx_r = 0; - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_AddTraceback("schema._Value_BodyBuilder.int8Value.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = -1; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_18_Value_BodyBuilder_9boolValue_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_18_Value_BodyBuilder_9boolValue_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_18_Value_BodyBuilder_9boolValue___get__(((struct __pyx_obj_6schema__Value_BodyBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":710 - * self.thisptr.setInt8Value(val) - * property boolValue: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getBoolValue() - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_18_Value_BodyBuilder_9boolValue___get__(struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":711 - * property boolValue: - * def __get__(self): - * return self.thisptr.getBoolValue() # <<<<<<<<<<<<<< - * def __set__(self, val): - * self.thisptr.setBoolValue(val) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_v_self->thisptr.getBoolValue()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 711; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._Value_BodyBuilder.boolValue.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_18_Value_BodyBuilder_9boolValue_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_18_Value_BodyBuilder_9boolValue_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_18_Value_BodyBuilder_9boolValue_2__set__(((struct __pyx_obj_6schema__Value_BodyBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":712 - * def __get__(self): - * return self.thisptr.getBoolValue() - * def __set__(self, val): # <<<<<<<<<<<<<< - * self.thisptr.setBoolValue(val) - * property int16Value: - */ - -static int __pyx_pf_6schema_18_Value_BodyBuilder_9boolValue_2__set__(struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __pyx_t_10schema_cpp_Bool __pyx_t_1; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__set__", 0); - - /* "schema.pyx":713 - * return self.thisptr.getBoolValue() - * def __set__(self, val): - * self.thisptr.setBoolValue(val) # <<<<<<<<<<<<<< - * property int16Value: - * def __get__(self): - */ - __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_val); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 713; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_v_self->thisptr.setBoolValue(__pyx_t_1); - - __pyx_r = 0; - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_AddTraceback("schema._Value_BodyBuilder.boolValue.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = -1; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_18_Value_BodyBuilder_10int16Value_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_18_Value_BodyBuilder_10int16Value_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_18_Value_BodyBuilder_10int16Value___get__(((struct __pyx_obj_6schema__Value_BodyBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":715 - * self.thisptr.setBoolValue(val) - * property int16Value: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getInt16Value() - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_18_Value_BodyBuilder_10int16Value___get__(struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":716 - * property int16Value: - * def __get__(self): - * return self.thisptr.getInt16Value() # <<<<<<<<<<<<<< - * def __set__(self, val): - * self.thisptr.setInt16Value(val) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyInt_to_py_int16_t(__pyx_v_self->thisptr.getInt16Value()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 716; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._Value_BodyBuilder.int16Value.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_18_Value_BodyBuilder_10int16Value_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_18_Value_BodyBuilder_10int16Value_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_18_Value_BodyBuilder_10int16Value_2__set__(((struct __pyx_obj_6schema__Value_BodyBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":717 - * def __get__(self): - * return self.thisptr.getInt16Value() - * def __set__(self, val): # <<<<<<<<<<<<<< - * self.thisptr.setInt16Value(val) - * property float32Value: - */ - -static int __pyx_pf_6schema_18_Value_BodyBuilder_10int16Value_2__set__(struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __pyx_t_10schema_cpp_Int16 __pyx_t_1; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__set__", 0); - - /* "schema.pyx":718 - * return self.thisptr.getInt16Value() - * def __set__(self, val): - * self.thisptr.setInt16Value(val) # <<<<<<<<<<<<<< - * property float32Value: - * def __get__(self): - */ - __pyx_t_1 = __Pyx_PyInt_from_py_int16_t(__pyx_v_val); if (unlikely((__pyx_t_1 == (int16_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 718; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_v_self->thisptr.setInt16Value(__pyx_t_1); - - __pyx_r = 0; - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_AddTraceback("schema._Value_BodyBuilder.int16Value.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = -1; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_18_Value_BodyBuilder_12float32Value_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_18_Value_BodyBuilder_12float32Value_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_18_Value_BodyBuilder_12float32Value___get__(((struct __pyx_obj_6schema__Value_BodyBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":720 - * self.thisptr.setInt16Value(val) - * property float32Value: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getFloat32Value() - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_18_Value_BodyBuilder_12float32Value___get__(struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":721 - * property float32Value: - * def __get__(self): - * return self.thisptr.getFloat32Value() # <<<<<<<<<<<<<< - * def __set__(self, val): - * self.thisptr.setFloat32Value(val) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyFloat_FromDouble(__pyx_v_self->thisptr.getFloat32Value()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 721; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._Value_BodyBuilder.float32Value.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_18_Value_BodyBuilder_12float32Value_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_18_Value_BodyBuilder_12float32Value_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_18_Value_BodyBuilder_12float32Value_2__set__(((struct __pyx_obj_6schema__Value_BodyBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":722 - * def __get__(self): - * return self.thisptr.getFloat32Value() - * def __set__(self, val): # <<<<<<<<<<<<<< - * self.thisptr.setFloat32Value(val) - * property interfaceValue: - */ - -static int __pyx_pf_6schema_18_Value_BodyBuilder_12float32Value_2__set__(struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __pyx_t_10schema_cpp_Float32 __pyx_t_1; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__set__", 0); - - /* "schema.pyx":723 - * return self.thisptr.getFloat32Value() - * def __set__(self, val): - * self.thisptr.setFloat32Value(val) # <<<<<<<<<<<<<< - * property interfaceValue: - * def __get__(self): - */ - __pyx_t_1 = __pyx_PyFloat_AsFloat(__pyx_v_val); if (unlikely((__pyx_t_1 == (float)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 723; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_v_self->thisptr.setFloat32Value(__pyx_t_1); - - __pyx_r = 0; - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_AddTraceback("schema._Value_BodyBuilder.float32Value.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = -1; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_18_Value_BodyBuilder_14interfaceValue_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_18_Value_BodyBuilder_14interfaceValue_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_18_Value_BodyBuilder_14interfaceValue___get__(((struct __pyx_obj_6schema__Value_BodyBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":725 - * self.thisptr.setFloat32Value(val) - * property interfaceValue: - * def __get__(self): # <<<<<<<<<<<<<< - * return None - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_18_Value_BodyBuilder_14interfaceValue___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":726 - * property interfaceValue: - * def __get__(self): - * return None # <<<<<<<<<<<<<< - * def __set__(self, val): - * pass - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(Py_None); - __pyx_r = Py_None; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_18_Value_BodyBuilder_14interfaceValue_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_18_Value_BodyBuilder_14interfaceValue_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_18_Value_BodyBuilder_14interfaceValue_2__set__(((struct __pyx_obj_6schema__Value_BodyBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":727 - * def __get__(self): - * return None - * def __set__(self, val): # <<<<<<<<<<<<<< - * pass - * property uint16Value: - */ - -static int __pyx_pf_6schema_18_Value_BodyBuilder_14interfaceValue_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__", 0); - - __pyx_r = 0; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_18_Value_BodyBuilder_11uint16Value_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_18_Value_BodyBuilder_11uint16Value_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_18_Value_BodyBuilder_11uint16Value___get__(((struct __pyx_obj_6schema__Value_BodyBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":730 - * pass - * property uint16Value: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getUint16Value() - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_18_Value_BodyBuilder_11uint16Value___get__(struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":731 - * property uint16Value: - * def __get__(self): - * return self.thisptr.getUint16Value() # <<<<<<<<<<<<<< - * def __set__(self, val): - * self.thisptr.setUint16Value(val) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyInt_to_py_uint16_t(__pyx_v_self->thisptr.getUint16Value()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 731; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._Value_BodyBuilder.uint16Value.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_18_Value_BodyBuilder_11uint16Value_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_18_Value_BodyBuilder_11uint16Value_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_18_Value_BodyBuilder_11uint16Value_2__set__(((struct __pyx_obj_6schema__Value_BodyBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":732 - * def __get__(self): - * return self.thisptr.getUint16Value() - * def __set__(self, val): # <<<<<<<<<<<<<< - * self.thisptr.setUint16Value(val) - * property uint8Value: - */ - -static int __pyx_pf_6schema_18_Value_BodyBuilder_11uint16Value_2__set__(struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __pyx_t_10schema_cpp_UInt16 __pyx_t_1; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__set__", 0); - - /* "schema.pyx":733 - * return self.thisptr.getUint16Value() - * def __set__(self, val): - * self.thisptr.setUint16Value(val) # <<<<<<<<<<<<<< - * property uint8Value: - * def __get__(self): - */ - __pyx_t_1 = __Pyx_PyInt_from_py_uint16_t(__pyx_v_val); if (unlikely((__pyx_t_1 == (uint16_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 733; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_v_self->thisptr.setUint16Value(__pyx_t_1); - - __pyx_r = 0; - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_AddTraceback("schema._Value_BodyBuilder.uint16Value.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = -1; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_18_Value_BodyBuilder_10uint8Value_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_18_Value_BodyBuilder_10uint8Value_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_18_Value_BodyBuilder_10uint8Value___get__(((struct __pyx_obj_6schema__Value_BodyBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":735 - * self.thisptr.setUint16Value(val) - * property uint8Value: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getUint8Value() - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_18_Value_BodyBuilder_10uint8Value___get__(struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":736 - * property uint8Value: - * def __get__(self): - * return self.thisptr.getUint8Value() # <<<<<<<<<<<<<< - * def __set__(self, val): - * self.thisptr.setUint8Value(val) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyInt_to_py_uint8_t(__pyx_v_self->thisptr.getUint8Value()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 736; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._Value_BodyBuilder.uint8Value.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_18_Value_BodyBuilder_10uint8Value_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_18_Value_BodyBuilder_10uint8Value_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_18_Value_BodyBuilder_10uint8Value_2__set__(((struct __pyx_obj_6schema__Value_BodyBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":737 - * def __get__(self): - * return self.thisptr.getUint8Value() - * def __set__(self, val): # <<<<<<<<<<<<<< - * self.thisptr.setUint8Value(val) - * property int64Value: - */ - -static int __pyx_pf_6schema_18_Value_BodyBuilder_10uint8Value_2__set__(struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __pyx_t_10schema_cpp_UInt8 __pyx_t_1; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__set__", 0); - - /* "schema.pyx":738 - * return self.thisptr.getUint8Value() - * def __set__(self, val): - * self.thisptr.setUint8Value(val) # <<<<<<<<<<<<<< - * property int64Value: - * def __get__(self): - */ - __pyx_t_1 = __Pyx_PyInt_from_py_uint8_t(__pyx_v_val); if (unlikely((__pyx_t_1 == (uint8_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 738; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_v_self->thisptr.setUint8Value(__pyx_t_1); - - __pyx_r = 0; - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_AddTraceback("schema._Value_BodyBuilder.uint8Value.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = -1; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_18_Value_BodyBuilder_10int64Value_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_18_Value_BodyBuilder_10int64Value_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_18_Value_BodyBuilder_10int64Value___get__(((struct __pyx_obj_6schema__Value_BodyBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":740 - * self.thisptr.setUint8Value(val) - * property int64Value: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getInt64Value() - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_18_Value_BodyBuilder_10int64Value___get__(struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":741 - * property int64Value: - * def __get__(self): - * return self.thisptr.getInt64Value() # <<<<<<<<<<<<<< - * def __set__(self, val): - * self.thisptr.setInt64Value(val) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyInt_to_py_int64_t(__pyx_v_self->thisptr.getInt64Value()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 741; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._Value_BodyBuilder.int64Value.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_18_Value_BodyBuilder_10int64Value_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_18_Value_BodyBuilder_10int64Value_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_18_Value_BodyBuilder_10int64Value_2__set__(((struct __pyx_obj_6schema__Value_BodyBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":742 - * def __get__(self): - * return self.thisptr.getInt64Value() - * def __set__(self, val): # <<<<<<<<<<<<<< - * self.thisptr.setInt64Value(val) - * property structValue: - */ - -static int __pyx_pf_6schema_18_Value_BodyBuilder_10int64Value_2__set__(struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __pyx_t_10schema_cpp_Int64 __pyx_t_1; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__set__", 0); - - /* "schema.pyx":743 - * return self.thisptr.getInt64Value() - * def __set__(self, val): - * self.thisptr.setInt64Value(val) # <<<<<<<<<<<<<< - * property structValue: - * def __get__(self): - */ - __pyx_t_1 = __Pyx_PyInt_from_py_int64_t(__pyx_v_val); if (unlikely((__pyx_t_1 == (int64_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 743; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_v_self->thisptr.setInt64Value(__pyx_t_1); - - __pyx_r = 0; - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_AddTraceback("schema._Value_BodyBuilder.int64Value.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = -1; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_18_Value_BodyBuilder_11structValue_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_18_Value_BodyBuilder_11structValue_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_18_Value_BodyBuilder_11structValue___get__(((struct __pyx_obj_6schema__Value_BodyBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":745 - * self.thisptr.setInt64Value(val) - * property structValue: - * def __get__(self): # <<<<<<<<<<<<<< - * return None - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_18_Value_BodyBuilder_11structValue___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":746 - * property structValue: - * def __get__(self): - * return None # <<<<<<<<<<<<<< - * def __set__(self, val): - * pass - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(Py_None); - __pyx_r = Py_None; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_18_Value_BodyBuilder_11structValue_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_18_Value_BodyBuilder_11structValue_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_18_Value_BodyBuilder_11structValue_2__set__(((struct __pyx_obj_6schema__Value_BodyBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":747 - * def __get__(self): - * return None - * def __set__(self, val): # <<<<<<<<<<<<<< - * pass - * property textValue: - */ - -static int __pyx_pf_6schema_18_Value_BodyBuilder_11structValue_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__", 0); - - __pyx_r = 0; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_18_Value_BodyBuilder_9textValue_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_18_Value_BodyBuilder_9textValue_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_18_Value_BodyBuilder_9textValue___get__(((struct __pyx_obj_6schema__Value_BodyBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":750 - * pass - * property textValue: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getTextValue().cStr() - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_18_Value_BodyBuilder_9textValue___get__(struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":751 - * property textValue: - * def __get__(self): - * return self.thisptr.getTextValue().cStr() # <<<<<<<<<<<<<< - * def __set__(self, val): - * pass - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyBytes_FromString(__pyx_v_self->thisptr.getTextValue().cStr()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 751; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(((PyObject *)__pyx_t_1)); - __pyx_r = ((PyObject *)__pyx_t_1); - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._Value_BodyBuilder.textValue.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_18_Value_BodyBuilder_9textValue_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_18_Value_BodyBuilder_9textValue_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_18_Value_BodyBuilder_9textValue_2__set__(((struct __pyx_obj_6schema__Value_BodyBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":752 - * def __get__(self): - * return self.thisptr.getTextValue().cStr() - * def __set__(self, val): # <<<<<<<<<<<<<< - * pass - * property uint64Value: - */ - -static int __pyx_pf_6schema_18_Value_BodyBuilder_9textValue_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__", 0); - - __pyx_r = 0; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_18_Value_BodyBuilder_11uint64Value_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_18_Value_BodyBuilder_11uint64Value_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_18_Value_BodyBuilder_11uint64Value___get__(((struct __pyx_obj_6schema__Value_BodyBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":755 - * pass - * property uint64Value: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getUint64Value() - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_18_Value_BodyBuilder_11uint64Value___get__(struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":756 - * property uint64Value: - * def __get__(self): - * return self.thisptr.getUint64Value() # <<<<<<<<<<<<<< - * def __set__(self, val): - * self.thisptr.setUint64Value(val) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyInt_to_py_uint64_t(__pyx_v_self->thisptr.getUint64Value()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 756; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._Value_BodyBuilder.uint64Value.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_18_Value_BodyBuilder_11uint64Value_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_18_Value_BodyBuilder_11uint64Value_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_18_Value_BodyBuilder_11uint64Value_2__set__(((struct __pyx_obj_6schema__Value_BodyBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":757 - * def __get__(self): - * return self.thisptr.getUint64Value() - * def __set__(self, val): # <<<<<<<<<<<<<< - * self.thisptr.setUint64Value(val) - * property objectValue: - */ - -static int __pyx_pf_6schema_18_Value_BodyBuilder_11uint64Value_2__set__(struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __pyx_t_10schema_cpp_UInt64 __pyx_t_1; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__set__", 0); - - /* "schema.pyx":758 - * return self.thisptr.getUint64Value() - * def __set__(self, val): - * self.thisptr.setUint64Value(val) # <<<<<<<<<<<<<< - * property objectValue: - * def __get__(self): - */ - __pyx_t_1 = __Pyx_PyInt_from_py_uint64_t(__pyx_v_val); if (unlikely((__pyx_t_1 == (uint64_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 758; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_v_self->thisptr.setUint64Value(__pyx_t_1); - - __pyx_r = 0; - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_AddTraceback("schema._Value_BodyBuilder.uint64Value.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = -1; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_18_Value_BodyBuilder_11objectValue_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_18_Value_BodyBuilder_11objectValue_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_18_Value_BodyBuilder_11objectValue___get__(((struct __pyx_obj_6schema__Value_BodyBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":760 - * self.thisptr.setUint64Value(val) - * property objectValue: - * def __get__(self): # <<<<<<<<<<<<<< - * return None - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_18_Value_BodyBuilder_11objectValue___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":761 - * property objectValue: - * def __get__(self): - * return None # <<<<<<<<<<<<<< - * def __set__(self, val): - * pass - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(Py_None); - __pyx_r = Py_None; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_18_Value_BodyBuilder_11objectValue_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_18_Value_BodyBuilder_11objectValue_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_18_Value_BodyBuilder_11objectValue_2__set__(((struct __pyx_obj_6schema__Value_BodyBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":762 - * def __get__(self): - * return None - * def __set__(self, val): # <<<<<<<<<<<<<< - * pass - * cdef class _ValueReader: - */ - -static int __pyx_pf_6schema_18_Value_BodyBuilder_11objectValue_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__", 0); - - __pyx_r = 0; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":766 - * cdef class _ValueReader: - * cdef C_Value.Reader thisptr - * cdef init(self, C_Value.Reader other): # <<<<<<<<<<<<<< - * self.thisptr = other - * return self - */ - -static PyObject *__pyx_f_6schema_12_ValueReader_init(struct __pyx_obj_6schema__ValueReader *__pyx_v_self, ::capnp::schema::Value::Reader __pyx_v_other) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("init", 0); - - /* "schema.pyx":767 - * cdef C_Value.Reader thisptr - * cdef init(self, C_Value.Reader other): - * self.thisptr = other # <<<<<<<<<<<<<< - * return self - * - */ - __pyx_v_self->thisptr = __pyx_v_other; - - /* "schema.pyx":768 - * cdef init(self, C_Value.Reader other): - * self.thisptr = other - * return self # <<<<<<<<<<<<<< - * - * property body: - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(((PyObject *)__pyx_v_self)); - __pyx_r = ((PyObject *)__pyx_v_self); - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_12_ValueReader_4body_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_12_ValueReader_4body_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_12_ValueReader_4body___get__(((struct __pyx_obj_6schema__ValueReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":771 - * - * property body: - * def __get__(self): # <<<<<<<<<<<<<< - * return _Value_BodyReader().init(self.thisptr.getBody()) - * - */ - -static PyObject *__pyx_pf_6schema_12_ValueReader_4body___get__(struct __pyx_obj_6schema__ValueReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":772 - * property body: - * def __get__(self): - * return _Value_BodyReader().init(self.thisptr.getBody()) # <<<<<<<<<<<<<< - * - * cdef class _ValueBuilder: - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__Value_BodyReader)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 772; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__Value_BodyReader *)((struct __pyx_obj_6schema__Value_BodyReader *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__Value_BodyReader *)__pyx_t_1), ((::capnp::schema::Value::Body::Reader)__pyx_v_self->thisptr.getBody())); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 772; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema._ValueReader.body.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":776 - * cdef class _ValueBuilder: - * cdef C_Value.Builder thisptr - * cdef init(self, C_Value.Builder other): # <<<<<<<<<<<<<< - * self.thisptr = other - * return self - */ - -static PyObject *__pyx_f_6schema_13_ValueBuilder_init(struct __pyx_obj_6schema__ValueBuilder *__pyx_v_self, ::capnp::schema::Value::Builder __pyx_v_other) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("init", 0); - - /* "schema.pyx":777 - * cdef C_Value.Builder thisptr - * cdef init(self, C_Value.Builder other): - * self.thisptr = other # <<<<<<<<<<<<<< - * return self - * - */ - __pyx_v_self->thisptr = __pyx_v_other; - - /* "schema.pyx":778 - * cdef init(self, C_Value.Builder other): - * self.thisptr = other - * return self # <<<<<<<<<<<<<< - * - * property body: - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(((PyObject *)__pyx_v_self)); - __pyx_r = ((PyObject *)__pyx_v_self); - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_13_ValueBuilder_4body_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_13_ValueBuilder_4body_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_13_ValueBuilder_4body___get__(((struct __pyx_obj_6schema__ValueBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":781 - * - * property body: - * def __get__(self): # <<<<<<<<<<<<<< - * return _Value_BodyBuilder().init(self.thisptr.getBody()) - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_13_ValueBuilder_4body___get__(struct __pyx_obj_6schema__ValueBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":782 - * property body: - * def __get__(self): - * return _Value_BodyBuilder().init(self.thisptr.getBody()) # <<<<<<<<<<<<<< - * def __set__(self, val): - * pass - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__Value_BodyBuilder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 782; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__Value_BodyBuilder *)((struct __pyx_obj_6schema__Value_BodyBuilder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__Value_BodyBuilder *)__pyx_t_1), ((::capnp::schema::Value::Body::Builder)__pyx_v_self->thisptr.getBody())); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 782; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema._ValueBuilder.body.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_13_ValueBuilder_4body_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_13_ValueBuilder_4body_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_13_ValueBuilder_4body_2__set__(((struct __pyx_obj_6schema__ValueBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":783 - * def __get__(self): - * return _Value_BodyBuilder().init(self.thisptr.getBody()) - * def __set__(self, val): # <<<<<<<<<<<<<< - * pass - * - */ - -static int __pyx_pf_6schema_13_ValueBuilder_4body_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__ValueBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__", 0); - - __pyx_r = 0; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":788 - * cdef class _ConstNodeReader: - * cdef C_ConstNode.Reader thisptr - * cdef init(self, C_ConstNode.Reader other): # <<<<<<<<<<<<<< - * self.thisptr = other - * return self - */ - -static PyObject *__pyx_f_6schema_16_ConstNodeReader_init(struct __pyx_obj_6schema__ConstNodeReader *__pyx_v_self, ::capnp::schema::ConstNode::Reader __pyx_v_other) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("init", 0); - - /* "schema.pyx":789 - * cdef C_ConstNode.Reader thisptr - * cdef init(self, C_ConstNode.Reader other): - * self.thisptr = other # <<<<<<<<<<<<<< - * return self - * - */ - __pyx_v_self->thisptr = __pyx_v_other; - - /* "schema.pyx":790 - * cdef init(self, C_ConstNode.Reader other): - * self.thisptr = other - * return self # <<<<<<<<<<<<<< - * - * property type: - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(((PyObject *)__pyx_v_self)); - __pyx_r = ((PyObject *)__pyx_v_self); - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_16_ConstNodeReader_4type_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_16_ConstNodeReader_4type_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_16_ConstNodeReader_4type___get__(((struct __pyx_obj_6schema__ConstNodeReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":793 - * - * property type: - * def __get__(self): # <<<<<<<<<<<<<< - * return _TypeReader().init(self.thisptr.getType()) - * property value: - */ - -static PyObject *__pyx_pf_6schema_16_ConstNodeReader_4type___get__(struct __pyx_obj_6schema__ConstNodeReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":794 - * property type: - * def __get__(self): - * return _TypeReader().init(self.thisptr.getType()) # <<<<<<<<<<<<<< - * property value: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__TypeReader)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 794; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__TypeReader *)((struct __pyx_obj_6schema__TypeReader *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__TypeReader *)__pyx_t_1), ((::capnp::schema::Type::Reader)__pyx_v_self->thisptr.getType())); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 794; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema._ConstNodeReader.type.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_16_ConstNodeReader_5value_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_16_ConstNodeReader_5value_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_16_ConstNodeReader_5value___get__(((struct __pyx_obj_6schema__ConstNodeReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":796 - * return _TypeReader().init(self.thisptr.getType()) - * property value: - * def __get__(self): # <<<<<<<<<<<<<< - * return _ValueReader().init(self.thisptr.getValue()) - * - */ - -static PyObject *__pyx_pf_6schema_16_ConstNodeReader_5value___get__(struct __pyx_obj_6schema__ConstNodeReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":797 - * property value: - * def __get__(self): - * return _ValueReader().init(self.thisptr.getValue()) # <<<<<<<<<<<<<< - * - * cdef class _ConstNodeBuilder: - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__ValueReader)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 797; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__ValueReader *)((struct __pyx_obj_6schema__ValueReader *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__ValueReader *)__pyx_t_1), ((::capnp::schema::Value::Reader)__pyx_v_self->thisptr.getValue())); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 797; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema._ConstNodeReader.value.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":801 - * cdef class _ConstNodeBuilder: - * cdef C_ConstNode.Builder thisptr - * cdef init(self, C_ConstNode.Builder other): # <<<<<<<<<<<<<< - * self.thisptr = other - * return self - */ - -static PyObject *__pyx_f_6schema_17_ConstNodeBuilder_init(struct __pyx_obj_6schema__ConstNodeBuilder *__pyx_v_self, ::capnp::schema::ConstNode::Builder __pyx_v_other) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("init", 0); - - /* "schema.pyx":802 - * cdef C_ConstNode.Builder thisptr - * cdef init(self, C_ConstNode.Builder other): - * self.thisptr = other # <<<<<<<<<<<<<< - * return self - * - */ - __pyx_v_self->thisptr = __pyx_v_other; - - /* "schema.pyx":803 - * cdef init(self, C_ConstNode.Builder other): - * self.thisptr = other - * return self # <<<<<<<<<<<<<< - * - * property type: - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(((PyObject *)__pyx_v_self)); - __pyx_r = ((PyObject *)__pyx_v_self); - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_17_ConstNodeBuilder_4type_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_17_ConstNodeBuilder_4type_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_ConstNodeBuilder_4type___get__(((struct __pyx_obj_6schema__ConstNodeBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":806 - * - * property type: - * def __get__(self): # <<<<<<<<<<<<<< - * return _TypeBuilder().init(self.thisptr.getType()) - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_17_ConstNodeBuilder_4type___get__(struct __pyx_obj_6schema__ConstNodeBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":807 - * property type: - * def __get__(self): - * return _TypeBuilder().init(self.thisptr.getType()) # <<<<<<<<<<<<<< - * def __set__(self, val): - * pass - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__TypeBuilder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 807; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__TypeBuilder *)((struct __pyx_obj_6schema__TypeBuilder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__TypeBuilder *)__pyx_t_1), ((::capnp::schema::Type::Builder)__pyx_v_self->thisptr.getType())); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 807; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema._ConstNodeBuilder.type.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_17_ConstNodeBuilder_4type_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_17_ConstNodeBuilder_4type_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_ConstNodeBuilder_4type_2__set__(((struct __pyx_obj_6schema__ConstNodeBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":808 - * def __get__(self): - * return _TypeBuilder().init(self.thisptr.getType()) - * def __set__(self, val): # <<<<<<<<<<<<<< - * pass - * property value: - */ - -static int __pyx_pf_6schema_17_ConstNodeBuilder_4type_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__ConstNodeBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__", 0); - - __pyx_r = 0; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_17_ConstNodeBuilder_5value_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_17_ConstNodeBuilder_5value_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_ConstNodeBuilder_5value___get__(((struct __pyx_obj_6schema__ConstNodeBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":811 - * pass - * property value: - * def __get__(self): # <<<<<<<<<<<<<< - * return _ValueBuilder().init(self.thisptr.getValue()) - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_17_ConstNodeBuilder_5value___get__(struct __pyx_obj_6schema__ConstNodeBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":812 - * property value: - * def __get__(self): - * return _ValueBuilder().init(self.thisptr.getValue()) # <<<<<<<<<<<<<< - * def __set__(self, val): - * pass - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__ValueBuilder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 812; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__ValueBuilder *)((struct __pyx_obj_6schema__ValueBuilder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__ValueBuilder *)__pyx_t_1), ((::capnp::schema::Value::Builder)__pyx_v_self->thisptr.getValue())); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 812; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema._ConstNodeBuilder.value.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_17_ConstNodeBuilder_5value_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_17_ConstNodeBuilder_5value_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_ConstNodeBuilder_5value_2__set__(((struct __pyx_obj_6schema__ConstNodeBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":813 - * def __get__(self): - * return _ValueBuilder().init(self.thisptr.getValue()) - * def __set__(self, val): # <<<<<<<<<<<<<< - * pass - * - */ - -static int __pyx_pf_6schema_17_ConstNodeBuilder_5value_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__ConstNodeBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__", 0); - - __pyx_r = 0; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":820 - * cdef class _Type_BodyReader: - * cdef C_Type.Body.Reader thisptr - * cdef init(self, C_Type.Body.Reader other): # <<<<<<<<<<<<<< - * self.thisptr = other - * return self - */ - -static PyObject *__pyx_f_6schema_16_Type_BodyReader_init(struct __pyx_obj_6schema__Type_BodyReader *__pyx_v_self, ::capnp::schema::Type::Body::Reader __pyx_v_other) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("init", 0); - - /* "schema.pyx":821 - * cdef C_Type.Body.Reader thisptr - * cdef init(self, C_Type.Body.Reader other): - * self.thisptr = other # <<<<<<<<<<<<<< - * return self - * - */ - __pyx_v_self->thisptr = __pyx_v_other; - - /* "schema.pyx":822 - * cdef init(self, C_Type.Body.Reader other): - * self.thisptr = other - * return self # <<<<<<<<<<<<<< - * - * cpdef int which(self): - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(((PyObject *)__pyx_v_self)); - __pyx_r = ((PyObject *)__pyx_v_self); - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":824 - * return self - * - * cpdef int which(self): # <<<<<<<<<<<<<< - * return self.thisptr.which() - * property boolType: - */ - -static PyObject *__pyx_pw_6schema_16_Type_BodyReader_1which(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static int __pyx_f_6schema_16_Type_BodyReader_which(struct __pyx_obj_6schema__Type_BodyReader *__pyx_v_self, int __pyx_skip_dispatch) { - int __pyx_r; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_t_3; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("which", 0); - /* Check if called by wrapper */ - if (unlikely(__pyx_skip_dispatch)) ; - /* Check if overridden in Python */ - else if (unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0)) { - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s__which); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 824; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (!PyCFunction_Check(__pyx_t_1) || (PyCFunction_GET_FUNCTION(__pyx_t_1) != (PyCFunction)__pyx_pw_6schema_16_Type_BodyReader_1which)) { - __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 824; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __pyx_t_3 = __Pyx_PyInt_AsInt(__pyx_t_2); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 824; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_r = __pyx_t_3; - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - goto __pyx_L0; - } - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - } - - /* "schema.pyx":825 - * - * cpdef int which(self): - * return self.thisptr.which() # <<<<<<<<<<<<<< - * property boolType: - * def __get__(self): - */ - __pyx_r = __pyx_v_self->thisptr.which(); - goto __pyx_L0; - - __pyx_r = 0; - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_WriteUnraisable("schema._Type_BodyReader.which", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = 0; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_16_Type_BodyReader_1which(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static PyObject *__pyx_pw_6schema_16_Type_BodyReader_1which(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("which (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_16_Type_BodyReader_which(((struct __pyx_obj_6schema__Type_BodyReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":824 - * return self - * - * cpdef int which(self): # <<<<<<<<<<<<<< - * return self.thisptr.which() - * property boolType: - */ - -static PyObject *__pyx_pf_6schema_16_Type_BodyReader_which(struct __pyx_obj_6schema__Type_BodyReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("which", 0); - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyInt_FromLong(((struct __pyx_vtabstruct_6schema__Type_BodyReader *)__pyx_v_self->__pyx_vtab)->which(__pyx_v_self, 1)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 824; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._Type_BodyReader.which", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_16_Type_BodyReader_8boolType_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_16_Type_BodyReader_8boolType_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_16_Type_BodyReader_8boolType___get__(((struct __pyx_obj_6schema__Type_BodyReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":827 - * return self.thisptr.which() - * property boolType: - * def __get__(self): # <<<<<<<<<<<<<< - * return None - * property structType: - */ - -static PyObject *__pyx_pf_6schema_16_Type_BodyReader_8boolType___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":828 - * property boolType: - * def __get__(self): - * return None # <<<<<<<<<<<<<< - * property structType: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(Py_None); - __pyx_r = Py_None; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_16_Type_BodyReader_10structType_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_16_Type_BodyReader_10structType_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_16_Type_BodyReader_10structType___get__(((struct __pyx_obj_6schema__Type_BodyReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":830 - * return None - * property structType: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getStructType() - * property int32Type: - */ - -static PyObject *__pyx_pf_6schema_16_Type_BodyReader_10structType___get__(struct __pyx_obj_6schema__Type_BodyReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":831 - * property structType: - * def __get__(self): - * return self.thisptr.getStructType() # <<<<<<<<<<<<<< - * property int32Type: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyInt_to_py_uint64_t(__pyx_v_self->thisptr.getStructType()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 831; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._Type_BodyReader.structType.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_16_Type_BodyReader_9int32Type_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_16_Type_BodyReader_9int32Type_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_16_Type_BodyReader_9int32Type___get__(((struct __pyx_obj_6schema__Type_BodyReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":833 - * return self.thisptr.getStructType() - * property int32Type: - * def __get__(self): # <<<<<<<<<<<<<< - * return None - * property voidType: - */ - -static PyObject *__pyx_pf_6schema_16_Type_BodyReader_9int32Type___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":834 - * property int32Type: - * def __get__(self): - * return None # <<<<<<<<<<<<<< - * property voidType: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(Py_None); - __pyx_r = Py_None; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_16_Type_BodyReader_8voidType_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_16_Type_BodyReader_8voidType_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_16_Type_BodyReader_8voidType___get__(((struct __pyx_obj_6schema__Type_BodyReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":836 - * return None - * property voidType: - * def __get__(self): # <<<<<<<<<<<<<< - * return None - * property uint16Type: - */ - -static PyObject *__pyx_pf_6schema_16_Type_BodyReader_8voidType___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":837 - * property voidType: - * def __get__(self): - * return None # <<<<<<<<<<<<<< - * property uint16Type: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(Py_None); - __pyx_r = Py_None; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_16_Type_BodyReader_10uint16Type_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_16_Type_BodyReader_10uint16Type_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_16_Type_BodyReader_10uint16Type___get__(((struct __pyx_obj_6schema__Type_BodyReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":839 - * return None - * property uint16Type: - * def __get__(self): # <<<<<<<<<<<<<< - * return None - * property dataType: - */ - -static PyObject *__pyx_pf_6schema_16_Type_BodyReader_10uint16Type___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":840 - * property uint16Type: - * def __get__(self): - * return None # <<<<<<<<<<<<<< - * property dataType: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(Py_None); - __pyx_r = Py_None; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_16_Type_BodyReader_8dataType_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_16_Type_BodyReader_8dataType_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_16_Type_BodyReader_8dataType___get__(((struct __pyx_obj_6schema__Type_BodyReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":842 - * return None - * property dataType: - * def __get__(self): # <<<<<<<<<<<<<< - * return None - * property objectType: - */ - -static PyObject *__pyx_pf_6schema_16_Type_BodyReader_8dataType___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":843 - * property dataType: - * def __get__(self): - * return None # <<<<<<<<<<<<<< - * property objectType: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(Py_None); - __pyx_r = Py_None; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_16_Type_BodyReader_10objectType_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_16_Type_BodyReader_10objectType_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_16_Type_BodyReader_10objectType___get__(((struct __pyx_obj_6schema__Type_BodyReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":845 - * return None - * property objectType: - * def __get__(self): # <<<<<<<<<<<<<< - * return None - * property int64Type: - */ - -static PyObject *__pyx_pf_6schema_16_Type_BodyReader_10objectType___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":846 - * property objectType: - * def __get__(self): - * return None # <<<<<<<<<<<<<< - * property int64Type: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(Py_None); - __pyx_r = Py_None; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_16_Type_BodyReader_9int64Type_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_16_Type_BodyReader_9int64Type_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_16_Type_BodyReader_9int64Type___get__(((struct __pyx_obj_6schema__Type_BodyReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":848 - * return None - * property int64Type: - * def __get__(self): # <<<<<<<<<<<<<< - * return None - * property float64Type: - */ - -static PyObject *__pyx_pf_6schema_16_Type_BodyReader_9int64Type___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":849 - * property int64Type: - * def __get__(self): - * return None # <<<<<<<<<<<<<< - * property float64Type: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(Py_None); - __pyx_r = Py_None; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_16_Type_BodyReader_11float64Type_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_16_Type_BodyReader_11float64Type_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_16_Type_BodyReader_11float64Type___get__(((struct __pyx_obj_6schema__Type_BodyReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":851 - * return None - * property float64Type: - * def __get__(self): # <<<<<<<<<<<<<< - * return None - * property interfaceType: - */ - -static PyObject *__pyx_pf_6schema_16_Type_BodyReader_11float64Type___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":852 - * property float64Type: - * def __get__(self): - * return None # <<<<<<<<<<<<<< - * property interfaceType: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(Py_None); - __pyx_r = Py_None; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_16_Type_BodyReader_13interfaceType_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_16_Type_BodyReader_13interfaceType_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_16_Type_BodyReader_13interfaceType___get__(((struct __pyx_obj_6schema__Type_BodyReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":854 - * return None - * property interfaceType: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getInterfaceType() - * property uint32Type: - */ - -static PyObject *__pyx_pf_6schema_16_Type_BodyReader_13interfaceType___get__(struct __pyx_obj_6schema__Type_BodyReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":855 - * property interfaceType: - * def __get__(self): - * return self.thisptr.getInterfaceType() # <<<<<<<<<<<<<< - * property uint32Type: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyInt_to_py_uint64_t(__pyx_v_self->thisptr.getInterfaceType()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 855; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._Type_BodyReader.interfaceType.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_16_Type_BodyReader_10uint32Type_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_16_Type_BodyReader_10uint32Type_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_16_Type_BodyReader_10uint32Type___get__(((struct __pyx_obj_6schema__Type_BodyReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":857 - * return self.thisptr.getInterfaceType() - * property uint32Type: - * def __get__(self): # <<<<<<<<<<<<<< - * return None - * property uint8Type: - */ - -static PyObject *__pyx_pf_6schema_16_Type_BodyReader_10uint32Type___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":858 - * property uint32Type: - * def __get__(self): - * return None # <<<<<<<<<<<<<< - * property uint8Type: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(Py_None); - __pyx_r = Py_None; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_16_Type_BodyReader_9uint8Type_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_16_Type_BodyReader_9uint8Type_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_16_Type_BodyReader_9uint8Type___get__(((struct __pyx_obj_6schema__Type_BodyReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":860 - * return None - * property uint8Type: - * def __get__(self): # <<<<<<<<<<<<<< - * return None - * property listType: - */ - -static PyObject *__pyx_pf_6schema_16_Type_BodyReader_9uint8Type___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":861 - * property uint8Type: - * def __get__(self): - * return None # <<<<<<<<<<<<<< - * property listType: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(Py_None); - __pyx_r = Py_None; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_16_Type_BodyReader_8listType_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_16_Type_BodyReader_8listType_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_16_Type_BodyReader_8listType___get__(((struct __pyx_obj_6schema__Type_BodyReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":863 - * return None - * property listType: - * def __get__(self): # <<<<<<<<<<<<<< - * return _TypeReader().init(self.thisptr.getListType()) - * property int8Type: - */ - -static PyObject *__pyx_pf_6schema_16_Type_BodyReader_8listType___get__(struct __pyx_obj_6schema__Type_BodyReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":864 - * property listType: - * def __get__(self): - * return _TypeReader().init(self.thisptr.getListType()) # <<<<<<<<<<<<<< - * property int8Type: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__TypeReader)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 864; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__TypeReader *)((struct __pyx_obj_6schema__TypeReader *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__TypeReader *)__pyx_t_1), ((::capnp::schema::Type::Reader)__pyx_v_self->thisptr.getListType())); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 864; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema._Type_BodyReader.listType.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_16_Type_BodyReader_8int8Type_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_16_Type_BodyReader_8int8Type_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_16_Type_BodyReader_8int8Type___get__(((struct __pyx_obj_6schema__Type_BodyReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":866 - * return _TypeReader().init(self.thisptr.getListType()) - * property int8Type: - * def __get__(self): # <<<<<<<<<<<<<< - * return None - * property float32Type: - */ - -static PyObject *__pyx_pf_6schema_16_Type_BodyReader_8int8Type___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":867 - * property int8Type: - * def __get__(self): - * return None # <<<<<<<<<<<<<< - * property float32Type: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(Py_None); - __pyx_r = Py_None; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_16_Type_BodyReader_11float32Type_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_16_Type_BodyReader_11float32Type_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_16_Type_BodyReader_11float32Type___get__(((struct __pyx_obj_6schema__Type_BodyReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":869 - * return None - * property float32Type: - * def __get__(self): # <<<<<<<<<<<<<< - * return None - * property enumType: - */ - -static PyObject *__pyx_pf_6schema_16_Type_BodyReader_11float32Type___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":870 - * property float32Type: - * def __get__(self): - * return None # <<<<<<<<<<<<<< - * property enumType: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(Py_None); - __pyx_r = Py_None; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_16_Type_BodyReader_8enumType_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_16_Type_BodyReader_8enumType_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_16_Type_BodyReader_8enumType___get__(((struct __pyx_obj_6schema__Type_BodyReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":872 - * return None - * property enumType: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getEnumType() - * property uint64Type: - */ - -static PyObject *__pyx_pf_6schema_16_Type_BodyReader_8enumType___get__(struct __pyx_obj_6schema__Type_BodyReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":873 - * property enumType: - * def __get__(self): - * return self.thisptr.getEnumType() # <<<<<<<<<<<<<< - * property uint64Type: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyInt_to_py_uint64_t(__pyx_v_self->thisptr.getEnumType()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 873; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._Type_BodyReader.enumType.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_16_Type_BodyReader_10uint64Type_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_16_Type_BodyReader_10uint64Type_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_16_Type_BodyReader_10uint64Type___get__(((struct __pyx_obj_6schema__Type_BodyReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":875 - * return self.thisptr.getEnumType() - * property uint64Type: - * def __get__(self): # <<<<<<<<<<<<<< - * return None - * property textType: - */ - -static PyObject *__pyx_pf_6schema_16_Type_BodyReader_10uint64Type___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":876 - * property uint64Type: - * def __get__(self): - * return None # <<<<<<<<<<<<<< - * property textType: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(Py_None); - __pyx_r = Py_None; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_16_Type_BodyReader_8textType_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_16_Type_BodyReader_8textType_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_16_Type_BodyReader_8textType___get__(((struct __pyx_obj_6schema__Type_BodyReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":878 - * return None - * property textType: - * def __get__(self): # <<<<<<<<<<<<<< - * return None - * property int16Type: - */ - -static PyObject *__pyx_pf_6schema_16_Type_BodyReader_8textType___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":879 - * property textType: - * def __get__(self): - * return None # <<<<<<<<<<<<<< - * property int16Type: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(Py_None); - __pyx_r = Py_None; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_16_Type_BodyReader_9int16Type_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_16_Type_BodyReader_9int16Type_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_16_Type_BodyReader_9int16Type___get__(((struct __pyx_obj_6schema__Type_BodyReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":881 - * return None - * property int16Type: - * def __get__(self): # <<<<<<<<<<<<<< - * return None - * - */ - -static PyObject *__pyx_pf_6schema_16_Type_BodyReader_9int16Type___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":882 - * property int16Type: - * def __get__(self): - * return None # <<<<<<<<<<<<<< - * - * cdef class _Type_BodyBuilder: - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(Py_None); - __pyx_r = Py_None; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":886 - * cdef class _Type_BodyBuilder: - * cdef C_Type.Body.Builder thisptr - * cdef init(self, C_Type.Body.Builder other): # <<<<<<<<<<<<<< - * self.thisptr = other - * return self - */ - -static PyObject *__pyx_f_6schema_17_Type_BodyBuilder_init(struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self, ::capnp::schema::Type::Body::Builder __pyx_v_other) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("init", 0); - - /* "schema.pyx":887 - * cdef C_Type.Body.Builder thisptr - * cdef init(self, C_Type.Body.Builder other): - * self.thisptr = other # <<<<<<<<<<<<<< - * return self - * - */ - __pyx_v_self->thisptr = __pyx_v_other; - - /* "schema.pyx":888 - * cdef init(self, C_Type.Body.Builder other): - * self.thisptr = other - * return self # <<<<<<<<<<<<<< - * - * cpdef int which(self): - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(((PyObject *)__pyx_v_self)); - __pyx_r = ((PyObject *)__pyx_v_self); - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":890 - * return self - * - * cpdef int which(self): # <<<<<<<<<<<<<< - * return self.thisptr.which() - * property boolType: - */ - -static PyObject *__pyx_pw_6schema_17_Type_BodyBuilder_1which(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static int __pyx_f_6schema_17_Type_BodyBuilder_which(struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self, int __pyx_skip_dispatch) { - int __pyx_r; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_t_3; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("which", 0); - /* Check if called by wrapper */ - if (unlikely(__pyx_skip_dispatch)) ; - /* Check if overridden in Python */ - else if (unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0)) { - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s__which); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 890; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (!PyCFunction_Check(__pyx_t_1) || (PyCFunction_GET_FUNCTION(__pyx_t_1) != (PyCFunction)__pyx_pw_6schema_17_Type_BodyBuilder_1which)) { - __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 890; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __pyx_t_3 = __Pyx_PyInt_AsInt(__pyx_t_2); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 890; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_r = __pyx_t_3; - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - goto __pyx_L0; - } - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - } - - /* "schema.pyx":891 - * - * cpdef int which(self): - * return self.thisptr.which() # <<<<<<<<<<<<<< - * property boolType: - * def __get__(self): - */ - __pyx_r = __pyx_v_self->thisptr.which(); - goto __pyx_L0; - - __pyx_r = 0; - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_WriteUnraisable("schema._Type_BodyBuilder.which", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = 0; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_17_Type_BodyBuilder_1which(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static PyObject *__pyx_pw_6schema_17_Type_BodyBuilder_1which(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("which (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_Type_BodyBuilder_which(((struct __pyx_obj_6schema__Type_BodyBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":890 - * return self - * - * cpdef int which(self): # <<<<<<<<<<<<<< - * return self.thisptr.which() - * property boolType: - */ - -static PyObject *__pyx_pf_6schema_17_Type_BodyBuilder_which(struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("which", 0); - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyInt_FromLong(((struct __pyx_vtabstruct_6schema__Type_BodyBuilder *)__pyx_v_self->__pyx_vtab)->which(__pyx_v_self, 1)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 890; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._Type_BodyBuilder.which", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_17_Type_BodyBuilder_8boolType_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_17_Type_BodyBuilder_8boolType_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_Type_BodyBuilder_8boolType___get__(((struct __pyx_obj_6schema__Type_BodyBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":893 - * return self.thisptr.which() - * property boolType: - * def __get__(self): # <<<<<<<<<<<<<< - * return None - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_17_Type_BodyBuilder_8boolType___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":894 - * property boolType: - * def __get__(self): - * return None # <<<<<<<<<<<<<< - * def __set__(self, val): - * pass - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(Py_None); - __pyx_r = Py_None; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_17_Type_BodyBuilder_8boolType_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_17_Type_BodyBuilder_8boolType_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_Type_BodyBuilder_8boolType_2__set__(((struct __pyx_obj_6schema__Type_BodyBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":895 - * def __get__(self): - * return None - * def __set__(self, val): # <<<<<<<<<<<<<< - * pass - * property structType: - */ - -static int __pyx_pf_6schema_17_Type_BodyBuilder_8boolType_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__", 0); - - __pyx_r = 0; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_17_Type_BodyBuilder_10structType_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_17_Type_BodyBuilder_10structType_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_Type_BodyBuilder_10structType___get__(((struct __pyx_obj_6schema__Type_BodyBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":898 - * pass - * property structType: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getStructType() - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_17_Type_BodyBuilder_10structType___get__(struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":899 - * property structType: - * def __get__(self): - * return self.thisptr.getStructType() # <<<<<<<<<<<<<< - * def __set__(self, val): - * self.thisptr.setStructType(val) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyInt_to_py_uint64_t(__pyx_v_self->thisptr.getStructType()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 899; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._Type_BodyBuilder.structType.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_17_Type_BodyBuilder_10structType_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_17_Type_BodyBuilder_10structType_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_Type_BodyBuilder_10structType_2__set__(((struct __pyx_obj_6schema__Type_BodyBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":900 - * def __get__(self): - * return self.thisptr.getStructType() - * def __set__(self, val): # <<<<<<<<<<<<<< - * self.thisptr.setStructType(val) - * property int32Type: - */ - -static int __pyx_pf_6schema_17_Type_BodyBuilder_10structType_2__set__(struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __pyx_t_10schema_cpp_UInt64 __pyx_t_1; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__set__", 0); - - /* "schema.pyx":901 - * return self.thisptr.getStructType() - * def __set__(self, val): - * self.thisptr.setStructType(val) # <<<<<<<<<<<<<< - * property int32Type: - * def __get__(self): - */ - __pyx_t_1 = __Pyx_PyInt_from_py_uint64_t(__pyx_v_val); if (unlikely((__pyx_t_1 == (uint64_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 901; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_v_self->thisptr.setStructType(__pyx_t_1); - - __pyx_r = 0; - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_AddTraceback("schema._Type_BodyBuilder.structType.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = -1; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_17_Type_BodyBuilder_9int32Type_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_17_Type_BodyBuilder_9int32Type_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_Type_BodyBuilder_9int32Type___get__(((struct __pyx_obj_6schema__Type_BodyBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":903 - * self.thisptr.setStructType(val) - * property int32Type: - * def __get__(self): # <<<<<<<<<<<<<< - * return None - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_17_Type_BodyBuilder_9int32Type___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":904 - * property int32Type: - * def __get__(self): - * return None # <<<<<<<<<<<<<< - * def __set__(self, val): - * pass - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(Py_None); - __pyx_r = Py_None; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_17_Type_BodyBuilder_9int32Type_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_17_Type_BodyBuilder_9int32Type_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_Type_BodyBuilder_9int32Type_2__set__(((struct __pyx_obj_6schema__Type_BodyBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":905 - * def __get__(self): - * return None - * def __set__(self, val): # <<<<<<<<<<<<<< - * pass - * property voidType: - */ - -static int __pyx_pf_6schema_17_Type_BodyBuilder_9int32Type_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__", 0); - - __pyx_r = 0; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_17_Type_BodyBuilder_8voidType_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_17_Type_BodyBuilder_8voidType_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_Type_BodyBuilder_8voidType___get__(((struct __pyx_obj_6schema__Type_BodyBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":908 - * pass - * property voidType: - * def __get__(self): # <<<<<<<<<<<<<< - * return None - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_17_Type_BodyBuilder_8voidType___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":909 - * property voidType: - * def __get__(self): - * return None # <<<<<<<<<<<<<< - * def __set__(self, val): - * pass - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(Py_None); - __pyx_r = Py_None; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_17_Type_BodyBuilder_8voidType_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_17_Type_BodyBuilder_8voidType_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_Type_BodyBuilder_8voidType_2__set__(((struct __pyx_obj_6schema__Type_BodyBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":910 - * def __get__(self): - * return None - * def __set__(self, val): # <<<<<<<<<<<<<< - * pass - * property uint16Type: - */ - -static int __pyx_pf_6schema_17_Type_BodyBuilder_8voidType_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__", 0); - - __pyx_r = 0; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_17_Type_BodyBuilder_10uint16Type_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_17_Type_BodyBuilder_10uint16Type_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_Type_BodyBuilder_10uint16Type___get__(((struct __pyx_obj_6schema__Type_BodyBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":913 - * pass - * property uint16Type: - * def __get__(self): # <<<<<<<<<<<<<< - * return None - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_17_Type_BodyBuilder_10uint16Type___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":914 - * property uint16Type: - * def __get__(self): - * return None # <<<<<<<<<<<<<< - * def __set__(self, val): - * pass - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(Py_None); - __pyx_r = Py_None; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_17_Type_BodyBuilder_10uint16Type_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_17_Type_BodyBuilder_10uint16Type_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_Type_BodyBuilder_10uint16Type_2__set__(((struct __pyx_obj_6schema__Type_BodyBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":915 - * def __get__(self): - * return None - * def __set__(self, val): # <<<<<<<<<<<<<< - * pass - * property dataType: - */ - -static int __pyx_pf_6schema_17_Type_BodyBuilder_10uint16Type_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__", 0); - - __pyx_r = 0; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_17_Type_BodyBuilder_8dataType_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_17_Type_BodyBuilder_8dataType_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_Type_BodyBuilder_8dataType___get__(((struct __pyx_obj_6schema__Type_BodyBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":918 - * pass - * property dataType: - * def __get__(self): # <<<<<<<<<<<<<< - * return None - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_17_Type_BodyBuilder_8dataType___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":919 - * property dataType: - * def __get__(self): - * return None # <<<<<<<<<<<<<< - * def __set__(self, val): - * pass - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(Py_None); - __pyx_r = Py_None; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_17_Type_BodyBuilder_8dataType_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_17_Type_BodyBuilder_8dataType_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_Type_BodyBuilder_8dataType_2__set__(((struct __pyx_obj_6schema__Type_BodyBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":920 - * def __get__(self): - * return None - * def __set__(self, val): # <<<<<<<<<<<<<< - * pass - * property objectType: - */ - -static int __pyx_pf_6schema_17_Type_BodyBuilder_8dataType_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__", 0); - - __pyx_r = 0; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_17_Type_BodyBuilder_10objectType_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_17_Type_BodyBuilder_10objectType_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_Type_BodyBuilder_10objectType___get__(((struct __pyx_obj_6schema__Type_BodyBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":923 - * pass - * property objectType: - * def __get__(self): # <<<<<<<<<<<<<< - * return None - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_17_Type_BodyBuilder_10objectType___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":924 - * property objectType: - * def __get__(self): - * return None # <<<<<<<<<<<<<< - * def __set__(self, val): - * pass - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(Py_None); - __pyx_r = Py_None; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_17_Type_BodyBuilder_10objectType_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_17_Type_BodyBuilder_10objectType_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_Type_BodyBuilder_10objectType_2__set__(((struct __pyx_obj_6schema__Type_BodyBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":925 - * def __get__(self): - * return None - * def __set__(self, val): # <<<<<<<<<<<<<< - * pass - * property int64Type: - */ - -static int __pyx_pf_6schema_17_Type_BodyBuilder_10objectType_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__", 0); - - __pyx_r = 0; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_17_Type_BodyBuilder_9int64Type_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_17_Type_BodyBuilder_9int64Type_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_Type_BodyBuilder_9int64Type___get__(((struct __pyx_obj_6schema__Type_BodyBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":928 - * pass - * property int64Type: - * def __get__(self): # <<<<<<<<<<<<<< - * return None - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_17_Type_BodyBuilder_9int64Type___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":929 - * property int64Type: - * def __get__(self): - * return None # <<<<<<<<<<<<<< - * def __set__(self, val): - * pass - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(Py_None); - __pyx_r = Py_None; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_17_Type_BodyBuilder_9int64Type_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_17_Type_BodyBuilder_9int64Type_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_Type_BodyBuilder_9int64Type_2__set__(((struct __pyx_obj_6schema__Type_BodyBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":930 - * def __get__(self): - * return None - * def __set__(self, val): # <<<<<<<<<<<<<< - * pass - * property float64Type: - */ - -static int __pyx_pf_6schema_17_Type_BodyBuilder_9int64Type_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__", 0); - - __pyx_r = 0; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_17_Type_BodyBuilder_11float64Type_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_17_Type_BodyBuilder_11float64Type_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_Type_BodyBuilder_11float64Type___get__(((struct __pyx_obj_6schema__Type_BodyBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":933 - * pass - * property float64Type: - * def __get__(self): # <<<<<<<<<<<<<< - * return None - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_17_Type_BodyBuilder_11float64Type___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":934 - * property float64Type: - * def __get__(self): - * return None # <<<<<<<<<<<<<< - * def __set__(self, val): - * pass - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(Py_None); - __pyx_r = Py_None; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_17_Type_BodyBuilder_11float64Type_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_17_Type_BodyBuilder_11float64Type_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_Type_BodyBuilder_11float64Type_2__set__(((struct __pyx_obj_6schema__Type_BodyBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":935 - * def __get__(self): - * return None - * def __set__(self, val): # <<<<<<<<<<<<<< - * pass - * property interfaceType: - */ - -static int __pyx_pf_6schema_17_Type_BodyBuilder_11float64Type_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__", 0); - - __pyx_r = 0; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_17_Type_BodyBuilder_13interfaceType_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_17_Type_BodyBuilder_13interfaceType_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_Type_BodyBuilder_13interfaceType___get__(((struct __pyx_obj_6schema__Type_BodyBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":938 - * pass - * property interfaceType: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getInterfaceType() - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_17_Type_BodyBuilder_13interfaceType___get__(struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":939 - * property interfaceType: - * def __get__(self): - * return self.thisptr.getInterfaceType() # <<<<<<<<<<<<<< - * def __set__(self, val): - * self.thisptr.setInterfaceType(val) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyInt_to_py_uint64_t(__pyx_v_self->thisptr.getInterfaceType()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 939; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._Type_BodyBuilder.interfaceType.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_17_Type_BodyBuilder_13interfaceType_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_17_Type_BodyBuilder_13interfaceType_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_Type_BodyBuilder_13interfaceType_2__set__(((struct __pyx_obj_6schema__Type_BodyBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":940 - * def __get__(self): - * return self.thisptr.getInterfaceType() - * def __set__(self, val): # <<<<<<<<<<<<<< - * self.thisptr.setInterfaceType(val) - * property uint32Type: - */ - -static int __pyx_pf_6schema_17_Type_BodyBuilder_13interfaceType_2__set__(struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __pyx_t_10schema_cpp_UInt64 __pyx_t_1; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__set__", 0); - - /* "schema.pyx":941 - * return self.thisptr.getInterfaceType() - * def __set__(self, val): - * self.thisptr.setInterfaceType(val) # <<<<<<<<<<<<<< - * property uint32Type: - * def __get__(self): - */ - __pyx_t_1 = __Pyx_PyInt_from_py_uint64_t(__pyx_v_val); if (unlikely((__pyx_t_1 == (uint64_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 941; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_v_self->thisptr.setInterfaceType(__pyx_t_1); - - __pyx_r = 0; - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_AddTraceback("schema._Type_BodyBuilder.interfaceType.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = -1; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_17_Type_BodyBuilder_10uint32Type_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_17_Type_BodyBuilder_10uint32Type_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_Type_BodyBuilder_10uint32Type___get__(((struct __pyx_obj_6schema__Type_BodyBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":943 - * self.thisptr.setInterfaceType(val) - * property uint32Type: - * def __get__(self): # <<<<<<<<<<<<<< - * return None - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_17_Type_BodyBuilder_10uint32Type___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":944 - * property uint32Type: - * def __get__(self): - * return None # <<<<<<<<<<<<<< - * def __set__(self, val): - * pass - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(Py_None); - __pyx_r = Py_None; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_17_Type_BodyBuilder_10uint32Type_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_17_Type_BodyBuilder_10uint32Type_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_Type_BodyBuilder_10uint32Type_2__set__(((struct __pyx_obj_6schema__Type_BodyBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":945 - * def __get__(self): - * return None - * def __set__(self, val): # <<<<<<<<<<<<<< - * pass - * property uint8Type: - */ - -static int __pyx_pf_6schema_17_Type_BodyBuilder_10uint32Type_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__", 0); - - __pyx_r = 0; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_17_Type_BodyBuilder_9uint8Type_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_17_Type_BodyBuilder_9uint8Type_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_Type_BodyBuilder_9uint8Type___get__(((struct __pyx_obj_6schema__Type_BodyBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":948 - * pass - * property uint8Type: - * def __get__(self): # <<<<<<<<<<<<<< - * return None - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_17_Type_BodyBuilder_9uint8Type___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":949 - * property uint8Type: - * def __get__(self): - * return None # <<<<<<<<<<<<<< - * def __set__(self, val): - * pass - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(Py_None); - __pyx_r = Py_None; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_17_Type_BodyBuilder_9uint8Type_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_17_Type_BodyBuilder_9uint8Type_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_Type_BodyBuilder_9uint8Type_2__set__(((struct __pyx_obj_6schema__Type_BodyBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":950 - * def __get__(self): - * return None - * def __set__(self, val): # <<<<<<<<<<<<<< - * pass - * property listType: - */ - -static int __pyx_pf_6schema_17_Type_BodyBuilder_9uint8Type_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__", 0); - - __pyx_r = 0; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_17_Type_BodyBuilder_8listType_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_17_Type_BodyBuilder_8listType_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_Type_BodyBuilder_8listType___get__(((struct __pyx_obj_6schema__Type_BodyBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":953 - * pass - * property listType: - * def __get__(self): # <<<<<<<<<<<<<< - * return _TypeBuilder().init(self.thisptr.getListType()) - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_17_Type_BodyBuilder_8listType___get__(struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":954 - * property listType: - * def __get__(self): - * return _TypeBuilder().init(self.thisptr.getListType()) # <<<<<<<<<<<<<< - * def __set__(self, val): - * pass - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__TypeBuilder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 954; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__TypeBuilder *)((struct __pyx_obj_6schema__TypeBuilder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__TypeBuilder *)__pyx_t_1), ((::capnp::schema::Type::Builder)__pyx_v_self->thisptr.getListType())); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 954; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema._Type_BodyBuilder.listType.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_17_Type_BodyBuilder_8listType_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_17_Type_BodyBuilder_8listType_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_Type_BodyBuilder_8listType_2__set__(((struct __pyx_obj_6schema__Type_BodyBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":955 - * def __get__(self): - * return _TypeBuilder().init(self.thisptr.getListType()) - * def __set__(self, val): # <<<<<<<<<<<<<< - * pass - * property int8Type: - */ - -static int __pyx_pf_6schema_17_Type_BodyBuilder_8listType_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__", 0); - - __pyx_r = 0; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_17_Type_BodyBuilder_8int8Type_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_17_Type_BodyBuilder_8int8Type_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_Type_BodyBuilder_8int8Type___get__(((struct __pyx_obj_6schema__Type_BodyBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":958 - * pass - * property int8Type: - * def __get__(self): # <<<<<<<<<<<<<< - * return None - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_17_Type_BodyBuilder_8int8Type___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":959 - * property int8Type: - * def __get__(self): - * return None # <<<<<<<<<<<<<< - * def __set__(self, val): - * pass - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(Py_None); - __pyx_r = Py_None; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_17_Type_BodyBuilder_8int8Type_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_17_Type_BodyBuilder_8int8Type_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_Type_BodyBuilder_8int8Type_2__set__(((struct __pyx_obj_6schema__Type_BodyBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":960 - * def __get__(self): - * return None - * def __set__(self, val): # <<<<<<<<<<<<<< - * pass - * property float32Type: - */ - -static int __pyx_pf_6schema_17_Type_BodyBuilder_8int8Type_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__", 0); - - __pyx_r = 0; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_17_Type_BodyBuilder_11float32Type_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_17_Type_BodyBuilder_11float32Type_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_Type_BodyBuilder_11float32Type___get__(((struct __pyx_obj_6schema__Type_BodyBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":963 - * pass - * property float32Type: - * def __get__(self): # <<<<<<<<<<<<<< - * return None - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_17_Type_BodyBuilder_11float32Type___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":964 - * property float32Type: - * def __get__(self): - * return None # <<<<<<<<<<<<<< - * def __set__(self, val): - * pass - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(Py_None); - __pyx_r = Py_None; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_17_Type_BodyBuilder_11float32Type_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_17_Type_BodyBuilder_11float32Type_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_Type_BodyBuilder_11float32Type_2__set__(((struct __pyx_obj_6schema__Type_BodyBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":965 - * def __get__(self): - * return None - * def __set__(self, val): # <<<<<<<<<<<<<< - * pass - * property enumType: - */ - -static int __pyx_pf_6schema_17_Type_BodyBuilder_11float32Type_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__", 0); - - __pyx_r = 0; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_17_Type_BodyBuilder_8enumType_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_17_Type_BodyBuilder_8enumType_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_Type_BodyBuilder_8enumType___get__(((struct __pyx_obj_6schema__Type_BodyBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":968 - * pass - * property enumType: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getEnumType() - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_17_Type_BodyBuilder_8enumType___get__(struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":969 - * property enumType: - * def __get__(self): - * return self.thisptr.getEnumType() # <<<<<<<<<<<<<< - * def __set__(self, val): - * self.thisptr.setEnumType(val) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyInt_to_py_uint64_t(__pyx_v_self->thisptr.getEnumType()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 969; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._Type_BodyBuilder.enumType.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_17_Type_BodyBuilder_8enumType_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_17_Type_BodyBuilder_8enumType_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_Type_BodyBuilder_8enumType_2__set__(((struct __pyx_obj_6schema__Type_BodyBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":970 - * def __get__(self): - * return self.thisptr.getEnumType() - * def __set__(self, val): # <<<<<<<<<<<<<< - * self.thisptr.setEnumType(val) - * property uint64Type: - */ - -static int __pyx_pf_6schema_17_Type_BodyBuilder_8enumType_2__set__(struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __pyx_t_10schema_cpp_UInt64 __pyx_t_1; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__set__", 0); - - /* "schema.pyx":971 - * return self.thisptr.getEnumType() - * def __set__(self, val): - * self.thisptr.setEnumType(val) # <<<<<<<<<<<<<< - * property uint64Type: - * def __get__(self): - */ - __pyx_t_1 = __Pyx_PyInt_from_py_uint64_t(__pyx_v_val); if (unlikely((__pyx_t_1 == (uint64_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 971; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_v_self->thisptr.setEnumType(__pyx_t_1); - - __pyx_r = 0; - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_AddTraceback("schema._Type_BodyBuilder.enumType.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = -1; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_17_Type_BodyBuilder_10uint64Type_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_17_Type_BodyBuilder_10uint64Type_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_Type_BodyBuilder_10uint64Type___get__(((struct __pyx_obj_6schema__Type_BodyBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":973 - * self.thisptr.setEnumType(val) - * property uint64Type: - * def __get__(self): # <<<<<<<<<<<<<< - * return None - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_17_Type_BodyBuilder_10uint64Type___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":974 - * property uint64Type: - * def __get__(self): - * return None # <<<<<<<<<<<<<< - * def __set__(self, val): - * pass - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(Py_None); - __pyx_r = Py_None; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_17_Type_BodyBuilder_10uint64Type_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_17_Type_BodyBuilder_10uint64Type_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_Type_BodyBuilder_10uint64Type_2__set__(((struct __pyx_obj_6schema__Type_BodyBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":975 - * def __get__(self): - * return None - * def __set__(self, val): # <<<<<<<<<<<<<< - * pass - * property textType: - */ - -static int __pyx_pf_6schema_17_Type_BodyBuilder_10uint64Type_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__", 0); - - __pyx_r = 0; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_17_Type_BodyBuilder_8textType_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_17_Type_BodyBuilder_8textType_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_Type_BodyBuilder_8textType___get__(((struct __pyx_obj_6schema__Type_BodyBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":978 - * pass - * property textType: - * def __get__(self): # <<<<<<<<<<<<<< - * return None - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_17_Type_BodyBuilder_8textType___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":979 - * property textType: - * def __get__(self): - * return None # <<<<<<<<<<<<<< - * def __set__(self, val): - * pass - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(Py_None); - __pyx_r = Py_None; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_17_Type_BodyBuilder_8textType_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_17_Type_BodyBuilder_8textType_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_Type_BodyBuilder_8textType_2__set__(((struct __pyx_obj_6schema__Type_BodyBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":980 - * def __get__(self): - * return None - * def __set__(self, val): # <<<<<<<<<<<<<< - * pass - * property int16Type: - */ - -static int __pyx_pf_6schema_17_Type_BodyBuilder_8textType_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__", 0); - - __pyx_r = 0; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_17_Type_BodyBuilder_9int16Type_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_17_Type_BodyBuilder_9int16Type_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_Type_BodyBuilder_9int16Type___get__(((struct __pyx_obj_6schema__Type_BodyBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":983 - * pass - * property int16Type: - * def __get__(self): # <<<<<<<<<<<<<< - * return None - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_17_Type_BodyBuilder_9int16Type___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":984 - * property int16Type: - * def __get__(self): - * return None # <<<<<<<<<<<<<< - * def __set__(self, val): - * pass - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(Py_None); - __pyx_r = Py_None; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_17_Type_BodyBuilder_9int16Type_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_17_Type_BodyBuilder_9int16Type_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_Type_BodyBuilder_9int16Type_2__set__(((struct __pyx_obj_6schema__Type_BodyBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":985 - * def __get__(self): - * return None - * def __set__(self, val): # <<<<<<<<<<<<<< - * pass - * cdef class _TypeReader: - */ - -static int __pyx_pf_6schema_17_Type_BodyBuilder_9int16Type_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__Type_BodyBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__", 0); - - __pyx_r = 0; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":989 - * cdef class _TypeReader: - * cdef C_Type.Reader thisptr - * cdef init(self, C_Type.Reader other): # <<<<<<<<<<<<<< - * self.thisptr = other - * return self - */ - -static PyObject *__pyx_f_6schema_11_TypeReader_init(struct __pyx_obj_6schema__TypeReader *__pyx_v_self, ::capnp::schema::Type::Reader __pyx_v_other) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("init", 0); - - /* "schema.pyx":990 - * cdef C_Type.Reader thisptr - * cdef init(self, C_Type.Reader other): - * self.thisptr = other # <<<<<<<<<<<<<< - * return self - * - */ - __pyx_v_self->thisptr = __pyx_v_other; - - /* "schema.pyx":991 - * cdef init(self, C_Type.Reader other): - * self.thisptr = other - * return self # <<<<<<<<<<<<<< - * - * property body: - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(((PyObject *)__pyx_v_self)); - __pyx_r = ((PyObject *)__pyx_v_self); - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_11_TypeReader_4body_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_11_TypeReader_4body_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_11_TypeReader_4body___get__(((struct __pyx_obj_6schema__TypeReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":994 - * - * property body: - * def __get__(self): # <<<<<<<<<<<<<< - * return _Type_BodyReader().init(self.thisptr.getBody()) - * - */ - -static PyObject *__pyx_pf_6schema_11_TypeReader_4body___get__(struct __pyx_obj_6schema__TypeReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":995 - * property body: - * def __get__(self): - * return _Type_BodyReader().init(self.thisptr.getBody()) # <<<<<<<<<<<<<< - * - * cdef class _TypeBuilder: - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__Type_BodyReader)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 995; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__Type_BodyReader *)((struct __pyx_obj_6schema__Type_BodyReader *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__Type_BodyReader *)__pyx_t_1), ((::capnp::schema::Type::Body::Reader)__pyx_v_self->thisptr.getBody())); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 995; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema._TypeReader.body.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":999 - * cdef class _TypeBuilder: - * cdef C_Type.Builder thisptr - * cdef init(self, C_Type.Builder other): # <<<<<<<<<<<<<< - * self.thisptr = other - * return self - */ - -static PyObject *__pyx_f_6schema_12_TypeBuilder_init(struct __pyx_obj_6schema__TypeBuilder *__pyx_v_self, ::capnp::schema::Type::Builder __pyx_v_other) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("init", 0); - - /* "schema.pyx":1000 - * cdef C_Type.Builder thisptr - * cdef init(self, C_Type.Builder other): - * self.thisptr = other # <<<<<<<<<<<<<< - * return self - * - */ - __pyx_v_self->thisptr = __pyx_v_other; - - /* "schema.pyx":1001 - * cdef init(self, C_Type.Builder other): - * self.thisptr = other - * return self # <<<<<<<<<<<<<< - * - * property body: - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(((PyObject *)__pyx_v_self)); - __pyx_r = ((PyObject *)__pyx_v_self); - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_12_TypeBuilder_4body_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_12_TypeBuilder_4body_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_12_TypeBuilder_4body___get__(((struct __pyx_obj_6schema__TypeBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1004 - * - * property body: - * def __get__(self): # <<<<<<<<<<<<<< - * return _Type_BodyBuilder().init(self.thisptr.getBody()) - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_12_TypeBuilder_4body___get__(struct __pyx_obj_6schema__TypeBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1005 - * property body: - * def __get__(self): - * return _Type_BodyBuilder().init(self.thisptr.getBody()) # <<<<<<<<<<<<<< - * def __set__(self, val): - * pass - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__Type_BodyBuilder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1005; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__Type_BodyBuilder *)((struct __pyx_obj_6schema__Type_BodyBuilder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__Type_BodyBuilder *)__pyx_t_1), ((::capnp::schema::Type::Body::Builder)__pyx_v_self->thisptr.getBody())); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1005; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema._TypeBuilder.body.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_12_TypeBuilder_4body_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_12_TypeBuilder_4body_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_12_TypeBuilder_4body_2__set__(((struct __pyx_obj_6schema__TypeBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1006 - * def __get__(self): - * return _Type_BodyBuilder().init(self.thisptr.getBody()) - * def __set__(self, val): # <<<<<<<<<<<<<< - * pass - * - */ - -static int __pyx_pf_6schema_12_TypeBuilder_4body_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__TypeBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__", 0); - - __pyx_r = 0; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1012 - * cdef class _FileNode_ImportReader: - * cdef C_FileNode.Import.Reader thisptr - * cdef init(self, C_FileNode.Import.Reader other): # <<<<<<<<<<<<<< - * self.thisptr = other - * return self - */ - -static PyObject *__pyx_f_6schema_22_FileNode_ImportReader_init(struct __pyx_obj_6schema__FileNode_ImportReader *__pyx_v_self, ::capnp::schema::FileNode::Import::Reader __pyx_v_other) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("init", 0); - - /* "schema.pyx":1013 - * cdef C_FileNode.Import.Reader thisptr - * cdef init(self, C_FileNode.Import.Reader other): - * self.thisptr = other # <<<<<<<<<<<<<< - * return self - * - */ - __pyx_v_self->thisptr = __pyx_v_other; - - /* "schema.pyx":1014 - * cdef init(self, C_FileNode.Import.Reader other): - * self.thisptr = other - * return self # <<<<<<<<<<<<<< - * - * property id: - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(((PyObject *)__pyx_v_self)); - __pyx_r = ((PyObject *)__pyx_v_self); - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_22_FileNode_ImportReader_2id_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_22_FileNode_ImportReader_2id_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_22_FileNode_ImportReader_2id___get__(((struct __pyx_obj_6schema__FileNode_ImportReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1017 - * - * property id: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getId() - * property name: - */ - -static PyObject *__pyx_pf_6schema_22_FileNode_ImportReader_2id___get__(struct __pyx_obj_6schema__FileNode_ImportReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1018 - * property id: - * def __get__(self): - * return self.thisptr.getId() # <<<<<<<<<<<<<< - * property name: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyInt_to_py_uint64_t(__pyx_v_self->thisptr.getId()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1018; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._FileNode_ImportReader.id.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_22_FileNode_ImportReader_4name_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_22_FileNode_ImportReader_4name_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_22_FileNode_ImportReader_4name___get__(((struct __pyx_obj_6schema__FileNode_ImportReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1020 - * return self.thisptr.getId() - * property name: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getName().cStr() - * - */ - -static PyObject *__pyx_pf_6schema_22_FileNode_ImportReader_4name___get__(struct __pyx_obj_6schema__FileNode_ImportReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1021 - * property name: - * def __get__(self): - * return self.thisptr.getName().cStr() # <<<<<<<<<<<<<< - * - * cdef class _FileNode_ImportBuilder: - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyBytes_FromString(__pyx_v_self->thisptr.getName().cStr()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1021; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(((PyObject *)__pyx_t_1)); - __pyx_r = ((PyObject *)__pyx_t_1); - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._FileNode_ImportReader.name.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1025 - * cdef class _FileNode_ImportBuilder: - * cdef C_FileNode.Import.Builder thisptr - * cdef init(self, C_FileNode.Import.Builder other): # <<<<<<<<<<<<<< - * self.thisptr = other - * return self - */ - -static PyObject *__pyx_f_6schema_23_FileNode_ImportBuilder_init(struct __pyx_obj_6schema__FileNode_ImportBuilder *__pyx_v_self, ::capnp::schema::FileNode::Import::Builder __pyx_v_other) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("init", 0); - - /* "schema.pyx":1026 - * cdef C_FileNode.Import.Builder thisptr - * cdef init(self, C_FileNode.Import.Builder other): - * self.thisptr = other # <<<<<<<<<<<<<< - * return self - * - */ - __pyx_v_self->thisptr = __pyx_v_other; - - /* "schema.pyx":1027 - * cdef init(self, C_FileNode.Import.Builder other): - * self.thisptr = other - * return self # <<<<<<<<<<<<<< - * - * property id: - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(((PyObject *)__pyx_v_self)); - __pyx_r = ((PyObject *)__pyx_v_self); - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_23_FileNode_ImportBuilder_2id_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_23_FileNode_ImportBuilder_2id_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_23_FileNode_ImportBuilder_2id___get__(((struct __pyx_obj_6schema__FileNode_ImportBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1030 - * - * property id: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getId() - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_23_FileNode_ImportBuilder_2id___get__(struct __pyx_obj_6schema__FileNode_ImportBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1031 - * property id: - * def __get__(self): - * return self.thisptr.getId() # <<<<<<<<<<<<<< - * def __set__(self, val): - * self.thisptr.setId(val) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyInt_to_py_uint64_t(__pyx_v_self->thisptr.getId()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1031; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._FileNode_ImportBuilder.id.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_23_FileNode_ImportBuilder_2id_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_23_FileNode_ImportBuilder_2id_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_23_FileNode_ImportBuilder_2id_2__set__(((struct __pyx_obj_6schema__FileNode_ImportBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1032 - * def __get__(self): - * return self.thisptr.getId() - * def __set__(self, val): # <<<<<<<<<<<<<< - * self.thisptr.setId(val) - * property name: - */ - -static int __pyx_pf_6schema_23_FileNode_ImportBuilder_2id_2__set__(struct __pyx_obj_6schema__FileNode_ImportBuilder *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __pyx_t_10schema_cpp_UInt64 __pyx_t_1; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__set__", 0); - - /* "schema.pyx":1033 - * return self.thisptr.getId() - * def __set__(self, val): - * self.thisptr.setId(val) # <<<<<<<<<<<<<< - * property name: - * def __get__(self): - */ - __pyx_t_1 = __Pyx_PyInt_from_py_uint64_t(__pyx_v_val); if (unlikely((__pyx_t_1 == (uint64_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1033; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_v_self->thisptr.setId(__pyx_t_1); - - __pyx_r = 0; - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_AddTraceback("schema._FileNode_ImportBuilder.id.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = -1; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_23_FileNode_ImportBuilder_4name_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_23_FileNode_ImportBuilder_4name_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_23_FileNode_ImportBuilder_4name___get__(((struct __pyx_obj_6schema__FileNode_ImportBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1035 - * self.thisptr.setId(val) - * property name: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getName().cStr() - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_23_FileNode_ImportBuilder_4name___get__(struct __pyx_obj_6schema__FileNode_ImportBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1036 - * property name: - * def __get__(self): - * return self.thisptr.getName().cStr() # <<<<<<<<<<<<<< - * def __set__(self, val): - * pass - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyBytes_FromString(__pyx_v_self->thisptr.getName().cStr()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1036; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(((PyObject *)__pyx_t_1)); - __pyx_r = ((PyObject *)__pyx_t_1); - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._FileNode_ImportBuilder.name.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_23_FileNode_ImportBuilder_4name_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_23_FileNode_ImportBuilder_4name_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_23_FileNode_ImportBuilder_4name_2__set__(((struct __pyx_obj_6schema__FileNode_ImportBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1037 - * def __get__(self): - * return self.thisptr.getName().cStr() - * def __set__(self, val): # <<<<<<<<<<<<<< - * pass - * cdef class _FileNodeReader: - */ - -static int __pyx_pf_6schema_23_FileNode_ImportBuilder_4name_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__FileNode_ImportBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__", 0); - - __pyx_r = 0; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1041 - * cdef class _FileNodeReader: - * cdef C_FileNode.Reader thisptr - * cdef init(self, C_FileNode.Reader other): # <<<<<<<<<<<<<< - * self.thisptr = other - * return self - */ - -static PyObject *__pyx_f_6schema_15_FileNodeReader_init(struct __pyx_obj_6schema__FileNodeReader *__pyx_v_self, ::capnp::schema::FileNode::Reader __pyx_v_other) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("init", 0); - - /* "schema.pyx":1042 - * cdef C_FileNode.Reader thisptr - * cdef init(self, C_FileNode.Reader other): - * self.thisptr = other # <<<<<<<<<<<<<< - * return self - * - */ - __pyx_v_self->thisptr = __pyx_v_other; - - /* "schema.pyx":1043 - * cdef init(self, C_FileNode.Reader other): - * self.thisptr = other - * return self # <<<<<<<<<<<<<< - * - * property imports: - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(((PyObject *)__pyx_v_self)); - __pyx_r = ((PyObject *)__pyx_v_self); - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_15_FileNodeReader_7imports_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_15_FileNodeReader_7imports_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_15_FileNodeReader_7imports___get__(((struct __pyx_obj_6schema__FileNodeReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1046 - * - * property imports: - * def __get__(self): # <<<<<<<<<<<<<< - * return _List_FileNode_FileNode_Import_Reader().init(self.thisptr.getImports()) - * - */ - -static PyObject *__pyx_pf_6schema_15_FileNodeReader_7imports___get__(struct __pyx_obj_6schema__FileNodeReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1047 - * property imports: - * def __get__(self): - * return _List_FileNode_FileNode_Import_Reader().init(self.thisptr.getImports()) # <<<<<<<<<<<<<< - * - * cdef class _FileNodeBuilder: - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__List_FileNode_FileNode_Import_Reader)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1047; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__List_FileNode_FileNode_Import_Reader *)((struct __pyx_obj_6schema__List_FileNode_FileNode_Import_Reader *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__List_FileNode_FileNode_Import_Reader *)__pyx_t_1), __pyx_v_self->thisptr.getImports()); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1047; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema._FileNodeReader.imports.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1051 - * cdef class _FileNodeBuilder: - * cdef C_FileNode.Builder thisptr - * cdef init(self, C_FileNode.Builder other): # <<<<<<<<<<<<<< - * self.thisptr = other - * return self - */ - -static PyObject *__pyx_f_6schema_16_FileNodeBuilder_init(struct __pyx_obj_6schema__FileNodeBuilder *__pyx_v_self, ::capnp::schema::FileNode::Builder __pyx_v_other) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("init", 0); - - /* "schema.pyx":1052 - * cdef C_FileNode.Builder thisptr - * cdef init(self, C_FileNode.Builder other): - * self.thisptr = other # <<<<<<<<<<<<<< - * return self - * - */ - __pyx_v_self->thisptr = __pyx_v_other; - - /* "schema.pyx":1053 - * cdef init(self, C_FileNode.Builder other): - * self.thisptr = other - * return self # <<<<<<<<<<<<<< - * - * property imports: - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(((PyObject *)__pyx_v_self)); - __pyx_r = ((PyObject *)__pyx_v_self); - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_16_FileNodeBuilder_7imports_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_16_FileNodeBuilder_7imports_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_16_FileNodeBuilder_7imports___get__(((struct __pyx_obj_6schema__FileNodeBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1056 - * - * property imports: - * def __get__(self): # <<<<<<<<<<<<<< - * return _List_FileNode_FileNode_Import_Builder().init(self.thisptr.getImports()) - * cpdef initImports(self, uint num): - */ - -static PyObject *__pyx_pf_6schema_16_FileNodeBuilder_7imports___get__(struct __pyx_obj_6schema__FileNodeBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1057 - * property imports: - * def __get__(self): - * return _List_FileNode_FileNode_Import_Builder().init(self.thisptr.getImports()) # <<<<<<<<<<<<<< - * cpdef initImports(self, uint num): - * return _List_FileNode_FileNode_Import_Builder().init(self.thisptr.initImports(num)) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__List_FileNode_FileNode_Import_Builder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1057; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__List_FileNode_FileNode_Import_Builder *)((struct __pyx_obj_6schema__List_FileNode_FileNode_Import_Builder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__List_FileNode_FileNode_Import_Builder *)__pyx_t_1), __pyx_v_self->thisptr.getImports()); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1057; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema._FileNodeBuilder.imports.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1058 - * def __get__(self): - * return _List_FileNode_FileNode_Import_Builder().init(self.thisptr.getImports()) - * cpdef initImports(self, uint num): # <<<<<<<<<<<<<< - * return _List_FileNode_FileNode_Import_Builder().init(self.thisptr.initImports(num)) - * - */ - -static PyObject *__pyx_pw_6schema_16_FileNodeBuilder_1initImports(PyObject *__pyx_v_self, PyObject *__pyx_arg_num); /*proto*/ -static PyObject *__pyx_f_6schema_16_FileNodeBuilder_initImports(struct __pyx_obj_6schema__FileNodeBuilder *__pyx_v_self, __pyx_t_6schema_uint __pyx_v_num, int __pyx_skip_dispatch) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - PyObject *__pyx_t_3 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("initImports", 0); - /* Check if called by wrapper */ - if (unlikely(__pyx_skip_dispatch)) ; - /* Check if overridden in Python */ - else if (unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0)) { - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s__initImports); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1058; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (!PyCFunction_Check(__pyx_t_1) || (PyCFunction_GET_FUNCTION(__pyx_t_1) != (PyCFunction)__pyx_pw_6schema_16_FileNodeBuilder_1initImports)) { - __Pyx_XDECREF(__pyx_r); - __pyx_t_2 = PyLong_FromUnsignedLong(__pyx_v_num); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1058; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1058; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_2); - __Pyx_GIVEREF(__pyx_t_2); - __pyx_t_2 = 0; - __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1058; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - goto __pyx_L0; - } - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - } - - /* "schema.pyx":1059 - * return _List_FileNode_FileNode_Import_Builder().init(self.thisptr.getImports()) - * cpdef initImports(self, uint num): - * return _List_FileNode_FileNode_Import_Builder().init(self.thisptr.initImports(num)) # <<<<<<<<<<<<<< - * - * - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__List_FileNode_FileNode_Import_Builder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1059; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__List_FileNode_FileNode_Import_Builder *)((struct __pyx_obj_6schema__List_FileNode_FileNode_Import_Builder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__List_FileNode_FileNode_Import_Builder *)__pyx_t_1), __pyx_v_self->thisptr.initImports(__pyx_v_num)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1059; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_XDECREF(__pyx_t_3); - __Pyx_AddTraceback("schema._FileNodeBuilder.initImports", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = 0; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_16_FileNodeBuilder_1initImports(PyObject *__pyx_v_self, PyObject *__pyx_arg_num); /*proto*/ -static PyObject *__pyx_pw_6schema_16_FileNodeBuilder_1initImports(PyObject *__pyx_v_self, PyObject *__pyx_arg_num) { - __pyx_t_6schema_uint __pyx_v_num; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("initImports (wrapper)", 0); - assert(__pyx_arg_num); { - __pyx_v_num = __Pyx_PyInt_AsUnsignedInt(__pyx_arg_num); if (unlikely((__pyx_v_num == (unsigned int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1058; __pyx_clineno = __LINE__; goto __pyx_L3_error;} - } - goto __pyx_L4_argument_unpacking_done; - __pyx_L3_error:; - __Pyx_AddTraceback("schema._FileNodeBuilder.initImports", __pyx_clineno, __pyx_lineno, __pyx_filename); - __Pyx_RefNannyFinishContext(); - return NULL; - __pyx_L4_argument_unpacking_done:; - __pyx_r = __pyx_pf_6schema_16_FileNodeBuilder_initImports(((struct __pyx_obj_6schema__FileNodeBuilder *)__pyx_v_self), ((__pyx_t_6schema_uint)__pyx_v_num)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1058 - * def __get__(self): - * return _List_FileNode_FileNode_Import_Builder().init(self.thisptr.getImports()) - * cpdef initImports(self, uint num): # <<<<<<<<<<<<<< - * return _List_FileNode_FileNode_Import_Builder().init(self.thisptr.initImports(num)) - * - */ - -static PyObject *__pyx_pf_6schema_16_FileNodeBuilder_initImports(struct __pyx_obj_6schema__FileNodeBuilder *__pyx_v_self, __pyx_t_6schema_uint __pyx_v_num) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("initImports", 0); - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = ((struct __pyx_vtabstruct_6schema__FileNodeBuilder *)__pyx_v_self->__pyx_vtab)->initImports(__pyx_v_self, __pyx_v_num, 1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1058; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._FileNodeBuilder.initImports", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1065 - * cdef class _Node_BodyReader: - * cdef C_Node.Body.Reader thisptr - * cdef init(self, C_Node.Body.Reader other): # <<<<<<<<<<<<<< - * self.thisptr = other - * return self - */ - -static PyObject *__pyx_f_6schema_16_Node_BodyReader_init(struct __pyx_obj_6schema__Node_BodyReader *__pyx_v_self, ::capnp::schema::Node::Body::Reader __pyx_v_other) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("init", 0); - - /* "schema.pyx":1066 - * cdef C_Node.Body.Reader thisptr - * cdef init(self, C_Node.Body.Reader other): - * self.thisptr = other # <<<<<<<<<<<<<< - * return self - * - */ - __pyx_v_self->thisptr = __pyx_v_other; - - /* "schema.pyx":1067 - * cdef init(self, C_Node.Body.Reader other): - * self.thisptr = other - * return self # <<<<<<<<<<<<<< - * - * cpdef int which(self): - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(((PyObject *)__pyx_v_self)); - __pyx_r = ((PyObject *)__pyx_v_self); - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1069 - * return self - * - * cpdef int which(self): # <<<<<<<<<<<<<< - * return self.thisptr.which() - * property annotationNode: - */ - -static PyObject *__pyx_pw_6schema_16_Node_BodyReader_1which(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static int __pyx_f_6schema_16_Node_BodyReader_which(struct __pyx_obj_6schema__Node_BodyReader *__pyx_v_self, int __pyx_skip_dispatch) { - int __pyx_r; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_t_3; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("which", 0); - /* Check if called by wrapper */ - if (unlikely(__pyx_skip_dispatch)) ; - /* Check if overridden in Python */ - else if (unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0)) { - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s__which); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1069; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (!PyCFunction_Check(__pyx_t_1) || (PyCFunction_GET_FUNCTION(__pyx_t_1) != (PyCFunction)__pyx_pw_6schema_16_Node_BodyReader_1which)) { - __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1069; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __pyx_t_3 = __Pyx_PyInt_AsInt(__pyx_t_2); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1069; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_r = __pyx_t_3; - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - goto __pyx_L0; - } - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - } - - /* "schema.pyx":1070 - * - * cpdef int which(self): - * return self.thisptr.which() # <<<<<<<<<<<<<< - * property annotationNode: - * def __get__(self): - */ - __pyx_r = __pyx_v_self->thisptr.which(); - goto __pyx_L0; - - __pyx_r = 0; - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_WriteUnraisable("schema._Node_BodyReader.which", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = 0; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_16_Node_BodyReader_1which(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static PyObject *__pyx_pw_6schema_16_Node_BodyReader_1which(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("which (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_16_Node_BodyReader_which(((struct __pyx_obj_6schema__Node_BodyReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1069 - * return self - * - * cpdef int which(self): # <<<<<<<<<<<<<< - * return self.thisptr.which() - * property annotationNode: - */ - -static PyObject *__pyx_pf_6schema_16_Node_BodyReader_which(struct __pyx_obj_6schema__Node_BodyReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("which", 0); - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyInt_FromLong(((struct __pyx_vtabstruct_6schema__Node_BodyReader *)__pyx_v_self->__pyx_vtab)->which(__pyx_v_self, 1)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1069; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._Node_BodyReader.which", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_16_Node_BodyReader_14annotationNode_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_16_Node_BodyReader_14annotationNode_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_16_Node_BodyReader_14annotationNode___get__(((struct __pyx_obj_6schema__Node_BodyReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1072 - * return self.thisptr.which() - * property annotationNode: - * def __get__(self): # <<<<<<<<<<<<<< - * return _AnnotationNodeReader().init(self.thisptr.getAnnotationNode()) - * property interfaceNode: - */ - -static PyObject *__pyx_pf_6schema_16_Node_BodyReader_14annotationNode___get__(struct __pyx_obj_6schema__Node_BodyReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1073 - * property annotationNode: - * def __get__(self): - * return _AnnotationNodeReader().init(self.thisptr.getAnnotationNode()) # <<<<<<<<<<<<<< - * property interfaceNode: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__AnnotationNodeReader)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1073; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__AnnotationNodeReader *)((struct __pyx_obj_6schema__AnnotationNodeReader *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__AnnotationNodeReader *)__pyx_t_1), ((::capnp::schema::AnnotationNode::Reader)__pyx_v_self->thisptr.getAnnotationNode())); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1073; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema._Node_BodyReader.annotationNode.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_16_Node_BodyReader_13interfaceNode_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_16_Node_BodyReader_13interfaceNode_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_16_Node_BodyReader_13interfaceNode___get__(((struct __pyx_obj_6schema__Node_BodyReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1075 - * return _AnnotationNodeReader().init(self.thisptr.getAnnotationNode()) - * property interfaceNode: - * def __get__(self): # <<<<<<<<<<<<<< - * return _InterfaceNodeReader().init(self.thisptr.getInterfaceNode()) - * property enumNode: - */ - -static PyObject *__pyx_pf_6schema_16_Node_BodyReader_13interfaceNode___get__(struct __pyx_obj_6schema__Node_BodyReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1076 - * property interfaceNode: - * def __get__(self): - * return _InterfaceNodeReader().init(self.thisptr.getInterfaceNode()) # <<<<<<<<<<<<<< - * property enumNode: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__InterfaceNodeReader)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1076; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__InterfaceNodeReader *)((struct __pyx_obj_6schema__InterfaceNodeReader *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__InterfaceNodeReader *)__pyx_t_1), ((::capnp::schema::InterfaceNode::Reader)__pyx_v_self->thisptr.getInterfaceNode())); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1076; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema._Node_BodyReader.interfaceNode.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_16_Node_BodyReader_8enumNode_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_16_Node_BodyReader_8enumNode_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_16_Node_BodyReader_8enumNode___get__(((struct __pyx_obj_6schema__Node_BodyReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1078 - * return _InterfaceNodeReader().init(self.thisptr.getInterfaceNode()) - * property enumNode: - * def __get__(self): # <<<<<<<<<<<<<< - * return _EnumNodeReader().init(self.thisptr.getEnumNode()) - * property structNode: - */ - -static PyObject *__pyx_pf_6schema_16_Node_BodyReader_8enumNode___get__(struct __pyx_obj_6schema__Node_BodyReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1079 - * property enumNode: - * def __get__(self): - * return _EnumNodeReader().init(self.thisptr.getEnumNode()) # <<<<<<<<<<<<<< - * property structNode: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__EnumNodeReader)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1079; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__EnumNodeReader *)((struct __pyx_obj_6schema__EnumNodeReader *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__EnumNodeReader *)__pyx_t_1), ((::capnp::schema::EnumNode::Reader)__pyx_v_self->thisptr.getEnumNode())); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1079; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema._Node_BodyReader.enumNode.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_16_Node_BodyReader_10structNode_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_16_Node_BodyReader_10structNode_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_16_Node_BodyReader_10structNode___get__(((struct __pyx_obj_6schema__Node_BodyReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1081 - * return _EnumNodeReader().init(self.thisptr.getEnumNode()) - * property structNode: - * def __get__(self): # <<<<<<<<<<<<<< - * return _StructNodeReader().init(self.thisptr.getStructNode()) - * property constNode: - */ - -static PyObject *__pyx_pf_6schema_16_Node_BodyReader_10structNode___get__(struct __pyx_obj_6schema__Node_BodyReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1082 - * property structNode: - * def __get__(self): - * return _StructNodeReader().init(self.thisptr.getStructNode()) # <<<<<<<<<<<<<< - * property constNode: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__StructNodeReader)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1082; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__StructNodeReader *)((struct __pyx_obj_6schema__StructNodeReader *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__StructNodeReader *)__pyx_t_1), ((::capnp::schema::StructNode::Reader)__pyx_v_self->thisptr.getStructNode())); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1082; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema._Node_BodyReader.structNode.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_16_Node_BodyReader_9constNode_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_16_Node_BodyReader_9constNode_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_16_Node_BodyReader_9constNode___get__(((struct __pyx_obj_6schema__Node_BodyReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1084 - * return _StructNodeReader().init(self.thisptr.getStructNode()) - * property constNode: - * def __get__(self): # <<<<<<<<<<<<<< - * return _ConstNodeReader().init(self.thisptr.getConstNode()) - * property fileNode: - */ - -static PyObject *__pyx_pf_6schema_16_Node_BodyReader_9constNode___get__(struct __pyx_obj_6schema__Node_BodyReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1085 - * property constNode: - * def __get__(self): - * return _ConstNodeReader().init(self.thisptr.getConstNode()) # <<<<<<<<<<<<<< - * property fileNode: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__ConstNodeReader)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1085; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__ConstNodeReader *)((struct __pyx_obj_6schema__ConstNodeReader *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__ConstNodeReader *)__pyx_t_1), ((::capnp::schema::ConstNode::Reader)__pyx_v_self->thisptr.getConstNode())); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1085; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema._Node_BodyReader.constNode.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_16_Node_BodyReader_8fileNode_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_16_Node_BodyReader_8fileNode_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_16_Node_BodyReader_8fileNode___get__(((struct __pyx_obj_6schema__Node_BodyReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1087 - * return _ConstNodeReader().init(self.thisptr.getConstNode()) - * property fileNode: - * def __get__(self): # <<<<<<<<<<<<<< - * return _FileNodeReader().init(self.thisptr.getFileNode()) - * - */ - -static PyObject *__pyx_pf_6schema_16_Node_BodyReader_8fileNode___get__(struct __pyx_obj_6schema__Node_BodyReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1088 - * property fileNode: - * def __get__(self): - * return _FileNodeReader().init(self.thisptr.getFileNode()) # <<<<<<<<<<<<<< - * - * cdef class _Node_BodyBuilder: - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__FileNodeReader)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1088; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__FileNodeReader *)((struct __pyx_obj_6schema__FileNodeReader *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__FileNodeReader *)__pyx_t_1), ((::capnp::schema::FileNode::Reader)__pyx_v_self->thisptr.getFileNode())); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1088; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema._Node_BodyReader.fileNode.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1092 - * cdef class _Node_BodyBuilder: - * cdef C_Node.Body.Builder thisptr - * cdef init(self, C_Node.Body.Builder other): # <<<<<<<<<<<<<< - * self.thisptr = other - * return self - */ - -static PyObject *__pyx_f_6schema_17_Node_BodyBuilder_init(struct __pyx_obj_6schema__Node_BodyBuilder *__pyx_v_self, ::capnp::schema::Node::Body::Builder __pyx_v_other) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("init", 0); - - /* "schema.pyx":1093 - * cdef C_Node.Body.Builder thisptr - * cdef init(self, C_Node.Body.Builder other): - * self.thisptr = other # <<<<<<<<<<<<<< - * return self - * - */ - __pyx_v_self->thisptr = __pyx_v_other; - - /* "schema.pyx":1094 - * cdef init(self, C_Node.Body.Builder other): - * self.thisptr = other - * return self # <<<<<<<<<<<<<< - * - * cpdef int which(self): - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(((PyObject *)__pyx_v_self)); - __pyx_r = ((PyObject *)__pyx_v_self); - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1096 - * return self - * - * cpdef int which(self): # <<<<<<<<<<<<<< - * return self.thisptr.which() - * property annotationNode: - */ - -static PyObject *__pyx_pw_6schema_17_Node_BodyBuilder_1which(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static int __pyx_f_6schema_17_Node_BodyBuilder_which(struct __pyx_obj_6schema__Node_BodyBuilder *__pyx_v_self, int __pyx_skip_dispatch) { - int __pyx_r; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_t_3; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("which", 0); - /* Check if called by wrapper */ - if (unlikely(__pyx_skip_dispatch)) ; - /* Check if overridden in Python */ - else if (unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0)) { - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s__which); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1096; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (!PyCFunction_Check(__pyx_t_1) || (PyCFunction_GET_FUNCTION(__pyx_t_1) != (PyCFunction)__pyx_pw_6schema_17_Node_BodyBuilder_1which)) { - __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1096; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __pyx_t_3 = __Pyx_PyInt_AsInt(__pyx_t_2); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1096; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_r = __pyx_t_3; - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - goto __pyx_L0; - } - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - } - - /* "schema.pyx":1097 - * - * cpdef int which(self): - * return self.thisptr.which() # <<<<<<<<<<<<<< - * property annotationNode: - * def __get__(self): - */ - __pyx_r = __pyx_v_self->thisptr.which(); - goto __pyx_L0; - - __pyx_r = 0; - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_WriteUnraisable("schema._Node_BodyBuilder.which", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = 0; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_17_Node_BodyBuilder_1which(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static PyObject *__pyx_pw_6schema_17_Node_BodyBuilder_1which(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("which (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_Node_BodyBuilder_which(((struct __pyx_obj_6schema__Node_BodyBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1096 - * return self - * - * cpdef int which(self): # <<<<<<<<<<<<<< - * return self.thisptr.which() - * property annotationNode: - */ - -static PyObject *__pyx_pf_6schema_17_Node_BodyBuilder_which(struct __pyx_obj_6schema__Node_BodyBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("which", 0); - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyInt_FromLong(((struct __pyx_vtabstruct_6schema__Node_BodyBuilder *)__pyx_v_self->__pyx_vtab)->which(__pyx_v_self, 1)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1096; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._Node_BodyBuilder.which", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_17_Node_BodyBuilder_14annotationNode_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_17_Node_BodyBuilder_14annotationNode_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_Node_BodyBuilder_14annotationNode___get__(((struct __pyx_obj_6schema__Node_BodyBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1099 - * return self.thisptr.which() - * property annotationNode: - * def __get__(self): # <<<<<<<<<<<<<< - * return _AnnotationNodeBuilder().init(self.thisptr.getAnnotationNode()) - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_17_Node_BodyBuilder_14annotationNode___get__(struct __pyx_obj_6schema__Node_BodyBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1100 - * property annotationNode: - * def __get__(self): - * return _AnnotationNodeBuilder().init(self.thisptr.getAnnotationNode()) # <<<<<<<<<<<<<< - * def __set__(self, val): - * pass - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__AnnotationNodeBuilder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1100; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__AnnotationNodeBuilder *)((struct __pyx_obj_6schema__AnnotationNodeBuilder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__AnnotationNodeBuilder *)__pyx_t_1), ((::capnp::schema::AnnotationNode::Builder)__pyx_v_self->thisptr.getAnnotationNode())); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1100; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema._Node_BodyBuilder.annotationNode.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_17_Node_BodyBuilder_14annotationNode_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_17_Node_BodyBuilder_14annotationNode_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_Node_BodyBuilder_14annotationNode_2__set__(((struct __pyx_obj_6schema__Node_BodyBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1101 - * def __get__(self): - * return _AnnotationNodeBuilder().init(self.thisptr.getAnnotationNode()) - * def __set__(self, val): # <<<<<<<<<<<<<< - * pass - * property interfaceNode: - */ - -static int __pyx_pf_6schema_17_Node_BodyBuilder_14annotationNode_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__Node_BodyBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__", 0); - - __pyx_r = 0; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_17_Node_BodyBuilder_13interfaceNode_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_17_Node_BodyBuilder_13interfaceNode_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_Node_BodyBuilder_13interfaceNode___get__(((struct __pyx_obj_6schema__Node_BodyBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1104 - * pass - * property interfaceNode: - * def __get__(self): # <<<<<<<<<<<<<< - * return _InterfaceNodeBuilder().init(self.thisptr.getInterfaceNode()) - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_17_Node_BodyBuilder_13interfaceNode___get__(struct __pyx_obj_6schema__Node_BodyBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1105 - * property interfaceNode: - * def __get__(self): - * return _InterfaceNodeBuilder().init(self.thisptr.getInterfaceNode()) # <<<<<<<<<<<<<< - * def __set__(self, val): - * pass - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__InterfaceNodeBuilder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1105; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__InterfaceNodeBuilder *)((struct __pyx_obj_6schema__InterfaceNodeBuilder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__InterfaceNodeBuilder *)__pyx_t_1), ((::capnp::schema::InterfaceNode::Builder)__pyx_v_self->thisptr.getInterfaceNode())); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1105; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema._Node_BodyBuilder.interfaceNode.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_17_Node_BodyBuilder_13interfaceNode_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_17_Node_BodyBuilder_13interfaceNode_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_Node_BodyBuilder_13interfaceNode_2__set__(((struct __pyx_obj_6schema__Node_BodyBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1106 - * def __get__(self): - * return _InterfaceNodeBuilder().init(self.thisptr.getInterfaceNode()) - * def __set__(self, val): # <<<<<<<<<<<<<< - * pass - * property enumNode: - */ - -static int __pyx_pf_6schema_17_Node_BodyBuilder_13interfaceNode_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__Node_BodyBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__", 0); - - __pyx_r = 0; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_17_Node_BodyBuilder_8enumNode_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_17_Node_BodyBuilder_8enumNode_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_Node_BodyBuilder_8enumNode___get__(((struct __pyx_obj_6schema__Node_BodyBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1109 - * pass - * property enumNode: - * def __get__(self): # <<<<<<<<<<<<<< - * return _EnumNodeBuilder().init(self.thisptr.getEnumNode()) - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_17_Node_BodyBuilder_8enumNode___get__(struct __pyx_obj_6schema__Node_BodyBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1110 - * property enumNode: - * def __get__(self): - * return _EnumNodeBuilder().init(self.thisptr.getEnumNode()) # <<<<<<<<<<<<<< - * def __set__(self, val): - * pass - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__EnumNodeBuilder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1110; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__EnumNodeBuilder *)((struct __pyx_obj_6schema__EnumNodeBuilder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__EnumNodeBuilder *)__pyx_t_1), ((::capnp::schema::EnumNode::Builder)__pyx_v_self->thisptr.getEnumNode())); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1110; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema._Node_BodyBuilder.enumNode.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_17_Node_BodyBuilder_8enumNode_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_17_Node_BodyBuilder_8enumNode_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_Node_BodyBuilder_8enumNode_2__set__(((struct __pyx_obj_6schema__Node_BodyBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1111 - * def __get__(self): - * return _EnumNodeBuilder().init(self.thisptr.getEnumNode()) - * def __set__(self, val): # <<<<<<<<<<<<<< - * pass - * property structNode: - */ - -static int __pyx_pf_6schema_17_Node_BodyBuilder_8enumNode_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__Node_BodyBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__", 0); - - __pyx_r = 0; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_17_Node_BodyBuilder_10structNode_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_17_Node_BodyBuilder_10structNode_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_Node_BodyBuilder_10structNode___get__(((struct __pyx_obj_6schema__Node_BodyBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1114 - * pass - * property structNode: - * def __get__(self): # <<<<<<<<<<<<<< - * return _StructNodeBuilder().init(self.thisptr.getStructNode()) - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_17_Node_BodyBuilder_10structNode___get__(struct __pyx_obj_6schema__Node_BodyBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1115 - * property structNode: - * def __get__(self): - * return _StructNodeBuilder().init(self.thisptr.getStructNode()) # <<<<<<<<<<<<<< - * def __set__(self, val): - * pass - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__StructNodeBuilder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1115; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__StructNodeBuilder *)((struct __pyx_obj_6schema__StructNodeBuilder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__StructNodeBuilder *)__pyx_t_1), ((::capnp::schema::StructNode::Builder)__pyx_v_self->thisptr.getStructNode())); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1115; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema._Node_BodyBuilder.structNode.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_17_Node_BodyBuilder_10structNode_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_17_Node_BodyBuilder_10structNode_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_Node_BodyBuilder_10structNode_2__set__(((struct __pyx_obj_6schema__Node_BodyBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1116 - * def __get__(self): - * return _StructNodeBuilder().init(self.thisptr.getStructNode()) - * def __set__(self, val): # <<<<<<<<<<<<<< - * pass - * property constNode: - */ - -static int __pyx_pf_6schema_17_Node_BodyBuilder_10structNode_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__Node_BodyBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__", 0); - - __pyx_r = 0; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_17_Node_BodyBuilder_9constNode_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_17_Node_BodyBuilder_9constNode_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_Node_BodyBuilder_9constNode___get__(((struct __pyx_obj_6schema__Node_BodyBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1119 - * pass - * property constNode: - * def __get__(self): # <<<<<<<<<<<<<< - * return _ConstNodeBuilder().init(self.thisptr.getConstNode()) - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_17_Node_BodyBuilder_9constNode___get__(struct __pyx_obj_6schema__Node_BodyBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1120 - * property constNode: - * def __get__(self): - * return _ConstNodeBuilder().init(self.thisptr.getConstNode()) # <<<<<<<<<<<<<< - * def __set__(self, val): - * pass - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__ConstNodeBuilder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1120; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__ConstNodeBuilder *)((struct __pyx_obj_6schema__ConstNodeBuilder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__ConstNodeBuilder *)__pyx_t_1), ((::capnp::schema::ConstNode::Builder)__pyx_v_self->thisptr.getConstNode())); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1120; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema._Node_BodyBuilder.constNode.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_17_Node_BodyBuilder_9constNode_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_17_Node_BodyBuilder_9constNode_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_Node_BodyBuilder_9constNode_2__set__(((struct __pyx_obj_6schema__Node_BodyBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1121 - * def __get__(self): - * return _ConstNodeBuilder().init(self.thisptr.getConstNode()) - * def __set__(self, val): # <<<<<<<<<<<<<< - * pass - * property fileNode: - */ - -static int __pyx_pf_6schema_17_Node_BodyBuilder_9constNode_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__Node_BodyBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__", 0); - - __pyx_r = 0; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_17_Node_BodyBuilder_8fileNode_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_17_Node_BodyBuilder_8fileNode_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_Node_BodyBuilder_8fileNode___get__(((struct __pyx_obj_6schema__Node_BodyBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1124 - * pass - * property fileNode: - * def __get__(self): # <<<<<<<<<<<<<< - * return _FileNodeBuilder().init(self.thisptr.getFileNode()) - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_17_Node_BodyBuilder_8fileNode___get__(struct __pyx_obj_6schema__Node_BodyBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1125 - * property fileNode: - * def __get__(self): - * return _FileNodeBuilder().init(self.thisptr.getFileNode()) # <<<<<<<<<<<<<< - * def __set__(self, val): - * pass - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__FileNodeBuilder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1125; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__FileNodeBuilder *)((struct __pyx_obj_6schema__FileNodeBuilder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__FileNodeBuilder *)__pyx_t_1), ((::capnp::schema::FileNode::Builder)__pyx_v_self->thisptr.getFileNode())); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1125; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema._Node_BodyBuilder.fileNode.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_17_Node_BodyBuilder_8fileNode_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_17_Node_BodyBuilder_8fileNode_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_Node_BodyBuilder_8fileNode_2__set__(((struct __pyx_obj_6schema__Node_BodyBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1126 - * def __get__(self): - * return _FileNodeBuilder().init(self.thisptr.getFileNode()) - * def __set__(self, val): # <<<<<<<<<<<<<< - * pass - * - */ - -static int __pyx_pf_6schema_17_Node_BodyBuilder_8fileNode_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__Node_BodyBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__", 0); - - __pyx_r = 0; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1131 - * cdef class _Node_NestedNodeReader: - * cdef C_Node.NestedNode.Reader thisptr - * cdef init(self, C_Node.NestedNode.Reader other): # <<<<<<<<<<<<<< - * self.thisptr = other - * return self - */ - -static PyObject *__pyx_f_6schema_22_Node_NestedNodeReader_init(struct __pyx_obj_6schema__Node_NestedNodeReader *__pyx_v_self, ::capnp::schema::Node::NestedNode::Reader __pyx_v_other) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("init", 0); - - /* "schema.pyx":1132 - * cdef C_Node.NestedNode.Reader thisptr - * cdef init(self, C_Node.NestedNode.Reader other): - * self.thisptr = other # <<<<<<<<<<<<<< - * return self - * - */ - __pyx_v_self->thisptr = __pyx_v_other; - - /* "schema.pyx":1133 - * cdef init(self, C_Node.NestedNode.Reader other): - * self.thisptr = other - * return self # <<<<<<<<<<<<<< - * - * property name: - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(((PyObject *)__pyx_v_self)); - __pyx_r = ((PyObject *)__pyx_v_self); - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_22_Node_NestedNodeReader_4name_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_22_Node_NestedNodeReader_4name_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_22_Node_NestedNodeReader_4name___get__(((struct __pyx_obj_6schema__Node_NestedNodeReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1136 - * - * property name: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getName().cStr() - * property id: - */ - -static PyObject *__pyx_pf_6schema_22_Node_NestedNodeReader_4name___get__(struct __pyx_obj_6schema__Node_NestedNodeReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1137 - * property name: - * def __get__(self): - * return self.thisptr.getName().cStr() # <<<<<<<<<<<<<< - * property id: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyBytes_FromString(__pyx_v_self->thisptr.getName().cStr()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1137; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(((PyObject *)__pyx_t_1)); - __pyx_r = ((PyObject *)__pyx_t_1); - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._Node_NestedNodeReader.name.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_22_Node_NestedNodeReader_2id_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_22_Node_NestedNodeReader_2id_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_22_Node_NestedNodeReader_2id___get__(((struct __pyx_obj_6schema__Node_NestedNodeReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1139 - * return self.thisptr.getName().cStr() - * property id: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getId() - * - */ - -static PyObject *__pyx_pf_6schema_22_Node_NestedNodeReader_2id___get__(struct __pyx_obj_6schema__Node_NestedNodeReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1140 - * property id: - * def __get__(self): - * return self.thisptr.getId() # <<<<<<<<<<<<<< - * - * cdef class _Node_NestedNodeBuilder: - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyInt_to_py_uint64_t(__pyx_v_self->thisptr.getId()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1140; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._Node_NestedNodeReader.id.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1144 - * cdef class _Node_NestedNodeBuilder: - * cdef C_Node.NestedNode.Builder thisptr - * cdef init(self, C_Node.NestedNode.Builder other): # <<<<<<<<<<<<<< - * self.thisptr = other - * return self - */ - -static PyObject *__pyx_f_6schema_23_Node_NestedNodeBuilder_init(struct __pyx_obj_6schema__Node_NestedNodeBuilder *__pyx_v_self, ::capnp::schema::Node::NestedNode::Builder __pyx_v_other) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("init", 0); - - /* "schema.pyx":1145 - * cdef C_Node.NestedNode.Builder thisptr - * cdef init(self, C_Node.NestedNode.Builder other): - * self.thisptr = other # <<<<<<<<<<<<<< - * return self - * - */ - __pyx_v_self->thisptr = __pyx_v_other; - - /* "schema.pyx":1146 - * cdef init(self, C_Node.NestedNode.Builder other): - * self.thisptr = other - * return self # <<<<<<<<<<<<<< - * - * property name: - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(((PyObject *)__pyx_v_self)); - __pyx_r = ((PyObject *)__pyx_v_self); - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_23_Node_NestedNodeBuilder_4name_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_23_Node_NestedNodeBuilder_4name_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_23_Node_NestedNodeBuilder_4name___get__(((struct __pyx_obj_6schema__Node_NestedNodeBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1149 - * - * property name: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getName().cStr() - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_23_Node_NestedNodeBuilder_4name___get__(struct __pyx_obj_6schema__Node_NestedNodeBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1150 - * property name: - * def __get__(self): - * return self.thisptr.getName().cStr() # <<<<<<<<<<<<<< - * def __set__(self, val): - * pass - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyBytes_FromString(__pyx_v_self->thisptr.getName().cStr()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1150; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(((PyObject *)__pyx_t_1)); - __pyx_r = ((PyObject *)__pyx_t_1); - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._Node_NestedNodeBuilder.name.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_23_Node_NestedNodeBuilder_4name_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_23_Node_NestedNodeBuilder_4name_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_23_Node_NestedNodeBuilder_4name_2__set__(((struct __pyx_obj_6schema__Node_NestedNodeBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1151 - * def __get__(self): - * return self.thisptr.getName().cStr() - * def __set__(self, val): # <<<<<<<<<<<<<< - * pass - * property id: - */ - -static int __pyx_pf_6schema_23_Node_NestedNodeBuilder_4name_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__Node_NestedNodeBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__", 0); - - __pyx_r = 0; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_23_Node_NestedNodeBuilder_2id_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_23_Node_NestedNodeBuilder_2id_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_23_Node_NestedNodeBuilder_2id___get__(((struct __pyx_obj_6schema__Node_NestedNodeBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1154 - * pass - * property id: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getId() - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_23_Node_NestedNodeBuilder_2id___get__(struct __pyx_obj_6schema__Node_NestedNodeBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1155 - * property id: - * def __get__(self): - * return self.thisptr.getId() # <<<<<<<<<<<<<< - * def __set__(self, val): - * self.thisptr.setId(val) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyInt_to_py_uint64_t(__pyx_v_self->thisptr.getId()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1155; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._Node_NestedNodeBuilder.id.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_23_Node_NestedNodeBuilder_2id_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_23_Node_NestedNodeBuilder_2id_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_23_Node_NestedNodeBuilder_2id_2__set__(((struct __pyx_obj_6schema__Node_NestedNodeBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1156 - * def __get__(self): - * return self.thisptr.getId() - * def __set__(self, val): # <<<<<<<<<<<<<< - * self.thisptr.setId(val) - * cdef class _NodeReader: - */ - -static int __pyx_pf_6schema_23_Node_NestedNodeBuilder_2id_2__set__(struct __pyx_obj_6schema__Node_NestedNodeBuilder *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __pyx_t_10schema_cpp_UInt64 __pyx_t_1; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__set__", 0); - - /* "schema.pyx":1157 - * return self.thisptr.getId() - * def __set__(self, val): - * self.thisptr.setId(val) # <<<<<<<<<<<<<< - * cdef class _NodeReader: - * cdef C_Node.Reader thisptr - */ - __pyx_t_1 = __Pyx_PyInt_from_py_uint64_t(__pyx_v_val); if (unlikely((__pyx_t_1 == (uint64_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1157; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_v_self->thisptr.setId(__pyx_t_1); - - __pyx_r = 0; - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_AddTraceback("schema._Node_NestedNodeBuilder.id.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = -1; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1160 - * cdef class _NodeReader: - * cdef C_Node.Reader thisptr - * cdef init(self, C_Node.Reader other): # <<<<<<<<<<<<<< - * self.thisptr = other - * return self - */ - -static PyObject *__pyx_f_6schema_11_NodeReader_init(struct __pyx_obj_6schema__NodeReader *__pyx_v_self, ::capnp::schema::Node::Reader __pyx_v_other) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("init", 0); - - /* "schema.pyx":1161 - * cdef C_Node.Reader thisptr - * cdef init(self, C_Node.Reader other): - * self.thisptr = other # <<<<<<<<<<<<<< - * return self - * - */ - __pyx_v_self->thisptr = __pyx_v_other; - - /* "schema.pyx":1162 - * cdef init(self, C_Node.Reader other): - * self.thisptr = other - * return self # <<<<<<<<<<<<<< - * - * property body: - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(((PyObject *)__pyx_v_self)); - __pyx_r = ((PyObject *)__pyx_v_self); - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_11_NodeReader_4body_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_11_NodeReader_4body_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_11_NodeReader_4body___get__(((struct __pyx_obj_6schema__NodeReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1165 - * - * property body: - * def __get__(self): # <<<<<<<<<<<<<< - * return _Node_BodyReader().init(self.thisptr.getBody()) - * property displayName: - */ - -static PyObject *__pyx_pf_6schema_11_NodeReader_4body___get__(struct __pyx_obj_6schema__NodeReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1166 - * property body: - * def __get__(self): - * return _Node_BodyReader().init(self.thisptr.getBody()) # <<<<<<<<<<<<<< - * property displayName: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__Node_BodyReader)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1166; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__Node_BodyReader *)((struct __pyx_obj_6schema__Node_BodyReader *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__Node_BodyReader *)__pyx_t_1), ((::capnp::schema::Node::Body::Reader)__pyx_v_self->thisptr.getBody())); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1166; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema._NodeReader.body.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_11_NodeReader_11displayName_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_11_NodeReader_11displayName_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_11_NodeReader_11displayName___get__(((struct __pyx_obj_6schema__NodeReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1168 - * return _Node_BodyReader().init(self.thisptr.getBody()) - * property displayName: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getDisplayName().cStr() - * property annotations: - */ - -static PyObject *__pyx_pf_6schema_11_NodeReader_11displayName___get__(struct __pyx_obj_6schema__NodeReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1169 - * property displayName: - * def __get__(self): - * return self.thisptr.getDisplayName().cStr() # <<<<<<<<<<<<<< - * property annotations: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyBytes_FromString(__pyx_v_self->thisptr.getDisplayName().cStr()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1169; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(((PyObject *)__pyx_t_1)); - __pyx_r = ((PyObject *)__pyx_t_1); - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._NodeReader.displayName.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_11_NodeReader_11annotations_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_11_NodeReader_11annotations_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_11_NodeReader_11annotations___get__(((struct __pyx_obj_6schema__NodeReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1171 - * return self.thisptr.getDisplayName().cStr() - * property annotations: - * def __get__(self): # <<<<<<<<<<<<<< - * return _List_Node_Annotation_Reader().init(self.thisptr.getAnnotations()) - * property scopeId: - */ - -static PyObject *__pyx_pf_6schema_11_NodeReader_11annotations___get__(struct __pyx_obj_6schema__NodeReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1172 - * property annotations: - * def __get__(self): - * return _List_Node_Annotation_Reader().init(self.thisptr.getAnnotations()) # <<<<<<<<<<<<<< - * property scopeId: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__List_Node_Annotation_Reader)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1172; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__List_Node_Annotation_Reader *)((struct __pyx_obj_6schema__List_Node_Annotation_Reader *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__List_Node_Annotation_Reader *)__pyx_t_1), __pyx_v_self->thisptr.getAnnotations()); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1172; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema._NodeReader.annotations.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_11_NodeReader_7scopeId_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_11_NodeReader_7scopeId_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_11_NodeReader_7scopeId___get__(((struct __pyx_obj_6schema__NodeReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1174 - * return _List_Node_Annotation_Reader().init(self.thisptr.getAnnotations()) - * property scopeId: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getScopeId() - * property nestedNodes: - */ - -static PyObject *__pyx_pf_6schema_11_NodeReader_7scopeId___get__(struct __pyx_obj_6schema__NodeReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1175 - * property scopeId: - * def __get__(self): - * return self.thisptr.getScopeId() # <<<<<<<<<<<<<< - * property nestedNodes: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyInt_to_py_uint64_t(__pyx_v_self->thisptr.getScopeId()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1175; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._NodeReader.scopeId.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_11_NodeReader_11nestedNodes_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_11_NodeReader_11nestedNodes_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_11_NodeReader_11nestedNodes___get__(((struct __pyx_obj_6schema__NodeReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1177 - * return self.thisptr.getScopeId() - * property nestedNodes: - * def __get__(self): # <<<<<<<<<<<<<< - * return _List_Node_Node_NestedNode_Reader().init(self.thisptr.getNestedNodes()) - * property id: - */ - -static PyObject *__pyx_pf_6schema_11_NodeReader_11nestedNodes___get__(struct __pyx_obj_6schema__NodeReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1178 - * property nestedNodes: - * def __get__(self): - * return _List_Node_Node_NestedNode_Reader().init(self.thisptr.getNestedNodes()) # <<<<<<<<<<<<<< - * property id: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__List_Node_Node_NestedNode_Reader)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1178; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__List_Node_Node_NestedNode_Reader *)((struct __pyx_obj_6schema__List_Node_Node_NestedNode_Reader *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__List_Node_Node_NestedNode_Reader *)__pyx_t_1), __pyx_v_self->thisptr.getNestedNodes()); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1178; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema._NodeReader.nestedNodes.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_11_NodeReader_2id_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_11_NodeReader_2id_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_11_NodeReader_2id___get__(((struct __pyx_obj_6schema__NodeReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1180 - * return _List_Node_Node_NestedNode_Reader().init(self.thisptr.getNestedNodes()) - * property id: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getId() - * - */ - -static PyObject *__pyx_pf_6schema_11_NodeReader_2id___get__(struct __pyx_obj_6schema__NodeReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1181 - * property id: - * def __get__(self): - * return self.thisptr.getId() # <<<<<<<<<<<<<< - * - * cdef class _NodeBuilder: - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyInt_to_py_uint64_t(__pyx_v_self->thisptr.getId()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1181; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._NodeReader.id.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1185 - * cdef class _NodeBuilder: - * cdef C_Node.Builder thisptr - * cdef init(self, C_Node.Builder other): # <<<<<<<<<<<<<< - * self.thisptr = other - * return self - */ - -static PyObject *__pyx_f_6schema_12_NodeBuilder_init(struct __pyx_obj_6schema__NodeBuilder *__pyx_v_self, ::capnp::schema::Node::Builder __pyx_v_other) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("init", 0); - - /* "schema.pyx":1186 - * cdef C_Node.Builder thisptr - * cdef init(self, C_Node.Builder other): - * self.thisptr = other # <<<<<<<<<<<<<< - * return self - * - */ - __pyx_v_self->thisptr = __pyx_v_other; - - /* "schema.pyx":1187 - * cdef init(self, C_Node.Builder other): - * self.thisptr = other - * return self # <<<<<<<<<<<<<< - * - * property body: - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(((PyObject *)__pyx_v_self)); - __pyx_r = ((PyObject *)__pyx_v_self); - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_12_NodeBuilder_4body_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_12_NodeBuilder_4body_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_12_NodeBuilder_4body___get__(((struct __pyx_obj_6schema__NodeBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1190 - * - * property body: - * def __get__(self): # <<<<<<<<<<<<<< - * return _Node_BodyBuilder().init(self.thisptr.getBody()) - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_12_NodeBuilder_4body___get__(struct __pyx_obj_6schema__NodeBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1191 - * property body: - * def __get__(self): - * return _Node_BodyBuilder().init(self.thisptr.getBody()) # <<<<<<<<<<<<<< - * def __set__(self, val): - * pass - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__Node_BodyBuilder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1191; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__Node_BodyBuilder *)((struct __pyx_obj_6schema__Node_BodyBuilder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__Node_BodyBuilder *)__pyx_t_1), ((::capnp::schema::Node::Body::Builder)__pyx_v_self->thisptr.getBody())); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1191; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema._NodeBuilder.body.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_12_NodeBuilder_4body_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_12_NodeBuilder_4body_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_12_NodeBuilder_4body_2__set__(((struct __pyx_obj_6schema__NodeBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1192 - * def __get__(self): - * return _Node_BodyBuilder().init(self.thisptr.getBody()) - * def __set__(self, val): # <<<<<<<<<<<<<< - * pass - * property displayName: - */ - -static int __pyx_pf_6schema_12_NodeBuilder_4body_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__NodeBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__", 0); - - __pyx_r = 0; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_12_NodeBuilder_11displayName_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_12_NodeBuilder_11displayName_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_12_NodeBuilder_11displayName___get__(((struct __pyx_obj_6schema__NodeBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1195 - * pass - * property displayName: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getDisplayName().cStr() - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_12_NodeBuilder_11displayName___get__(struct __pyx_obj_6schema__NodeBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1196 - * property displayName: - * def __get__(self): - * return self.thisptr.getDisplayName().cStr() # <<<<<<<<<<<<<< - * def __set__(self, val): - * pass - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyBytes_FromString(__pyx_v_self->thisptr.getDisplayName().cStr()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1196; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(((PyObject *)__pyx_t_1)); - __pyx_r = ((PyObject *)__pyx_t_1); - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._NodeBuilder.displayName.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_12_NodeBuilder_11displayName_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_12_NodeBuilder_11displayName_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_12_NodeBuilder_11displayName_2__set__(((struct __pyx_obj_6schema__NodeBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1197 - * def __get__(self): - * return self.thisptr.getDisplayName().cStr() - * def __set__(self, val): # <<<<<<<<<<<<<< - * pass - * property annotations: - */ - -static int __pyx_pf_6schema_12_NodeBuilder_11displayName_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__NodeBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__", 0); - - __pyx_r = 0; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_12_NodeBuilder_11annotations_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_12_NodeBuilder_11annotations_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_12_NodeBuilder_11annotations___get__(((struct __pyx_obj_6schema__NodeBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1200 - * pass - * property annotations: - * def __get__(self): # <<<<<<<<<<<<<< - * return _List_Node_Annotation_Builder().init(self.thisptr.getAnnotations()) - * cpdef initAnnotations(self, uint num): - */ - -static PyObject *__pyx_pf_6schema_12_NodeBuilder_11annotations___get__(struct __pyx_obj_6schema__NodeBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1201 - * property annotations: - * def __get__(self): - * return _List_Node_Annotation_Builder().init(self.thisptr.getAnnotations()) # <<<<<<<<<<<<<< - * cpdef initAnnotations(self, uint num): - * return _List_Node_Annotation_Builder().init(self.thisptr.initAnnotations(num)) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__List_Node_Annotation_Builder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1201; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__List_Node_Annotation_Builder *)((struct __pyx_obj_6schema__List_Node_Annotation_Builder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__List_Node_Annotation_Builder *)__pyx_t_1), __pyx_v_self->thisptr.getAnnotations()); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1201; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema._NodeBuilder.annotations.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1202 - * def __get__(self): - * return _List_Node_Annotation_Builder().init(self.thisptr.getAnnotations()) - * cpdef initAnnotations(self, uint num): # <<<<<<<<<<<<<< - * return _List_Node_Annotation_Builder().init(self.thisptr.initAnnotations(num)) - * property scopeId: - */ - -static PyObject *__pyx_pw_6schema_12_NodeBuilder_1initAnnotations(PyObject *__pyx_v_self, PyObject *__pyx_arg_num); /*proto*/ -static PyObject *__pyx_f_6schema_12_NodeBuilder_initAnnotations(struct __pyx_obj_6schema__NodeBuilder *__pyx_v_self, __pyx_t_6schema_uint __pyx_v_num, int __pyx_skip_dispatch) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - PyObject *__pyx_t_3 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("initAnnotations", 0); - /* Check if called by wrapper */ - if (unlikely(__pyx_skip_dispatch)) ; - /* Check if overridden in Python */ - else if (unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0)) { - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s__initAnnotations); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1202; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (!PyCFunction_Check(__pyx_t_1) || (PyCFunction_GET_FUNCTION(__pyx_t_1) != (PyCFunction)__pyx_pw_6schema_12_NodeBuilder_1initAnnotations)) { - __Pyx_XDECREF(__pyx_r); - __pyx_t_2 = PyLong_FromUnsignedLong(__pyx_v_num); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1202; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1202; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_2); - __Pyx_GIVEREF(__pyx_t_2); - __pyx_t_2 = 0; - __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1202; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - goto __pyx_L0; - } - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - } - - /* "schema.pyx":1203 - * return _List_Node_Annotation_Builder().init(self.thisptr.getAnnotations()) - * cpdef initAnnotations(self, uint num): - * return _List_Node_Annotation_Builder().init(self.thisptr.initAnnotations(num)) # <<<<<<<<<<<<<< - * property scopeId: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__List_Node_Annotation_Builder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1203; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__List_Node_Annotation_Builder *)((struct __pyx_obj_6schema__List_Node_Annotation_Builder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__List_Node_Annotation_Builder *)__pyx_t_1), __pyx_v_self->thisptr.initAnnotations(__pyx_v_num)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1203; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_XDECREF(__pyx_t_3); - __Pyx_AddTraceback("schema._NodeBuilder.initAnnotations", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = 0; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_12_NodeBuilder_1initAnnotations(PyObject *__pyx_v_self, PyObject *__pyx_arg_num); /*proto*/ -static PyObject *__pyx_pw_6schema_12_NodeBuilder_1initAnnotations(PyObject *__pyx_v_self, PyObject *__pyx_arg_num) { - __pyx_t_6schema_uint __pyx_v_num; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("initAnnotations (wrapper)", 0); - assert(__pyx_arg_num); { - __pyx_v_num = __Pyx_PyInt_AsUnsignedInt(__pyx_arg_num); if (unlikely((__pyx_v_num == (unsigned int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1202; __pyx_clineno = __LINE__; goto __pyx_L3_error;} - } - goto __pyx_L4_argument_unpacking_done; - __pyx_L3_error:; - __Pyx_AddTraceback("schema._NodeBuilder.initAnnotations", __pyx_clineno, __pyx_lineno, __pyx_filename); - __Pyx_RefNannyFinishContext(); - return NULL; - __pyx_L4_argument_unpacking_done:; - __pyx_r = __pyx_pf_6schema_12_NodeBuilder_initAnnotations(((struct __pyx_obj_6schema__NodeBuilder *)__pyx_v_self), ((__pyx_t_6schema_uint)__pyx_v_num)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1202 - * def __get__(self): - * return _List_Node_Annotation_Builder().init(self.thisptr.getAnnotations()) - * cpdef initAnnotations(self, uint num): # <<<<<<<<<<<<<< - * return _List_Node_Annotation_Builder().init(self.thisptr.initAnnotations(num)) - * property scopeId: - */ - -static PyObject *__pyx_pf_6schema_12_NodeBuilder_initAnnotations(struct __pyx_obj_6schema__NodeBuilder *__pyx_v_self, __pyx_t_6schema_uint __pyx_v_num) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("initAnnotations", 0); - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = ((struct __pyx_vtabstruct_6schema__NodeBuilder *)__pyx_v_self->__pyx_vtab)->initAnnotations(__pyx_v_self, __pyx_v_num, 1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1202; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._NodeBuilder.initAnnotations", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_12_NodeBuilder_7scopeId_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_12_NodeBuilder_7scopeId_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_12_NodeBuilder_7scopeId___get__(((struct __pyx_obj_6schema__NodeBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1205 - * return _List_Node_Annotation_Builder().init(self.thisptr.initAnnotations(num)) - * property scopeId: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getScopeId() - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_12_NodeBuilder_7scopeId___get__(struct __pyx_obj_6schema__NodeBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1206 - * property scopeId: - * def __get__(self): - * return self.thisptr.getScopeId() # <<<<<<<<<<<<<< - * def __set__(self, val): - * self.thisptr.setScopeId(val) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyInt_to_py_uint64_t(__pyx_v_self->thisptr.getScopeId()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1206; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._NodeBuilder.scopeId.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_12_NodeBuilder_7scopeId_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_12_NodeBuilder_7scopeId_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_12_NodeBuilder_7scopeId_2__set__(((struct __pyx_obj_6schema__NodeBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1207 - * def __get__(self): - * return self.thisptr.getScopeId() - * def __set__(self, val): # <<<<<<<<<<<<<< - * self.thisptr.setScopeId(val) - * property nestedNodes: - */ - -static int __pyx_pf_6schema_12_NodeBuilder_7scopeId_2__set__(struct __pyx_obj_6schema__NodeBuilder *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __pyx_t_10schema_cpp_UInt64 __pyx_t_1; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__set__", 0); - - /* "schema.pyx":1208 - * return self.thisptr.getScopeId() - * def __set__(self, val): - * self.thisptr.setScopeId(val) # <<<<<<<<<<<<<< - * property nestedNodes: - * def __get__(self): - */ - __pyx_t_1 = __Pyx_PyInt_from_py_uint64_t(__pyx_v_val); if (unlikely((__pyx_t_1 == (uint64_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1208; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_v_self->thisptr.setScopeId(__pyx_t_1); - - __pyx_r = 0; - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_AddTraceback("schema._NodeBuilder.scopeId.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = -1; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_12_NodeBuilder_11nestedNodes_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_12_NodeBuilder_11nestedNodes_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_12_NodeBuilder_11nestedNodes___get__(((struct __pyx_obj_6schema__NodeBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1210 - * self.thisptr.setScopeId(val) - * property nestedNodes: - * def __get__(self): # <<<<<<<<<<<<<< - * return _List_Node_Node_NestedNode_Builder().init(self.thisptr.getNestedNodes()) - * cpdef initNestedNodes(self, uint num): - */ - -static PyObject *__pyx_pf_6schema_12_NodeBuilder_11nestedNodes___get__(struct __pyx_obj_6schema__NodeBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1211 - * property nestedNodes: - * def __get__(self): - * return _List_Node_Node_NestedNode_Builder().init(self.thisptr.getNestedNodes()) # <<<<<<<<<<<<<< - * cpdef initNestedNodes(self, uint num): - * return _List_Node_Node_NestedNode_Builder().init(self.thisptr.initNestedNodes(num)) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__List_Node_Node_NestedNode_Builder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1211; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__List_Node_Node_NestedNode_Builder *)((struct __pyx_obj_6schema__List_Node_Node_NestedNode_Builder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__List_Node_Node_NestedNode_Builder *)__pyx_t_1), __pyx_v_self->thisptr.getNestedNodes()); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1211; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema._NodeBuilder.nestedNodes.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1212 - * def __get__(self): - * return _List_Node_Node_NestedNode_Builder().init(self.thisptr.getNestedNodes()) - * cpdef initNestedNodes(self, uint num): # <<<<<<<<<<<<<< - * return _List_Node_Node_NestedNode_Builder().init(self.thisptr.initNestedNodes(num)) - * property id: - */ - -static PyObject *__pyx_pw_6schema_12_NodeBuilder_3initNestedNodes(PyObject *__pyx_v_self, PyObject *__pyx_arg_num); /*proto*/ -static PyObject *__pyx_f_6schema_12_NodeBuilder_initNestedNodes(struct __pyx_obj_6schema__NodeBuilder *__pyx_v_self, __pyx_t_6schema_uint __pyx_v_num, int __pyx_skip_dispatch) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - PyObject *__pyx_t_3 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("initNestedNodes", 0); - /* Check if called by wrapper */ - if (unlikely(__pyx_skip_dispatch)) ; - /* Check if overridden in Python */ - else if (unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0)) { - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s__initNestedNodes); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1212; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (!PyCFunction_Check(__pyx_t_1) || (PyCFunction_GET_FUNCTION(__pyx_t_1) != (PyCFunction)__pyx_pw_6schema_12_NodeBuilder_3initNestedNodes)) { - __Pyx_XDECREF(__pyx_r); - __pyx_t_2 = PyLong_FromUnsignedLong(__pyx_v_num); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1212; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1212; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_2); - __Pyx_GIVEREF(__pyx_t_2); - __pyx_t_2 = 0; - __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1212; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - goto __pyx_L0; - } - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - } - - /* "schema.pyx":1213 - * return _List_Node_Node_NestedNode_Builder().init(self.thisptr.getNestedNodes()) - * cpdef initNestedNodes(self, uint num): - * return _List_Node_Node_NestedNode_Builder().init(self.thisptr.initNestedNodes(num)) # <<<<<<<<<<<<<< - * property id: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__List_Node_Node_NestedNode_Builder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1213; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__List_Node_Node_NestedNode_Builder *)((struct __pyx_obj_6schema__List_Node_Node_NestedNode_Builder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__List_Node_Node_NestedNode_Builder *)__pyx_t_1), __pyx_v_self->thisptr.initNestedNodes(__pyx_v_num)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1213; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_XDECREF(__pyx_t_3); - __Pyx_AddTraceback("schema._NodeBuilder.initNestedNodes", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = 0; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_12_NodeBuilder_3initNestedNodes(PyObject *__pyx_v_self, PyObject *__pyx_arg_num); /*proto*/ -static PyObject *__pyx_pw_6schema_12_NodeBuilder_3initNestedNodes(PyObject *__pyx_v_self, PyObject *__pyx_arg_num) { - __pyx_t_6schema_uint __pyx_v_num; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("initNestedNodes (wrapper)", 0); - assert(__pyx_arg_num); { - __pyx_v_num = __Pyx_PyInt_AsUnsignedInt(__pyx_arg_num); if (unlikely((__pyx_v_num == (unsigned int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1212; __pyx_clineno = __LINE__; goto __pyx_L3_error;} - } - goto __pyx_L4_argument_unpacking_done; - __pyx_L3_error:; - __Pyx_AddTraceback("schema._NodeBuilder.initNestedNodes", __pyx_clineno, __pyx_lineno, __pyx_filename); - __Pyx_RefNannyFinishContext(); - return NULL; - __pyx_L4_argument_unpacking_done:; - __pyx_r = __pyx_pf_6schema_12_NodeBuilder_2initNestedNodes(((struct __pyx_obj_6schema__NodeBuilder *)__pyx_v_self), ((__pyx_t_6schema_uint)__pyx_v_num)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1212 - * def __get__(self): - * return _List_Node_Node_NestedNode_Builder().init(self.thisptr.getNestedNodes()) - * cpdef initNestedNodes(self, uint num): # <<<<<<<<<<<<<< - * return _List_Node_Node_NestedNode_Builder().init(self.thisptr.initNestedNodes(num)) - * property id: - */ - -static PyObject *__pyx_pf_6schema_12_NodeBuilder_2initNestedNodes(struct __pyx_obj_6schema__NodeBuilder *__pyx_v_self, __pyx_t_6schema_uint __pyx_v_num) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("initNestedNodes", 0); - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = ((struct __pyx_vtabstruct_6schema__NodeBuilder *)__pyx_v_self->__pyx_vtab)->initNestedNodes(__pyx_v_self, __pyx_v_num, 1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1212; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._NodeBuilder.initNestedNodes", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_12_NodeBuilder_2id_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_12_NodeBuilder_2id_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_12_NodeBuilder_2id___get__(((struct __pyx_obj_6schema__NodeBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1215 - * return _List_Node_Node_NestedNode_Builder().init(self.thisptr.initNestedNodes(num)) - * property id: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getId() - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_12_NodeBuilder_2id___get__(struct __pyx_obj_6schema__NodeBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1216 - * property id: - * def __get__(self): - * return self.thisptr.getId() # <<<<<<<<<<<<<< - * def __set__(self, val): - * self.thisptr.setId(val) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyInt_to_py_uint64_t(__pyx_v_self->thisptr.getId()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1216; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._NodeBuilder.id.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_12_NodeBuilder_2id_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_12_NodeBuilder_2id_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_12_NodeBuilder_2id_2__set__(((struct __pyx_obj_6schema__NodeBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1217 - * def __get__(self): - * return self.thisptr.getId() - * def __set__(self, val): # <<<<<<<<<<<<<< - * self.thisptr.setId(val) - * - */ - -static int __pyx_pf_6schema_12_NodeBuilder_2id_2__set__(struct __pyx_obj_6schema__NodeBuilder *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __pyx_t_10schema_cpp_UInt64 __pyx_t_1; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__set__", 0); - - /* "schema.pyx":1218 - * return self.thisptr.getId() - * def __set__(self, val): - * self.thisptr.setId(val) # <<<<<<<<<<<<<< - * - * cdef class _AnnotationNodeReader: - */ - __pyx_t_1 = __Pyx_PyInt_from_py_uint64_t(__pyx_v_val); if (unlikely((__pyx_t_1 == (uint64_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1218; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_v_self->thisptr.setId(__pyx_t_1); - - __pyx_r = 0; - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_AddTraceback("schema._NodeBuilder.id.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = -1; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1222 - * cdef class _AnnotationNodeReader: - * cdef C_AnnotationNode.Reader thisptr - * cdef init(self, C_AnnotationNode.Reader other): # <<<<<<<<<<<<<< - * self.thisptr = other - * return self - */ - -static PyObject *__pyx_f_6schema_21_AnnotationNodeReader_init(struct __pyx_obj_6schema__AnnotationNodeReader *__pyx_v_self, ::capnp::schema::AnnotationNode::Reader __pyx_v_other) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("init", 0); - - /* "schema.pyx":1223 - * cdef C_AnnotationNode.Reader thisptr - * cdef init(self, C_AnnotationNode.Reader other): - * self.thisptr = other # <<<<<<<<<<<<<< - * return self - * - */ - __pyx_v_self->thisptr = __pyx_v_other; - - /* "schema.pyx":1224 - * cdef init(self, C_AnnotationNode.Reader other): - * self.thisptr = other - * return self # <<<<<<<<<<<<<< - * - * property targetsField: - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(((PyObject *)__pyx_v_self)); - __pyx_r = ((PyObject *)__pyx_v_self); - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_21_AnnotationNodeReader_12targetsField_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_21_AnnotationNodeReader_12targetsField_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_21_AnnotationNodeReader_12targetsField___get__(((struct __pyx_obj_6schema__AnnotationNodeReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1227 - * - * property targetsField: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getTargetsField() - * property targetsConst: - */ - -static PyObject *__pyx_pf_6schema_21_AnnotationNodeReader_12targetsField___get__(struct __pyx_obj_6schema__AnnotationNodeReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1228 - * property targetsField: - * def __get__(self): - * return self.thisptr.getTargetsField() # <<<<<<<<<<<<<< - * property targetsConst: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_v_self->thisptr.getTargetsField()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1228; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._AnnotationNodeReader.targetsField.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_21_AnnotationNodeReader_12targetsConst_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_21_AnnotationNodeReader_12targetsConst_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_21_AnnotationNodeReader_12targetsConst___get__(((struct __pyx_obj_6schema__AnnotationNodeReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1230 - * return self.thisptr.getTargetsField() - * property targetsConst: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getTargetsConst() - * property targetsFile: - */ - -static PyObject *__pyx_pf_6schema_21_AnnotationNodeReader_12targetsConst___get__(struct __pyx_obj_6schema__AnnotationNodeReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1231 - * property targetsConst: - * def __get__(self): - * return self.thisptr.getTargetsConst() # <<<<<<<<<<<<<< - * property targetsFile: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_v_self->thisptr.getTargetsConst()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1231; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._AnnotationNodeReader.targetsConst.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_21_AnnotationNodeReader_11targetsFile_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_21_AnnotationNodeReader_11targetsFile_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_21_AnnotationNodeReader_11targetsFile___get__(((struct __pyx_obj_6schema__AnnotationNodeReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1233 - * return self.thisptr.getTargetsConst() - * property targetsFile: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getTargetsFile() - * property targetsStruct: - */ - -static PyObject *__pyx_pf_6schema_21_AnnotationNodeReader_11targetsFile___get__(struct __pyx_obj_6schema__AnnotationNodeReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1234 - * property targetsFile: - * def __get__(self): - * return self.thisptr.getTargetsFile() # <<<<<<<<<<<<<< - * property targetsStruct: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_v_self->thisptr.getTargetsFile()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1234; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._AnnotationNodeReader.targetsFile.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_21_AnnotationNodeReader_13targetsStruct_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_21_AnnotationNodeReader_13targetsStruct_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_21_AnnotationNodeReader_13targetsStruct___get__(((struct __pyx_obj_6schema__AnnotationNodeReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1236 - * return self.thisptr.getTargetsFile() - * property targetsStruct: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getTargetsStruct() - * property targetsParam: - */ - -static PyObject *__pyx_pf_6schema_21_AnnotationNodeReader_13targetsStruct___get__(struct __pyx_obj_6schema__AnnotationNodeReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1237 - * property targetsStruct: - * def __get__(self): - * return self.thisptr.getTargetsStruct() # <<<<<<<<<<<<<< - * property targetsParam: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_v_self->thisptr.getTargetsStruct()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1237; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._AnnotationNodeReader.targetsStruct.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_21_AnnotationNodeReader_12targetsParam_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_21_AnnotationNodeReader_12targetsParam_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_21_AnnotationNodeReader_12targetsParam___get__(((struct __pyx_obj_6schema__AnnotationNodeReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1239 - * return self.thisptr.getTargetsStruct() - * property targetsParam: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getTargetsParam() - * property targetsUnion: - */ - -static PyObject *__pyx_pf_6schema_21_AnnotationNodeReader_12targetsParam___get__(struct __pyx_obj_6schema__AnnotationNodeReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1240 - * property targetsParam: - * def __get__(self): - * return self.thisptr.getTargetsParam() # <<<<<<<<<<<<<< - * property targetsUnion: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_v_self->thisptr.getTargetsParam()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1240; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._AnnotationNodeReader.targetsParam.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_21_AnnotationNodeReader_12targetsUnion_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_21_AnnotationNodeReader_12targetsUnion_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_21_AnnotationNodeReader_12targetsUnion___get__(((struct __pyx_obj_6schema__AnnotationNodeReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1242 - * return self.thisptr.getTargetsParam() - * property targetsUnion: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getTargetsUnion() - * property targetsAnnotation: - */ - -static PyObject *__pyx_pf_6schema_21_AnnotationNodeReader_12targetsUnion___get__(struct __pyx_obj_6schema__AnnotationNodeReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1243 - * property targetsUnion: - * def __get__(self): - * return self.thisptr.getTargetsUnion() # <<<<<<<<<<<<<< - * property targetsAnnotation: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_v_self->thisptr.getTargetsUnion()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1243; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._AnnotationNodeReader.targetsUnion.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_21_AnnotationNodeReader_17targetsAnnotation_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_21_AnnotationNodeReader_17targetsAnnotation_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_21_AnnotationNodeReader_17targetsAnnotation___get__(((struct __pyx_obj_6schema__AnnotationNodeReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1245 - * return self.thisptr.getTargetsUnion() - * property targetsAnnotation: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getTargetsAnnotation() - * property targetsEnumerant: - */ - -static PyObject *__pyx_pf_6schema_21_AnnotationNodeReader_17targetsAnnotation___get__(struct __pyx_obj_6schema__AnnotationNodeReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1246 - * property targetsAnnotation: - * def __get__(self): - * return self.thisptr.getTargetsAnnotation() # <<<<<<<<<<<<<< - * property targetsEnumerant: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_v_self->thisptr.getTargetsAnnotation()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1246; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._AnnotationNodeReader.targetsAnnotation.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_21_AnnotationNodeReader_16targetsEnumerant_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_21_AnnotationNodeReader_16targetsEnumerant_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_21_AnnotationNodeReader_16targetsEnumerant___get__(((struct __pyx_obj_6schema__AnnotationNodeReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1248 - * return self.thisptr.getTargetsAnnotation() - * property targetsEnumerant: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getTargetsEnumerant() - * property type: - */ - -static PyObject *__pyx_pf_6schema_21_AnnotationNodeReader_16targetsEnumerant___get__(struct __pyx_obj_6schema__AnnotationNodeReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1249 - * property targetsEnumerant: - * def __get__(self): - * return self.thisptr.getTargetsEnumerant() # <<<<<<<<<<<<<< - * property type: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_v_self->thisptr.getTargetsEnumerant()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1249; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._AnnotationNodeReader.targetsEnumerant.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_21_AnnotationNodeReader_4type_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_21_AnnotationNodeReader_4type_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_21_AnnotationNodeReader_4type___get__(((struct __pyx_obj_6schema__AnnotationNodeReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1251 - * return self.thisptr.getTargetsEnumerant() - * property type: - * def __get__(self): # <<<<<<<<<<<<<< - * return _TypeReader().init(self.thisptr.getType()) - * property targetsEnum: - */ - -static PyObject *__pyx_pf_6schema_21_AnnotationNodeReader_4type___get__(struct __pyx_obj_6schema__AnnotationNodeReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1252 - * property type: - * def __get__(self): - * return _TypeReader().init(self.thisptr.getType()) # <<<<<<<<<<<<<< - * property targetsEnum: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__TypeReader)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1252; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__TypeReader *)((struct __pyx_obj_6schema__TypeReader *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__TypeReader *)__pyx_t_1), ((::capnp::schema::Type::Reader)__pyx_v_self->thisptr.getType())); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1252; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema._AnnotationNodeReader.type.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_21_AnnotationNodeReader_11targetsEnum_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_21_AnnotationNodeReader_11targetsEnum_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_21_AnnotationNodeReader_11targetsEnum___get__(((struct __pyx_obj_6schema__AnnotationNodeReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1254 - * return _TypeReader().init(self.thisptr.getType()) - * property targetsEnum: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getTargetsEnum() - * property targetsInterface: - */ - -static PyObject *__pyx_pf_6schema_21_AnnotationNodeReader_11targetsEnum___get__(struct __pyx_obj_6schema__AnnotationNodeReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1255 - * property targetsEnum: - * def __get__(self): - * return self.thisptr.getTargetsEnum() # <<<<<<<<<<<<<< - * property targetsInterface: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_v_self->thisptr.getTargetsEnum()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1255; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._AnnotationNodeReader.targetsEnum.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_21_AnnotationNodeReader_16targetsInterface_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_21_AnnotationNodeReader_16targetsInterface_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_21_AnnotationNodeReader_16targetsInterface___get__(((struct __pyx_obj_6schema__AnnotationNodeReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1257 - * return self.thisptr.getTargetsEnum() - * property targetsInterface: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getTargetsInterface() - * property targetsMethod: - */ - -static PyObject *__pyx_pf_6schema_21_AnnotationNodeReader_16targetsInterface___get__(struct __pyx_obj_6schema__AnnotationNodeReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1258 - * property targetsInterface: - * def __get__(self): - * return self.thisptr.getTargetsInterface() # <<<<<<<<<<<<<< - * property targetsMethod: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_v_self->thisptr.getTargetsInterface()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1258; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._AnnotationNodeReader.targetsInterface.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_21_AnnotationNodeReader_13targetsMethod_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_21_AnnotationNodeReader_13targetsMethod_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_21_AnnotationNodeReader_13targetsMethod___get__(((struct __pyx_obj_6schema__AnnotationNodeReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1260 - * return self.thisptr.getTargetsInterface() - * property targetsMethod: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getTargetsMethod() - * - */ - -static PyObject *__pyx_pf_6schema_21_AnnotationNodeReader_13targetsMethod___get__(struct __pyx_obj_6schema__AnnotationNodeReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1261 - * property targetsMethod: - * def __get__(self): - * return self.thisptr.getTargetsMethod() # <<<<<<<<<<<<<< - * - * cdef class _AnnotationNodeBuilder: - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_v_self->thisptr.getTargetsMethod()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1261; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._AnnotationNodeReader.targetsMethod.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1265 - * cdef class _AnnotationNodeBuilder: - * cdef C_AnnotationNode.Builder thisptr - * cdef init(self, C_AnnotationNode.Builder other): # <<<<<<<<<<<<<< - * self.thisptr = other - * return self - */ - -static PyObject *__pyx_f_6schema_22_AnnotationNodeBuilder_init(struct __pyx_obj_6schema__AnnotationNodeBuilder *__pyx_v_self, ::capnp::schema::AnnotationNode::Builder __pyx_v_other) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("init", 0); - - /* "schema.pyx":1266 - * cdef C_AnnotationNode.Builder thisptr - * cdef init(self, C_AnnotationNode.Builder other): - * self.thisptr = other # <<<<<<<<<<<<<< - * return self - * - */ - __pyx_v_self->thisptr = __pyx_v_other; - - /* "schema.pyx":1267 - * cdef init(self, C_AnnotationNode.Builder other): - * self.thisptr = other - * return self # <<<<<<<<<<<<<< - * - * property targetsField: - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(((PyObject *)__pyx_v_self)); - __pyx_r = ((PyObject *)__pyx_v_self); - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_22_AnnotationNodeBuilder_12targetsField_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_22_AnnotationNodeBuilder_12targetsField_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_22_AnnotationNodeBuilder_12targetsField___get__(((struct __pyx_obj_6schema__AnnotationNodeBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1270 - * - * property targetsField: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getTargetsField() - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_22_AnnotationNodeBuilder_12targetsField___get__(struct __pyx_obj_6schema__AnnotationNodeBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1271 - * property targetsField: - * def __get__(self): - * return self.thisptr.getTargetsField() # <<<<<<<<<<<<<< - * def __set__(self, val): - * self.thisptr.setTargetsField(val) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_v_self->thisptr.getTargetsField()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1271; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._AnnotationNodeBuilder.targetsField.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_22_AnnotationNodeBuilder_12targetsField_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_22_AnnotationNodeBuilder_12targetsField_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_22_AnnotationNodeBuilder_12targetsField_2__set__(((struct __pyx_obj_6schema__AnnotationNodeBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1272 - * def __get__(self): - * return self.thisptr.getTargetsField() - * def __set__(self, val): # <<<<<<<<<<<<<< - * self.thisptr.setTargetsField(val) - * property targetsConst: - */ - -static int __pyx_pf_6schema_22_AnnotationNodeBuilder_12targetsField_2__set__(struct __pyx_obj_6schema__AnnotationNodeBuilder *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __pyx_t_10schema_cpp_Bool __pyx_t_1; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__set__", 0); - - /* "schema.pyx":1273 - * return self.thisptr.getTargetsField() - * def __set__(self, val): - * self.thisptr.setTargetsField(val) # <<<<<<<<<<<<<< - * property targetsConst: - * def __get__(self): - */ - __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_val); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1273; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_v_self->thisptr.setTargetsField(__pyx_t_1); - - __pyx_r = 0; - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_AddTraceback("schema._AnnotationNodeBuilder.targetsField.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = -1; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_22_AnnotationNodeBuilder_12targetsConst_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_22_AnnotationNodeBuilder_12targetsConst_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_22_AnnotationNodeBuilder_12targetsConst___get__(((struct __pyx_obj_6schema__AnnotationNodeBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1275 - * self.thisptr.setTargetsField(val) - * property targetsConst: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getTargetsConst() - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_22_AnnotationNodeBuilder_12targetsConst___get__(struct __pyx_obj_6schema__AnnotationNodeBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1276 - * property targetsConst: - * def __get__(self): - * return self.thisptr.getTargetsConst() # <<<<<<<<<<<<<< - * def __set__(self, val): - * self.thisptr.setTargetsConst(val) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_v_self->thisptr.getTargetsConst()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1276; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._AnnotationNodeBuilder.targetsConst.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_22_AnnotationNodeBuilder_12targetsConst_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_22_AnnotationNodeBuilder_12targetsConst_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_22_AnnotationNodeBuilder_12targetsConst_2__set__(((struct __pyx_obj_6schema__AnnotationNodeBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1277 - * def __get__(self): - * return self.thisptr.getTargetsConst() - * def __set__(self, val): # <<<<<<<<<<<<<< - * self.thisptr.setTargetsConst(val) - * property targetsFile: - */ - -static int __pyx_pf_6schema_22_AnnotationNodeBuilder_12targetsConst_2__set__(struct __pyx_obj_6schema__AnnotationNodeBuilder *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __pyx_t_10schema_cpp_Bool __pyx_t_1; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__set__", 0); - - /* "schema.pyx":1278 - * return self.thisptr.getTargetsConst() - * def __set__(self, val): - * self.thisptr.setTargetsConst(val) # <<<<<<<<<<<<<< - * property targetsFile: - * def __get__(self): - */ - __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_val); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1278; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_v_self->thisptr.setTargetsConst(__pyx_t_1); - - __pyx_r = 0; - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_AddTraceback("schema._AnnotationNodeBuilder.targetsConst.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = -1; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_22_AnnotationNodeBuilder_11targetsFile_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_22_AnnotationNodeBuilder_11targetsFile_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_22_AnnotationNodeBuilder_11targetsFile___get__(((struct __pyx_obj_6schema__AnnotationNodeBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1280 - * self.thisptr.setTargetsConst(val) - * property targetsFile: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getTargetsFile() - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_22_AnnotationNodeBuilder_11targetsFile___get__(struct __pyx_obj_6schema__AnnotationNodeBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1281 - * property targetsFile: - * def __get__(self): - * return self.thisptr.getTargetsFile() # <<<<<<<<<<<<<< - * def __set__(self, val): - * self.thisptr.setTargetsFile(val) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_v_self->thisptr.getTargetsFile()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1281; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._AnnotationNodeBuilder.targetsFile.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_22_AnnotationNodeBuilder_11targetsFile_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_22_AnnotationNodeBuilder_11targetsFile_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_22_AnnotationNodeBuilder_11targetsFile_2__set__(((struct __pyx_obj_6schema__AnnotationNodeBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1282 - * def __get__(self): - * return self.thisptr.getTargetsFile() - * def __set__(self, val): # <<<<<<<<<<<<<< - * self.thisptr.setTargetsFile(val) - * property targetsStruct: - */ - -static int __pyx_pf_6schema_22_AnnotationNodeBuilder_11targetsFile_2__set__(struct __pyx_obj_6schema__AnnotationNodeBuilder *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __pyx_t_10schema_cpp_Bool __pyx_t_1; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__set__", 0); - - /* "schema.pyx":1283 - * return self.thisptr.getTargetsFile() - * def __set__(self, val): - * self.thisptr.setTargetsFile(val) # <<<<<<<<<<<<<< - * property targetsStruct: - * def __get__(self): - */ - __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_val); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1283; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_v_self->thisptr.setTargetsFile(__pyx_t_1); - - __pyx_r = 0; - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_AddTraceback("schema._AnnotationNodeBuilder.targetsFile.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = -1; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_22_AnnotationNodeBuilder_13targetsStruct_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_22_AnnotationNodeBuilder_13targetsStruct_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_22_AnnotationNodeBuilder_13targetsStruct___get__(((struct __pyx_obj_6schema__AnnotationNodeBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1285 - * self.thisptr.setTargetsFile(val) - * property targetsStruct: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getTargetsStruct() - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_22_AnnotationNodeBuilder_13targetsStruct___get__(struct __pyx_obj_6schema__AnnotationNodeBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1286 - * property targetsStruct: - * def __get__(self): - * return self.thisptr.getTargetsStruct() # <<<<<<<<<<<<<< - * def __set__(self, val): - * self.thisptr.setTargetsStruct(val) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_v_self->thisptr.getTargetsStruct()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1286; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._AnnotationNodeBuilder.targetsStruct.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_22_AnnotationNodeBuilder_13targetsStruct_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_22_AnnotationNodeBuilder_13targetsStruct_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_22_AnnotationNodeBuilder_13targetsStruct_2__set__(((struct __pyx_obj_6schema__AnnotationNodeBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1287 - * def __get__(self): - * return self.thisptr.getTargetsStruct() - * def __set__(self, val): # <<<<<<<<<<<<<< - * self.thisptr.setTargetsStruct(val) - * property targetsParam: - */ - -static int __pyx_pf_6schema_22_AnnotationNodeBuilder_13targetsStruct_2__set__(struct __pyx_obj_6schema__AnnotationNodeBuilder *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __pyx_t_10schema_cpp_Bool __pyx_t_1; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__set__", 0); - - /* "schema.pyx":1288 - * return self.thisptr.getTargetsStruct() - * def __set__(self, val): - * self.thisptr.setTargetsStruct(val) # <<<<<<<<<<<<<< - * property targetsParam: - * def __get__(self): - */ - __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_val); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1288; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_v_self->thisptr.setTargetsStruct(__pyx_t_1); - - __pyx_r = 0; - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_AddTraceback("schema._AnnotationNodeBuilder.targetsStruct.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = -1; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_22_AnnotationNodeBuilder_12targetsParam_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_22_AnnotationNodeBuilder_12targetsParam_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_22_AnnotationNodeBuilder_12targetsParam___get__(((struct __pyx_obj_6schema__AnnotationNodeBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1290 - * self.thisptr.setTargetsStruct(val) - * property targetsParam: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getTargetsParam() - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_22_AnnotationNodeBuilder_12targetsParam___get__(struct __pyx_obj_6schema__AnnotationNodeBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1291 - * property targetsParam: - * def __get__(self): - * return self.thisptr.getTargetsParam() # <<<<<<<<<<<<<< - * def __set__(self, val): - * self.thisptr.setTargetsParam(val) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_v_self->thisptr.getTargetsParam()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1291; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._AnnotationNodeBuilder.targetsParam.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_22_AnnotationNodeBuilder_12targetsParam_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_22_AnnotationNodeBuilder_12targetsParam_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_22_AnnotationNodeBuilder_12targetsParam_2__set__(((struct __pyx_obj_6schema__AnnotationNodeBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1292 - * def __get__(self): - * return self.thisptr.getTargetsParam() - * def __set__(self, val): # <<<<<<<<<<<<<< - * self.thisptr.setTargetsParam(val) - * property targetsUnion: - */ - -static int __pyx_pf_6schema_22_AnnotationNodeBuilder_12targetsParam_2__set__(struct __pyx_obj_6schema__AnnotationNodeBuilder *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __pyx_t_10schema_cpp_Bool __pyx_t_1; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__set__", 0); - - /* "schema.pyx":1293 - * return self.thisptr.getTargetsParam() - * def __set__(self, val): - * self.thisptr.setTargetsParam(val) # <<<<<<<<<<<<<< - * property targetsUnion: - * def __get__(self): - */ - __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_val); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1293; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_v_self->thisptr.setTargetsParam(__pyx_t_1); - - __pyx_r = 0; - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_AddTraceback("schema._AnnotationNodeBuilder.targetsParam.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = -1; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_22_AnnotationNodeBuilder_12targetsUnion_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_22_AnnotationNodeBuilder_12targetsUnion_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_22_AnnotationNodeBuilder_12targetsUnion___get__(((struct __pyx_obj_6schema__AnnotationNodeBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1295 - * self.thisptr.setTargetsParam(val) - * property targetsUnion: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getTargetsUnion() - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_22_AnnotationNodeBuilder_12targetsUnion___get__(struct __pyx_obj_6schema__AnnotationNodeBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1296 - * property targetsUnion: - * def __get__(self): - * return self.thisptr.getTargetsUnion() # <<<<<<<<<<<<<< - * def __set__(self, val): - * self.thisptr.setTargetsUnion(val) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_v_self->thisptr.getTargetsUnion()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1296; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._AnnotationNodeBuilder.targetsUnion.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_22_AnnotationNodeBuilder_12targetsUnion_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_22_AnnotationNodeBuilder_12targetsUnion_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_22_AnnotationNodeBuilder_12targetsUnion_2__set__(((struct __pyx_obj_6schema__AnnotationNodeBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1297 - * def __get__(self): - * return self.thisptr.getTargetsUnion() - * def __set__(self, val): # <<<<<<<<<<<<<< - * self.thisptr.setTargetsUnion(val) - * property targetsAnnotation: - */ - -static int __pyx_pf_6schema_22_AnnotationNodeBuilder_12targetsUnion_2__set__(struct __pyx_obj_6schema__AnnotationNodeBuilder *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __pyx_t_10schema_cpp_Bool __pyx_t_1; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__set__", 0); - - /* "schema.pyx":1298 - * return self.thisptr.getTargetsUnion() - * def __set__(self, val): - * self.thisptr.setTargetsUnion(val) # <<<<<<<<<<<<<< - * property targetsAnnotation: - * def __get__(self): - */ - __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_val); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1298; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_v_self->thisptr.setTargetsUnion(__pyx_t_1); - - __pyx_r = 0; - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_AddTraceback("schema._AnnotationNodeBuilder.targetsUnion.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = -1; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_22_AnnotationNodeBuilder_17targetsAnnotation_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_22_AnnotationNodeBuilder_17targetsAnnotation_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_22_AnnotationNodeBuilder_17targetsAnnotation___get__(((struct __pyx_obj_6schema__AnnotationNodeBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1300 - * self.thisptr.setTargetsUnion(val) - * property targetsAnnotation: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getTargetsAnnotation() - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_22_AnnotationNodeBuilder_17targetsAnnotation___get__(struct __pyx_obj_6schema__AnnotationNodeBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1301 - * property targetsAnnotation: - * def __get__(self): - * return self.thisptr.getTargetsAnnotation() # <<<<<<<<<<<<<< - * def __set__(self, val): - * self.thisptr.setTargetsAnnotation(val) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_v_self->thisptr.getTargetsAnnotation()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1301; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._AnnotationNodeBuilder.targetsAnnotation.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_22_AnnotationNodeBuilder_17targetsAnnotation_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_22_AnnotationNodeBuilder_17targetsAnnotation_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_22_AnnotationNodeBuilder_17targetsAnnotation_2__set__(((struct __pyx_obj_6schema__AnnotationNodeBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1302 - * def __get__(self): - * return self.thisptr.getTargetsAnnotation() - * def __set__(self, val): # <<<<<<<<<<<<<< - * self.thisptr.setTargetsAnnotation(val) - * property targetsEnumerant: - */ - -static int __pyx_pf_6schema_22_AnnotationNodeBuilder_17targetsAnnotation_2__set__(struct __pyx_obj_6schema__AnnotationNodeBuilder *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __pyx_t_10schema_cpp_Bool __pyx_t_1; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__set__", 0); - - /* "schema.pyx":1303 - * return self.thisptr.getTargetsAnnotation() - * def __set__(self, val): - * self.thisptr.setTargetsAnnotation(val) # <<<<<<<<<<<<<< - * property targetsEnumerant: - * def __get__(self): - */ - __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_val); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1303; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_v_self->thisptr.setTargetsAnnotation(__pyx_t_1); - - __pyx_r = 0; - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_AddTraceback("schema._AnnotationNodeBuilder.targetsAnnotation.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = -1; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_22_AnnotationNodeBuilder_16targetsEnumerant_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_22_AnnotationNodeBuilder_16targetsEnumerant_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_22_AnnotationNodeBuilder_16targetsEnumerant___get__(((struct __pyx_obj_6schema__AnnotationNodeBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1305 - * self.thisptr.setTargetsAnnotation(val) - * property targetsEnumerant: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getTargetsEnumerant() - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_22_AnnotationNodeBuilder_16targetsEnumerant___get__(struct __pyx_obj_6schema__AnnotationNodeBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1306 - * property targetsEnumerant: - * def __get__(self): - * return self.thisptr.getTargetsEnumerant() # <<<<<<<<<<<<<< - * def __set__(self, val): - * self.thisptr.setTargetsEnumerant(val) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_v_self->thisptr.getTargetsEnumerant()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1306; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._AnnotationNodeBuilder.targetsEnumerant.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_22_AnnotationNodeBuilder_16targetsEnumerant_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_22_AnnotationNodeBuilder_16targetsEnumerant_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_22_AnnotationNodeBuilder_16targetsEnumerant_2__set__(((struct __pyx_obj_6schema__AnnotationNodeBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1307 - * def __get__(self): - * return self.thisptr.getTargetsEnumerant() - * def __set__(self, val): # <<<<<<<<<<<<<< - * self.thisptr.setTargetsEnumerant(val) - * property type: - */ - -static int __pyx_pf_6schema_22_AnnotationNodeBuilder_16targetsEnumerant_2__set__(struct __pyx_obj_6schema__AnnotationNodeBuilder *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __pyx_t_10schema_cpp_Bool __pyx_t_1; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__set__", 0); - - /* "schema.pyx":1308 - * return self.thisptr.getTargetsEnumerant() - * def __set__(self, val): - * self.thisptr.setTargetsEnumerant(val) # <<<<<<<<<<<<<< - * property type: - * def __get__(self): - */ - __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_val); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1308; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_v_self->thisptr.setTargetsEnumerant(__pyx_t_1); - - __pyx_r = 0; - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_AddTraceback("schema._AnnotationNodeBuilder.targetsEnumerant.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = -1; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_22_AnnotationNodeBuilder_4type_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_22_AnnotationNodeBuilder_4type_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_22_AnnotationNodeBuilder_4type___get__(((struct __pyx_obj_6schema__AnnotationNodeBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1310 - * self.thisptr.setTargetsEnumerant(val) - * property type: - * def __get__(self): # <<<<<<<<<<<<<< - * return _TypeBuilder().init(self.thisptr.getType()) - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_22_AnnotationNodeBuilder_4type___get__(struct __pyx_obj_6schema__AnnotationNodeBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1311 - * property type: - * def __get__(self): - * return _TypeBuilder().init(self.thisptr.getType()) # <<<<<<<<<<<<<< - * def __set__(self, val): - * pass - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__TypeBuilder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1311; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__TypeBuilder *)((struct __pyx_obj_6schema__TypeBuilder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__TypeBuilder *)__pyx_t_1), ((::capnp::schema::Type::Builder)__pyx_v_self->thisptr.getType())); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1311; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema._AnnotationNodeBuilder.type.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_22_AnnotationNodeBuilder_4type_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_22_AnnotationNodeBuilder_4type_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_22_AnnotationNodeBuilder_4type_2__set__(((struct __pyx_obj_6schema__AnnotationNodeBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1312 - * def __get__(self): - * return _TypeBuilder().init(self.thisptr.getType()) - * def __set__(self, val): # <<<<<<<<<<<<<< - * pass - * property targetsEnum: - */ - -static int __pyx_pf_6schema_22_AnnotationNodeBuilder_4type_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__AnnotationNodeBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__", 0); - - __pyx_r = 0; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_22_AnnotationNodeBuilder_11targetsEnum_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_22_AnnotationNodeBuilder_11targetsEnum_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_22_AnnotationNodeBuilder_11targetsEnum___get__(((struct __pyx_obj_6schema__AnnotationNodeBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1315 - * pass - * property targetsEnum: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getTargetsEnum() - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_22_AnnotationNodeBuilder_11targetsEnum___get__(struct __pyx_obj_6schema__AnnotationNodeBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1316 - * property targetsEnum: - * def __get__(self): - * return self.thisptr.getTargetsEnum() # <<<<<<<<<<<<<< - * def __set__(self, val): - * self.thisptr.setTargetsEnum(val) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_v_self->thisptr.getTargetsEnum()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1316; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._AnnotationNodeBuilder.targetsEnum.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_22_AnnotationNodeBuilder_11targetsEnum_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_22_AnnotationNodeBuilder_11targetsEnum_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_22_AnnotationNodeBuilder_11targetsEnum_2__set__(((struct __pyx_obj_6schema__AnnotationNodeBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1317 - * def __get__(self): - * return self.thisptr.getTargetsEnum() - * def __set__(self, val): # <<<<<<<<<<<<<< - * self.thisptr.setTargetsEnum(val) - * property targetsInterface: - */ - -static int __pyx_pf_6schema_22_AnnotationNodeBuilder_11targetsEnum_2__set__(struct __pyx_obj_6schema__AnnotationNodeBuilder *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __pyx_t_10schema_cpp_Bool __pyx_t_1; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__set__", 0); - - /* "schema.pyx":1318 - * return self.thisptr.getTargetsEnum() - * def __set__(self, val): - * self.thisptr.setTargetsEnum(val) # <<<<<<<<<<<<<< - * property targetsInterface: - * def __get__(self): - */ - __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_val); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1318; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_v_self->thisptr.setTargetsEnum(__pyx_t_1); - - __pyx_r = 0; - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_AddTraceback("schema._AnnotationNodeBuilder.targetsEnum.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = -1; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_22_AnnotationNodeBuilder_16targetsInterface_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_22_AnnotationNodeBuilder_16targetsInterface_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_22_AnnotationNodeBuilder_16targetsInterface___get__(((struct __pyx_obj_6schema__AnnotationNodeBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1320 - * self.thisptr.setTargetsEnum(val) - * property targetsInterface: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getTargetsInterface() - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_22_AnnotationNodeBuilder_16targetsInterface___get__(struct __pyx_obj_6schema__AnnotationNodeBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1321 - * property targetsInterface: - * def __get__(self): - * return self.thisptr.getTargetsInterface() # <<<<<<<<<<<<<< - * def __set__(self, val): - * self.thisptr.setTargetsInterface(val) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_v_self->thisptr.getTargetsInterface()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1321; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._AnnotationNodeBuilder.targetsInterface.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_22_AnnotationNodeBuilder_16targetsInterface_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_22_AnnotationNodeBuilder_16targetsInterface_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_22_AnnotationNodeBuilder_16targetsInterface_2__set__(((struct __pyx_obj_6schema__AnnotationNodeBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1322 - * def __get__(self): - * return self.thisptr.getTargetsInterface() - * def __set__(self, val): # <<<<<<<<<<<<<< - * self.thisptr.setTargetsInterface(val) - * property targetsMethod: - */ - -static int __pyx_pf_6schema_22_AnnotationNodeBuilder_16targetsInterface_2__set__(struct __pyx_obj_6schema__AnnotationNodeBuilder *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __pyx_t_10schema_cpp_Bool __pyx_t_1; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__set__", 0); - - /* "schema.pyx":1323 - * return self.thisptr.getTargetsInterface() - * def __set__(self, val): - * self.thisptr.setTargetsInterface(val) # <<<<<<<<<<<<<< - * property targetsMethod: - * def __get__(self): - */ - __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_val); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1323; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_v_self->thisptr.setTargetsInterface(__pyx_t_1); - - __pyx_r = 0; - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_AddTraceback("schema._AnnotationNodeBuilder.targetsInterface.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = -1; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_22_AnnotationNodeBuilder_13targetsMethod_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_22_AnnotationNodeBuilder_13targetsMethod_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_22_AnnotationNodeBuilder_13targetsMethod___get__(((struct __pyx_obj_6schema__AnnotationNodeBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1325 - * self.thisptr.setTargetsInterface(val) - * property targetsMethod: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getTargetsMethod() - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_22_AnnotationNodeBuilder_13targetsMethod___get__(struct __pyx_obj_6schema__AnnotationNodeBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1326 - * property targetsMethod: - * def __get__(self): - * return self.thisptr.getTargetsMethod() # <<<<<<<<<<<<<< - * def __set__(self, val): - * self.thisptr.setTargetsMethod(val) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_v_self->thisptr.getTargetsMethod()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1326; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._AnnotationNodeBuilder.targetsMethod.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_22_AnnotationNodeBuilder_13targetsMethod_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_22_AnnotationNodeBuilder_13targetsMethod_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_22_AnnotationNodeBuilder_13targetsMethod_2__set__(((struct __pyx_obj_6schema__AnnotationNodeBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1327 - * def __get__(self): - * return self.thisptr.getTargetsMethod() - * def __set__(self, val): # <<<<<<<<<<<<<< - * self.thisptr.setTargetsMethod(val) - * - */ - -static int __pyx_pf_6schema_22_AnnotationNodeBuilder_13targetsMethod_2__set__(struct __pyx_obj_6schema__AnnotationNodeBuilder *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __pyx_t_10schema_cpp_Bool __pyx_t_1; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__set__", 0); - - /* "schema.pyx":1328 - * return self.thisptr.getTargetsMethod() - * def __set__(self, val): - * self.thisptr.setTargetsMethod(val) # <<<<<<<<<<<<<< - * - * - */ - __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_val); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1328; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_v_self->thisptr.setTargetsMethod(__pyx_t_1); - - __pyx_r = 0; - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_AddTraceback("schema._AnnotationNodeBuilder.targetsMethod.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = -1; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1333 - * cdef class _EnumNode_EnumerantReader: - * cdef C_EnumNode.Enumerant.Reader thisptr - * cdef init(self, C_EnumNode.Enumerant.Reader other): # <<<<<<<<<<<<<< - * self.thisptr = other - * return self - */ - -static PyObject *__pyx_f_6schema_25_EnumNode_EnumerantReader_init(struct __pyx_obj_6schema__EnumNode_EnumerantReader *__pyx_v_self, ::capnp::schema::EnumNode::Enumerant::Reader __pyx_v_other) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("init", 0); - - /* "schema.pyx":1334 - * cdef C_EnumNode.Enumerant.Reader thisptr - * cdef init(self, C_EnumNode.Enumerant.Reader other): - * self.thisptr = other # <<<<<<<<<<<<<< - * return self - * - */ - __pyx_v_self->thisptr = __pyx_v_other; - - /* "schema.pyx":1335 - * cdef init(self, C_EnumNode.Enumerant.Reader other): - * self.thisptr = other - * return self # <<<<<<<<<<<<<< - * - * property codeOrder: - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(((PyObject *)__pyx_v_self)); - __pyx_r = ((PyObject *)__pyx_v_self); - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_25_EnumNode_EnumerantReader_9codeOrder_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_25_EnumNode_EnumerantReader_9codeOrder_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_25_EnumNode_EnumerantReader_9codeOrder___get__(((struct __pyx_obj_6schema__EnumNode_EnumerantReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1338 - * - * property codeOrder: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getCodeOrder() - * property name: - */ - -static PyObject *__pyx_pf_6schema_25_EnumNode_EnumerantReader_9codeOrder___get__(struct __pyx_obj_6schema__EnumNode_EnumerantReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1339 - * property codeOrder: - * def __get__(self): - * return self.thisptr.getCodeOrder() # <<<<<<<<<<<<<< - * property name: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyInt_to_py_uint16_t(__pyx_v_self->thisptr.getCodeOrder()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1339; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._EnumNode_EnumerantReader.codeOrder.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_25_EnumNode_EnumerantReader_4name_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_25_EnumNode_EnumerantReader_4name_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_25_EnumNode_EnumerantReader_4name___get__(((struct __pyx_obj_6schema__EnumNode_EnumerantReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1341 - * return self.thisptr.getCodeOrder() - * property name: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getName().cStr() - * property annotations: - */ - -static PyObject *__pyx_pf_6schema_25_EnumNode_EnumerantReader_4name___get__(struct __pyx_obj_6schema__EnumNode_EnumerantReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1342 - * property name: - * def __get__(self): - * return self.thisptr.getName().cStr() # <<<<<<<<<<<<<< - * property annotations: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyBytes_FromString(__pyx_v_self->thisptr.getName().cStr()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1342; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(((PyObject *)__pyx_t_1)); - __pyx_r = ((PyObject *)__pyx_t_1); - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._EnumNode_EnumerantReader.name.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_25_EnumNode_EnumerantReader_11annotations_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_25_EnumNode_EnumerantReader_11annotations_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_25_EnumNode_EnumerantReader_11annotations___get__(((struct __pyx_obj_6schema__EnumNode_EnumerantReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1344 - * return self.thisptr.getName().cStr() - * property annotations: - * def __get__(self): # <<<<<<<<<<<<<< - * return _List_EnumNode_Enumerant_Annotation_Reader().init(self.thisptr.getAnnotations()) - * - */ - -static PyObject *__pyx_pf_6schema_25_EnumNode_EnumerantReader_11annotations___get__(struct __pyx_obj_6schema__EnumNode_EnumerantReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1345 - * property annotations: - * def __get__(self): - * return _List_EnumNode_Enumerant_Annotation_Reader().init(self.thisptr.getAnnotations()) # <<<<<<<<<<<<<< - * - * cdef class _EnumNode_EnumerantBuilder: - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__List_EnumNode_Enumerant_Annotation_Reader)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1345; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__List_EnumNode_Enumerant_Annotation_Reader *)((struct __pyx_obj_6schema__List_EnumNode_Enumerant_Annotation_Reader *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__List_EnumNode_Enumerant_Annotation_Reader *)__pyx_t_1), __pyx_v_self->thisptr.getAnnotations()); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1345; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema._EnumNode_EnumerantReader.annotations.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1349 - * cdef class _EnumNode_EnumerantBuilder: - * cdef C_EnumNode.Enumerant.Builder thisptr - * cdef init(self, C_EnumNode.Enumerant.Builder other): # <<<<<<<<<<<<<< - * self.thisptr = other - * return self - */ - -static PyObject *__pyx_f_6schema_26_EnumNode_EnumerantBuilder_init(struct __pyx_obj_6schema__EnumNode_EnumerantBuilder *__pyx_v_self, ::capnp::schema::EnumNode::Enumerant::Builder __pyx_v_other) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("init", 0); - - /* "schema.pyx":1350 - * cdef C_EnumNode.Enumerant.Builder thisptr - * cdef init(self, C_EnumNode.Enumerant.Builder other): - * self.thisptr = other # <<<<<<<<<<<<<< - * return self - * - */ - __pyx_v_self->thisptr = __pyx_v_other; - - /* "schema.pyx":1351 - * cdef init(self, C_EnumNode.Enumerant.Builder other): - * self.thisptr = other - * return self # <<<<<<<<<<<<<< - * - * property codeOrder: - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(((PyObject *)__pyx_v_self)); - __pyx_r = ((PyObject *)__pyx_v_self); - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_26_EnumNode_EnumerantBuilder_9codeOrder_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_26_EnumNode_EnumerantBuilder_9codeOrder_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_26_EnumNode_EnumerantBuilder_9codeOrder___get__(((struct __pyx_obj_6schema__EnumNode_EnumerantBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1354 - * - * property codeOrder: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getCodeOrder() - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_26_EnumNode_EnumerantBuilder_9codeOrder___get__(struct __pyx_obj_6schema__EnumNode_EnumerantBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1355 - * property codeOrder: - * def __get__(self): - * return self.thisptr.getCodeOrder() # <<<<<<<<<<<<<< - * def __set__(self, val): - * self.thisptr.setCodeOrder(val) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyInt_to_py_uint16_t(__pyx_v_self->thisptr.getCodeOrder()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1355; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._EnumNode_EnumerantBuilder.codeOrder.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_26_EnumNode_EnumerantBuilder_9codeOrder_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_26_EnumNode_EnumerantBuilder_9codeOrder_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_26_EnumNode_EnumerantBuilder_9codeOrder_2__set__(((struct __pyx_obj_6schema__EnumNode_EnumerantBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1356 - * def __get__(self): - * return self.thisptr.getCodeOrder() - * def __set__(self, val): # <<<<<<<<<<<<<< - * self.thisptr.setCodeOrder(val) - * property name: - */ - -static int __pyx_pf_6schema_26_EnumNode_EnumerantBuilder_9codeOrder_2__set__(struct __pyx_obj_6schema__EnumNode_EnumerantBuilder *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __pyx_t_10schema_cpp_UInt16 __pyx_t_1; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__set__", 0); - - /* "schema.pyx":1357 - * return self.thisptr.getCodeOrder() - * def __set__(self, val): - * self.thisptr.setCodeOrder(val) # <<<<<<<<<<<<<< - * property name: - * def __get__(self): - */ - __pyx_t_1 = __Pyx_PyInt_from_py_uint16_t(__pyx_v_val); if (unlikely((__pyx_t_1 == (uint16_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1357; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_v_self->thisptr.setCodeOrder(__pyx_t_1); - - __pyx_r = 0; - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_AddTraceback("schema._EnumNode_EnumerantBuilder.codeOrder.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = -1; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_26_EnumNode_EnumerantBuilder_4name_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_26_EnumNode_EnumerantBuilder_4name_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_26_EnumNode_EnumerantBuilder_4name___get__(((struct __pyx_obj_6schema__EnumNode_EnumerantBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1359 - * self.thisptr.setCodeOrder(val) - * property name: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getName().cStr() - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_26_EnumNode_EnumerantBuilder_4name___get__(struct __pyx_obj_6schema__EnumNode_EnumerantBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1360 - * property name: - * def __get__(self): - * return self.thisptr.getName().cStr() # <<<<<<<<<<<<<< - * def __set__(self, val): - * pass - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyBytes_FromString(__pyx_v_self->thisptr.getName().cStr()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1360; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(((PyObject *)__pyx_t_1)); - __pyx_r = ((PyObject *)__pyx_t_1); - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._EnumNode_EnumerantBuilder.name.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_26_EnumNode_EnumerantBuilder_4name_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_26_EnumNode_EnumerantBuilder_4name_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_26_EnumNode_EnumerantBuilder_4name_2__set__(((struct __pyx_obj_6schema__EnumNode_EnumerantBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1361 - * def __get__(self): - * return self.thisptr.getName().cStr() - * def __set__(self, val): # <<<<<<<<<<<<<< - * pass - * property annotations: - */ - -static int __pyx_pf_6schema_26_EnumNode_EnumerantBuilder_4name_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__EnumNode_EnumerantBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__", 0); - - __pyx_r = 0; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_26_EnumNode_EnumerantBuilder_11annotations_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_26_EnumNode_EnumerantBuilder_11annotations_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_26_EnumNode_EnumerantBuilder_11annotations___get__(((struct __pyx_obj_6schema__EnumNode_EnumerantBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1364 - * pass - * property annotations: - * def __get__(self): # <<<<<<<<<<<<<< - * return _List_EnumNode_Enumerant_Annotation_Builder().init(self.thisptr.getAnnotations()) - * cpdef initAnnotations(self, uint num): - */ - -static PyObject *__pyx_pf_6schema_26_EnumNode_EnumerantBuilder_11annotations___get__(struct __pyx_obj_6schema__EnumNode_EnumerantBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1365 - * property annotations: - * def __get__(self): - * return _List_EnumNode_Enumerant_Annotation_Builder().init(self.thisptr.getAnnotations()) # <<<<<<<<<<<<<< - * cpdef initAnnotations(self, uint num): - * return _List_EnumNode_Enumerant_Annotation_Builder().init(self.thisptr.initAnnotations(num)) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__List_EnumNode_Enumerant_Annotation_Builder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1365; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__List_EnumNode_Enumerant_Annotation_Builder *)((struct __pyx_obj_6schema__List_EnumNode_Enumerant_Annotation_Builder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__List_EnumNode_Enumerant_Annotation_Builder *)__pyx_t_1), __pyx_v_self->thisptr.getAnnotations()); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1365; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema._EnumNode_EnumerantBuilder.annotations.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1366 - * def __get__(self): - * return _List_EnumNode_Enumerant_Annotation_Builder().init(self.thisptr.getAnnotations()) - * cpdef initAnnotations(self, uint num): # <<<<<<<<<<<<<< - * return _List_EnumNode_Enumerant_Annotation_Builder().init(self.thisptr.initAnnotations(num)) - * cdef class _EnumNodeReader: - */ - -static PyObject *__pyx_pw_6schema_26_EnumNode_EnumerantBuilder_1initAnnotations(PyObject *__pyx_v_self, PyObject *__pyx_arg_num); /*proto*/ -static PyObject *__pyx_f_6schema_26_EnumNode_EnumerantBuilder_initAnnotations(struct __pyx_obj_6schema__EnumNode_EnumerantBuilder *__pyx_v_self, __pyx_t_6schema_uint __pyx_v_num, int __pyx_skip_dispatch) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - PyObject *__pyx_t_3 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("initAnnotations", 0); - /* Check if called by wrapper */ - if (unlikely(__pyx_skip_dispatch)) ; - /* Check if overridden in Python */ - else if (unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0)) { - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s__initAnnotations); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1366; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (!PyCFunction_Check(__pyx_t_1) || (PyCFunction_GET_FUNCTION(__pyx_t_1) != (PyCFunction)__pyx_pw_6schema_26_EnumNode_EnumerantBuilder_1initAnnotations)) { - __Pyx_XDECREF(__pyx_r); - __pyx_t_2 = PyLong_FromUnsignedLong(__pyx_v_num); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1366; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1366; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_2); - __Pyx_GIVEREF(__pyx_t_2); - __pyx_t_2 = 0; - __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1366; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - goto __pyx_L0; - } - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - } - - /* "schema.pyx":1367 - * return _List_EnumNode_Enumerant_Annotation_Builder().init(self.thisptr.getAnnotations()) - * cpdef initAnnotations(self, uint num): - * return _List_EnumNode_Enumerant_Annotation_Builder().init(self.thisptr.initAnnotations(num)) # <<<<<<<<<<<<<< - * cdef class _EnumNodeReader: - * cdef C_EnumNode.Reader thisptr - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__List_EnumNode_Enumerant_Annotation_Builder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1367; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__List_EnumNode_Enumerant_Annotation_Builder *)((struct __pyx_obj_6schema__List_EnumNode_Enumerant_Annotation_Builder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__List_EnumNode_Enumerant_Annotation_Builder *)__pyx_t_1), __pyx_v_self->thisptr.initAnnotations(__pyx_v_num)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1367; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_XDECREF(__pyx_t_3); - __Pyx_AddTraceback("schema._EnumNode_EnumerantBuilder.initAnnotations", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = 0; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_26_EnumNode_EnumerantBuilder_1initAnnotations(PyObject *__pyx_v_self, PyObject *__pyx_arg_num); /*proto*/ -static PyObject *__pyx_pw_6schema_26_EnumNode_EnumerantBuilder_1initAnnotations(PyObject *__pyx_v_self, PyObject *__pyx_arg_num) { - __pyx_t_6schema_uint __pyx_v_num; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("initAnnotations (wrapper)", 0); - assert(__pyx_arg_num); { - __pyx_v_num = __Pyx_PyInt_AsUnsignedInt(__pyx_arg_num); if (unlikely((__pyx_v_num == (unsigned int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1366; __pyx_clineno = __LINE__; goto __pyx_L3_error;} - } - goto __pyx_L4_argument_unpacking_done; - __pyx_L3_error:; - __Pyx_AddTraceback("schema._EnumNode_EnumerantBuilder.initAnnotations", __pyx_clineno, __pyx_lineno, __pyx_filename); - __Pyx_RefNannyFinishContext(); - return NULL; - __pyx_L4_argument_unpacking_done:; - __pyx_r = __pyx_pf_6schema_26_EnumNode_EnumerantBuilder_initAnnotations(((struct __pyx_obj_6schema__EnumNode_EnumerantBuilder *)__pyx_v_self), ((__pyx_t_6schema_uint)__pyx_v_num)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1366 - * def __get__(self): - * return _List_EnumNode_Enumerant_Annotation_Builder().init(self.thisptr.getAnnotations()) - * cpdef initAnnotations(self, uint num): # <<<<<<<<<<<<<< - * return _List_EnumNode_Enumerant_Annotation_Builder().init(self.thisptr.initAnnotations(num)) - * cdef class _EnumNodeReader: - */ - -static PyObject *__pyx_pf_6schema_26_EnumNode_EnumerantBuilder_initAnnotations(struct __pyx_obj_6schema__EnumNode_EnumerantBuilder *__pyx_v_self, __pyx_t_6schema_uint __pyx_v_num) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("initAnnotations", 0); - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = ((struct __pyx_vtabstruct_6schema__EnumNode_EnumerantBuilder *)__pyx_v_self->__pyx_vtab)->initAnnotations(__pyx_v_self, __pyx_v_num, 1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1366; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._EnumNode_EnumerantBuilder.initAnnotations", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1370 - * cdef class _EnumNodeReader: - * cdef C_EnumNode.Reader thisptr - * cdef init(self, C_EnumNode.Reader other): # <<<<<<<<<<<<<< - * self.thisptr = other - * return self - */ - -static PyObject *__pyx_f_6schema_15_EnumNodeReader_init(struct __pyx_obj_6schema__EnumNodeReader *__pyx_v_self, ::capnp::schema::EnumNode::Reader __pyx_v_other) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("init", 0); - - /* "schema.pyx":1371 - * cdef C_EnumNode.Reader thisptr - * cdef init(self, C_EnumNode.Reader other): - * self.thisptr = other # <<<<<<<<<<<<<< - * return self - * - */ - __pyx_v_self->thisptr = __pyx_v_other; - - /* "schema.pyx":1372 - * cdef init(self, C_EnumNode.Reader other): - * self.thisptr = other - * return self # <<<<<<<<<<<<<< - * - * property enumerants: - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(((PyObject *)__pyx_v_self)); - __pyx_r = ((PyObject *)__pyx_v_self); - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_15_EnumNodeReader_10enumerants_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_15_EnumNodeReader_10enumerants_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_15_EnumNodeReader_10enumerants___get__(((struct __pyx_obj_6schema__EnumNodeReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1375 - * - * property enumerants: - * def __get__(self): # <<<<<<<<<<<<<< - * return _List_EnumNode_EnumNode_Enumerant_Reader().init(self.thisptr.getEnumerants()) - * - */ - -static PyObject *__pyx_pf_6schema_15_EnumNodeReader_10enumerants___get__(struct __pyx_obj_6schema__EnumNodeReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1376 - * property enumerants: - * def __get__(self): - * return _List_EnumNode_EnumNode_Enumerant_Reader().init(self.thisptr.getEnumerants()) # <<<<<<<<<<<<<< - * - * cdef class _EnumNodeBuilder: - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__List_EnumNode_EnumNode_Enumerant_Reader)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1376; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__List_EnumNode_EnumNode_Enumerant_Reader *)((struct __pyx_obj_6schema__List_EnumNode_EnumNode_Enumerant_Reader *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__List_EnumNode_EnumNode_Enumerant_Reader *)__pyx_t_1), __pyx_v_self->thisptr.getEnumerants()); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1376; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema._EnumNodeReader.enumerants.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1380 - * cdef class _EnumNodeBuilder: - * cdef C_EnumNode.Builder thisptr - * cdef init(self, C_EnumNode.Builder other): # <<<<<<<<<<<<<< - * self.thisptr = other - * return self - */ - -static PyObject *__pyx_f_6schema_16_EnumNodeBuilder_init(struct __pyx_obj_6schema__EnumNodeBuilder *__pyx_v_self, ::capnp::schema::EnumNode::Builder __pyx_v_other) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("init", 0); - - /* "schema.pyx":1381 - * cdef C_EnumNode.Builder thisptr - * cdef init(self, C_EnumNode.Builder other): - * self.thisptr = other # <<<<<<<<<<<<<< - * return self - * - */ - __pyx_v_self->thisptr = __pyx_v_other; - - /* "schema.pyx":1382 - * cdef init(self, C_EnumNode.Builder other): - * self.thisptr = other - * return self # <<<<<<<<<<<<<< - * - * property enumerants: - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(((PyObject *)__pyx_v_self)); - __pyx_r = ((PyObject *)__pyx_v_self); - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_16_EnumNodeBuilder_10enumerants_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_16_EnumNodeBuilder_10enumerants_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_16_EnumNodeBuilder_10enumerants___get__(((struct __pyx_obj_6schema__EnumNodeBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1385 - * - * property enumerants: - * def __get__(self): # <<<<<<<<<<<<<< - * return _List_EnumNode_EnumNode_Enumerant_Builder().init(self.thisptr.getEnumerants()) - * cpdef initEnumerants(self, uint num): - */ - -static PyObject *__pyx_pf_6schema_16_EnumNodeBuilder_10enumerants___get__(struct __pyx_obj_6schema__EnumNodeBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1386 - * property enumerants: - * def __get__(self): - * return _List_EnumNode_EnumNode_Enumerant_Builder().init(self.thisptr.getEnumerants()) # <<<<<<<<<<<<<< - * cpdef initEnumerants(self, uint num): - * return _List_EnumNode_EnumNode_Enumerant_Builder().init(self.thisptr.initEnumerants(num)) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__List_EnumNode_EnumNode_Enumerant_Builder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1386; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__List_EnumNode_EnumNode_Enumerant_Builder *)((struct __pyx_obj_6schema__List_EnumNode_EnumNode_Enumerant_Builder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__List_EnumNode_EnumNode_Enumerant_Builder *)__pyx_t_1), __pyx_v_self->thisptr.getEnumerants()); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1386; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema._EnumNodeBuilder.enumerants.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1387 - * def __get__(self): - * return _List_EnumNode_EnumNode_Enumerant_Builder().init(self.thisptr.getEnumerants()) - * cpdef initEnumerants(self, uint num): # <<<<<<<<<<<<<< - * return _List_EnumNode_EnumNode_Enumerant_Builder().init(self.thisptr.initEnumerants(num)) - * - */ - -static PyObject *__pyx_pw_6schema_16_EnumNodeBuilder_1initEnumerants(PyObject *__pyx_v_self, PyObject *__pyx_arg_num); /*proto*/ -static PyObject *__pyx_f_6schema_16_EnumNodeBuilder_initEnumerants(struct __pyx_obj_6schema__EnumNodeBuilder *__pyx_v_self, __pyx_t_6schema_uint __pyx_v_num, int __pyx_skip_dispatch) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - PyObject *__pyx_t_3 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("initEnumerants", 0); - /* Check if called by wrapper */ - if (unlikely(__pyx_skip_dispatch)) ; - /* Check if overridden in Python */ - else if (unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0)) { - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s__initEnumerants); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1387; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (!PyCFunction_Check(__pyx_t_1) || (PyCFunction_GET_FUNCTION(__pyx_t_1) != (PyCFunction)__pyx_pw_6schema_16_EnumNodeBuilder_1initEnumerants)) { - __Pyx_XDECREF(__pyx_r); - __pyx_t_2 = PyLong_FromUnsignedLong(__pyx_v_num); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1387; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1387; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_2); - __Pyx_GIVEREF(__pyx_t_2); - __pyx_t_2 = 0; - __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1387; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - goto __pyx_L0; - } - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - } - - /* "schema.pyx":1388 - * return _List_EnumNode_EnumNode_Enumerant_Builder().init(self.thisptr.getEnumerants()) - * cpdef initEnumerants(self, uint num): - * return _List_EnumNode_EnumNode_Enumerant_Builder().init(self.thisptr.initEnumerants(num)) # <<<<<<<<<<<<<< - * - * - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__List_EnumNode_EnumNode_Enumerant_Builder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1388; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__List_EnumNode_EnumNode_Enumerant_Builder *)((struct __pyx_obj_6schema__List_EnumNode_EnumNode_Enumerant_Builder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__List_EnumNode_EnumNode_Enumerant_Builder *)__pyx_t_1), __pyx_v_self->thisptr.initEnumerants(__pyx_v_num)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1388; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_XDECREF(__pyx_t_3); - __Pyx_AddTraceback("schema._EnumNodeBuilder.initEnumerants", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = 0; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_16_EnumNodeBuilder_1initEnumerants(PyObject *__pyx_v_self, PyObject *__pyx_arg_num); /*proto*/ -static PyObject *__pyx_pw_6schema_16_EnumNodeBuilder_1initEnumerants(PyObject *__pyx_v_self, PyObject *__pyx_arg_num) { - __pyx_t_6schema_uint __pyx_v_num; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("initEnumerants (wrapper)", 0); - assert(__pyx_arg_num); { - __pyx_v_num = __Pyx_PyInt_AsUnsignedInt(__pyx_arg_num); if (unlikely((__pyx_v_num == (unsigned int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1387; __pyx_clineno = __LINE__; goto __pyx_L3_error;} - } - goto __pyx_L4_argument_unpacking_done; - __pyx_L3_error:; - __Pyx_AddTraceback("schema._EnumNodeBuilder.initEnumerants", __pyx_clineno, __pyx_lineno, __pyx_filename); - __Pyx_RefNannyFinishContext(); - return NULL; - __pyx_L4_argument_unpacking_done:; - __pyx_r = __pyx_pf_6schema_16_EnumNodeBuilder_initEnumerants(((struct __pyx_obj_6schema__EnumNodeBuilder *)__pyx_v_self), ((__pyx_t_6schema_uint)__pyx_v_num)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1387 - * def __get__(self): - * return _List_EnumNode_EnumNode_Enumerant_Builder().init(self.thisptr.getEnumerants()) - * cpdef initEnumerants(self, uint num): # <<<<<<<<<<<<<< - * return _List_EnumNode_EnumNode_Enumerant_Builder().init(self.thisptr.initEnumerants(num)) - * - */ - -static PyObject *__pyx_pf_6schema_16_EnumNodeBuilder_initEnumerants(struct __pyx_obj_6schema__EnumNodeBuilder *__pyx_v_self, __pyx_t_6schema_uint __pyx_v_num) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("initEnumerants", 0); - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = ((struct __pyx_vtabstruct_6schema__EnumNodeBuilder *)__pyx_v_self->__pyx_vtab)->initEnumerants(__pyx_v_self, __pyx_v_num, 1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1387; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._EnumNodeBuilder.initEnumerants", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1393 - * cdef class _StructNode_UnionReader: - * cdef C_StructNode.Union.Reader thisptr - * cdef init(self, C_StructNode.Union.Reader other): # <<<<<<<<<<<<<< - * self.thisptr = other - * return self - */ - -static PyObject *__pyx_f_6schema_23_StructNode_UnionReader_init(struct __pyx_obj_6schema__StructNode_UnionReader *__pyx_v_self, ::capnp::schema::StructNode::Union::Reader __pyx_v_other) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("init", 0); - - /* "schema.pyx":1394 - * cdef C_StructNode.Union.Reader thisptr - * cdef init(self, C_StructNode.Union.Reader other): - * self.thisptr = other # <<<<<<<<<<<<<< - * return self - * - */ - __pyx_v_self->thisptr = __pyx_v_other; - - /* "schema.pyx":1395 - * cdef init(self, C_StructNode.Union.Reader other): - * self.thisptr = other - * return self # <<<<<<<<<<<<<< - * - * property discriminantOffset: - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(((PyObject *)__pyx_v_self)); - __pyx_r = ((PyObject *)__pyx_v_self); - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_23_StructNode_UnionReader_18discriminantOffset_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_23_StructNode_UnionReader_18discriminantOffset_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_23_StructNode_UnionReader_18discriminantOffset___get__(((struct __pyx_obj_6schema__StructNode_UnionReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1398 - * - * property discriminantOffset: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getDiscriminantOffset() - * property members: - */ - -static PyObject *__pyx_pf_6schema_23_StructNode_UnionReader_18discriminantOffset___get__(struct __pyx_obj_6schema__StructNode_UnionReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1399 - * property discriminantOffset: - * def __get__(self): - * return self.thisptr.getDiscriminantOffset() # <<<<<<<<<<<<<< - * property members: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyInt_to_py_uint32_t(__pyx_v_self->thisptr.getDiscriminantOffset()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1399; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._StructNode_UnionReader.discriminantOffset.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_23_StructNode_UnionReader_7members_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_23_StructNode_UnionReader_7members_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_23_StructNode_UnionReader_7members___get__(((struct __pyx_obj_6schema__StructNode_UnionReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1401 - * return self.thisptr.getDiscriminantOffset() - * property members: - * def __get__(self): # <<<<<<<<<<<<<< - * return _List_StructNode_Union_StructNode_Member_Reader().init(self.thisptr.getMembers()) - * - */ - -static PyObject *__pyx_pf_6schema_23_StructNode_UnionReader_7members___get__(struct __pyx_obj_6schema__StructNode_UnionReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1402 - * property members: - * def __get__(self): - * return _List_StructNode_Union_StructNode_Member_Reader().init(self.thisptr.getMembers()) # <<<<<<<<<<<<<< - * - * cdef class _StructNode_UnionBuilder: - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__List_StructNode_Union_StructNode_Member_Reader)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1402; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__List_StructNode_Union_StructNode_Member_Reader *)((struct __pyx_obj_6schema__List_StructNode_Union_StructNode_Member_Reader *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__List_StructNode_Union_StructNode_Member_Reader *)__pyx_t_1), __pyx_v_self->thisptr.getMembers()); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1402; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema._StructNode_UnionReader.members.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1406 - * cdef class _StructNode_UnionBuilder: - * cdef C_StructNode.Union.Builder thisptr - * cdef init(self, C_StructNode.Union.Builder other): # <<<<<<<<<<<<<< - * self.thisptr = other - * return self - */ - -static PyObject *__pyx_f_6schema_24_StructNode_UnionBuilder_init(struct __pyx_obj_6schema__StructNode_UnionBuilder *__pyx_v_self, ::capnp::schema::StructNode::Union::Builder __pyx_v_other) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("init", 0); - - /* "schema.pyx":1407 - * cdef C_StructNode.Union.Builder thisptr - * cdef init(self, C_StructNode.Union.Builder other): - * self.thisptr = other # <<<<<<<<<<<<<< - * return self - * - */ - __pyx_v_self->thisptr = __pyx_v_other; - - /* "schema.pyx":1408 - * cdef init(self, C_StructNode.Union.Builder other): - * self.thisptr = other - * return self # <<<<<<<<<<<<<< - * - * property discriminantOffset: - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(((PyObject *)__pyx_v_self)); - __pyx_r = ((PyObject *)__pyx_v_self); - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_24_StructNode_UnionBuilder_18discriminantOffset_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_24_StructNode_UnionBuilder_18discriminantOffset_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_24_StructNode_UnionBuilder_18discriminantOffset___get__(((struct __pyx_obj_6schema__StructNode_UnionBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1411 - * - * property discriminantOffset: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getDiscriminantOffset() - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_24_StructNode_UnionBuilder_18discriminantOffset___get__(struct __pyx_obj_6schema__StructNode_UnionBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1412 - * property discriminantOffset: - * def __get__(self): - * return self.thisptr.getDiscriminantOffset() # <<<<<<<<<<<<<< - * def __set__(self, val): - * self.thisptr.setDiscriminantOffset(val) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyInt_to_py_uint32_t(__pyx_v_self->thisptr.getDiscriminantOffset()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1412; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._StructNode_UnionBuilder.discriminantOffset.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_24_StructNode_UnionBuilder_18discriminantOffset_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_24_StructNode_UnionBuilder_18discriminantOffset_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_24_StructNode_UnionBuilder_18discriminantOffset_2__set__(((struct __pyx_obj_6schema__StructNode_UnionBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1413 - * def __get__(self): - * return self.thisptr.getDiscriminantOffset() - * def __set__(self, val): # <<<<<<<<<<<<<< - * self.thisptr.setDiscriminantOffset(val) - * property members: - */ - -static int __pyx_pf_6schema_24_StructNode_UnionBuilder_18discriminantOffset_2__set__(struct __pyx_obj_6schema__StructNode_UnionBuilder *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __pyx_t_10schema_cpp_UInt32 __pyx_t_1; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__set__", 0); - - /* "schema.pyx":1414 - * return self.thisptr.getDiscriminantOffset() - * def __set__(self, val): - * self.thisptr.setDiscriminantOffset(val) # <<<<<<<<<<<<<< - * property members: - * def __get__(self): - */ - __pyx_t_1 = __Pyx_PyInt_from_py_uint32_t(__pyx_v_val); if (unlikely((__pyx_t_1 == (uint32_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1414; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_v_self->thisptr.setDiscriminantOffset(__pyx_t_1); - - __pyx_r = 0; - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_AddTraceback("schema._StructNode_UnionBuilder.discriminantOffset.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = -1; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_24_StructNode_UnionBuilder_7members_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_24_StructNode_UnionBuilder_7members_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_24_StructNode_UnionBuilder_7members___get__(((struct __pyx_obj_6schema__StructNode_UnionBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1416 - * self.thisptr.setDiscriminantOffset(val) - * property members: - * def __get__(self): # <<<<<<<<<<<<<< - * return _List_StructNode_Union_StructNode_Member_Builder().init(self.thisptr.getMembers()) - * cpdef initMembers(self, uint num): - */ - -static PyObject *__pyx_pf_6schema_24_StructNode_UnionBuilder_7members___get__(struct __pyx_obj_6schema__StructNode_UnionBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1417 - * property members: - * def __get__(self): - * return _List_StructNode_Union_StructNode_Member_Builder().init(self.thisptr.getMembers()) # <<<<<<<<<<<<<< - * cpdef initMembers(self, uint num): - * return _List_StructNode_Union_StructNode_Member_Builder().init(self.thisptr.initMembers(num)) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__List_StructNode_Union_StructNode_Member_Builder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1417; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__List_StructNode_Union_StructNode_Member_Builder *)((struct __pyx_obj_6schema__List_StructNode_Union_StructNode_Member_Builder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__List_StructNode_Union_StructNode_Member_Builder *)__pyx_t_1), __pyx_v_self->thisptr.getMembers()); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1417; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema._StructNode_UnionBuilder.members.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1418 - * def __get__(self): - * return _List_StructNode_Union_StructNode_Member_Builder().init(self.thisptr.getMembers()) - * cpdef initMembers(self, uint num): # <<<<<<<<<<<<<< - * return _List_StructNode_Union_StructNode_Member_Builder().init(self.thisptr.initMembers(num)) - * - */ - -static PyObject *__pyx_pw_6schema_24_StructNode_UnionBuilder_1initMembers(PyObject *__pyx_v_self, PyObject *__pyx_arg_num); /*proto*/ -static PyObject *__pyx_f_6schema_24_StructNode_UnionBuilder_initMembers(struct __pyx_obj_6schema__StructNode_UnionBuilder *__pyx_v_self, __pyx_t_6schema_uint __pyx_v_num, int __pyx_skip_dispatch) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - PyObject *__pyx_t_3 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("initMembers", 0); - /* Check if called by wrapper */ - if (unlikely(__pyx_skip_dispatch)) ; - /* Check if overridden in Python */ - else if (unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0)) { - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s__initMembers); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1418; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (!PyCFunction_Check(__pyx_t_1) || (PyCFunction_GET_FUNCTION(__pyx_t_1) != (PyCFunction)__pyx_pw_6schema_24_StructNode_UnionBuilder_1initMembers)) { - __Pyx_XDECREF(__pyx_r); - __pyx_t_2 = PyLong_FromUnsignedLong(__pyx_v_num); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1418; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1418; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_2); - __Pyx_GIVEREF(__pyx_t_2); - __pyx_t_2 = 0; - __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1418; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - goto __pyx_L0; - } - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - } - - /* "schema.pyx":1419 - * return _List_StructNode_Union_StructNode_Member_Builder().init(self.thisptr.getMembers()) - * cpdef initMembers(self, uint num): - * return _List_StructNode_Union_StructNode_Member_Builder().init(self.thisptr.initMembers(num)) # <<<<<<<<<<<<<< - * - * - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__List_StructNode_Union_StructNode_Member_Builder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1419; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__List_StructNode_Union_StructNode_Member_Builder *)((struct __pyx_obj_6schema__List_StructNode_Union_StructNode_Member_Builder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__List_StructNode_Union_StructNode_Member_Builder *)__pyx_t_1), __pyx_v_self->thisptr.initMembers(__pyx_v_num)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1419; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_XDECREF(__pyx_t_3); - __Pyx_AddTraceback("schema._StructNode_UnionBuilder.initMembers", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = 0; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_24_StructNode_UnionBuilder_1initMembers(PyObject *__pyx_v_self, PyObject *__pyx_arg_num); /*proto*/ -static PyObject *__pyx_pw_6schema_24_StructNode_UnionBuilder_1initMembers(PyObject *__pyx_v_self, PyObject *__pyx_arg_num) { - __pyx_t_6schema_uint __pyx_v_num; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("initMembers (wrapper)", 0); - assert(__pyx_arg_num); { - __pyx_v_num = __Pyx_PyInt_AsUnsignedInt(__pyx_arg_num); if (unlikely((__pyx_v_num == (unsigned int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1418; __pyx_clineno = __LINE__; goto __pyx_L3_error;} - } - goto __pyx_L4_argument_unpacking_done; - __pyx_L3_error:; - __Pyx_AddTraceback("schema._StructNode_UnionBuilder.initMembers", __pyx_clineno, __pyx_lineno, __pyx_filename); - __Pyx_RefNannyFinishContext(); - return NULL; - __pyx_L4_argument_unpacking_done:; - __pyx_r = __pyx_pf_6schema_24_StructNode_UnionBuilder_initMembers(((struct __pyx_obj_6schema__StructNode_UnionBuilder *)__pyx_v_self), ((__pyx_t_6schema_uint)__pyx_v_num)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1418 - * def __get__(self): - * return _List_StructNode_Union_StructNode_Member_Builder().init(self.thisptr.getMembers()) - * cpdef initMembers(self, uint num): # <<<<<<<<<<<<<< - * return _List_StructNode_Union_StructNode_Member_Builder().init(self.thisptr.initMembers(num)) - * - */ - -static PyObject *__pyx_pf_6schema_24_StructNode_UnionBuilder_initMembers(struct __pyx_obj_6schema__StructNode_UnionBuilder *__pyx_v_self, __pyx_t_6schema_uint __pyx_v_num) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("initMembers", 0); - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = ((struct __pyx_vtabstruct_6schema__StructNode_UnionBuilder *)__pyx_v_self->__pyx_vtab)->initMembers(__pyx_v_self, __pyx_v_num, 1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1418; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._StructNode_UnionBuilder.initMembers", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1425 - * cdef class _StructNode_Member_BodyReader: - * cdef C_StructNode.Member.Body.Reader thisptr - * cdef init(self, C_StructNode.Member.Body.Reader other): # <<<<<<<<<<<<<< - * self.thisptr = other - * return self - */ - -static PyObject *__pyx_f_6schema_29_StructNode_Member_BodyReader_init(struct __pyx_obj_6schema__StructNode_Member_BodyReader *__pyx_v_self, ::capnp::schema::StructNode::Member::Body::Reader __pyx_v_other) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("init", 0); - - /* "schema.pyx":1426 - * cdef C_StructNode.Member.Body.Reader thisptr - * cdef init(self, C_StructNode.Member.Body.Reader other): - * self.thisptr = other # <<<<<<<<<<<<<< - * return self - * - */ - __pyx_v_self->thisptr = __pyx_v_other; - - /* "schema.pyx":1427 - * cdef init(self, C_StructNode.Member.Body.Reader other): - * self.thisptr = other - * return self # <<<<<<<<<<<<<< - * - * cpdef int which(self): - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(((PyObject *)__pyx_v_self)); - __pyx_r = ((PyObject *)__pyx_v_self); - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1429 - * return self - * - * cpdef int which(self): # <<<<<<<<<<<<<< - * return self.thisptr.which() - * property fieldMember: - */ - -static PyObject *__pyx_pw_6schema_29_StructNode_Member_BodyReader_1which(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static int __pyx_f_6schema_29_StructNode_Member_BodyReader_which(struct __pyx_obj_6schema__StructNode_Member_BodyReader *__pyx_v_self, int __pyx_skip_dispatch) { - int __pyx_r; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_t_3; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("which", 0); - /* Check if called by wrapper */ - if (unlikely(__pyx_skip_dispatch)) ; - /* Check if overridden in Python */ - else if (unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0)) { - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s__which); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1429; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (!PyCFunction_Check(__pyx_t_1) || (PyCFunction_GET_FUNCTION(__pyx_t_1) != (PyCFunction)__pyx_pw_6schema_29_StructNode_Member_BodyReader_1which)) { - __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1429; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __pyx_t_3 = __Pyx_PyInt_AsInt(__pyx_t_2); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1429; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_r = __pyx_t_3; - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - goto __pyx_L0; - } - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - } - - /* "schema.pyx":1430 - * - * cpdef int which(self): - * return self.thisptr.which() # <<<<<<<<<<<<<< - * property fieldMember: - * def __get__(self): - */ - __pyx_r = __pyx_v_self->thisptr.which(); - goto __pyx_L0; - - __pyx_r = 0; - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_WriteUnraisable("schema._StructNode_Member_BodyReader.which", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = 0; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_29_StructNode_Member_BodyReader_1which(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static PyObject *__pyx_pw_6schema_29_StructNode_Member_BodyReader_1which(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("which (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_29_StructNode_Member_BodyReader_which(((struct __pyx_obj_6schema__StructNode_Member_BodyReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1429 - * return self - * - * cpdef int which(self): # <<<<<<<<<<<<<< - * return self.thisptr.which() - * property fieldMember: - */ - -static PyObject *__pyx_pf_6schema_29_StructNode_Member_BodyReader_which(struct __pyx_obj_6schema__StructNode_Member_BodyReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("which", 0); - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyInt_FromLong(((struct __pyx_vtabstruct_6schema__StructNode_Member_BodyReader *)__pyx_v_self->__pyx_vtab)->which(__pyx_v_self, 1)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1429; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._StructNode_Member_BodyReader.which", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_29_StructNode_Member_BodyReader_11fieldMember_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_29_StructNode_Member_BodyReader_11fieldMember_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_29_StructNode_Member_BodyReader_11fieldMember___get__(((struct __pyx_obj_6schema__StructNode_Member_BodyReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1432 - * return self.thisptr.which() - * property fieldMember: - * def __get__(self): # <<<<<<<<<<<<<< - * return _StructNode_FieldReader().init(self.thisptr.getFieldMember()) - * property unionMember: - */ - -static PyObject *__pyx_pf_6schema_29_StructNode_Member_BodyReader_11fieldMember___get__(struct __pyx_obj_6schema__StructNode_Member_BodyReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1433 - * property fieldMember: - * def __get__(self): - * return _StructNode_FieldReader().init(self.thisptr.getFieldMember()) # <<<<<<<<<<<<<< - * property unionMember: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__StructNode_FieldReader)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1433; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__StructNode_FieldReader *)((struct __pyx_obj_6schema__StructNode_FieldReader *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__StructNode_FieldReader *)__pyx_t_1), ((::capnp::schema::StructNode::Field::Reader)__pyx_v_self->thisptr.getFieldMember())); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1433; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema._StructNode_Member_BodyReader.fieldMember.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_29_StructNode_Member_BodyReader_11unionMember_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_29_StructNode_Member_BodyReader_11unionMember_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_29_StructNode_Member_BodyReader_11unionMember___get__(((struct __pyx_obj_6schema__StructNode_Member_BodyReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1435 - * return _StructNode_FieldReader().init(self.thisptr.getFieldMember()) - * property unionMember: - * def __get__(self): # <<<<<<<<<<<<<< - * return _StructNode_UnionReader().init(self.thisptr.getUnionMember()) - * - */ - -static PyObject *__pyx_pf_6schema_29_StructNode_Member_BodyReader_11unionMember___get__(struct __pyx_obj_6schema__StructNode_Member_BodyReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1436 - * property unionMember: - * def __get__(self): - * return _StructNode_UnionReader().init(self.thisptr.getUnionMember()) # <<<<<<<<<<<<<< - * - * cdef class _StructNode_Member_BodyBuilder: - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__StructNode_UnionReader)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1436; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__StructNode_UnionReader *)((struct __pyx_obj_6schema__StructNode_UnionReader *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__StructNode_UnionReader *)__pyx_t_1), ((::capnp::schema::StructNode::Union::Reader)__pyx_v_self->thisptr.getUnionMember())); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1436; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema._StructNode_Member_BodyReader.unionMember.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1440 - * cdef class _StructNode_Member_BodyBuilder: - * cdef C_StructNode.Member.Body.Builder thisptr - * cdef init(self, C_StructNode.Member.Body.Builder other): # <<<<<<<<<<<<<< - * self.thisptr = other - * return self - */ - -static PyObject *__pyx_f_6schema_30_StructNode_Member_BodyBuilder_init(struct __pyx_obj_6schema__StructNode_Member_BodyBuilder *__pyx_v_self, ::capnp::schema::StructNode::Member::Body::Builder __pyx_v_other) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("init", 0); - - /* "schema.pyx":1441 - * cdef C_StructNode.Member.Body.Builder thisptr - * cdef init(self, C_StructNode.Member.Body.Builder other): - * self.thisptr = other # <<<<<<<<<<<<<< - * return self - * - */ - __pyx_v_self->thisptr = __pyx_v_other; - - /* "schema.pyx":1442 - * cdef init(self, C_StructNode.Member.Body.Builder other): - * self.thisptr = other - * return self # <<<<<<<<<<<<<< - * - * cpdef int which(self): - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(((PyObject *)__pyx_v_self)); - __pyx_r = ((PyObject *)__pyx_v_self); - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1444 - * return self - * - * cpdef int which(self): # <<<<<<<<<<<<<< - * return self.thisptr.which() - * property fieldMember: - */ - -static PyObject *__pyx_pw_6schema_30_StructNode_Member_BodyBuilder_1which(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static int __pyx_f_6schema_30_StructNode_Member_BodyBuilder_which(struct __pyx_obj_6schema__StructNode_Member_BodyBuilder *__pyx_v_self, int __pyx_skip_dispatch) { - int __pyx_r; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_t_3; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("which", 0); - /* Check if called by wrapper */ - if (unlikely(__pyx_skip_dispatch)) ; - /* Check if overridden in Python */ - else if (unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0)) { - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s__which); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1444; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (!PyCFunction_Check(__pyx_t_1) || (PyCFunction_GET_FUNCTION(__pyx_t_1) != (PyCFunction)__pyx_pw_6schema_30_StructNode_Member_BodyBuilder_1which)) { - __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1444; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __pyx_t_3 = __Pyx_PyInt_AsInt(__pyx_t_2); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1444; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_r = __pyx_t_3; - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - goto __pyx_L0; - } - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - } - - /* "schema.pyx":1445 - * - * cpdef int which(self): - * return self.thisptr.which() # <<<<<<<<<<<<<< - * property fieldMember: - * def __get__(self): - */ - __pyx_r = __pyx_v_self->thisptr.which(); - goto __pyx_L0; - - __pyx_r = 0; - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_WriteUnraisable("schema._StructNode_Member_BodyBuilder.which", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = 0; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_30_StructNode_Member_BodyBuilder_1which(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static PyObject *__pyx_pw_6schema_30_StructNode_Member_BodyBuilder_1which(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("which (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_30_StructNode_Member_BodyBuilder_which(((struct __pyx_obj_6schema__StructNode_Member_BodyBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1444 - * return self - * - * cpdef int which(self): # <<<<<<<<<<<<<< - * return self.thisptr.which() - * property fieldMember: - */ - -static PyObject *__pyx_pf_6schema_30_StructNode_Member_BodyBuilder_which(struct __pyx_obj_6schema__StructNode_Member_BodyBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("which", 0); - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyInt_FromLong(((struct __pyx_vtabstruct_6schema__StructNode_Member_BodyBuilder *)__pyx_v_self->__pyx_vtab)->which(__pyx_v_self, 1)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1444; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._StructNode_Member_BodyBuilder.which", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_30_StructNode_Member_BodyBuilder_11fieldMember_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_30_StructNode_Member_BodyBuilder_11fieldMember_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_30_StructNode_Member_BodyBuilder_11fieldMember___get__(((struct __pyx_obj_6schema__StructNode_Member_BodyBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1447 - * return self.thisptr.which() - * property fieldMember: - * def __get__(self): # <<<<<<<<<<<<<< - * return _StructNode_FieldBuilder().init(self.thisptr.getFieldMember()) - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_30_StructNode_Member_BodyBuilder_11fieldMember___get__(struct __pyx_obj_6schema__StructNode_Member_BodyBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1448 - * property fieldMember: - * def __get__(self): - * return _StructNode_FieldBuilder().init(self.thisptr.getFieldMember()) # <<<<<<<<<<<<<< - * def __set__(self, val): - * pass - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__StructNode_FieldBuilder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1448; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__StructNode_FieldBuilder *)((struct __pyx_obj_6schema__StructNode_FieldBuilder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__StructNode_FieldBuilder *)__pyx_t_1), ((::capnp::schema::StructNode::Field::Builder)__pyx_v_self->thisptr.getFieldMember())); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1448; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema._StructNode_Member_BodyBuilder.fieldMember.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_30_StructNode_Member_BodyBuilder_11fieldMember_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_30_StructNode_Member_BodyBuilder_11fieldMember_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_30_StructNode_Member_BodyBuilder_11fieldMember_2__set__(((struct __pyx_obj_6schema__StructNode_Member_BodyBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1449 - * def __get__(self): - * return _StructNode_FieldBuilder().init(self.thisptr.getFieldMember()) - * def __set__(self, val): # <<<<<<<<<<<<<< - * pass - * property unionMember: - */ - -static int __pyx_pf_6schema_30_StructNode_Member_BodyBuilder_11fieldMember_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__StructNode_Member_BodyBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__", 0); - - __pyx_r = 0; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_30_StructNode_Member_BodyBuilder_11unionMember_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_30_StructNode_Member_BodyBuilder_11unionMember_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_30_StructNode_Member_BodyBuilder_11unionMember___get__(((struct __pyx_obj_6schema__StructNode_Member_BodyBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1452 - * pass - * property unionMember: - * def __get__(self): # <<<<<<<<<<<<<< - * return _StructNode_UnionBuilder().init(self.thisptr.getUnionMember()) - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_30_StructNode_Member_BodyBuilder_11unionMember___get__(struct __pyx_obj_6schema__StructNode_Member_BodyBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1453 - * property unionMember: - * def __get__(self): - * return _StructNode_UnionBuilder().init(self.thisptr.getUnionMember()) # <<<<<<<<<<<<<< - * def __set__(self, val): - * pass - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__StructNode_UnionBuilder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1453; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__StructNode_UnionBuilder *)((struct __pyx_obj_6schema__StructNode_UnionBuilder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__StructNode_UnionBuilder *)__pyx_t_1), ((::capnp::schema::StructNode::Union::Builder)__pyx_v_self->thisptr.getUnionMember())); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1453; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema._StructNode_Member_BodyBuilder.unionMember.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_30_StructNode_Member_BodyBuilder_11unionMember_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_30_StructNode_Member_BodyBuilder_11unionMember_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_30_StructNode_Member_BodyBuilder_11unionMember_2__set__(((struct __pyx_obj_6schema__StructNode_Member_BodyBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1454 - * def __get__(self): - * return _StructNode_UnionBuilder().init(self.thisptr.getUnionMember()) - * def __set__(self, val): # <<<<<<<<<<<<<< - * pass - * cdef class _StructNode_MemberReader: - */ - -static int __pyx_pf_6schema_30_StructNode_Member_BodyBuilder_11unionMember_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__StructNode_Member_BodyBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__", 0); - - __pyx_r = 0; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1458 - * cdef class _StructNode_MemberReader: - * cdef C_StructNode.Member.Reader thisptr - * cdef init(self, C_StructNode.Member.Reader other): # <<<<<<<<<<<<<< - * self.thisptr = other - * return self - */ - -static PyObject *__pyx_f_6schema_24_StructNode_MemberReader_init(struct __pyx_obj_6schema__StructNode_MemberReader *__pyx_v_self, ::capnp::schema::StructNode::Member::Reader __pyx_v_other) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("init", 0); - - /* "schema.pyx":1459 - * cdef C_StructNode.Member.Reader thisptr - * cdef init(self, C_StructNode.Member.Reader other): - * self.thisptr = other # <<<<<<<<<<<<<< - * return self - * - */ - __pyx_v_self->thisptr = __pyx_v_other; - - /* "schema.pyx":1460 - * cdef init(self, C_StructNode.Member.Reader other): - * self.thisptr = other - * return self # <<<<<<<<<<<<<< - * - * property ordinal: - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(((PyObject *)__pyx_v_self)); - __pyx_r = ((PyObject *)__pyx_v_self); - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_24_StructNode_MemberReader_7ordinal_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_24_StructNode_MemberReader_7ordinal_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_24_StructNode_MemberReader_7ordinal___get__(((struct __pyx_obj_6schema__StructNode_MemberReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1463 - * - * property ordinal: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getOrdinal() - * property body: - */ - -static PyObject *__pyx_pf_6schema_24_StructNode_MemberReader_7ordinal___get__(struct __pyx_obj_6schema__StructNode_MemberReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1464 - * property ordinal: - * def __get__(self): - * return self.thisptr.getOrdinal() # <<<<<<<<<<<<<< - * property body: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyInt_to_py_uint16_t(__pyx_v_self->thisptr.getOrdinal()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1464; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._StructNode_MemberReader.ordinal.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_24_StructNode_MemberReader_4body_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_24_StructNode_MemberReader_4body_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_24_StructNode_MemberReader_4body___get__(((struct __pyx_obj_6schema__StructNode_MemberReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1466 - * return self.thisptr.getOrdinal() - * property body: - * def __get__(self): # <<<<<<<<<<<<<< - * return _StructNode_Member_BodyReader().init(self.thisptr.getBody()) - * property codeOrder: - */ - -static PyObject *__pyx_pf_6schema_24_StructNode_MemberReader_4body___get__(struct __pyx_obj_6schema__StructNode_MemberReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1467 - * property body: - * def __get__(self): - * return _StructNode_Member_BodyReader().init(self.thisptr.getBody()) # <<<<<<<<<<<<<< - * property codeOrder: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__StructNode_Member_BodyReader)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1467; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__StructNode_Member_BodyReader *)((struct __pyx_obj_6schema__StructNode_Member_BodyReader *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__StructNode_Member_BodyReader *)__pyx_t_1), ((::capnp::schema::StructNode::Member::Body::Reader)__pyx_v_self->thisptr.getBody())); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1467; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema._StructNode_MemberReader.body.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_24_StructNode_MemberReader_9codeOrder_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_24_StructNode_MemberReader_9codeOrder_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_24_StructNode_MemberReader_9codeOrder___get__(((struct __pyx_obj_6schema__StructNode_MemberReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1469 - * return _StructNode_Member_BodyReader().init(self.thisptr.getBody()) - * property codeOrder: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getCodeOrder() - * property name: - */ - -static PyObject *__pyx_pf_6schema_24_StructNode_MemberReader_9codeOrder___get__(struct __pyx_obj_6schema__StructNode_MemberReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1470 - * property codeOrder: - * def __get__(self): - * return self.thisptr.getCodeOrder() # <<<<<<<<<<<<<< - * property name: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyInt_to_py_uint16_t(__pyx_v_self->thisptr.getCodeOrder()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1470; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._StructNode_MemberReader.codeOrder.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_24_StructNode_MemberReader_4name_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_24_StructNode_MemberReader_4name_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_24_StructNode_MemberReader_4name___get__(((struct __pyx_obj_6schema__StructNode_MemberReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1472 - * return self.thisptr.getCodeOrder() - * property name: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getName().cStr() - * property annotations: - */ - -static PyObject *__pyx_pf_6schema_24_StructNode_MemberReader_4name___get__(struct __pyx_obj_6schema__StructNode_MemberReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1473 - * property name: - * def __get__(self): - * return self.thisptr.getName().cStr() # <<<<<<<<<<<<<< - * property annotations: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyBytes_FromString(__pyx_v_self->thisptr.getName().cStr()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1473; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(((PyObject *)__pyx_t_1)); - __pyx_r = ((PyObject *)__pyx_t_1); - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._StructNode_MemberReader.name.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_24_StructNode_MemberReader_11annotations_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_24_StructNode_MemberReader_11annotations_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_24_StructNode_MemberReader_11annotations___get__(((struct __pyx_obj_6schema__StructNode_MemberReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1475 - * return self.thisptr.getName().cStr() - * property annotations: - * def __get__(self): # <<<<<<<<<<<<<< - * return _List_StructNode_Member_Annotation_Reader().init(self.thisptr.getAnnotations()) - * - */ - -static PyObject *__pyx_pf_6schema_24_StructNode_MemberReader_11annotations___get__(struct __pyx_obj_6schema__StructNode_MemberReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1476 - * property annotations: - * def __get__(self): - * return _List_StructNode_Member_Annotation_Reader().init(self.thisptr.getAnnotations()) # <<<<<<<<<<<<<< - * - * cdef class _StructNode_MemberBuilder: - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__List_StructNode_Member_Annotation_Reader)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1476; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__List_StructNode_Member_Annotation_Reader *)((struct __pyx_obj_6schema__List_StructNode_Member_Annotation_Reader *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__List_StructNode_Member_Annotation_Reader *)__pyx_t_1), __pyx_v_self->thisptr.getAnnotations()); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1476; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema._StructNode_MemberReader.annotations.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1480 - * cdef class _StructNode_MemberBuilder: - * cdef C_StructNode.Member.Builder thisptr - * cdef init(self, C_StructNode.Member.Builder other): # <<<<<<<<<<<<<< - * self.thisptr = other - * return self - */ - -static PyObject *__pyx_f_6schema_25_StructNode_MemberBuilder_init(struct __pyx_obj_6schema__StructNode_MemberBuilder *__pyx_v_self, ::capnp::schema::StructNode::Member::Builder __pyx_v_other) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("init", 0); - - /* "schema.pyx":1481 - * cdef C_StructNode.Member.Builder thisptr - * cdef init(self, C_StructNode.Member.Builder other): - * self.thisptr = other # <<<<<<<<<<<<<< - * return self - * - */ - __pyx_v_self->thisptr = __pyx_v_other; - - /* "schema.pyx":1482 - * cdef init(self, C_StructNode.Member.Builder other): - * self.thisptr = other - * return self # <<<<<<<<<<<<<< - * - * property ordinal: - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(((PyObject *)__pyx_v_self)); - __pyx_r = ((PyObject *)__pyx_v_self); - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_25_StructNode_MemberBuilder_7ordinal_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_25_StructNode_MemberBuilder_7ordinal_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_25_StructNode_MemberBuilder_7ordinal___get__(((struct __pyx_obj_6schema__StructNode_MemberBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1485 - * - * property ordinal: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getOrdinal() - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_25_StructNode_MemberBuilder_7ordinal___get__(struct __pyx_obj_6schema__StructNode_MemberBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1486 - * property ordinal: - * def __get__(self): - * return self.thisptr.getOrdinal() # <<<<<<<<<<<<<< - * def __set__(self, val): - * self.thisptr.setOrdinal(val) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyInt_to_py_uint16_t(__pyx_v_self->thisptr.getOrdinal()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1486; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._StructNode_MemberBuilder.ordinal.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_25_StructNode_MemberBuilder_7ordinal_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_25_StructNode_MemberBuilder_7ordinal_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_25_StructNode_MemberBuilder_7ordinal_2__set__(((struct __pyx_obj_6schema__StructNode_MemberBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1487 - * def __get__(self): - * return self.thisptr.getOrdinal() - * def __set__(self, val): # <<<<<<<<<<<<<< - * self.thisptr.setOrdinal(val) - * property body: - */ - -static int __pyx_pf_6schema_25_StructNode_MemberBuilder_7ordinal_2__set__(struct __pyx_obj_6schema__StructNode_MemberBuilder *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __pyx_t_10schema_cpp_UInt16 __pyx_t_1; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__set__", 0); - - /* "schema.pyx":1488 - * return self.thisptr.getOrdinal() - * def __set__(self, val): - * self.thisptr.setOrdinal(val) # <<<<<<<<<<<<<< - * property body: - * def __get__(self): - */ - __pyx_t_1 = __Pyx_PyInt_from_py_uint16_t(__pyx_v_val); if (unlikely((__pyx_t_1 == (uint16_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1488; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_v_self->thisptr.setOrdinal(__pyx_t_1); - - __pyx_r = 0; - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_AddTraceback("schema._StructNode_MemberBuilder.ordinal.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = -1; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_25_StructNode_MemberBuilder_4body_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_25_StructNode_MemberBuilder_4body_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_25_StructNode_MemberBuilder_4body___get__(((struct __pyx_obj_6schema__StructNode_MemberBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1490 - * self.thisptr.setOrdinal(val) - * property body: - * def __get__(self): # <<<<<<<<<<<<<< - * return _StructNode_Member_BodyBuilder().init(self.thisptr.getBody()) - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_25_StructNode_MemberBuilder_4body___get__(struct __pyx_obj_6schema__StructNode_MemberBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1491 - * property body: - * def __get__(self): - * return _StructNode_Member_BodyBuilder().init(self.thisptr.getBody()) # <<<<<<<<<<<<<< - * def __set__(self, val): - * pass - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__StructNode_Member_BodyBuilder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1491; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__StructNode_Member_BodyBuilder *)((struct __pyx_obj_6schema__StructNode_Member_BodyBuilder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__StructNode_Member_BodyBuilder *)__pyx_t_1), ((::capnp::schema::StructNode::Member::Body::Builder)__pyx_v_self->thisptr.getBody())); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1491; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema._StructNode_MemberBuilder.body.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_25_StructNode_MemberBuilder_4body_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_25_StructNode_MemberBuilder_4body_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_25_StructNode_MemberBuilder_4body_2__set__(((struct __pyx_obj_6schema__StructNode_MemberBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1492 - * def __get__(self): - * return _StructNode_Member_BodyBuilder().init(self.thisptr.getBody()) - * def __set__(self, val): # <<<<<<<<<<<<<< - * pass - * property codeOrder: - */ - -static int __pyx_pf_6schema_25_StructNode_MemberBuilder_4body_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__StructNode_MemberBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__", 0); - - __pyx_r = 0; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_25_StructNode_MemberBuilder_9codeOrder_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_25_StructNode_MemberBuilder_9codeOrder_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_25_StructNode_MemberBuilder_9codeOrder___get__(((struct __pyx_obj_6schema__StructNode_MemberBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1495 - * pass - * property codeOrder: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getCodeOrder() - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_25_StructNode_MemberBuilder_9codeOrder___get__(struct __pyx_obj_6schema__StructNode_MemberBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1496 - * property codeOrder: - * def __get__(self): - * return self.thisptr.getCodeOrder() # <<<<<<<<<<<<<< - * def __set__(self, val): - * self.thisptr.setCodeOrder(val) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyInt_to_py_uint16_t(__pyx_v_self->thisptr.getCodeOrder()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1496; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._StructNode_MemberBuilder.codeOrder.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_25_StructNode_MemberBuilder_9codeOrder_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_25_StructNode_MemberBuilder_9codeOrder_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_25_StructNode_MemberBuilder_9codeOrder_2__set__(((struct __pyx_obj_6schema__StructNode_MemberBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1497 - * def __get__(self): - * return self.thisptr.getCodeOrder() - * def __set__(self, val): # <<<<<<<<<<<<<< - * self.thisptr.setCodeOrder(val) - * property name: - */ - -static int __pyx_pf_6schema_25_StructNode_MemberBuilder_9codeOrder_2__set__(struct __pyx_obj_6schema__StructNode_MemberBuilder *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __pyx_t_10schema_cpp_UInt16 __pyx_t_1; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__set__", 0); - - /* "schema.pyx":1498 - * return self.thisptr.getCodeOrder() - * def __set__(self, val): - * self.thisptr.setCodeOrder(val) # <<<<<<<<<<<<<< - * property name: - * def __get__(self): - */ - __pyx_t_1 = __Pyx_PyInt_from_py_uint16_t(__pyx_v_val); if (unlikely((__pyx_t_1 == (uint16_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1498; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_v_self->thisptr.setCodeOrder(__pyx_t_1); - - __pyx_r = 0; - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_AddTraceback("schema._StructNode_MemberBuilder.codeOrder.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = -1; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_25_StructNode_MemberBuilder_4name_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_25_StructNode_MemberBuilder_4name_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_25_StructNode_MemberBuilder_4name___get__(((struct __pyx_obj_6schema__StructNode_MemberBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1500 - * self.thisptr.setCodeOrder(val) - * property name: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getName().cStr() - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_25_StructNode_MemberBuilder_4name___get__(struct __pyx_obj_6schema__StructNode_MemberBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1501 - * property name: - * def __get__(self): - * return self.thisptr.getName().cStr() # <<<<<<<<<<<<<< - * def __set__(self, val): - * pass - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyBytes_FromString(__pyx_v_self->thisptr.getName().cStr()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1501; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(((PyObject *)__pyx_t_1)); - __pyx_r = ((PyObject *)__pyx_t_1); - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._StructNode_MemberBuilder.name.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_25_StructNode_MemberBuilder_4name_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_25_StructNode_MemberBuilder_4name_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_25_StructNode_MemberBuilder_4name_2__set__(((struct __pyx_obj_6schema__StructNode_MemberBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1502 - * def __get__(self): - * return self.thisptr.getName().cStr() - * def __set__(self, val): # <<<<<<<<<<<<<< - * pass - * property annotations: - */ - -static int __pyx_pf_6schema_25_StructNode_MemberBuilder_4name_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__StructNode_MemberBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__", 0); - - __pyx_r = 0; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_25_StructNode_MemberBuilder_11annotations_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_25_StructNode_MemberBuilder_11annotations_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_25_StructNode_MemberBuilder_11annotations___get__(((struct __pyx_obj_6schema__StructNode_MemberBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1505 - * pass - * property annotations: - * def __get__(self): # <<<<<<<<<<<<<< - * return _List_StructNode_Member_Annotation_Builder().init(self.thisptr.getAnnotations()) - * cpdef initAnnotations(self, uint num): - */ - -static PyObject *__pyx_pf_6schema_25_StructNode_MemberBuilder_11annotations___get__(struct __pyx_obj_6schema__StructNode_MemberBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1506 - * property annotations: - * def __get__(self): - * return _List_StructNode_Member_Annotation_Builder().init(self.thisptr.getAnnotations()) # <<<<<<<<<<<<<< - * cpdef initAnnotations(self, uint num): - * return _List_StructNode_Member_Annotation_Builder().init(self.thisptr.initAnnotations(num)) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__List_StructNode_Member_Annotation_Builder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1506; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__List_StructNode_Member_Annotation_Builder *)((struct __pyx_obj_6schema__List_StructNode_Member_Annotation_Builder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__List_StructNode_Member_Annotation_Builder *)__pyx_t_1), __pyx_v_self->thisptr.getAnnotations()); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1506; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema._StructNode_MemberBuilder.annotations.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1507 - * def __get__(self): - * return _List_StructNode_Member_Annotation_Builder().init(self.thisptr.getAnnotations()) - * cpdef initAnnotations(self, uint num): # <<<<<<<<<<<<<< - * return _List_StructNode_Member_Annotation_Builder().init(self.thisptr.initAnnotations(num)) - * - */ - -static PyObject *__pyx_pw_6schema_25_StructNode_MemberBuilder_1initAnnotations(PyObject *__pyx_v_self, PyObject *__pyx_arg_num); /*proto*/ -static PyObject *__pyx_f_6schema_25_StructNode_MemberBuilder_initAnnotations(struct __pyx_obj_6schema__StructNode_MemberBuilder *__pyx_v_self, __pyx_t_6schema_uint __pyx_v_num, int __pyx_skip_dispatch) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - PyObject *__pyx_t_3 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("initAnnotations", 0); - /* Check if called by wrapper */ - if (unlikely(__pyx_skip_dispatch)) ; - /* Check if overridden in Python */ - else if (unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0)) { - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s__initAnnotations); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1507; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (!PyCFunction_Check(__pyx_t_1) || (PyCFunction_GET_FUNCTION(__pyx_t_1) != (PyCFunction)__pyx_pw_6schema_25_StructNode_MemberBuilder_1initAnnotations)) { - __Pyx_XDECREF(__pyx_r); - __pyx_t_2 = PyLong_FromUnsignedLong(__pyx_v_num); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1507; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1507; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_2); - __Pyx_GIVEREF(__pyx_t_2); - __pyx_t_2 = 0; - __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1507; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - goto __pyx_L0; - } - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - } - - /* "schema.pyx":1508 - * return _List_StructNode_Member_Annotation_Builder().init(self.thisptr.getAnnotations()) - * cpdef initAnnotations(self, uint num): - * return _List_StructNode_Member_Annotation_Builder().init(self.thisptr.initAnnotations(num)) # <<<<<<<<<<<<<< - * - * cdef class _StructNode_FieldReader: - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__List_StructNode_Member_Annotation_Builder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1508; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__List_StructNode_Member_Annotation_Builder *)((struct __pyx_obj_6schema__List_StructNode_Member_Annotation_Builder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__List_StructNode_Member_Annotation_Builder *)__pyx_t_1), __pyx_v_self->thisptr.initAnnotations(__pyx_v_num)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1508; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_XDECREF(__pyx_t_3); - __Pyx_AddTraceback("schema._StructNode_MemberBuilder.initAnnotations", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = 0; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_25_StructNode_MemberBuilder_1initAnnotations(PyObject *__pyx_v_self, PyObject *__pyx_arg_num); /*proto*/ -static PyObject *__pyx_pw_6schema_25_StructNode_MemberBuilder_1initAnnotations(PyObject *__pyx_v_self, PyObject *__pyx_arg_num) { - __pyx_t_6schema_uint __pyx_v_num; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("initAnnotations (wrapper)", 0); - assert(__pyx_arg_num); { - __pyx_v_num = __Pyx_PyInt_AsUnsignedInt(__pyx_arg_num); if (unlikely((__pyx_v_num == (unsigned int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1507; __pyx_clineno = __LINE__; goto __pyx_L3_error;} - } - goto __pyx_L4_argument_unpacking_done; - __pyx_L3_error:; - __Pyx_AddTraceback("schema._StructNode_MemberBuilder.initAnnotations", __pyx_clineno, __pyx_lineno, __pyx_filename); - __Pyx_RefNannyFinishContext(); - return NULL; - __pyx_L4_argument_unpacking_done:; - __pyx_r = __pyx_pf_6schema_25_StructNode_MemberBuilder_initAnnotations(((struct __pyx_obj_6schema__StructNode_MemberBuilder *)__pyx_v_self), ((__pyx_t_6schema_uint)__pyx_v_num)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1507 - * def __get__(self): - * return _List_StructNode_Member_Annotation_Builder().init(self.thisptr.getAnnotations()) - * cpdef initAnnotations(self, uint num): # <<<<<<<<<<<<<< - * return _List_StructNode_Member_Annotation_Builder().init(self.thisptr.initAnnotations(num)) - * - */ - -static PyObject *__pyx_pf_6schema_25_StructNode_MemberBuilder_initAnnotations(struct __pyx_obj_6schema__StructNode_MemberBuilder *__pyx_v_self, __pyx_t_6schema_uint __pyx_v_num) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("initAnnotations", 0); - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = ((struct __pyx_vtabstruct_6schema__StructNode_MemberBuilder *)__pyx_v_self->__pyx_vtab)->initAnnotations(__pyx_v_self, __pyx_v_num, 1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1507; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._StructNode_MemberBuilder.initAnnotations", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1512 - * cdef class _StructNode_FieldReader: - * cdef C_StructNode.Field.Reader thisptr - * cdef init(self, C_StructNode.Field.Reader other): # <<<<<<<<<<<<<< - * self.thisptr = other - * return self - */ - -static PyObject *__pyx_f_6schema_23_StructNode_FieldReader_init(struct __pyx_obj_6schema__StructNode_FieldReader *__pyx_v_self, ::capnp::schema::StructNode::Field::Reader __pyx_v_other) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("init", 0); - - /* "schema.pyx":1513 - * cdef C_StructNode.Field.Reader thisptr - * cdef init(self, C_StructNode.Field.Reader other): - * self.thisptr = other # <<<<<<<<<<<<<< - * return self - * - */ - __pyx_v_self->thisptr = __pyx_v_other; - - /* "schema.pyx":1514 - * cdef init(self, C_StructNode.Field.Reader other): - * self.thisptr = other - * return self # <<<<<<<<<<<<<< - * - * property defaultValue: - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(((PyObject *)__pyx_v_self)); - __pyx_r = ((PyObject *)__pyx_v_self); - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_23_StructNode_FieldReader_12defaultValue_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_23_StructNode_FieldReader_12defaultValue_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_23_StructNode_FieldReader_12defaultValue___get__(((struct __pyx_obj_6schema__StructNode_FieldReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1517 - * - * property defaultValue: - * def __get__(self): # <<<<<<<<<<<<<< - * return _ValueReader().init(self.thisptr.getDefaultValue()) - * property type: - */ - -static PyObject *__pyx_pf_6schema_23_StructNode_FieldReader_12defaultValue___get__(struct __pyx_obj_6schema__StructNode_FieldReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1518 - * property defaultValue: - * def __get__(self): - * return _ValueReader().init(self.thisptr.getDefaultValue()) # <<<<<<<<<<<<<< - * property type: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__ValueReader)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1518; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__ValueReader *)((struct __pyx_obj_6schema__ValueReader *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__ValueReader *)__pyx_t_1), ((::capnp::schema::Value::Reader)__pyx_v_self->thisptr.getDefaultValue())); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1518; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema._StructNode_FieldReader.defaultValue.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_23_StructNode_FieldReader_4type_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_23_StructNode_FieldReader_4type_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_23_StructNode_FieldReader_4type___get__(((struct __pyx_obj_6schema__StructNode_FieldReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1520 - * return _ValueReader().init(self.thisptr.getDefaultValue()) - * property type: - * def __get__(self): # <<<<<<<<<<<<<< - * return _TypeReader().init(self.thisptr.getType()) - * property offset: - */ - -static PyObject *__pyx_pf_6schema_23_StructNode_FieldReader_4type___get__(struct __pyx_obj_6schema__StructNode_FieldReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1521 - * property type: - * def __get__(self): - * return _TypeReader().init(self.thisptr.getType()) # <<<<<<<<<<<<<< - * property offset: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__TypeReader)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1521; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__TypeReader *)((struct __pyx_obj_6schema__TypeReader *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__TypeReader *)__pyx_t_1), ((::capnp::schema::Type::Reader)__pyx_v_self->thisptr.getType())); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1521; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema._StructNode_FieldReader.type.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_23_StructNode_FieldReader_6offset_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_23_StructNode_FieldReader_6offset_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_23_StructNode_FieldReader_6offset___get__(((struct __pyx_obj_6schema__StructNode_FieldReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1523 - * return _TypeReader().init(self.thisptr.getType()) - * property offset: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getOffset() - * - */ - -static PyObject *__pyx_pf_6schema_23_StructNode_FieldReader_6offset___get__(struct __pyx_obj_6schema__StructNode_FieldReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1524 - * property offset: - * def __get__(self): - * return self.thisptr.getOffset() # <<<<<<<<<<<<<< - * - * cdef class _StructNode_FieldBuilder: - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyInt_to_py_uint32_t(__pyx_v_self->thisptr.getOffset()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1524; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._StructNode_FieldReader.offset.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1528 - * cdef class _StructNode_FieldBuilder: - * cdef C_StructNode.Field.Builder thisptr - * cdef init(self, C_StructNode.Field.Builder other): # <<<<<<<<<<<<<< - * self.thisptr = other - * return self - */ - -static PyObject *__pyx_f_6schema_24_StructNode_FieldBuilder_init(struct __pyx_obj_6schema__StructNode_FieldBuilder *__pyx_v_self, ::capnp::schema::StructNode::Field::Builder __pyx_v_other) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("init", 0); - - /* "schema.pyx":1529 - * cdef C_StructNode.Field.Builder thisptr - * cdef init(self, C_StructNode.Field.Builder other): - * self.thisptr = other # <<<<<<<<<<<<<< - * return self - * - */ - __pyx_v_self->thisptr = __pyx_v_other; - - /* "schema.pyx":1530 - * cdef init(self, C_StructNode.Field.Builder other): - * self.thisptr = other - * return self # <<<<<<<<<<<<<< - * - * property defaultValue: - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(((PyObject *)__pyx_v_self)); - __pyx_r = ((PyObject *)__pyx_v_self); - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_24_StructNode_FieldBuilder_12defaultValue_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_24_StructNode_FieldBuilder_12defaultValue_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_24_StructNode_FieldBuilder_12defaultValue___get__(((struct __pyx_obj_6schema__StructNode_FieldBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1533 - * - * property defaultValue: - * def __get__(self): # <<<<<<<<<<<<<< - * return _ValueBuilder().init(self.thisptr.getDefaultValue()) - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_24_StructNode_FieldBuilder_12defaultValue___get__(struct __pyx_obj_6schema__StructNode_FieldBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1534 - * property defaultValue: - * def __get__(self): - * return _ValueBuilder().init(self.thisptr.getDefaultValue()) # <<<<<<<<<<<<<< - * def __set__(self, val): - * pass - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__ValueBuilder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1534; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__ValueBuilder *)((struct __pyx_obj_6schema__ValueBuilder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__ValueBuilder *)__pyx_t_1), ((::capnp::schema::Value::Builder)__pyx_v_self->thisptr.getDefaultValue())); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1534; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema._StructNode_FieldBuilder.defaultValue.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_24_StructNode_FieldBuilder_12defaultValue_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_24_StructNode_FieldBuilder_12defaultValue_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_24_StructNode_FieldBuilder_12defaultValue_2__set__(((struct __pyx_obj_6schema__StructNode_FieldBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1535 - * def __get__(self): - * return _ValueBuilder().init(self.thisptr.getDefaultValue()) - * def __set__(self, val): # <<<<<<<<<<<<<< - * pass - * property type: - */ - -static int __pyx_pf_6schema_24_StructNode_FieldBuilder_12defaultValue_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__StructNode_FieldBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__", 0); - - __pyx_r = 0; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_24_StructNode_FieldBuilder_4type_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_24_StructNode_FieldBuilder_4type_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_24_StructNode_FieldBuilder_4type___get__(((struct __pyx_obj_6schema__StructNode_FieldBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1538 - * pass - * property type: - * def __get__(self): # <<<<<<<<<<<<<< - * return _TypeBuilder().init(self.thisptr.getType()) - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_24_StructNode_FieldBuilder_4type___get__(struct __pyx_obj_6schema__StructNode_FieldBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1539 - * property type: - * def __get__(self): - * return _TypeBuilder().init(self.thisptr.getType()) # <<<<<<<<<<<<<< - * def __set__(self, val): - * pass - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__TypeBuilder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1539; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__TypeBuilder *)((struct __pyx_obj_6schema__TypeBuilder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__TypeBuilder *)__pyx_t_1), ((::capnp::schema::Type::Builder)__pyx_v_self->thisptr.getType())); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1539; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema._StructNode_FieldBuilder.type.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_24_StructNode_FieldBuilder_4type_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_24_StructNode_FieldBuilder_4type_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_24_StructNode_FieldBuilder_4type_2__set__(((struct __pyx_obj_6schema__StructNode_FieldBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1540 - * def __get__(self): - * return _TypeBuilder().init(self.thisptr.getType()) - * def __set__(self, val): # <<<<<<<<<<<<<< - * pass - * property offset: - */ - -static int __pyx_pf_6schema_24_StructNode_FieldBuilder_4type_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__StructNode_FieldBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__", 0); - - __pyx_r = 0; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_24_StructNode_FieldBuilder_6offset_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_24_StructNode_FieldBuilder_6offset_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_24_StructNode_FieldBuilder_6offset___get__(((struct __pyx_obj_6schema__StructNode_FieldBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1543 - * pass - * property offset: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getOffset() - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_24_StructNode_FieldBuilder_6offset___get__(struct __pyx_obj_6schema__StructNode_FieldBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1544 - * property offset: - * def __get__(self): - * return self.thisptr.getOffset() # <<<<<<<<<<<<<< - * def __set__(self, val): - * self.thisptr.setOffset(val) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyInt_to_py_uint32_t(__pyx_v_self->thisptr.getOffset()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1544; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._StructNode_FieldBuilder.offset.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_24_StructNode_FieldBuilder_6offset_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_24_StructNode_FieldBuilder_6offset_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_24_StructNode_FieldBuilder_6offset_2__set__(((struct __pyx_obj_6schema__StructNode_FieldBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1545 - * def __get__(self): - * return self.thisptr.getOffset() - * def __set__(self, val): # <<<<<<<<<<<<<< - * self.thisptr.setOffset(val) - * cdef class _StructNodeReader: - */ - -static int __pyx_pf_6schema_24_StructNode_FieldBuilder_6offset_2__set__(struct __pyx_obj_6schema__StructNode_FieldBuilder *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __pyx_t_10schema_cpp_UInt32 __pyx_t_1; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__set__", 0); - - /* "schema.pyx":1546 - * return self.thisptr.getOffset() - * def __set__(self, val): - * self.thisptr.setOffset(val) # <<<<<<<<<<<<<< - * cdef class _StructNodeReader: - * cdef C_StructNode.Reader thisptr - */ - __pyx_t_1 = __Pyx_PyInt_from_py_uint32_t(__pyx_v_val); if (unlikely((__pyx_t_1 == (uint32_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1546; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_v_self->thisptr.setOffset(__pyx_t_1); - - __pyx_r = 0; - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_AddTraceback("schema._StructNode_FieldBuilder.offset.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = -1; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1549 - * cdef class _StructNodeReader: - * cdef C_StructNode.Reader thisptr - * cdef init(self, C_StructNode.Reader other): # <<<<<<<<<<<<<< - * self.thisptr = other - * return self - */ - -static PyObject *__pyx_f_6schema_17_StructNodeReader_init(struct __pyx_obj_6schema__StructNodeReader *__pyx_v_self, ::capnp::schema::StructNode::Reader __pyx_v_other) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("init", 0); - - /* "schema.pyx":1550 - * cdef C_StructNode.Reader thisptr - * cdef init(self, C_StructNode.Reader other): - * self.thisptr = other # <<<<<<<<<<<<<< - * return self - * - */ - __pyx_v_self->thisptr = __pyx_v_other; - - /* "schema.pyx":1551 - * cdef init(self, C_StructNode.Reader other): - * self.thisptr = other - * return self # <<<<<<<<<<<<<< - * - * property dataSectionWordSize: - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(((PyObject *)__pyx_v_self)); - __pyx_r = ((PyObject *)__pyx_v_self); - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_17_StructNodeReader_19dataSectionWordSize_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_17_StructNodeReader_19dataSectionWordSize_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_StructNodeReader_19dataSectionWordSize___get__(((struct __pyx_obj_6schema__StructNodeReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1554 - * - * property dataSectionWordSize: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getDataSectionWordSize() - * property members: - */ - -static PyObject *__pyx_pf_6schema_17_StructNodeReader_19dataSectionWordSize___get__(struct __pyx_obj_6schema__StructNodeReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1555 - * property dataSectionWordSize: - * def __get__(self): - * return self.thisptr.getDataSectionWordSize() # <<<<<<<<<<<<<< - * property members: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyInt_to_py_uint16_t(__pyx_v_self->thisptr.getDataSectionWordSize()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1555; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._StructNodeReader.dataSectionWordSize.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_17_StructNodeReader_7members_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_17_StructNodeReader_7members_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_StructNodeReader_7members___get__(((struct __pyx_obj_6schema__StructNodeReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1557 - * return self.thisptr.getDataSectionWordSize() - * property members: - * def __get__(self): # <<<<<<<<<<<<<< - * return _List_StructNode_StructNode_Member_Reader().init(self.thisptr.getMembers()) - * property pointerSectionSize: - */ - -static PyObject *__pyx_pf_6schema_17_StructNodeReader_7members___get__(struct __pyx_obj_6schema__StructNodeReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1558 - * property members: - * def __get__(self): - * return _List_StructNode_StructNode_Member_Reader().init(self.thisptr.getMembers()) # <<<<<<<<<<<<<< - * property pointerSectionSize: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__List_StructNode_StructNode_Member_Reader)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1558; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__List_StructNode_StructNode_Member_Reader *)((struct __pyx_obj_6schema__List_StructNode_StructNode_Member_Reader *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__List_StructNode_StructNode_Member_Reader *)__pyx_t_1), __pyx_v_self->thisptr.getMembers()); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1558; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema._StructNodeReader.members.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_17_StructNodeReader_18pointerSectionSize_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_17_StructNodeReader_18pointerSectionSize_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_StructNodeReader_18pointerSectionSize___get__(((struct __pyx_obj_6schema__StructNodeReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1560 - * return _List_StructNode_StructNode_Member_Reader().init(self.thisptr.getMembers()) - * property pointerSectionSize: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getPointerSectionSize() - * - */ - -static PyObject *__pyx_pf_6schema_17_StructNodeReader_18pointerSectionSize___get__(struct __pyx_obj_6schema__StructNodeReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1561 - * property pointerSectionSize: - * def __get__(self): - * return self.thisptr.getPointerSectionSize() # <<<<<<<<<<<<<< - * - * cdef class _StructNodeBuilder: - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyInt_to_py_uint16_t(__pyx_v_self->thisptr.getPointerSectionSize()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1561; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._StructNodeReader.pointerSectionSize.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1565 - * cdef class _StructNodeBuilder: - * cdef C_StructNode.Builder thisptr - * cdef init(self, C_StructNode.Builder other): # <<<<<<<<<<<<<< - * self.thisptr = other - * return self - */ - -static PyObject *__pyx_f_6schema_18_StructNodeBuilder_init(struct __pyx_obj_6schema__StructNodeBuilder *__pyx_v_self, ::capnp::schema::StructNode::Builder __pyx_v_other) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("init", 0); - - /* "schema.pyx":1566 - * cdef C_StructNode.Builder thisptr - * cdef init(self, C_StructNode.Builder other): - * self.thisptr = other # <<<<<<<<<<<<<< - * return self - * - */ - __pyx_v_self->thisptr = __pyx_v_other; - - /* "schema.pyx":1567 - * cdef init(self, C_StructNode.Builder other): - * self.thisptr = other - * return self # <<<<<<<<<<<<<< - * - * property dataSectionWordSize: - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(((PyObject *)__pyx_v_self)); - __pyx_r = ((PyObject *)__pyx_v_self); - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_18_StructNodeBuilder_19dataSectionWordSize_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_18_StructNodeBuilder_19dataSectionWordSize_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_18_StructNodeBuilder_19dataSectionWordSize___get__(((struct __pyx_obj_6schema__StructNodeBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1570 - * - * property dataSectionWordSize: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getDataSectionWordSize() - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_18_StructNodeBuilder_19dataSectionWordSize___get__(struct __pyx_obj_6schema__StructNodeBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1571 - * property dataSectionWordSize: - * def __get__(self): - * return self.thisptr.getDataSectionWordSize() # <<<<<<<<<<<<<< - * def __set__(self, val): - * self.thisptr.setDataSectionWordSize(val) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyInt_to_py_uint16_t(__pyx_v_self->thisptr.getDataSectionWordSize()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1571; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._StructNodeBuilder.dataSectionWordSize.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_18_StructNodeBuilder_19dataSectionWordSize_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_18_StructNodeBuilder_19dataSectionWordSize_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_18_StructNodeBuilder_19dataSectionWordSize_2__set__(((struct __pyx_obj_6schema__StructNodeBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1572 - * def __get__(self): - * return self.thisptr.getDataSectionWordSize() - * def __set__(self, val): # <<<<<<<<<<<<<< - * self.thisptr.setDataSectionWordSize(val) - * property members: - */ - -static int __pyx_pf_6schema_18_StructNodeBuilder_19dataSectionWordSize_2__set__(struct __pyx_obj_6schema__StructNodeBuilder *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __pyx_t_10schema_cpp_UInt16 __pyx_t_1; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__set__", 0); - - /* "schema.pyx":1573 - * return self.thisptr.getDataSectionWordSize() - * def __set__(self, val): - * self.thisptr.setDataSectionWordSize(val) # <<<<<<<<<<<<<< - * property members: - * def __get__(self): - */ - __pyx_t_1 = __Pyx_PyInt_from_py_uint16_t(__pyx_v_val); if (unlikely((__pyx_t_1 == (uint16_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1573; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_v_self->thisptr.setDataSectionWordSize(__pyx_t_1); - - __pyx_r = 0; - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_AddTraceback("schema._StructNodeBuilder.dataSectionWordSize.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = -1; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_18_StructNodeBuilder_7members_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_18_StructNodeBuilder_7members_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_18_StructNodeBuilder_7members___get__(((struct __pyx_obj_6schema__StructNodeBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1575 - * self.thisptr.setDataSectionWordSize(val) - * property members: - * def __get__(self): # <<<<<<<<<<<<<< - * return _List_StructNode_StructNode_Member_Builder().init(self.thisptr.getMembers()) - * cpdef initMembers(self, uint num): - */ - -static PyObject *__pyx_pf_6schema_18_StructNodeBuilder_7members___get__(struct __pyx_obj_6schema__StructNodeBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1576 - * property members: - * def __get__(self): - * return _List_StructNode_StructNode_Member_Builder().init(self.thisptr.getMembers()) # <<<<<<<<<<<<<< - * cpdef initMembers(self, uint num): - * return _List_StructNode_StructNode_Member_Builder().init(self.thisptr.initMembers(num)) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__List_StructNode_StructNode_Member_Builder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1576; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__List_StructNode_StructNode_Member_Builder *)((struct __pyx_obj_6schema__List_StructNode_StructNode_Member_Builder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__List_StructNode_StructNode_Member_Builder *)__pyx_t_1), __pyx_v_self->thisptr.getMembers()); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1576; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema._StructNodeBuilder.members.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1577 - * def __get__(self): - * return _List_StructNode_StructNode_Member_Builder().init(self.thisptr.getMembers()) - * cpdef initMembers(self, uint num): # <<<<<<<<<<<<<< - * return _List_StructNode_StructNode_Member_Builder().init(self.thisptr.initMembers(num)) - * property pointerSectionSize: - */ - -static PyObject *__pyx_pw_6schema_18_StructNodeBuilder_1initMembers(PyObject *__pyx_v_self, PyObject *__pyx_arg_num); /*proto*/ -static PyObject *__pyx_f_6schema_18_StructNodeBuilder_initMembers(struct __pyx_obj_6schema__StructNodeBuilder *__pyx_v_self, __pyx_t_6schema_uint __pyx_v_num, int __pyx_skip_dispatch) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - PyObject *__pyx_t_3 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("initMembers", 0); - /* Check if called by wrapper */ - if (unlikely(__pyx_skip_dispatch)) ; - /* Check if overridden in Python */ - else if (unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0)) { - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s__initMembers); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1577; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (!PyCFunction_Check(__pyx_t_1) || (PyCFunction_GET_FUNCTION(__pyx_t_1) != (PyCFunction)__pyx_pw_6schema_18_StructNodeBuilder_1initMembers)) { - __Pyx_XDECREF(__pyx_r); - __pyx_t_2 = PyLong_FromUnsignedLong(__pyx_v_num); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1577; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1577; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_2); - __Pyx_GIVEREF(__pyx_t_2); - __pyx_t_2 = 0; - __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1577; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - goto __pyx_L0; - } - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - } - - /* "schema.pyx":1578 - * return _List_StructNode_StructNode_Member_Builder().init(self.thisptr.getMembers()) - * cpdef initMembers(self, uint num): - * return _List_StructNode_StructNode_Member_Builder().init(self.thisptr.initMembers(num)) # <<<<<<<<<<<<<< - * property pointerSectionSize: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__List_StructNode_StructNode_Member_Builder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1578; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__List_StructNode_StructNode_Member_Builder *)((struct __pyx_obj_6schema__List_StructNode_StructNode_Member_Builder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__List_StructNode_StructNode_Member_Builder *)__pyx_t_1), __pyx_v_self->thisptr.initMembers(__pyx_v_num)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1578; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_XDECREF(__pyx_t_3); - __Pyx_AddTraceback("schema._StructNodeBuilder.initMembers", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = 0; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_18_StructNodeBuilder_1initMembers(PyObject *__pyx_v_self, PyObject *__pyx_arg_num); /*proto*/ -static PyObject *__pyx_pw_6schema_18_StructNodeBuilder_1initMembers(PyObject *__pyx_v_self, PyObject *__pyx_arg_num) { - __pyx_t_6schema_uint __pyx_v_num; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("initMembers (wrapper)", 0); - assert(__pyx_arg_num); { - __pyx_v_num = __Pyx_PyInt_AsUnsignedInt(__pyx_arg_num); if (unlikely((__pyx_v_num == (unsigned int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1577; __pyx_clineno = __LINE__; goto __pyx_L3_error;} - } - goto __pyx_L4_argument_unpacking_done; - __pyx_L3_error:; - __Pyx_AddTraceback("schema._StructNodeBuilder.initMembers", __pyx_clineno, __pyx_lineno, __pyx_filename); - __Pyx_RefNannyFinishContext(); - return NULL; - __pyx_L4_argument_unpacking_done:; - __pyx_r = __pyx_pf_6schema_18_StructNodeBuilder_initMembers(((struct __pyx_obj_6schema__StructNodeBuilder *)__pyx_v_self), ((__pyx_t_6schema_uint)__pyx_v_num)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1577 - * def __get__(self): - * return _List_StructNode_StructNode_Member_Builder().init(self.thisptr.getMembers()) - * cpdef initMembers(self, uint num): # <<<<<<<<<<<<<< - * return _List_StructNode_StructNode_Member_Builder().init(self.thisptr.initMembers(num)) - * property pointerSectionSize: - */ - -static PyObject *__pyx_pf_6schema_18_StructNodeBuilder_initMembers(struct __pyx_obj_6schema__StructNodeBuilder *__pyx_v_self, __pyx_t_6schema_uint __pyx_v_num) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("initMembers", 0); - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = ((struct __pyx_vtabstruct_6schema__StructNodeBuilder *)__pyx_v_self->__pyx_vtab)->initMembers(__pyx_v_self, __pyx_v_num, 1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1577; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._StructNodeBuilder.initMembers", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_18_StructNodeBuilder_18pointerSectionSize_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_18_StructNodeBuilder_18pointerSectionSize_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_18_StructNodeBuilder_18pointerSectionSize___get__(((struct __pyx_obj_6schema__StructNodeBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1580 - * return _List_StructNode_StructNode_Member_Builder().init(self.thisptr.initMembers(num)) - * property pointerSectionSize: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getPointerSectionSize() - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_18_StructNodeBuilder_18pointerSectionSize___get__(struct __pyx_obj_6schema__StructNodeBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1581 - * property pointerSectionSize: - * def __get__(self): - * return self.thisptr.getPointerSectionSize() # <<<<<<<<<<<<<< - * def __set__(self, val): - * self.thisptr.setPointerSectionSize(val) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyInt_to_py_uint16_t(__pyx_v_self->thisptr.getPointerSectionSize()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1581; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._StructNodeBuilder.pointerSectionSize.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_18_StructNodeBuilder_18pointerSectionSize_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_18_StructNodeBuilder_18pointerSectionSize_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_18_StructNodeBuilder_18pointerSectionSize_2__set__(((struct __pyx_obj_6schema__StructNodeBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1582 - * def __get__(self): - * return self.thisptr.getPointerSectionSize() - * def __set__(self, val): # <<<<<<<<<<<<<< - * self.thisptr.setPointerSectionSize(val) - * - */ - -static int __pyx_pf_6schema_18_StructNodeBuilder_18pointerSectionSize_2__set__(struct __pyx_obj_6schema__StructNodeBuilder *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __pyx_t_10schema_cpp_UInt16 __pyx_t_1; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__set__", 0); - - /* "schema.pyx":1583 - * return self.thisptr.getPointerSectionSize() - * def __set__(self, val): - * self.thisptr.setPointerSectionSize(val) # <<<<<<<<<<<<<< - * - * cdef class _AnnotationReader: - */ - __pyx_t_1 = __Pyx_PyInt_from_py_uint16_t(__pyx_v_val); if (unlikely((__pyx_t_1 == (uint16_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1583; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_v_self->thisptr.setPointerSectionSize(__pyx_t_1); - - __pyx_r = 0; - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_AddTraceback("schema._StructNodeBuilder.pointerSectionSize.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = -1; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1587 - * cdef class _AnnotationReader: - * cdef C_Annotation.Reader thisptr - * cdef init(self, C_Annotation.Reader other): # <<<<<<<<<<<<<< - * self.thisptr = other - * return self - */ - -static PyObject *__pyx_f_6schema_17_AnnotationReader_init(struct __pyx_obj_6schema__AnnotationReader *__pyx_v_self, ::capnp::schema::Annotation::Reader __pyx_v_other) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("init", 0); - - /* "schema.pyx":1588 - * cdef C_Annotation.Reader thisptr - * cdef init(self, C_Annotation.Reader other): - * self.thisptr = other # <<<<<<<<<<<<<< - * return self - * - */ - __pyx_v_self->thisptr = __pyx_v_other; - - /* "schema.pyx":1589 - * cdef init(self, C_Annotation.Reader other): - * self.thisptr = other - * return self # <<<<<<<<<<<<<< - * - * property id: - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(((PyObject *)__pyx_v_self)); - __pyx_r = ((PyObject *)__pyx_v_self); - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_17_AnnotationReader_2id_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_17_AnnotationReader_2id_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_AnnotationReader_2id___get__(((struct __pyx_obj_6schema__AnnotationReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1592 - * - * property id: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getId() - * property value: - */ - -static PyObject *__pyx_pf_6schema_17_AnnotationReader_2id___get__(struct __pyx_obj_6schema__AnnotationReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1593 - * property id: - * def __get__(self): - * return self.thisptr.getId() # <<<<<<<<<<<<<< - * property value: - * def __get__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyInt_to_py_uint64_t(__pyx_v_self->thisptr.getId()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1593; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._AnnotationReader.id.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_17_AnnotationReader_5value_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_17_AnnotationReader_5value_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_17_AnnotationReader_5value___get__(((struct __pyx_obj_6schema__AnnotationReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1595 - * return self.thisptr.getId() - * property value: - * def __get__(self): # <<<<<<<<<<<<<< - * return _ValueReader().init(self.thisptr.getValue()) - * - */ - -static PyObject *__pyx_pf_6schema_17_AnnotationReader_5value___get__(struct __pyx_obj_6schema__AnnotationReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1596 - * property value: - * def __get__(self): - * return _ValueReader().init(self.thisptr.getValue()) # <<<<<<<<<<<<<< - * - * cdef class _AnnotationBuilder: - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__ValueReader)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1596; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__ValueReader *)((struct __pyx_obj_6schema__ValueReader *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__ValueReader *)__pyx_t_1), ((::capnp::schema::Value::Reader)__pyx_v_self->thisptr.getValue())); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1596; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema._AnnotationReader.value.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1600 - * cdef class _AnnotationBuilder: - * cdef C_Annotation.Builder thisptr - * cdef init(self, C_Annotation.Builder other): # <<<<<<<<<<<<<< - * self.thisptr = other - * return self - */ - -static PyObject *__pyx_f_6schema_18_AnnotationBuilder_init(struct __pyx_obj_6schema__AnnotationBuilder *__pyx_v_self, ::capnp::schema::Annotation::Builder __pyx_v_other) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("init", 0); - - /* "schema.pyx":1601 - * cdef C_Annotation.Builder thisptr - * cdef init(self, C_Annotation.Builder other): - * self.thisptr = other # <<<<<<<<<<<<<< - * return self - * - */ - __pyx_v_self->thisptr = __pyx_v_other; - - /* "schema.pyx":1602 - * cdef init(self, C_Annotation.Builder other): - * self.thisptr = other - * return self # <<<<<<<<<<<<<< - * - * property id: - */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(((PyObject *)__pyx_v_self)); - __pyx_r = ((PyObject *)__pyx_v_self); - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_18_AnnotationBuilder_2id_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_18_AnnotationBuilder_2id_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_18_AnnotationBuilder_2id___get__(((struct __pyx_obj_6schema__AnnotationBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1605 - * - * property id: - * def __get__(self): # <<<<<<<<<<<<<< - * return self.thisptr.getId() - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_18_AnnotationBuilder_2id___get__(struct __pyx_obj_6schema__AnnotationBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1606 - * property id: - * def __get__(self): - * return self.thisptr.getId() # <<<<<<<<<<<<<< - * def __set__(self, val): - * self.thisptr.setId(val) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyInt_to_py_uint64_t(__pyx_v_self->thisptr.getId()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1606; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema._AnnotationBuilder.id.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_18_AnnotationBuilder_2id_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_18_AnnotationBuilder_2id_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_18_AnnotationBuilder_2id_2__set__(((struct __pyx_obj_6schema__AnnotationBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1607 - * def __get__(self): - * return self.thisptr.getId() - * def __set__(self, val): # <<<<<<<<<<<<<< - * self.thisptr.setId(val) - * property value: - */ - -static int __pyx_pf_6schema_18_AnnotationBuilder_2id_2__set__(struct __pyx_obj_6schema__AnnotationBuilder *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __pyx_t_10schema_cpp_UInt64 __pyx_t_1; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__set__", 0); - - /* "schema.pyx":1608 - * return self.thisptr.getId() - * def __set__(self, val): - * self.thisptr.setId(val) # <<<<<<<<<<<<<< - * property value: - * def __get__(self): - */ - __pyx_t_1 = __Pyx_PyInt_from_py_uint64_t(__pyx_v_val); if (unlikely((__pyx_t_1 == (uint64_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1608; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_v_self->thisptr.setId(__pyx_t_1); - - __pyx_r = 0; - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_AddTraceback("schema._AnnotationBuilder.id.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = -1; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_18_AnnotationBuilder_5value_1__get__(PyObject *__pyx_v_self); /*proto*/ -static PyObject *__pyx_pw_6schema_18_AnnotationBuilder_5value_1__get__(PyObject *__pyx_v_self) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_18_AnnotationBuilder_5value___get__(((struct __pyx_obj_6schema__AnnotationBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1610 - * self.thisptr.setId(val) - * property value: - * def __get__(self): # <<<<<<<<<<<<<< - * return _ValueBuilder().init(self.thisptr.getValue()) - * def __set__(self, val): - */ - -static PyObject *__pyx_pf_6schema_18_AnnotationBuilder_5value___get__(struct __pyx_obj_6schema__AnnotationBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__get__", 0); - - /* "schema.pyx":1611 - * property value: - * def __get__(self): - * return _ValueBuilder().init(self.thisptr.getValue()) # <<<<<<<<<<<<<< - * def __set__(self, val): - * pass - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__ValueBuilder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1611; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__ValueBuilder *)((struct __pyx_obj_6schema__ValueBuilder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__ValueBuilder *)__pyx_t_1), ((::capnp::schema::Value::Builder)__pyx_v_self->thisptr.getValue())); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1611; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema._AnnotationBuilder.value.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_18_AnnotationBuilder_5value_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val); /*proto*/ -static int __pyx_pw_6schema_18_AnnotationBuilder_5value_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__ (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_18_AnnotationBuilder_5value_2__set__(((struct __pyx_obj_6schema__AnnotationBuilder *)__pyx_v_self), ((PyObject *)__pyx_v_val)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1612 - * def __get__(self): - * return _ValueBuilder().init(self.thisptr.getValue()) - * def __set__(self, val): # <<<<<<<<<<<<<< - * pass - * - */ - -static int __pyx_pf_6schema_18_AnnotationBuilder_5value_2__set__(CYTHON_UNUSED struct __pyx_obj_6schema__AnnotationBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_val) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__set__", 0); - - __pyx_r = 0; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static void __pyx_pw_6schema_14MessageBuilder_1__dealloc__(PyObject *__pyx_v_self); /*proto*/ -static void __pyx_pw_6schema_14MessageBuilder_1__dealloc__(PyObject *__pyx_v_self) { - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__dealloc__ (wrapper)", 0); - __pyx_pf_6schema_14MessageBuilder___dealloc__(((struct __pyx_obj_6schema_MessageBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); -} - -/* "schema.pyx":1617 - * cdef class MessageBuilder: - * cdef capnp.MessageBuilder * thisptr - * def __dealloc__(self): # <<<<<<<<<<<<<< - * del self.thisptr - * cpdef getRootCodeGeneratorRequest(self): - */ - -static void __pyx_pf_6schema_14MessageBuilder___dealloc__(CYTHON_UNUSED struct __pyx_obj_6schema_MessageBuilder *__pyx_v_self) { - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__dealloc__", 0); - - /* "schema.pyx":1618 - * cdef capnp.MessageBuilder * thisptr - * def __dealloc__(self): - * del self.thisptr # <<<<<<<<<<<<<< - * cpdef getRootCodeGeneratorRequest(self): - * return _CodeGeneratorRequestBuilder().init(self.thisptr.getRootCodeGeneratorRequest()) - */ - delete __pyx_v_self->thisptr; - - __Pyx_RefNannyFinishContext(); -} - -/* "schema.pyx":1619 - * def __dealloc__(self): - * del self.thisptr - * cpdef getRootCodeGeneratorRequest(self): # <<<<<<<<<<<<<< - * return _CodeGeneratorRequestBuilder().init(self.thisptr.getRootCodeGeneratorRequest()) - * cpdef initRootCodeGeneratorRequest(self): - */ - -static PyObject *__pyx_pw_6schema_14MessageBuilder_3getRootCodeGeneratorRequest(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static PyObject *__pyx_f_6schema_14MessageBuilder_getRootCodeGeneratorRequest(struct __pyx_obj_6schema_MessageBuilder *__pyx_v_self, int __pyx_skip_dispatch) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("getRootCodeGeneratorRequest", 0); - /* Check if called by wrapper */ - if (unlikely(__pyx_skip_dispatch)) ; - /* Check if overridden in Python */ - else if (unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0)) { - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_30); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1619; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (!PyCFunction_Check(__pyx_t_1) || (PyCFunction_GET_FUNCTION(__pyx_t_1) != (PyCFunction)__pyx_pw_6schema_14MessageBuilder_3getRootCodeGeneratorRequest)) { - __Pyx_XDECREF(__pyx_r); - __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1619; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - goto __pyx_L0; - } - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - } - - /* "schema.pyx":1620 - * del self.thisptr - * cpdef getRootCodeGeneratorRequest(self): - * return _CodeGeneratorRequestBuilder().init(self.thisptr.getRootCodeGeneratorRequest()) # <<<<<<<<<<<<<< - * cpdef initRootCodeGeneratorRequest(self): - * return _CodeGeneratorRequestBuilder().init(self.thisptr.initRootCodeGeneratorRequest()) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__CodeGeneratorRequestBuilder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1620; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__CodeGeneratorRequestBuilder *)((struct __pyx_obj_6schema__CodeGeneratorRequestBuilder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__CodeGeneratorRequestBuilder *)__pyx_t_1), __pyx_v_self->thisptr->getRoot<::capnp::schema::CodeGeneratorRequest>()); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1620; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema.MessageBuilder.getRootCodeGeneratorRequest", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = 0; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_14MessageBuilder_3getRootCodeGeneratorRequest(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static PyObject *__pyx_pw_6schema_14MessageBuilder_3getRootCodeGeneratorRequest(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("getRootCodeGeneratorRequest (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_14MessageBuilder_2getRootCodeGeneratorRequest(((struct __pyx_obj_6schema_MessageBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1619 - * def __dealloc__(self): - * del self.thisptr - * cpdef getRootCodeGeneratorRequest(self): # <<<<<<<<<<<<<< - * return _CodeGeneratorRequestBuilder().init(self.thisptr.getRootCodeGeneratorRequest()) - * cpdef initRootCodeGeneratorRequest(self): - */ - -static PyObject *__pyx_pf_6schema_14MessageBuilder_2getRootCodeGeneratorRequest(struct __pyx_obj_6schema_MessageBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("getRootCodeGeneratorRequest", 0); - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = ((struct __pyx_vtabstruct_6schema_MessageBuilder *)__pyx_v_self->__pyx_vtab)->getRootCodeGeneratorRequest(__pyx_v_self, 1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1619; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema.MessageBuilder.getRootCodeGeneratorRequest", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1621 - * cpdef getRootCodeGeneratorRequest(self): - * return _CodeGeneratorRequestBuilder().init(self.thisptr.getRootCodeGeneratorRequest()) - * cpdef initRootCodeGeneratorRequest(self): # <<<<<<<<<<<<<< - * return _CodeGeneratorRequestBuilder().init(self.thisptr.initRootCodeGeneratorRequest()) - * cpdef getRootInterfaceNode(self): - */ - -static PyObject *__pyx_pw_6schema_14MessageBuilder_5initRootCodeGeneratorRequest(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static PyObject *__pyx_f_6schema_14MessageBuilder_initRootCodeGeneratorRequest(struct __pyx_obj_6schema_MessageBuilder *__pyx_v_self, int __pyx_skip_dispatch) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("initRootCodeGeneratorRequest", 0); - /* Check if called by wrapper */ - if (unlikely(__pyx_skip_dispatch)) ; - /* Check if overridden in Python */ - else if (unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0)) { - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_31); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1621; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (!PyCFunction_Check(__pyx_t_1) || (PyCFunction_GET_FUNCTION(__pyx_t_1) != (PyCFunction)__pyx_pw_6schema_14MessageBuilder_5initRootCodeGeneratorRequest)) { - __Pyx_XDECREF(__pyx_r); - __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1621; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - goto __pyx_L0; - } - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - } - - /* "schema.pyx":1622 - * return _CodeGeneratorRequestBuilder().init(self.thisptr.getRootCodeGeneratorRequest()) - * cpdef initRootCodeGeneratorRequest(self): - * return _CodeGeneratorRequestBuilder().init(self.thisptr.initRootCodeGeneratorRequest()) # <<<<<<<<<<<<<< - * cpdef getRootInterfaceNode(self): - * return _InterfaceNodeBuilder().init(self.thisptr.getRootInterfaceNode()) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__CodeGeneratorRequestBuilder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1622; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__CodeGeneratorRequestBuilder *)((struct __pyx_obj_6schema__CodeGeneratorRequestBuilder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__CodeGeneratorRequestBuilder *)__pyx_t_1), __pyx_v_self->thisptr->initRoot<::capnp::schema::CodeGeneratorRequest>()); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1622; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema.MessageBuilder.initRootCodeGeneratorRequest", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = 0; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_14MessageBuilder_5initRootCodeGeneratorRequest(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static PyObject *__pyx_pw_6schema_14MessageBuilder_5initRootCodeGeneratorRequest(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("initRootCodeGeneratorRequest (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_14MessageBuilder_4initRootCodeGeneratorRequest(((struct __pyx_obj_6schema_MessageBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1621 - * cpdef getRootCodeGeneratorRequest(self): - * return _CodeGeneratorRequestBuilder().init(self.thisptr.getRootCodeGeneratorRequest()) - * cpdef initRootCodeGeneratorRequest(self): # <<<<<<<<<<<<<< - * return _CodeGeneratorRequestBuilder().init(self.thisptr.initRootCodeGeneratorRequest()) - * cpdef getRootInterfaceNode(self): - */ - -static PyObject *__pyx_pf_6schema_14MessageBuilder_4initRootCodeGeneratorRequest(struct __pyx_obj_6schema_MessageBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("initRootCodeGeneratorRequest", 0); - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = ((struct __pyx_vtabstruct_6schema_MessageBuilder *)__pyx_v_self->__pyx_vtab)->initRootCodeGeneratorRequest(__pyx_v_self, 1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1621; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema.MessageBuilder.initRootCodeGeneratorRequest", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1623 - * cpdef initRootCodeGeneratorRequest(self): - * return _CodeGeneratorRequestBuilder().init(self.thisptr.initRootCodeGeneratorRequest()) - * cpdef getRootInterfaceNode(self): # <<<<<<<<<<<<<< - * return _InterfaceNodeBuilder().init(self.thisptr.getRootInterfaceNode()) - * cpdef initRootInterfaceNode(self): - */ - -static PyObject *__pyx_pw_6schema_14MessageBuilder_7getRootInterfaceNode(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static PyObject *__pyx_f_6schema_14MessageBuilder_getRootInterfaceNode(struct __pyx_obj_6schema_MessageBuilder *__pyx_v_self, int __pyx_skip_dispatch) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("getRootInterfaceNode", 0); - /* Check if called by wrapper */ - if (unlikely(__pyx_skip_dispatch)) ; - /* Check if overridden in Python */ - else if (unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0)) { - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_32); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1623; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (!PyCFunction_Check(__pyx_t_1) || (PyCFunction_GET_FUNCTION(__pyx_t_1) != (PyCFunction)__pyx_pw_6schema_14MessageBuilder_7getRootInterfaceNode)) { - __Pyx_XDECREF(__pyx_r); - __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1623; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - goto __pyx_L0; - } - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - } - - /* "schema.pyx":1624 - * return _CodeGeneratorRequestBuilder().init(self.thisptr.initRootCodeGeneratorRequest()) - * cpdef getRootInterfaceNode(self): - * return _InterfaceNodeBuilder().init(self.thisptr.getRootInterfaceNode()) # <<<<<<<<<<<<<< - * cpdef initRootInterfaceNode(self): - * return _InterfaceNodeBuilder().init(self.thisptr.initRootInterfaceNode()) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__InterfaceNodeBuilder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1624; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__InterfaceNodeBuilder *)((struct __pyx_obj_6schema__InterfaceNodeBuilder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__InterfaceNodeBuilder *)__pyx_t_1), __pyx_v_self->thisptr->getRoot<::capnp::schema::InterfaceNode>()); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1624; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema.MessageBuilder.getRootInterfaceNode", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = 0; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_14MessageBuilder_7getRootInterfaceNode(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static PyObject *__pyx_pw_6schema_14MessageBuilder_7getRootInterfaceNode(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("getRootInterfaceNode (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_14MessageBuilder_6getRootInterfaceNode(((struct __pyx_obj_6schema_MessageBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1623 - * cpdef initRootCodeGeneratorRequest(self): - * return _CodeGeneratorRequestBuilder().init(self.thisptr.initRootCodeGeneratorRequest()) - * cpdef getRootInterfaceNode(self): # <<<<<<<<<<<<<< - * return _InterfaceNodeBuilder().init(self.thisptr.getRootInterfaceNode()) - * cpdef initRootInterfaceNode(self): - */ - -static PyObject *__pyx_pf_6schema_14MessageBuilder_6getRootInterfaceNode(struct __pyx_obj_6schema_MessageBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("getRootInterfaceNode", 0); - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = ((struct __pyx_vtabstruct_6schema_MessageBuilder *)__pyx_v_self->__pyx_vtab)->getRootInterfaceNode(__pyx_v_self, 1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1623; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema.MessageBuilder.getRootInterfaceNode", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1625 - * cpdef getRootInterfaceNode(self): - * return _InterfaceNodeBuilder().init(self.thisptr.getRootInterfaceNode()) - * cpdef initRootInterfaceNode(self): # <<<<<<<<<<<<<< - * return _InterfaceNodeBuilder().init(self.thisptr.initRootInterfaceNode()) - * cpdef getRootValue(self): - */ - -static PyObject *__pyx_pw_6schema_14MessageBuilder_9initRootInterfaceNode(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static PyObject *__pyx_f_6schema_14MessageBuilder_initRootInterfaceNode(struct __pyx_obj_6schema_MessageBuilder *__pyx_v_self, int __pyx_skip_dispatch) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("initRootInterfaceNode", 0); - /* Check if called by wrapper */ - if (unlikely(__pyx_skip_dispatch)) ; - /* Check if overridden in Python */ - else if (unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0)) { - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_33); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1625; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (!PyCFunction_Check(__pyx_t_1) || (PyCFunction_GET_FUNCTION(__pyx_t_1) != (PyCFunction)__pyx_pw_6schema_14MessageBuilder_9initRootInterfaceNode)) { - __Pyx_XDECREF(__pyx_r); - __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1625; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - goto __pyx_L0; - } - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - } - - /* "schema.pyx":1626 - * return _InterfaceNodeBuilder().init(self.thisptr.getRootInterfaceNode()) - * cpdef initRootInterfaceNode(self): - * return _InterfaceNodeBuilder().init(self.thisptr.initRootInterfaceNode()) # <<<<<<<<<<<<<< - * cpdef getRootValue(self): - * return _ValueBuilder().init(self.thisptr.getRootValue()) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__InterfaceNodeBuilder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1626; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__InterfaceNodeBuilder *)((struct __pyx_obj_6schema__InterfaceNodeBuilder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__InterfaceNodeBuilder *)__pyx_t_1), __pyx_v_self->thisptr->initRoot<::capnp::schema::InterfaceNode>()); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1626; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema.MessageBuilder.initRootInterfaceNode", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = 0; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_14MessageBuilder_9initRootInterfaceNode(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static PyObject *__pyx_pw_6schema_14MessageBuilder_9initRootInterfaceNode(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("initRootInterfaceNode (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_14MessageBuilder_8initRootInterfaceNode(((struct __pyx_obj_6schema_MessageBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1625 - * cpdef getRootInterfaceNode(self): - * return _InterfaceNodeBuilder().init(self.thisptr.getRootInterfaceNode()) - * cpdef initRootInterfaceNode(self): # <<<<<<<<<<<<<< - * return _InterfaceNodeBuilder().init(self.thisptr.initRootInterfaceNode()) - * cpdef getRootValue(self): - */ - -static PyObject *__pyx_pf_6schema_14MessageBuilder_8initRootInterfaceNode(struct __pyx_obj_6schema_MessageBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("initRootInterfaceNode", 0); - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = ((struct __pyx_vtabstruct_6schema_MessageBuilder *)__pyx_v_self->__pyx_vtab)->initRootInterfaceNode(__pyx_v_self, 1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1625; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema.MessageBuilder.initRootInterfaceNode", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1627 - * cpdef initRootInterfaceNode(self): - * return _InterfaceNodeBuilder().init(self.thisptr.initRootInterfaceNode()) - * cpdef getRootValue(self): # <<<<<<<<<<<<<< - * return _ValueBuilder().init(self.thisptr.getRootValue()) - * cpdef initRootValue(self): - */ - -static PyObject *__pyx_pw_6schema_14MessageBuilder_11getRootValue(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static PyObject *__pyx_f_6schema_14MessageBuilder_getRootValue(struct __pyx_obj_6schema_MessageBuilder *__pyx_v_self, int __pyx_skip_dispatch) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("getRootValue", 0); - /* Check if called by wrapper */ - if (unlikely(__pyx_skip_dispatch)) ; - /* Check if overridden in Python */ - else if (unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0)) { - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s__getRootValue); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1627; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (!PyCFunction_Check(__pyx_t_1) || (PyCFunction_GET_FUNCTION(__pyx_t_1) != (PyCFunction)__pyx_pw_6schema_14MessageBuilder_11getRootValue)) { - __Pyx_XDECREF(__pyx_r); - __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1627; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - goto __pyx_L0; - } - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - } - - /* "schema.pyx":1628 - * return _InterfaceNodeBuilder().init(self.thisptr.initRootInterfaceNode()) - * cpdef getRootValue(self): - * return _ValueBuilder().init(self.thisptr.getRootValue()) # <<<<<<<<<<<<<< - * cpdef initRootValue(self): - * return _ValueBuilder().init(self.thisptr.initRootValue()) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__ValueBuilder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1628; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__ValueBuilder *)((struct __pyx_obj_6schema__ValueBuilder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__ValueBuilder *)__pyx_t_1), __pyx_v_self->thisptr->getRoot<::capnp::schema::Value>()); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1628; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema.MessageBuilder.getRootValue", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = 0; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_14MessageBuilder_11getRootValue(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static PyObject *__pyx_pw_6schema_14MessageBuilder_11getRootValue(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("getRootValue (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_14MessageBuilder_10getRootValue(((struct __pyx_obj_6schema_MessageBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1627 - * cpdef initRootInterfaceNode(self): - * return _InterfaceNodeBuilder().init(self.thisptr.initRootInterfaceNode()) - * cpdef getRootValue(self): # <<<<<<<<<<<<<< - * return _ValueBuilder().init(self.thisptr.getRootValue()) - * cpdef initRootValue(self): - */ - -static PyObject *__pyx_pf_6schema_14MessageBuilder_10getRootValue(struct __pyx_obj_6schema_MessageBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("getRootValue", 0); - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = ((struct __pyx_vtabstruct_6schema_MessageBuilder *)__pyx_v_self->__pyx_vtab)->getRootValue(__pyx_v_self, 1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1627; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema.MessageBuilder.getRootValue", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1629 - * cpdef getRootValue(self): - * return _ValueBuilder().init(self.thisptr.getRootValue()) - * cpdef initRootValue(self): # <<<<<<<<<<<<<< - * return _ValueBuilder().init(self.thisptr.initRootValue()) - * cpdef getRootConstNode(self): - */ - -static PyObject *__pyx_pw_6schema_14MessageBuilder_13initRootValue(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static PyObject *__pyx_f_6schema_14MessageBuilder_initRootValue(struct __pyx_obj_6schema_MessageBuilder *__pyx_v_self, int __pyx_skip_dispatch) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("initRootValue", 0); - /* Check if called by wrapper */ - if (unlikely(__pyx_skip_dispatch)) ; - /* Check if overridden in Python */ - else if (unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0)) { - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s__initRootValue); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1629; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (!PyCFunction_Check(__pyx_t_1) || (PyCFunction_GET_FUNCTION(__pyx_t_1) != (PyCFunction)__pyx_pw_6schema_14MessageBuilder_13initRootValue)) { - __Pyx_XDECREF(__pyx_r); - __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1629; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - goto __pyx_L0; - } - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - } - - /* "schema.pyx":1630 - * return _ValueBuilder().init(self.thisptr.getRootValue()) - * cpdef initRootValue(self): - * return _ValueBuilder().init(self.thisptr.initRootValue()) # <<<<<<<<<<<<<< - * cpdef getRootConstNode(self): - * return _ConstNodeBuilder().init(self.thisptr.getRootConstNode()) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__ValueBuilder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1630; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__ValueBuilder *)((struct __pyx_obj_6schema__ValueBuilder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__ValueBuilder *)__pyx_t_1), __pyx_v_self->thisptr->initRoot<::capnp::schema::Value>()); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1630; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema.MessageBuilder.initRootValue", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = 0; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_14MessageBuilder_13initRootValue(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static PyObject *__pyx_pw_6schema_14MessageBuilder_13initRootValue(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("initRootValue (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_14MessageBuilder_12initRootValue(((struct __pyx_obj_6schema_MessageBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1629 - * cpdef getRootValue(self): - * return _ValueBuilder().init(self.thisptr.getRootValue()) - * cpdef initRootValue(self): # <<<<<<<<<<<<<< - * return _ValueBuilder().init(self.thisptr.initRootValue()) - * cpdef getRootConstNode(self): - */ - -static PyObject *__pyx_pf_6schema_14MessageBuilder_12initRootValue(struct __pyx_obj_6schema_MessageBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("initRootValue", 0); - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = ((struct __pyx_vtabstruct_6schema_MessageBuilder *)__pyx_v_self->__pyx_vtab)->initRootValue(__pyx_v_self, 1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1629; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema.MessageBuilder.initRootValue", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1631 - * cpdef initRootValue(self): - * return _ValueBuilder().init(self.thisptr.initRootValue()) - * cpdef getRootConstNode(self): # <<<<<<<<<<<<<< - * return _ConstNodeBuilder().init(self.thisptr.getRootConstNode()) - * cpdef initRootConstNode(self): - */ - -static PyObject *__pyx_pw_6schema_14MessageBuilder_15getRootConstNode(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static PyObject *__pyx_f_6schema_14MessageBuilder_getRootConstNode(struct __pyx_obj_6schema_MessageBuilder *__pyx_v_self, int __pyx_skip_dispatch) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("getRootConstNode", 0); - /* Check if called by wrapper */ - if (unlikely(__pyx_skip_dispatch)) ; - /* Check if overridden in Python */ - else if (unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0)) { - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s__getRootConstNode); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1631; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (!PyCFunction_Check(__pyx_t_1) || (PyCFunction_GET_FUNCTION(__pyx_t_1) != (PyCFunction)__pyx_pw_6schema_14MessageBuilder_15getRootConstNode)) { - __Pyx_XDECREF(__pyx_r); - __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1631; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - goto __pyx_L0; - } - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - } - - /* "schema.pyx":1632 - * return _ValueBuilder().init(self.thisptr.initRootValue()) - * cpdef getRootConstNode(self): - * return _ConstNodeBuilder().init(self.thisptr.getRootConstNode()) # <<<<<<<<<<<<<< - * cpdef initRootConstNode(self): - * return _ConstNodeBuilder().init(self.thisptr.initRootConstNode()) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__ConstNodeBuilder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1632; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__ConstNodeBuilder *)((struct __pyx_obj_6schema__ConstNodeBuilder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__ConstNodeBuilder *)__pyx_t_1), __pyx_v_self->thisptr->getRoot<::capnp::schema::ConstNode>()); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1632; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema.MessageBuilder.getRootConstNode", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = 0; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_14MessageBuilder_15getRootConstNode(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static PyObject *__pyx_pw_6schema_14MessageBuilder_15getRootConstNode(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("getRootConstNode (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_14MessageBuilder_14getRootConstNode(((struct __pyx_obj_6schema_MessageBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1631 - * cpdef initRootValue(self): - * return _ValueBuilder().init(self.thisptr.initRootValue()) - * cpdef getRootConstNode(self): # <<<<<<<<<<<<<< - * return _ConstNodeBuilder().init(self.thisptr.getRootConstNode()) - * cpdef initRootConstNode(self): - */ - -static PyObject *__pyx_pf_6schema_14MessageBuilder_14getRootConstNode(struct __pyx_obj_6schema_MessageBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("getRootConstNode", 0); - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = ((struct __pyx_vtabstruct_6schema_MessageBuilder *)__pyx_v_self->__pyx_vtab)->getRootConstNode(__pyx_v_self, 1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1631; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema.MessageBuilder.getRootConstNode", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1633 - * cpdef getRootConstNode(self): - * return _ConstNodeBuilder().init(self.thisptr.getRootConstNode()) - * cpdef initRootConstNode(self): # <<<<<<<<<<<<<< - * return _ConstNodeBuilder().init(self.thisptr.initRootConstNode()) - * cpdef getRootType(self): - */ - -static PyObject *__pyx_pw_6schema_14MessageBuilder_17initRootConstNode(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static PyObject *__pyx_f_6schema_14MessageBuilder_initRootConstNode(struct __pyx_obj_6schema_MessageBuilder *__pyx_v_self, int __pyx_skip_dispatch) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("initRootConstNode", 0); - /* Check if called by wrapper */ - if (unlikely(__pyx_skip_dispatch)) ; - /* Check if overridden in Python */ - else if (unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0)) { - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s__initRootConstNode); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1633; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (!PyCFunction_Check(__pyx_t_1) || (PyCFunction_GET_FUNCTION(__pyx_t_1) != (PyCFunction)__pyx_pw_6schema_14MessageBuilder_17initRootConstNode)) { - __Pyx_XDECREF(__pyx_r); - __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1633; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - goto __pyx_L0; - } - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - } - - /* "schema.pyx":1634 - * return _ConstNodeBuilder().init(self.thisptr.getRootConstNode()) - * cpdef initRootConstNode(self): - * return _ConstNodeBuilder().init(self.thisptr.initRootConstNode()) # <<<<<<<<<<<<<< - * cpdef getRootType(self): - * return _TypeBuilder().init(self.thisptr.getRootType()) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__ConstNodeBuilder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1634; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__ConstNodeBuilder *)((struct __pyx_obj_6schema__ConstNodeBuilder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__ConstNodeBuilder *)__pyx_t_1), __pyx_v_self->thisptr->initRoot<::capnp::schema::ConstNode>()); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1634; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema.MessageBuilder.initRootConstNode", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = 0; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_14MessageBuilder_17initRootConstNode(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static PyObject *__pyx_pw_6schema_14MessageBuilder_17initRootConstNode(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("initRootConstNode (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_14MessageBuilder_16initRootConstNode(((struct __pyx_obj_6schema_MessageBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1633 - * cpdef getRootConstNode(self): - * return _ConstNodeBuilder().init(self.thisptr.getRootConstNode()) - * cpdef initRootConstNode(self): # <<<<<<<<<<<<<< - * return _ConstNodeBuilder().init(self.thisptr.initRootConstNode()) - * cpdef getRootType(self): - */ - -static PyObject *__pyx_pf_6schema_14MessageBuilder_16initRootConstNode(struct __pyx_obj_6schema_MessageBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("initRootConstNode", 0); - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = ((struct __pyx_vtabstruct_6schema_MessageBuilder *)__pyx_v_self->__pyx_vtab)->initRootConstNode(__pyx_v_self, 1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1633; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema.MessageBuilder.initRootConstNode", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1635 - * cpdef initRootConstNode(self): - * return _ConstNodeBuilder().init(self.thisptr.initRootConstNode()) - * cpdef getRootType(self): # <<<<<<<<<<<<<< - * return _TypeBuilder().init(self.thisptr.getRootType()) - * cpdef initRootType(self): - */ - -static PyObject *__pyx_pw_6schema_14MessageBuilder_19getRootType(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static PyObject *__pyx_f_6schema_14MessageBuilder_getRootType(struct __pyx_obj_6schema_MessageBuilder *__pyx_v_self, int __pyx_skip_dispatch) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("getRootType", 0); - /* Check if called by wrapper */ - if (unlikely(__pyx_skip_dispatch)) ; - /* Check if overridden in Python */ - else if (unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0)) { - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s__getRootType); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1635; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (!PyCFunction_Check(__pyx_t_1) || (PyCFunction_GET_FUNCTION(__pyx_t_1) != (PyCFunction)__pyx_pw_6schema_14MessageBuilder_19getRootType)) { - __Pyx_XDECREF(__pyx_r); - __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1635; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - goto __pyx_L0; - } - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - } - - /* "schema.pyx":1636 - * return _ConstNodeBuilder().init(self.thisptr.initRootConstNode()) - * cpdef getRootType(self): - * return _TypeBuilder().init(self.thisptr.getRootType()) # <<<<<<<<<<<<<< - * cpdef initRootType(self): - * return _TypeBuilder().init(self.thisptr.initRootType()) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__TypeBuilder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1636; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__TypeBuilder *)((struct __pyx_obj_6schema__TypeBuilder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__TypeBuilder *)__pyx_t_1), __pyx_v_self->thisptr->getRoot<::capnp::schema::Type>()); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1636; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema.MessageBuilder.getRootType", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = 0; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_14MessageBuilder_19getRootType(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static PyObject *__pyx_pw_6schema_14MessageBuilder_19getRootType(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("getRootType (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_14MessageBuilder_18getRootType(((struct __pyx_obj_6schema_MessageBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1635 - * cpdef initRootConstNode(self): - * return _ConstNodeBuilder().init(self.thisptr.initRootConstNode()) - * cpdef getRootType(self): # <<<<<<<<<<<<<< - * return _TypeBuilder().init(self.thisptr.getRootType()) - * cpdef initRootType(self): - */ - -static PyObject *__pyx_pf_6schema_14MessageBuilder_18getRootType(struct __pyx_obj_6schema_MessageBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("getRootType", 0); - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = ((struct __pyx_vtabstruct_6schema_MessageBuilder *)__pyx_v_self->__pyx_vtab)->getRootType(__pyx_v_self, 1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1635; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema.MessageBuilder.getRootType", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1637 - * cpdef getRootType(self): - * return _TypeBuilder().init(self.thisptr.getRootType()) - * cpdef initRootType(self): # <<<<<<<<<<<<<< - * return _TypeBuilder().init(self.thisptr.initRootType()) - * cpdef getRootFileNode(self): - */ - -static PyObject *__pyx_pw_6schema_14MessageBuilder_21initRootType(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static PyObject *__pyx_f_6schema_14MessageBuilder_initRootType(struct __pyx_obj_6schema_MessageBuilder *__pyx_v_self, int __pyx_skip_dispatch) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("initRootType", 0); - /* Check if called by wrapper */ - if (unlikely(__pyx_skip_dispatch)) ; - /* Check if overridden in Python */ - else if (unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0)) { - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s__initRootType); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1637; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (!PyCFunction_Check(__pyx_t_1) || (PyCFunction_GET_FUNCTION(__pyx_t_1) != (PyCFunction)__pyx_pw_6schema_14MessageBuilder_21initRootType)) { - __Pyx_XDECREF(__pyx_r); - __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1637; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - goto __pyx_L0; - } - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - } - - /* "schema.pyx":1638 - * return _TypeBuilder().init(self.thisptr.getRootType()) - * cpdef initRootType(self): - * return _TypeBuilder().init(self.thisptr.initRootType()) # <<<<<<<<<<<<<< - * cpdef getRootFileNode(self): - * return _FileNodeBuilder().init(self.thisptr.getRootFileNode()) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__TypeBuilder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1638; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__TypeBuilder *)((struct __pyx_obj_6schema__TypeBuilder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__TypeBuilder *)__pyx_t_1), __pyx_v_self->thisptr->initRoot<::capnp::schema::Type>()); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1638; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema.MessageBuilder.initRootType", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = 0; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_14MessageBuilder_21initRootType(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static PyObject *__pyx_pw_6schema_14MessageBuilder_21initRootType(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("initRootType (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_14MessageBuilder_20initRootType(((struct __pyx_obj_6schema_MessageBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1637 - * cpdef getRootType(self): - * return _TypeBuilder().init(self.thisptr.getRootType()) - * cpdef initRootType(self): # <<<<<<<<<<<<<< - * return _TypeBuilder().init(self.thisptr.initRootType()) - * cpdef getRootFileNode(self): - */ - -static PyObject *__pyx_pf_6schema_14MessageBuilder_20initRootType(struct __pyx_obj_6schema_MessageBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("initRootType", 0); - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = ((struct __pyx_vtabstruct_6schema_MessageBuilder *)__pyx_v_self->__pyx_vtab)->initRootType(__pyx_v_self, 1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1637; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema.MessageBuilder.initRootType", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1639 - * cpdef initRootType(self): - * return _TypeBuilder().init(self.thisptr.initRootType()) - * cpdef getRootFileNode(self): # <<<<<<<<<<<<<< - * return _FileNodeBuilder().init(self.thisptr.getRootFileNode()) - * cpdef initRootFileNode(self): - */ - -static PyObject *__pyx_pw_6schema_14MessageBuilder_23getRootFileNode(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static PyObject *__pyx_f_6schema_14MessageBuilder_getRootFileNode(struct __pyx_obj_6schema_MessageBuilder *__pyx_v_self, int __pyx_skip_dispatch) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("getRootFileNode", 0); - /* Check if called by wrapper */ - if (unlikely(__pyx_skip_dispatch)) ; - /* Check if overridden in Python */ - else if (unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0)) { - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s__getRootFileNode); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1639; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (!PyCFunction_Check(__pyx_t_1) || (PyCFunction_GET_FUNCTION(__pyx_t_1) != (PyCFunction)__pyx_pw_6schema_14MessageBuilder_23getRootFileNode)) { - __Pyx_XDECREF(__pyx_r); - __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1639; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - goto __pyx_L0; - } - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - } - - /* "schema.pyx":1640 - * return _TypeBuilder().init(self.thisptr.initRootType()) - * cpdef getRootFileNode(self): - * return _FileNodeBuilder().init(self.thisptr.getRootFileNode()) # <<<<<<<<<<<<<< - * cpdef initRootFileNode(self): - * return _FileNodeBuilder().init(self.thisptr.initRootFileNode()) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__FileNodeBuilder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1640; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__FileNodeBuilder *)((struct __pyx_obj_6schema__FileNodeBuilder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__FileNodeBuilder *)__pyx_t_1), __pyx_v_self->thisptr->getRoot<::capnp::schema::FileNode>()); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1640; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema.MessageBuilder.getRootFileNode", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = 0; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_14MessageBuilder_23getRootFileNode(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static PyObject *__pyx_pw_6schema_14MessageBuilder_23getRootFileNode(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("getRootFileNode (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_14MessageBuilder_22getRootFileNode(((struct __pyx_obj_6schema_MessageBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1639 - * cpdef initRootType(self): - * return _TypeBuilder().init(self.thisptr.initRootType()) - * cpdef getRootFileNode(self): # <<<<<<<<<<<<<< - * return _FileNodeBuilder().init(self.thisptr.getRootFileNode()) - * cpdef initRootFileNode(self): - */ - -static PyObject *__pyx_pf_6schema_14MessageBuilder_22getRootFileNode(struct __pyx_obj_6schema_MessageBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("getRootFileNode", 0); - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = ((struct __pyx_vtabstruct_6schema_MessageBuilder *)__pyx_v_self->__pyx_vtab)->getRootFileNode(__pyx_v_self, 1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1639; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema.MessageBuilder.getRootFileNode", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1641 - * cpdef getRootFileNode(self): - * return _FileNodeBuilder().init(self.thisptr.getRootFileNode()) - * cpdef initRootFileNode(self): # <<<<<<<<<<<<<< - * return _FileNodeBuilder().init(self.thisptr.initRootFileNode()) - * cpdef getRootNode(self): - */ - -static PyObject *__pyx_pw_6schema_14MessageBuilder_25initRootFileNode(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static PyObject *__pyx_f_6schema_14MessageBuilder_initRootFileNode(struct __pyx_obj_6schema_MessageBuilder *__pyx_v_self, int __pyx_skip_dispatch) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("initRootFileNode", 0); - /* Check if called by wrapper */ - if (unlikely(__pyx_skip_dispatch)) ; - /* Check if overridden in Python */ - else if (unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0)) { - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s__initRootFileNode); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1641; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (!PyCFunction_Check(__pyx_t_1) || (PyCFunction_GET_FUNCTION(__pyx_t_1) != (PyCFunction)__pyx_pw_6schema_14MessageBuilder_25initRootFileNode)) { - __Pyx_XDECREF(__pyx_r); - __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1641; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - goto __pyx_L0; - } - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - } - - /* "schema.pyx":1642 - * return _FileNodeBuilder().init(self.thisptr.getRootFileNode()) - * cpdef initRootFileNode(self): - * return _FileNodeBuilder().init(self.thisptr.initRootFileNode()) # <<<<<<<<<<<<<< - * cpdef getRootNode(self): - * return _NodeBuilder().init(self.thisptr.getRootNode()) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__FileNodeBuilder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1642; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__FileNodeBuilder *)((struct __pyx_obj_6schema__FileNodeBuilder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__FileNodeBuilder *)__pyx_t_1), __pyx_v_self->thisptr->initRoot<::capnp::schema::FileNode>()); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1642; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema.MessageBuilder.initRootFileNode", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = 0; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_14MessageBuilder_25initRootFileNode(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static PyObject *__pyx_pw_6schema_14MessageBuilder_25initRootFileNode(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("initRootFileNode (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_14MessageBuilder_24initRootFileNode(((struct __pyx_obj_6schema_MessageBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1641 - * cpdef getRootFileNode(self): - * return _FileNodeBuilder().init(self.thisptr.getRootFileNode()) - * cpdef initRootFileNode(self): # <<<<<<<<<<<<<< - * return _FileNodeBuilder().init(self.thisptr.initRootFileNode()) - * cpdef getRootNode(self): - */ - -static PyObject *__pyx_pf_6schema_14MessageBuilder_24initRootFileNode(struct __pyx_obj_6schema_MessageBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("initRootFileNode", 0); - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = ((struct __pyx_vtabstruct_6schema_MessageBuilder *)__pyx_v_self->__pyx_vtab)->initRootFileNode(__pyx_v_self, 1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1641; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema.MessageBuilder.initRootFileNode", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1643 - * cpdef initRootFileNode(self): - * return _FileNodeBuilder().init(self.thisptr.initRootFileNode()) - * cpdef getRootNode(self): # <<<<<<<<<<<<<< - * return _NodeBuilder().init(self.thisptr.getRootNode()) - * cpdef initRootNode(self): - */ - -static PyObject *__pyx_pw_6schema_14MessageBuilder_27getRootNode(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static PyObject *__pyx_f_6schema_14MessageBuilder_getRootNode(struct __pyx_obj_6schema_MessageBuilder *__pyx_v_self, int __pyx_skip_dispatch) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("getRootNode", 0); - /* Check if called by wrapper */ - if (unlikely(__pyx_skip_dispatch)) ; - /* Check if overridden in Python */ - else if (unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0)) { - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s__getRootNode); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1643; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (!PyCFunction_Check(__pyx_t_1) || (PyCFunction_GET_FUNCTION(__pyx_t_1) != (PyCFunction)__pyx_pw_6schema_14MessageBuilder_27getRootNode)) { - __Pyx_XDECREF(__pyx_r); - __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1643; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - goto __pyx_L0; - } - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - } - - /* "schema.pyx":1644 - * return _FileNodeBuilder().init(self.thisptr.initRootFileNode()) - * cpdef getRootNode(self): - * return _NodeBuilder().init(self.thisptr.getRootNode()) # <<<<<<<<<<<<<< - * cpdef initRootNode(self): - * return _NodeBuilder().init(self.thisptr.initRootNode()) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__NodeBuilder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1644; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__NodeBuilder *)((struct __pyx_obj_6schema__NodeBuilder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__NodeBuilder *)__pyx_t_1), __pyx_v_self->thisptr->getRoot<::capnp::schema::Node>()); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1644; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema.MessageBuilder.getRootNode", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = 0; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_14MessageBuilder_27getRootNode(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static PyObject *__pyx_pw_6schema_14MessageBuilder_27getRootNode(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("getRootNode (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_14MessageBuilder_26getRootNode(((struct __pyx_obj_6schema_MessageBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1643 - * cpdef initRootFileNode(self): - * return _FileNodeBuilder().init(self.thisptr.initRootFileNode()) - * cpdef getRootNode(self): # <<<<<<<<<<<<<< - * return _NodeBuilder().init(self.thisptr.getRootNode()) - * cpdef initRootNode(self): - */ - -static PyObject *__pyx_pf_6schema_14MessageBuilder_26getRootNode(struct __pyx_obj_6schema_MessageBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("getRootNode", 0); - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = ((struct __pyx_vtabstruct_6schema_MessageBuilder *)__pyx_v_self->__pyx_vtab)->getRootNode(__pyx_v_self, 1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1643; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema.MessageBuilder.getRootNode", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1645 - * cpdef getRootNode(self): - * return _NodeBuilder().init(self.thisptr.getRootNode()) - * cpdef initRootNode(self): # <<<<<<<<<<<<<< - * return _NodeBuilder().init(self.thisptr.initRootNode()) - * cpdef getRootAnnotationNode(self): - */ - -static PyObject *__pyx_pw_6schema_14MessageBuilder_29initRootNode(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static PyObject *__pyx_f_6schema_14MessageBuilder_initRootNode(struct __pyx_obj_6schema_MessageBuilder *__pyx_v_self, int __pyx_skip_dispatch) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("initRootNode", 0); - /* Check if called by wrapper */ - if (unlikely(__pyx_skip_dispatch)) ; - /* Check if overridden in Python */ - else if (unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0)) { - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s__initRootNode); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1645; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (!PyCFunction_Check(__pyx_t_1) || (PyCFunction_GET_FUNCTION(__pyx_t_1) != (PyCFunction)__pyx_pw_6schema_14MessageBuilder_29initRootNode)) { - __Pyx_XDECREF(__pyx_r); - __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1645; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - goto __pyx_L0; - } - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - } - - /* "schema.pyx":1646 - * return _NodeBuilder().init(self.thisptr.getRootNode()) - * cpdef initRootNode(self): - * return _NodeBuilder().init(self.thisptr.initRootNode()) # <<<<<<<<<<<<<< - * cpdef getRootAnnotationNode(self): - * return _AnnotationNodeBuilder().init(self.thisptr.getRootAnnotationNode()) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__NodeBuilder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1646; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__NodeBuilder *)((struct __pyx_obj_6schema__NodeBuilder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__NodeBuilder *)__pyx_t_1), __pyx_v_self->thisptr->initRoot<::capnp::schema::Node>()); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1646; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema.MessageBuilder.initRootNode", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = 0; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_14MessageBuilder_29initRootNode(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static PyObject *__pyx_pw_6schema_14MessageBuilder_29initRootNode(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("initRootNode (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_14MessageBuilder_28initRootNode(((struct __pyx_obj_6schema_MessageBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1645 - * cpdef getRootNode(self): - * return _NodeBuilder().init(self.thisptr.getRootNode()) - * cpdef initRootNode(self): # <<<<<<<<<<<<<< - * return _NodeBuilder().init(self.thisptr.initRootNode()) - * cpdef getRootAnnotationNode(self): - */ - -static PyObject *__pyx_pf_6schema_14MessageBuilder_28initRootNode(struct __pyx_obj_6schema_MessageBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("initRootNode", 0); - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = ((struct __pyx_vtabstruct_6schema_MessageBuilder *)__pyx_v_self->__pyx_vtab)->initRootNode(__pyx_v_self, 1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1645; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema.MessageBuilder.initRootNode", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1647 - * cpdef initRootNode(self): - * return _NodeBuilder().init(self.thisptr.initRootNode()) - * cpdef getRootAnnotationNode(self): # <<<<<<<<<<<<<< - * return _AnnotationNodeBuilder().init(self.thisptr.getRootAnnotationNode()) - * cpdef initRootAnnotationNode(self): - */ - -static PyObject *__pyx_pw_6schema_14MessageBuilder_31getRootAnnotationNode(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static PyObject *__pyx_f_6schema_14MessageBuilder_getRootAnnotationNode(struct __pyx_obj_6schema_MessageBuilder *__pyx_v_self, int __pyx_skip_dispatch) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("getRootAnnotationNode", 0); - /* Check if called by wrapper */ - if (unlikely(__pyx_skip_dispatch)) ; - /* Check if overridden in Python */ - else if (unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0)) { - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_34); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1647; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (!PyCFunction_Check(__pyx_t_1) || (PyCFunction_GET_FUNCTION(__pyx_t_1) != (PyCFunction)__pyx_pw_6schema_14MessageBuilder_31getRootAnnotationNode)) { - __Pyx_XDECREF(__pyx_r); - __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1647; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - goto __pyx_L0; - } - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - } - - /* "schema.pyx":1648 - * return _NodeBuilder().init(self.thisptr.initRootNode()) - * cpdef getRootAnnotationNode(self): - * return _AnnotationNodeBuilder().init(self.thisptr.getRootAnnotationNode()) # <<<<<<<<<<<<<< - * cpdef initRootAnnotationNode(self): - * return _AnnotationNodeBuilder().init(self.thisptr.initRootAnnotationNode()) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__AnnotationNodeBuilder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1648; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__AnnotationNodeBuilder *)((struct __pyx_obj_6schema__AnnotationNodeBuilder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__AnnotationNodeBuilder *)__pyx_t_1), __pyx_v_self->thisptr->getRoot<::capnp::schema::AnnotationNode>()); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1648; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema.MessageBuilder.getRootAnnotationNode", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = 0; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_14MessageBuilder_31getRootAnnotationNode(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static PyObject *__pyx_pw_6schema_14MessageBuilder_31getRootAnnotationNode(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("getRootAnnotationNode (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_14MessageBuilder_30getRootAnnotationNode(((struct __pyx_obj_6schema_MessageBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1647 - * cpdef initRootNode(self): - * return _NodeBuilder().init(self.thisptr.initRootNode()) - * cpdef getRootAnnotationNode(self): # <<<<<<<<<<<<<< - * return _AnnotationNodeBuilder().init(self.thisptr.getRootAnnotationNode()) - * cpdef initRootAnnotationNode(self): - */ - -static PyObject *__pyx_pf_6schema_14MessageBuilder_30getRootAnnotationNode(struct __pyx_obj_6schema_MessageBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("getRootAnnotationNode", 0); - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = ((struct __pyx_vtabstruct_6schema_MessageBuilder *)__pyx_v_self->__pyx_vtab)->getRootAnnotationNode(__pyx_v_self, 1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1647; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema.MessageBuilder.getRootAnnotationNode", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1649 - * cpdef getRootAnnotationNode(self): - * return _AnnotationNodeBuilder().init(self.thisptr.getRootAnnotationNode()) - * cpdef initRootAnnotationNode(self): # <<<<<<<<<<<<<< - * return _AnnotationNodeBuilder().init(self.thisptr.initRootAnnotationNode()) - * cpdef getRootEnumNode(self): - */ - -static PyObject *__pyx_pw_6schema_14MessageBuilder_33initRootAnnotationNode(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static PyObject *__pyx_f_6schema_14MessageBuilder_initRootAnnotationNode(struct __pyx_obj_6schema_MessageBuilder *__pyx_v_self, int __pyx_skip_dispatch) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("initRootAnnotationNode", 0); - /* Check if called by wrapper */ - if (unlikely(__pyx_skip_dispatch)) ; - /* Check if overridden in Python */ - else if (unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0)) { - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_35); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1649; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (!PyCFunction_Check(__pyx_t_1) || (PyCFunction_GET_FUNCTION(__pyx_t_1) != (PyCFunction)__pyx_pw_6schema_14MessageBuilder_33initRootAnnotationNode)) { - __Pyx_XDECREF(__pyx_r); - __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1649; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - goto __pyx_L0; - } - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - } - - /* "schema.pyx":1650 - * return _AnnotationNodeBuilder().init(self.thisptr.getRootAnnotationNode()) - * cpdef initRootAnnotationNode(self): - * return _AnnotationNodeBuilder().init(self.thisptr.initRootAnnotationNode()) # <<<<<<<<<<<<<< - * cpdef getRootEnumNode(self): - * return _EnumNodeBuilder().init(self.thisptr.getRootEnumNode()) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__AnnotationNodeBuilder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1650; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__AnnotationNodeBuilder *)((struct __pyx_obj_6schema__AnnotationNodeBuilder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__AnnotationNodeBuilder *)__pyx_t_1), __pyx_v_self->thisptr->initRoot<::capnp::schema::AnnotationNode>()); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1650; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema.MessageBuilder.initRootAnnotationNode", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = 0; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_14MessageBuilder_33initRootAnnotationNode(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static PyObject *__pyx_pw_6schema_14MessageBuilder_33initRootAnnotationNode(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("initRootAnnotationNode (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_14MessageBuilder_32initRootAnnotationNode(((struct __pyx_obj_6schema_MessageBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1649 - * cpdef getRootAnnotationNode(self): - * return _AnnotationNodeBuilder().init(self.thisptr.getRootAnnotationNode()) - * cpdef initRootAnnotationNode(self): # <<<<<<<<<<<<<< - * return _AnnotationNodeBuilder().init(self.thisptr.initRootAnnotationNode()) - * cpdef getRootEnumNode(self): - */ - -static PyObject *__pyx_pf_6schema_14MessageBuilder_32initRootAnnotationNode(struct __pyx_obj_6schema_MessageBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("initRootAnnotationNode", 0); - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = ((struct __pyx_vtabstruct_6schema_MessageBuilder *)__pyx_v_self->__pyx_vtab)->initRootAnnotationNode(__pyx_v_self, 1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1649; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema.MessageBuilder.initRootAnnotationNode", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1651 - * cpdef initRootAnnotationNode(self): - * return _AnnotationNodeBuilder().init(self.thisptr.initRootAnnotationNode()) - * cpdef getRootEnumNode(self): # <<<<<<<<<<<<<< - * return _EnumNodeBuilder().init(self.thisptr.getRootEnumNode()) - * cpdef initRootEnumNode(self): - */ - -static PyObject *__pyx_pw_6schema_14MessageBuilder_35getRootEnumNode(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static PyObject *__pyx_f_6schema_14MessageBuilder_getRootEnumNode(struct __pyx_obj_6schema_MessageBuilder *__pyx_v_self, int __pyx_skip_dispatch) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("getRootEnumNode", 0); - /* Check if called by wrapper */ - if (unlikely(__pyx_skip_dispatch)) ; - /* Check if overridden in Python */ - else if (unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0)) { - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s__getRootEnumNode); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1651; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (!PyCFunction_Check(__pyx_t_1) || (PyCFunction_GET_FUNCTION(__pyx_t_1) != (PyCFunction)__pyx_pw_6schema_14MessageBuilder_35getRootEnumNode)) { - __Pyx_XDECREF(__pyx_r); - __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1651; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - goto __pyx_L0; - } - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - } - - /* "schema.pyx":1652 - * return _AnnotationNodeBuilder().init(self.thisptr.initRootAnnotationNode()) - * cpdef getRootEnumNode(self): - * return _EnumNodeBuilder().init(self.thisptr.getRootEnumNode()) # <<<<<<<<<<<<<< - * cpdef initRootEnumNode(self): - * return _EnumNodeBuilder().init(self.thisptr.initRootEnumNode()) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__EnumNodeBuilder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1652; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__EnumNodeBuilder *)((struct __pyx_obj_6schema__EnumNodeBuilder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__EnumNodeBuilder *)__pyx_t_1), __pyx_v_self->thisptr->getRoot<::capnp::schema::EnumNode>()); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1652; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema.MessageBuilder.getRootEnumNode", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = 0; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_14MessageBuilder_35getRootEnumNode(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static PyObject *__pyx_pw_6schema_14MessageBuilder_35getRootEnumNode(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("getRootEnumNode (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_14MessageBuilder_34getRootEnumNode(((struct __pyx_obj_6schema_MessageBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1651 - * cpdef initRootAnnotationNode(self): - * return _AnnotationNodeBuilder().init(self.thisptr.initRootAnnotationNode()) - * cpdef getRootEnumNode(self): # <<<<<<<<<<<<<< - * return _EnumNodeBuilder().init(self.thisptr.getRootEnumNode()) - * cpdef initRootEnumNode(self): - */ - -static PyObject *__pyx_pf_6schema_14MessageBuilder_34getRootEnumNode(struct __pyx_obj_6schema_MessageBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("getRootEnumNode", 0); - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = ((struct __pyx_vtabstruct_6schema_MessageBuilder *)__pyx_v_self->__pyx_vtab)->getRootEnumNode(__pyx_v_self, 1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1651; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema.MessageBuilder.getRootEnumNode", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1653 - * cpdef getRootEnumNode(self): - * return _EnumNodeBuilder().init(self.thisptr.getRootEnumNode()) - * cpdef initRootEnumNode(self): # <<<<<<<<<<<<<< - * return _EnumNodeBuilder().init(self.thisptr.initRootEnumNode()) - * cpdef getRootStructNode(self): - */ - -static PyObject *__pyx_pw_6schema_14MessageBuilder_37initRootEnumNode(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static PyObject *__pyx_f_6schema_14MessageBuilder_initRootEnumNode(struct __pyx_obj_6schema_MessageBuilder *__pyx_v_self, int __pyx_skip_dispatch) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("initRootEnumNode", 0); - /* Check if called by wrapper */ - if (unlikely(__pyx_skip_dispatch)) ; - /* Check if overridden in Python */ - else if (unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0)) { - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s__initRootEnumNode); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1653; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (!PyCFunction_Check(__pyx_t_1) || (PyCFunction_GET_FUNCTION(__pyx_t_1) != (PyCFunction)__pyx_pw_6schema_14MessageBuilder_37initRootEnumNode)) { - __Pyx_XDECREF(__pyx_r); - __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1653; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - goto __pyx_L0; - } - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - } - - /* "schema.pyx":1654 - * return _EnumNodeBuilder().init(self.thisptr.getRootEnumNode()) - * cpdef initRootEnumNode(self): - * return _EnumNodeBuilder().init(self.thisptr.initRootEnumNode()) # <<<<<<<<<<<<<< - * cpdef getRootStructNode(self): - * return _StructNodeBuilder().init(self.thisptr.getRootStructNode()) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__EnumNodeBuilder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1654; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__EnumNodeBuilder *)((struct __pyx_obj_6schema__EnumNodeBuilder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__EnumNodeBuilder *)__pyx_t_1), __pyx_v_self->thisptr->initRoot<::capnp::schema::EnumNode>()); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1654; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema.MessageBuilder.initRootEnumNode", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = 0; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_14MessageBuilder_37initRootEnumNode(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static PyObject *__pyx_pw_6schema_14MessageBuilder_37initRootEnumNode(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("initRootEnumNode (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_14MessageBuilder_36initRootEnumNode(((struct __pyx_obj_6schema_MessageBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1653 - * cpdef getRootEnumNode(self): - * return _EnumNodeBuilder().init(self.thisptr.getRootEnumNode()) - * cpdef initRootEnumNode(self): # <<<<<<<<<<<<<< - * return _EnumNodeBuilder().init(self.thisptr.initRootEnumNode()) - * cpdef getRootStructNode(self): - */ - -static PyObject *__pyx_pf_6schema_14MessageBuilder_36initRootEnumNode(struct __pyx_obj_6schema_MessageBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("initRootEnumNode", 0); - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = ((struct __pyx_vtabstruct_6schema_MessageBuilder *)__pyx_v_self->__pyx_vtab)->initRootEnumNode(__pyx_v_self, 1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1653; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema.MessageBuilder.initRootEnumNode", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1655 - * cpdef initRootEnumNode(self): - * return _EnumNodeBuilder().init(self.thisptr.initRootEnumNode()) - * cpdef getRootStructNode(self): # <<<<<<<<<<<<<< - * return _StructNodeBuilder().init(self.thisptr.getRootStructNode()) - * cpdef initRootStructNode(self): - */ - -static PyObject *__pyx_pw_6schema_14MessageBuilder_39getRootStructNode(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static PyObject *__pyx_f_6schema_14MessageBuilder_getRootStructNode(struct __pyx_obj_6schema_MessageBuilder *__pyx_v_self, int __pyx_skip_dispatch) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("getRootStructNode", 0); - /* Check if called by wrapper */ - if (unlikely(__pyx_skip_dispatch)) ; - /* Check if overridden in Python */ - else if (unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0)) { - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s__getRootStructNode); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1655; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (!PyCFunction_Check(__pyx_t_1) || (PyCFunction_GET_FUNCTION(__pyx_t_1) != (PyCFunction)__pyx_pw_6schema_14MessageBuilder_39getRootStructNode)) { - __Pyx_XDECREF(__pyx_r); - __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1655; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - goto __pyx_L0; - } - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - } - - /* "schema.pyx":1656 - * return _EnumNodeBuilder().init(self.thisptr.initRootEnumNode()) - * cpdef getRootStructNode(self): - * return _StructNodeBuilder().init(self.thisptr.getRootStructNode()) # <<<<<<<<<<<<<< - * cpdef initRootStructNode(self): - * return _StructNodeBuilder().init(self.thisptr.initRootStructNode()) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__StructNodeBuilder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1656; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__StructNodeBuilder *)((struct __pyx_obj_6schema__StructNodeBuilder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__StructNodeBuilder *)__pyx_t_1), __pyx_v_self->thisptr->getRoot<::capnp::schema::StructNode>()); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1656; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema.MessageBuilder.getRootStructNode", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = 0; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_14MessageBuilder_39getRootStructNode(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static PyObject *__pyx_pw_6schema_14MessageBuilder_39getRootStructNode(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("getRootStructNode (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_14MessageBuilder_38getRootStructNode(((struct __pyx_obj_6schema_MessageBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1655 - * cpdef initRootEnumNode(self): - * return _EnumNodeBuilder().init(self.thisptr.initRootEnumNode()) - * cpdef getRootStructNode(self): # <<<<<<<<<<<<<< - * return _StructNodeBuilder().init(self.thisptr.getRootStructNode()) - * cpdef initRootStructNode(self): - */ - -static PyObject *__pyx_pf_6schema_14MessageBuilder_38getRootStructNode(struct __pyx_obj_6schema_MessageBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("getRootStructNode", 0); - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = ((struct __pyx_vtabstruct_6schema_MessageBuilder *)__pyx_v_self->__pyx_vtab)->getRootStructNode(__pyx_v_self, 1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1655; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema.MessageBuilder.getRootStructNode", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1657 - * cpdef getRootStructNode(self): - * return _StructNodeBuilder().init(self.thisptr.getRootStructNode()) - * cpdef initRootStructNode(self): # <<<<<<<<<<<<<< - * return _StructNodeBuilder().init(self.thisptr.initRootStructNode()) - * cpdef getRootAnnotation(self): - */ - -static PyObject *__pyx_pw_6schema_14MessageBuilder_41initRootStructNode(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static PyObject *__pyx_f_6schema_14MessageBuilder_initRootStructNode(struct __pyx_obj_6schema_MessageBuilder *__pyx_v_self, int __pyx_skip_dispatch) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("initRootStructNode", 0); - /* Check if called by wrapper */ - if (unlikely(__pyx_skip_dispatch)) ; - /* Check if overridden in Python */ - else if (unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0)) { - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s__initRootStructNode); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1657; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (!PyCFunction_Check(__pyx_t_1) || (PyCFunction_GET_FUNCTION(__pyx_t_1) != (PyCFunction)__pyx_pw_6schema_14MessageBuilder_41initRootStructNode)) { - __Pyx_XDECREF(__pyx_r); - __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1657; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - goto __pyx_L0; - } - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - } - - /* "schema.pyx":1658 - * return _StructNodeBuilder().init(self.thisptr.getRootStructNode()) - * cpdef initRootStructNode(self): - * return _StructNodeBuilder().init(self.thisptr.initRootStructNode()) # <<<<<<<<<<<<<< - * cpdef getRootAnnotation(self): - * return _AnnotationBuilder().init(self.thisptr.getRootAnnotation()) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__StructNodeBuilder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1658; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__StructNodeBuilder *)((struct __pyx_obj_6schema__StructNodeBuilder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__StructNodeBuilder *)__pyx_t_1), __pyx_v_self->thisptr->initRoot<::capnp::schema::StructNode>()); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1658; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema.MessageBuilder.initRootStructNode", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = 0; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_14MessageBuilder_41initRootStructNode(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static PyObject *__pyx_pw_6schema_14MessageBuilder_41initRootStructNode(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("initRootStructNode (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_14MessageBuilder_40initRootStructNode(((struct __pyx_obj_6schema_MessageBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1657 - * cpdef getRootStructNode(self): - * return _StructNodeBuilder().init(self.thisptr.getRootStructNode()) - * cpdef initRootStructNode(self): # <<<<<<<<<<<<<< - * return _StructNodeBuilder().init(self.thisptr.initRootStructNode()) - * cpdef getRootAnnotation(self): - */ - -static PyObject *__pyx_pf_6schema_14MessageBuilder_40initRootStructNode(struct __pyx_obj_6schema_MessageBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("initRootStructNode", 0); - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = ((struct __pyx_vtabstruct_6schema_MessageBuilder *)__pyx_v_self->__pyx_vtab)->initRootStructNode(__pyx_v_self, 1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1657; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema.MessageBuilder.initRootStructNode", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1659 - * cpdef initRootStructNode(self): - * return _StructNodeBuilder().init(self.thisptr.initRootStructNode()) - * cpdef getRootAnnotation(self): # <<<<<<<<<<<<<< - * return _AnnotationBuilder().init(self.thisptr.getRootAnnotation()) - * cpdef initRootAnnotation(self): - */ - -static PyObject *__pyx_pw_6schema_14MessageBuilder_43getRootAnnotation(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static PyObject *__pyx_f_6schema_14MessageBuilder_getRootAnnotation(struct __pyx_obj_6schema_MessageBuilder *__pyx_v_self, int __pyx_skip_dispatch) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("getRootAnnotation", 0); - /* Check if called by wrapper */ - if (unlikely(__pyx_skip_dispatch)) ; - /* Check if overridden in Python */ - else if (unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0)) { - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s__getRootAnnotation); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1659; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (!PyCFunction_Check(__pyx_t_1) || (PyCFunction_GET_FUNCTION(__pyx_t_1) != (PyCFunction)__pyx_pw_6schema_14MessageBuilder_43getRootAnnotation)) { - __Pyx_XDECREF(__pyx_r); - __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1659; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - goto __pyx_L0; - } - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - } - - /* "schema.pyx":1660 - * return _StructNodeBuilder().init(self.thisptr.initRootStructNode()) - * cpdef getRootAnnotation(self): - * return _AnnotationBuilder().init(self.thisptr.getRootAnnotation()) # <<<<<<<<<<<<<< - * cpdef initRootAnnotation(self): - * return _AnnotationBuilder().init(self.thisptr.initRootAnnotation()) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__AnnotationBuilder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1660; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__AnnotationBuilder *)((struct __pyx_obj_6schema__AnnotationBuilder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__AnnotationBuilder *)__pyx_t_1), __pyx_v_self->thisptr->getRoot<::capnp::schema::Annotation>()); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1660; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema.MessageBuilder.getRootAnnotation", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = 0; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_14MessageBuilder_43getRootAnnotation(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static PyObject *__pyx_pw_6schema_14MessageBuilder_43getRootAnnotation(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("getRootAnnotation (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_14MessageBuilder_42getRootAnnotation(((struct __pyx_obj_6schema_MessageBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1659 - * cpdef initRootStructNode(self): - * return _StructNodeBuilder().init(self.thisptr.initRootStructNode()) - * cpdef getRootAnnotation(self): # <<<<<<<<<<<<<< - * return _AnnotationBuilder().init(self.thisptr.getRootAnnotation()) - * cpdef initRootAnnotation(self): - */ - -static PyObject *__pyx_pf_6schema_14MessageBuilder_42getRootAnnotation(struct __pyx_obj_6schema_MessageBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("getRootAnnotation", 0); - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = ((struct __pyx_vtabstruct_6schema_MessageBuilder *)__pyx_v_self->__pyx_vtab)->getRootAnnotation(__pyx_v_self, 1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1659; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema.MessageBuilder.getRootAnnotation", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1661 - * cpdef getRootAnnotation(self): - * return _AnnotationBuilder().init(self.thisptr.getRootAnnotation()) - * cpdef initRootAnnotation(self): # <<<<<<<<<<<<<< - * return _AnnotationBuilder().init(self.thisptr.initRootAnnotation()) - * cdef class MallocMessageBuilder(MessageBuilder): - */ - -static PyObject *__pyx_pw_6schema_14MessageBuilder_45initRootAnnotation(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static PyObject *__pyx_f_6schema_14MessageBuilder_initRootAnnotation(struct __pyx_obj_6schema_MessageBuilder *__pyx_v_self, int __pyx_skip_dispatch) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("initRootAnnotation", 0); - /* Check if called by wrapper */ - if (unlikely(__pyx_skip_dispatch)) ; - /* Check if overridden in Python */ - else if (unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0)) { - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s__initRootAnnotation); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1661; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (!PyCFunction_Check(__pyx_t_1) || (PyCFunction_GET_FUNCTION(__pyx_t_1) != (PyCFunction)__pyx_pw_6schema_14MessageBuilder_45initRootAnnotation)) { - __Pyx_XDECREF(__pyx_r); - __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1661; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - goto __pyx_L0; - } - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - } - - /* "schema.pyx":1662 - * return _AnnotationBuilder().init(self.thisptr.getRootAnnotation()) - * cpdef initRootAnnotation(self): - * return _AnnotationBuilder().init(self.thisptr.initRootAnnotation()) # <<<<<<<<<<<<<< - * cdef class MallocMessageBuilder(MessageBuilder): - * def __cinit__(self): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__AnnotationBuilder)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1662; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__AnnotationBuilder *)((struct __pyx_obj_6schema__AnnotationBuilder *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__AnnotationBuilder *)__pyx_t_1), __pyx_v_self->thisptr->initRoot<::capnp::schema::Annotation>()); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1662; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema.MessageBuilder.initRootAnnotation", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = 0; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_14MessageBuilder_45initRootAnnotation(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static PyObject *__pyx_pw_6schema_14MessageBuilder_45initRootAnnotation(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("initRootAnnotation (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_14MessageBuilder_44initRootAnnotation(((struct __pyx_obj_6schema_MessageBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1661 - * cpdef getRootAnnotation(self): - * return _AnnotationBuilder().init(self.thisptr.getRootAnnotation()) - * cpdef initRootAnnotation(self): # <<<<<<<<<<<<<< - * return _AnnotationBuilder().init(self.thisptr.initRootAnnotation()) - * cdef class MallocMessageBuilder(MessageBuilder): - */ - -static PyObject *__pyx_pf_6schema_14MessageBuilder_44initRootAnnotation(struct __pyx_obj_6schema_MessageBuilder *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("initRootAnnotation", 0); - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = ((struct __pyx_vtabstruct_6schema_MessageBuilder *)__pyx_v_self->__pyx_vtab)->initRootAnnotation(__pyx_v_self, 1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1661; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema.MessageBuilder.initRootAnnotation", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_20MallocMessageBuilder_1__cinit__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/ -static int __pyx_pw_6schema_20MallocMessageBuilder_1__cinit__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__cinit__ (wrapper)", 0); - if (unlikely(PyTuple_GET_SIZE(__pyx_args) > 0)) { - __Pyx_RaiseArgtupleInvalid("__cinit__", 1, 0, 0, PyTuple_GET_SIZE(__pyx_args)); return -1;} - if (unlikely(__pyx_kwds) && unlikely(PyDict_Size(__pyx_kwds) > 0) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "__cinit__", 0))) return -1; - __pyx_r = __pyx_pf_6schema_20MallocMessageBuilder___cinit__(((struct __pyx_obj_6schema_MallocMessageBuilder *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1664 - * return _AnnotationBuilder().init(self.thisptr.initRootAnnotation()) - * cdef class MallocMessageBuilder(MessageBuilder): - * def __cinit__(self): # <<<<<<<<<<<<<< - * self.thisptr = new capnp.MallocMessageBuilder() - * - */ - -static int __pyx_pf_6schema_20MallocMessageBuilder___cinit__(struct __pyx_obj_6schema_MallocMessageBuilder *__pyx_v_self) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__cinit__", 0); - - /* "schema.pyx":1665 - * cdef class MallocMessageBuilder(MessageBuilder): - * def __cinit__(self): - * self.thisptr = new capnp.MallocMessageBuilder() # <<<<<<<<<<<<<< - * - * - */ - __pyx_v_self->__pyx_base.thisptr = new ::capnp::MallocMessageBuilder(); - - __pyx_r = 0; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static void __pyx_pw_6schema_13MessageReader_1__dealloc__(PyObject *__pyx_v_self); /*proto*/ -static void __pyx_pw_6schema_13MessageReader_1__dealloc__(PyObject *__pyx_v_self) { - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__dealloc__ (wrapper)", 0); - __pyx_pf_6schema_13MessageReader___dealloc__(((struct __pyx_obj_6schema_MessageReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); -} - -/* "schema.pyx":1670 - * cdef class MessageReader: - * cdef capnp.MessageReader * thisptr - * def __dealloc__(self): # <<<<<<<<<<<<<< - * del self.thisptr - * cpdef getRootCodeGeneratorRequest(self): - */ - -static void __pyx_pf_6schema_13MessageReader___dealloc__(CYTHON_UNUSED struct __pyx_obj_6schema_MessageReader *__pyx_v_self) { - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__dealloc__", 0); - - /* "schema.pyx":1671 - * cdef capnp.MessageReader * thisptr - * def __dealloc__(self): - * del self.thisptr # <<<<<<<<<<<<<< - * cpdef getRootCodeGeneratorRequest(self): - * return _CodeGeneratorRequestReader().init(self.thisptr.getRootCodeGeneratorRequest()) - */ - delete __pyx_v_self->thisptr; - - __Pyx_RefNannyFinishContext(); -} - -/* "schema.pyx":1672 - * def __dealloc__(self): - * del self.thisptr - * cpdef getRootCodeGeneratorRequest(self): # <<<<<<<<<<<<<< - * return _CodeGeneratorRequestReader().init(self.thisptr.getRootCodeGeneratorRequest()) - * cpdef getRootInterfaceNode(self): - */ - -static PyObject *__pyx_pw_6schema_13MessageReader_3getRootCodeGeneratorRequest(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static PyObject *__pyx_f_6schema_13MessageReader_getRootCodeGeneratorRequest(struct __pyx_obj_6schema_MessageReader *__pyx_v_self, int __pyx_skip_dispatch) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("getRootCodeGeneratorRequest", 0); - /* Check if called by wrapper */ - if (unlikely(__pyx_skip_dispatch)) ; - /* Check if overridden in Python */ - else if (unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0)) { - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_30); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1672; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (!PyCFunction_Check(__pyx_t_1) || (PyCFunction_GET_FUNCTION(__pyx_t_1) != (PyCFunction)__pyx_pw_6schema_13MessageReader_3getRootCodeGeneratorRequest)) { - __Pyx_XDECREF(__pyx_r); - __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1672; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - goto __pyx_L0; - } - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - } - - /* "schema.pyx":1673 - * del self.thisptr - * cpdef getRootCodeGeneratorRequest(self): - * return _CodeGeneratorRequestReader().init(self.thisptr.getRootCodeGeneratorRequest()) # <<<<<<<<<<<<<< - * cpdef getRootInterfaceNode(self): - * return _InterfaceNodeReader().init(self.thisptr.getRootInterfaceNode()) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__CodeGeneratorRequestReader)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1673; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__CodeGeneratorRequestReader *)((struct __pyx_obj_6schema__CodeGeneratorRequestReader *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__CodeGeneratorRequestReader *)__pyx_t_1), __pyx_v_self->thisptr->getRoot<::capnp::schema::CodeGeneratorRequest>()); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1673; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema.MessageReader.getRootCodeGeneratorRequest", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = 0; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_13MessageReader_3getRootCodeGeneratorRequest(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static PyObject *__pyx_pw_6schema_13MessageReader_3getRootCodeGeneratorRequest(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("getRootCodeGeneratorRequest (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_13MessageReader_2getRootCodeGeneratorRequest(((struct __pyx_obj_6schema_MessageReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1672 - * def __dealloc__(self): - * del self.thisptr - * cpdef getRootCodeGeneratorRequest(self): # <<<<<<<<<<<<<< - * return _CodeGeneratorRequestReader().init(self.thisptr.getRootCodeGeneratorRequest()) - * cpdef getRootInterfaceNode(self): - */ - -static PyObject *__pyx_pf_6schema_13MessageReader_2getRootCodeGeneratorRequest(struct __pyx_obj_6schema_MessageReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("getRootCodeGeneratorRequest", 0); - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = ((struct __pyx_vtabstruct_6schema_MessageReader *)__pyx_v_self->__pyx_vtab)->getRootCodeGeneratorRequest(__pyx_v_self, 1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1672; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema.MessageReader.getRootCodeGeneratorRequest", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1674 - * cpdef getRootCodeGeneratorRequest(self): - * return _CodeGeneratorRequestReader().init(self.thisptr.getRootCodeGeneratorRequest()) - * cpdef getRootInterfaceNode(self): # <<<<<<<<<<<<<< - * return _InterfaceNodeReader().init(self.thisptr.getRootInterfaceNode()) - * cpdef getRootValue(self): - */ - -static PyObject *__pyx_pw_6schema_13MessageReader_5getRootInterfaceNode(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static PyObject *__pyx_f_6schema_13MessageReader_getRootInterfaceNode(struct __pyx_obj_6schema_MessageReader *__pyx_v_self, int __pyx_skip_dispatch) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("getRootInterfaceNode", 0); - /* Check if called by wrapper */ - if (unlikely(__pyx_skip_dispatch)) ; - /* Check if overridden in Python */ - else if (unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0)) { - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_32); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1674; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (!PyCFunction_Check(__pyx_t_1) || (PyCFunction_GET_FUNCTION(__pyx_t_1) != (PyCFunction)__pyx_pw_6schema_13MessageReader_5getRootInterfaceNode)) { - __Pyx_XDECREF(__pyx_r); - __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1674; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - goto __pyx_L0; - } - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - } - - /* "schema.pyx":1675 - * return _CodeGeneratorRequestReader().init(self.thisptr.getRootCodeGeneratorRequest()) - * cpdef getRootInterfaceNode(self): - * return _InterfaceNodeReader().init(self.thisptr.getRootInterfaceNode()) # <<<<<<<<<<<<<< - * cpdef getRootValue(self): - * return _ValueReader().init(self.thisptr.getRootValue()) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__InterfaceNodeReader)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1675; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__InterfaceNodeReader *)((struct __pyx_obj_6schema__InterfaceNodeReader *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__InterfaceNodeReader *)__pyx_t_1), __pyx_v_self->thisptr->getRoot<::capnp::schema::InterfaceNode>()); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1675; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema.MessageReader.getRootInterfaceNode", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = 0; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_13MessageReader_5getRootInterfaceNode(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static PyObject *__pyx_pw_6schema_13MessageReader_5getRootInterfaceNode(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("getRootInterfaceNode (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_13MessageReader_4getRootInterfaceNode(((struct __pyx_obj_6schema_MessageReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1674 - * cpdef getRootCodeGeneratorRequest(self): - * return _CodeGeneratorRequestReader().init(self.thisptr.getRootCodeGeneratorRequest()) - * cpdef getRootInterfaceNode(self): # <<<<<<<<<<<<<< - * return _InterfaceNodeReader().init(self.thisptr.getRootInterfaceNode()) - * cpdef getRootValue(self): - */ - -static PyObject *__pyx_pf_6schema_13MessageReader_4getRootInterfaceNode(struct __pyx_obj_6schema_MessageReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("getRootInterfaceNode", 0); - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = ((struct __pyx_vtabstruct_6schema_MessageReader *)__pyx_v_self->__pyx_vtab)->getRootInterfaceNode(__pyx_v_self, 1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1674; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema.MessageReader.getRootInterfaceNode", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1676 - * cpdef getRootInterfaceNode(self): - * return _InterfaceNodeReader().init(self.thisptr.getRootInterfaceNode()) - * cpdef getRootValue(self): # <<<<<<<<<<<<<< - * return _ValueReader().init(self.thisptr.getRootValue()) - * cpdef getRootConstNode(self): - */ - -static PyObject *__pyx_pw_6schema_13MessageReader_7getRootValue(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static PyObject *__pyx_f_6schema_13MessageReader_getRootValue(struct __pyx_obj_6schema_MessageReader *__pyx_v_self, int __pyx_skip_dispatch) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("getRootValue", 0); - /* Check if called by wrapper */ - if (unlikely(__pyx_skip_dispatch)) ; - /* Check if overridden in Python */ - else if (unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0)) { - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s__getRootValue); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1676; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (!PyCFunction_Check(__pyx_t_1) || (PyCFunction_GET_FUNCTION(__pyx_t_1) != (PyCFunction)__pyx_pw_6schema_13MessageReader_7getRootValue)) { - __Pyx_XDECREF(__pyx_r); - __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1676; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - goto __pyx_L0; - } - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - } - - /* "schema.pyx":1677 - * return _InterfaceNodeReader().init(self.thisptr.getRootInterfaceNode()) - * cpdef getRootValue(self): - * return _ValueReader().init(self.thisptr.getRootValue()) # <<<<<<<<<<<<<< - * cpdef getRootConstNode(self): - * return _ConstNodeReader().init(self.thisptr.getRootConstNode()) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__ValueReader)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1677; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__ValueReader *)((struct __pyx_obj_6schema__ValueReader *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__ValueReader *)__pyx_t_1), __pyx_v_self->thisptr->getRoot<::capnp::schema::Value>()); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1677; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema.MessageReader.getRootValue", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = 0; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_13MessageReader_7getRootValue(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static PyObject *__pyx_pw_6schema_13MessageReader_7getRootValue(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("getRootValue (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_13MessageReader_6getRootValue(((struct __pyx_obj_6schema_MessageReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1676 - * cpdef getRootInterfaceNode(self): - * return _InterfaceNodeReader().init(self.thisptr.getRootInterfaceNode()) - * cpdef getRootValue(self): # <<<<<<<<<<<<<< - * return _ValueReader().init(self.thisptr.getRootValue()) - * cpdef getRootConstNode(self): - */ - -static PyObject *__pyx_pf_6schema_13MessageReader_6getRootValue(struct __pyx_obj_6schema_MessageReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("getRootValue", 0); - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = ((struct __pyx_vtabstruct_6schema_MessageReader *)__pyx_v_self->__pyx_vtab)->getRootValue(__pyx_v_self, 1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1676; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema.MessageReader.getRootValue", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1678 - * cpdef getRootValue(self): - * return _ValueReader().init(self.thisptr.getRootValue()) - * cpdef getRootConstNode(self): # <<<<<<<<<<<<<< - * return _ConstNodeReader().init(self.thisptr.getRootConstNode()) - * cpdef getRootType(self): - */ - -static PyObject *__pyx_pw_6schema_13MessageReader_9getRootConstNode(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static PyObject *__pyx_f_6schema_13MessageReader_getRootConstNode(struct __pyx_obj_6schema_MessageReader *__pyx_v_self, int __pyx_skip_dispatch) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("getRootConstNode", 0); - /* Check if called by wrapper */ - if (unlikely(__pyx_skip_dispatch)) ; - /* Check if overridden in Python */ - else if (unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0)) { - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s__getRootConstNode); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1678; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (!PyCFunction_Check(__pyx_t_1) || (PyCFunction_GET_FUNCTION(__pyx_t_1) != (PyCFunction)__pyx_pw_6schema_13MessageReader_9getRootConstNode)) { - __Pyx_XDECREF(__pyx_r); - __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1678; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - goto __pyx_L0; - } - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - } - - /* "schema.pyx":1679 - * return _ValueReader().init(self.thisptr.getRootValue()) - * cpdef getRootConstNode(self): - * return _ConstNodeReader().init(self.thisptr.getRootConstNode()) # <<<<<<<<<<<<<< - * cpdef getRootType(self): - * return _TypeReader().init(self.thisptr.getRootType()) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__ConstNodeReader)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1679; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__ConstNodeReader *)((struct __pyx_obj_6schema__ConstNodeReader *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__ConstNodeReader *)__pyx_t_1), __pyx_v_self->thisptr->getRoot<::capnp::schema::ConstNode>()); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1679; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema.MessageReader.getRootConstNode", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = 0; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_13MessageReader_9getRootConstNode(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static PyObject *__pyx_pw_6schema_13MessageReader_9getRootConstNode(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("getRootConstNode (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_13MessageReader_8getRootConstNode(((struct __pyx_obj_6schema_MessageReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1678 - * cpdef getRootValue(self): - * return _ValueReader().init(self.thisptr.getRootValue()) - * cpdef getRootConstNode(self): # <<<<<<<<<<<<<< - * return _ConstNodeReader().init(self.thisptr.getRootConstNode()) - * cpdef getRootType(self): - */ - -static PyObject *__pyx_pf_6schema_13MessageReader_8getRootConstNode(struct __pyx_obj_6schema_MessageReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("getRootConstNode", 0); - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = ((struct __pyx_vtabstruct_6schema_MessageReader *)__pyx_v_self->__pyx_vtab)->getRootConstNode(__pyx_v_self, 1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1678; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema.MessageReader.getRootConstNode", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1680 - * cpdef getRootConstNode(self): - * return _ConstNodeReader().init(self.thisptr.getRootConstNode()) - * cpdef getRootType(self): # <<<<<<<<<<<<<< - * return _TypeReader().init(self.thisptr.getRootType()) - * cpdef getRootFileNode(self): - */ - -static PyObject *__pyx_pw_6schema_13MessageReader_11getRootType(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static PyObject *__pyx_f_6schema_13MessageReader_getRootType(struct __pyx_obj_6schema_MessageReader *__pyx_v_self, int __pyx_skip_dispatch) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("getRootType", 0); - /* Check if called by wrapper */ - if (unlikely(__pyx_skip_dispatch)) ; - /* Check if overridden in Python */ - else if (unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0)) { - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s__getRootType); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1680; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (!PyCFunction_Check(__pyx_t_1) || (PyCFunction_GET_FUNCTION(__pyx_t_1) != (PyCFunction)__pyx_pw_6schema_13MessageReader_11getRootType)) { - __Pyx_XDECREF(__pyx_r); - __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1680; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - goto __pyx_L0; - } - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - } - - /* "schema.pyx":1681 - * return _ConstNodeReader().init(self.thisptr.getRootConstNode()) - * cpdef getRootType(self): - * return _TypeReader().init(self.thisptr.getRootType()) # <<<<<<<<<<<<<< - * cpdef getRootFileNode(self): - * return _FileNodeReader().init(self.thisptr.getRootFileNode()) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__TypeReader)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1681; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__TypeReader *)((struct __pyx_obj_6schema__TypeReader *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__TypeReader *)__pyx_t_1), __pyx_v_self->thisptr->getRoot<::capnp::schema::Type>()); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1681; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema.MessageReader.getRootType", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = 0; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_13MessageReader_11getRootType(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static PyObject *__pyx_pw_6schema_13MessageReader_11getRootType(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("getRootType (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_13MessageReader_10getRootType(((struct __pyx_obj_6schema_MessageReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1680 - * cpdef getRootConstNode(self): - * return _ConstNodeReader().init(self.thisptr.getRootConstNode()) - * cpdef getRootType(self): # <<<<<<<<<<<<<< - * return _TypeReader().init(self.thisptr.getRootType()) - * cpdef getRootFileNode(self): - */ - -static PyObject *__pyx_pf_6schema_13MessageReader_10getRootType(struct __pyx_obj_6schema_MessageReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("getRootType", 0); - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = ((struct __pyx_vtabstruct_6schema_MessageReader *)__pyx_v_self->__pyx_vtab)->getRootType(__pyx_v_self, 1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1680; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema.MessageReader.getRootType", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1682 - * cpdef getRootType(self): - * return _TypeReader().init(self.thisptr.getRootType()) - * cpdef getRootFileNode(self): # <<<<<<<<<<<<<< - * return _FileNodeReader().init(self.thisptr.getRootFileNode()) - * cpdef getRootNode(self): - */ - -static PyObject *__pyx_pw_6schema_13MessageReader_13getRootFileNode(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static PyObject *__pyx_f_6schema_13MessageReader_getRootFileNode(struct __pyx_obj_6schema_MessageReader *__pyx_v_self, int __pyx_skip_dispatch) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("getRootFileNode", 0); - /* Check if called by wrapper */ - if (unlikely(__pyx_skip_dispatch)) ; - /* Check if overridden in Python */ - else if (unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0)) { - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s__getRootFileNode); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1682; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (!PyCFunction_Check(__pyx_t_1) || (PyCFunction_GET_FUNCTION(__pyx_t_1) != (PyCFunction)__pyx_pw_6schema_13MessageReader_13getRootFileNode)) { - __Pyx_XDECREF(__pyx_r); - __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1682; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - goto __pyx_L0; - } - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - } - - /* "schema.pyx":1683 - * return _TypeReader().init(self.thisptr.getRootType()) - * cpdef getRootFileNode(self): - * return _FileNodeReader().init(self.thisptr.getRootFileNode()) # <<<<<<<<<<<<<< - * cpdef getRootNode(self): - * return _NodeReader().init(self.thisptr.getRootNode()) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__FileNodeReader)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1683; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__FileNodeReader *)((struct __pyx_obj_6schema__FileNodeReader *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__FileNodeReader *)__pyx_t_1), __pyx_v_self->thisptr->getRoot<::capnp::schema::FileNode>()); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1683; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema.MessageReader.getRootFileNode", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = 0; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_13MessageReader_13getRootFileNode(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static PyObject *__pyx_pw_6schema_13MessageReader_13getRootFileNode(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("getRootFileNode (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_13MessageReader_12getRootFileNode(((struct __pyx_obj_6schema_MessageReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1682 - * cpdef getRootType(self): - * return _TypeReader().init(self.thisptr.getRootType()) - * cpdef getRootFileNode(self): # <<<<<<<<<<<<<< - * return _FileNodeReader().init(self.thisptr.getRootFileNode()) - * cpdef getRootNode(self): - */ - -static PyObject *__pyx_pf_6schema_13MessageReader_12getRootFileNode(struct __pyx_obj_6schema_MessageReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("getRootFileNode", 0); - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = ((struct __pyx_vtabstruct_6schema_MessageReader *)__pyx_v_self->__pyx_vtab)->getRootFileNode(__pyx_v_self, 1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1682; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema.MessageReader.getRootFileNode", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1684 - * cpdef getRootFileNode(self): - * return _FileNodeReader().init(self.thisptr.getRootFileNode()) - * cpdef getRootNode(self): # <<<<<<<<<<<<<< - * return _NodeReader().init(self.thisptr.getRootNode()) - * cpdef getRootAnnotationNode(self): - */ - -static PyObject *__pyx_pw_6schema_13MessageReader_15getRootNode(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static PyObject *__pyx_f_6schema_13MessageReader_getRootNode(struct __pyx_obj_6schema_MessageReader *__pyx_v_self, int __pyx_skip_dispatch) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("getRootNode", 0); - /* Check if called by wrapper */ - if (unlikely(__pyx_skip_dispatch)) ; - /* Check if overridden in Python */ - else if (unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0)) { - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s__getRootNode); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1684; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (!PyCFunction_Check(__pyx_t_1) || (PyCFunction_GET_FUNCTION(__pyx_t_1) != (PyCFunction)__pyx_pw_6schema_13MessageReader_15getRootNode)) { - __Pyx_XDECREF(__pyx_r); - __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1684; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - goto __pyx_L0; - } - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - } - - /* "schema.pyx":1685 - * return _FileNodeReader().init(self.thisptr.getRootFileNode()) - * cpdef getRootNode(self): - * return _NodeReader().init(self.thisptr.getRootNode()) # <<<<<<<<<<<<<< - * cpdef getRootAnnotationNode(self): - * return _AnnotationNodeReader().init(self.thisptr.getRootAnnotationNode()) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__NodeReader)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1685; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__NodeReader *)((struct __pyx_obj_6schema__NodeReader *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__NodeReader *)__pyx_t_1), __pyx_v_self->thisptr->getRoot<::capnp::schema::Node>()); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1685; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema.MessageReader.getRootNode", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = 0; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_13MessageReader_15getRootNode(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static PyObject *__pyx_pw_6schema_13MessageReader_15getRootNode(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("getRootNode (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_13MessageReader_14getRootNode(((struct __pyx_obj_6schema_MessageReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1684 - * cpdef getRootFileNode(self): - * return _FileNodeReader().init(self.thisptr.getRootFileNode()) - * cpdef getRootNode(self): # <<<<<<<<<<<<<< - * return _NodeReader().init(self.thisptr.getRootNode()) - * cpdef getRootAnnotationNode(self): - */ - -static PyObject *__pyx_pf_6schema_13MessageReader_14getRootNode(struct __pyx_obj_6schema_MessageReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("getRootNode", 0); - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = ((struct __pyx_vtabstruct_6schema_MessageReader *)__pyx_v_self->__pyx_vtab)->getRootNode(__pyx_v_self, 1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1684; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema.MessageReader.getRootNode", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1686 - * cpdef getRootNode(self): - * return _NodeReader().init(self.thisptr.getRootNode()) - * cpdef getRootAnnotationNode(self): # <<<<<<<<<<<<<< - * return _AnnotationNodeReader().init(self.thisptr.getRootAnnotationNode()) - * cpdef getRootEnumNode(self): - */ - -static PyObject *__pyx_pw_6schema_13MessageReader_17getRootAnnotationNode(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static PyObject *__pyx_f_6schema_13MessageReader_getRootAnnotationNode(struct __pyx_obj_6schema_MessageReader *__pyx_v_self, int __pyx_skip_dispatch) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("getRootAnnotationNode", 0); - /* Check if called by wrapper */ - if (unlikely(__pyx_skip_dispatch)) ; - /* Check if overridden in Python */ - else if (unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0)) { - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_34); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1686; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (!PyCFunction_Check(__pyx_t_1) || (PyCFunction_GET_FUNCTION(__pyx_t_1) != (PyCFunction)__pyx_pw_6schema_13MessageReader_17getRootAnnotationNode)) { - __Pyx_XDECREF(__pyx_r); - __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1686; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - goto __pyx_L0; - } - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - } - - /* "schema.pyx":1687 - * return _NodeReader().init(self.thisptr.getRootNode()) - * cpdef getRootAnnotationNode(self): - * return _AnnotationNodeReader().init(self.thisptr.getRootAnnotationNode()) # <<<<<<<<<<<<<< - * cpdef getRootEnumNode(self): - * return _EnumNodeReader().init(self.thisptr.getRootEnumNode()) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__AnnotationNodeReader)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1687; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__AnnotationNodeReader *)((struct __pyx_obj_6schema__AnnotationNodeReader *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__AnnotationNodeReader *)__pyx_t_1), __pyx_v_self->thisptr->getRoot<::capnp::schema::AnnotationNode>()); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1687; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema.MessageReader.getRootAnnotationNode", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = 0; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_13MessageReader_17getRootAnnotationNode(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static PyObject *__pyx_pw_6schema_13MessageReader_17getRootAnnotationNode(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("getRootAnnotationNode (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_13MessageReader_16getRootAnnotationNode(((struct __pyx_obj_6schema_MessageReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1686 - * cpdef getRootNode(self): - * return _NodeReader().init(self.thisptr.getRootNode()) - * cpdef getRootAnnotationNode(self): # <<<<<<<<<<<<<< - * return _AnnotationNodeReader().init(self.thisptr.getRootAnnotationNode()) - * cpdef getRootEnumNode(self): - */ - -static PyObject *__pyx_pf_6schema_13MessageReader_16getRootAnnotationNode(struct __pyx_obj_6schema_MessageReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("getRootAnnotationNode", 0); - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = ((struct __pyx_vtabstruct_6schema_MessageReader *)__pyx_v_self->__pyx_vtab)->getRootAnnotationNode(__pyx_v_self, 1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1686; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema.MessageReader.getRootAnnotationNode", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1688 - * cpdef getRootAnnotationNode(self): - * return _AnnotationNodeReader().init(self.thisptr.getRootAnnotationNode()) - * cpdef getRootEnumNode(self): # <<<<<<<<<<<<<< - * return _EnumNodeReader().init(self.thisptr.getRootEnumNode()) - * cpdef getRootStructNode(self): - */ - -static PyObject *__pyx_pw_6schema_13MessageReader_19getRootEnumNode(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static PyObject *__pyx_f_6schema_13MessageReader_getRootEnumNode(struct __pyx_obj_6schema_MessageReader *__pyx_v_self, int __pyx_skip_dispatch) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("getRootEnumNode", 0); - /* Check if called by wrapper */ - if (unlikely(__pyx_skip_dispatch)) ; - /* Check if overridden in Python */ - else if (unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0)) { - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s__getRootEnumNode); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1688; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (!PyCFunction_Check(__pyx_t_1) || (PyCFunction_GET_FUNCTION(__pyx_t_1) != (PyCFunction)__pyx_pw_6schema_13MessageReader_19getRootEnumNode)) { - __Pyx_XDECREF(__pyx_r); - __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1688; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - goto __pyx_L0; - } - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - } - - /* "schema.pyx":1689 - * return _AnnotationNodeReader().init(self.thisptr.getRootAnnotationNode()) - * cpdef getRootEnumNode(self): - * return _EnumNodeReader().init(self.thisptr.getRootEnumNode()) # <<<<<<<<<<<<<< - * cpdef getRootStructNode(self): - * return _StructNodeReader().init(self.thisptr.getRootStructNode()) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__EnumNodeReader)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1689; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__EnumNodeReader *)((struct __pyx_obj_6schema__EnumNodeReader *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__EnumNodeReader *)__pyx_t_1), __pyx_v_self->thisptr->getRoot<::capnp::schema::EnumNode>()); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1689; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema.MessageReader.getRootEnumNode", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = 0; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_13MessageReader_19getRootEnumNode(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static PyObject *__pyx_pw_6schema_13MessageReader_19getRootEnumNode(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("getRootEnumNode (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_13MessageReader_18getRootEnumNode(((struct __pyx_obj_6schema_MessageReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1688 - * cpdef getRootAnnotationNode(self): - * return _AnnotationNodeReader().init(self.thisptr.getRootAnnotationNode()) - * cpdef getRootEnumNode(self): # <<<<<<<<<<<<<< - * return _EnumNodeReader().init(self.thisptr.getRootEnumNode()) - * cpdef getRootStructNode(self): - */ - -static PyObject *__pyx_pf_6schema_13MessageReader_18getRootEnumNode(struct __pyx_obj_6schema_MessageReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("getRootEnumNode", 0); - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = ((struct __pyx_vtabstruct_6schema_MessageReader *)__pyx_v_self->__pyx_vtab)->getRootEnumNode(__pyx_v_self, 1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1688; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema.MessageReader.getRootEnumNode", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1690 - * cpdef getRootEnumNode(self): - * return _EnumNodeReader().init(self.thisptr.getRootEnumNode()) - * cpdef getRootStructNode(self): # <<<<<<<<<<<<<< - * return _StructNodeReader().init(self.thisptr.getRootStructNode()) - * cpdef getRootAnnotation(self): - */ - -static PyObject *__pyx_pw_6schema_13MessageReader_21getRootStructNode(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static PyObject *__pyx_f_6schema_13MessageReader_getRootStructNode(struct __pyx_obj_6schema_MessageReader *__pyx_v_self, int __pyx_skip_dispatch) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("getRootStructNode", 0); - /* Check if called by wrapper */ - if (unlikely(__pyx_skip_dispatch)) ; - /* Check if overridden in Python */ - else if (unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0)) { - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s__getRootStructNode); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1690; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (!PyCFunction_Check(__pyx_t_1) || (PyCFunction_GET_FUNCTION(__pyx_t_1) != (PyCFunction)__pyx_pw_6schema_13MessageReader_21getRootStructNode)) { - __Pyx_XDECREF(__pyx_r); - __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1690; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - goto __pyx_L0; - } - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - } - - /* "schema.pyx":1691 - * return _EnumNodeReader().init(self.thisptr.getRootEnumNode()) - * cpdef getRootStructNode(self): - * return _StructNodeReader().init(self.thisptr.getRootStructNode()) # <<<<<<<<<<<<<< - * cpdef getRootAnnotation(self): - * return _AnnotationReader().init(self.thisptr.getRootAnnotation()) - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__StructNodeReader)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1691; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__StructNodeReader *)((struct __pyx_obj_6schema__StructNodeReader *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__StructNodeReader *)__pyx_t_1), __pyx_v_self->thisptr->getRoot<::capnp::schema::StructNode>()); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1691; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema.MessageReader.getRootStructNode", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = 0; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_13MessageReader_21getRootStructNode(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static PyObject *__pyx_pw_6schema_13MessageReader_21getRootStructNode(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("getRootStructNode (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_13MessageReader_20getRootStructNode(((struct __pyx_obj_6schema_MessageReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1690 - * cpdef getRootEnumNode(self): - * return _EnumNodeReader().init(self.thisptr.getRootEnumNode()) - * cpdef getRootStructNode(self): # <<<<<<<<<<<<<< - * return _StructNodeReader().init(self.thisptr.getRootStructNode()) - * cpdef getRootAnnotation(self): - */ - -static PyObject *__pyx_pf_6schema_13MessageReader_20getRootStructNode(struct __pyx_obj_6schema_MessageReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("getRootStructNode", 0); - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = ((struct __pyx_vtabstruct_6schema_MessageReader *)__pyx_v_self->__pyx_vtab)->getRootStructNode(__pyx_v_self, 1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1690; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema.MessageReader.getRootStructNode", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1692 - * cpdef getRootStructNode(self): - * return _StructNodeReader().init(self.thisptr.getRootStructNode()) - * cpdef getRootAnnotation(self): # <<<<<<<<<<<<<< - * return _AnnotationReader().init(self.thisptr.getRootAnnotation()) - * - */ - -static PyObject *__pyx_pw_6schema_13MessageReader_23getRootAnnotation(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static PyObject *__pyx_f_6schema_13MessageReader_getRootAnnotation(struct __pyx_obj_6schema_MessageReader *__pyx_v_self, int __pyx_skip_dispatch) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("getRootAnnotation", 0); - /* Check if called by wrapper */ - if (unlikely(__pyx_skip_dispatch)) ; - /* Check if overridden in Python */ - else if (unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0)) { - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s__getRootAnnotation); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1692; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (!PyCFunction_Check(__pyx_t_1) || (PyCFunction_GET_FUNCTION(__pyx_t_1) != (PyCFunction)__pyx_pw_6schema_13MessageReader_23getRootAnnotation)) { - __Pyx_XDECREF(__pyx_r); - __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1692; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - goto __pyx_L0; - } - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - } - - /* "schema.pyx":1693 - * return _StructNodeReader().init(self.thisptr.getRootStructNode()) - * cpdef getRootAnnotation(self): - * return _AnnotationReader().init(self.thisptr.getRootAnnotation()) # <<<<<<<<<<<<<< - * - * cdef class StreamFdMessageReader(MessageReader): - */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6schema__AnnotationReader)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1693; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = ((struct __pyx_vtabstruct_6schema__AnnotationReader *)((struct __pyx_obj_6schema__AnnotationReader *)__pyx_t_1)->__pyx_vtab)->init(((struct __pyx_obj_6schema__AnnotationReader *)__pyx_t_1), __pyx_v_self->thisptr->getRoot<::capnp::schema::Annotation>()); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1693; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_AddTraceback("schema.MessageReader.getRootAnnotation", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = 0; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_13MessageReader_23getRootAnnotation(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static PyObject *__pyx_pw_6schema_13MessageReader_23getRootAnnotation(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) { - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("getRootAnnotation (wrapper)", 0); - __pyx_r = __pyx_pf_6schema_13MessageReader_22getRootAnnotation(((struct __pyx_obj_6schema_MessageReader *)__pyx_v_self)); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1692 - * cpdef getRootStructNode(self): - * return _StructNodeReader().init(self.thisptr.getRootStructNode()) - * cpdef getRootAnnotation(self): # <<<<<<<<<<<<<< - * return _AnnotationReader().init(self.thisptr.getRootAnnotation()) - * - */ - -static PyObject *__pyx_pf_6schema_13MessageReader_22getRootAnnotation(struct __pyx_obj_6schema_MessageReader *__pyx_v_self) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - PyObject *__pyx_t_1 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("getRootAnnotation", 0); - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = ((struct __pyx_vtabstruct_6schema_MessageReader *)__pyx_v_self->__pyx_vtab)->getRootAnnotation(__pyx_v_self, 1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1692; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_AddTraceback("schema.MessageReader.getRootAnnotation", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_21StreamFdMessageReader_1__cinit__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/ -static int __pyx_pw_6schema_21StreamFdMessageReader_1__cinit__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) { - int __pyx_v_fd; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__cinit__ (wrapper)", 0); - { - static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__fd,0}; - PyObject* values[1] = {0}; - if (unlikely(__pyx_kwds)) { - Py_ssize_t kw_args; - const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args); - switch (pos_args) { - case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0); - case 0: break; - default: goto __pyx_L5_argtuple_error; - } - kw_args = PyDict_Size(__pyx_kwds); - switch (pos_args) { - case 0: - if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__fd)) != 0)) kw_args--; - else goto __pyx_L5_argtuple_error; - } - if (unlikely(kw_args > 0)) { - if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__cinit__") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1696; __pyx_clineno = __LINE__; goto __pyx_L3_error;} - } - } else if (PyTuple_GET_SIZE(__pyx_args) != 1) { - goto __pyx_L5_argtuple_error; - } else { - values[0] = PyTuple_GET_ITEM(__pyx_args, 0); - } - __pyx_v_fd = __Pyx_PyInt_AsInt(values[0]); if (unlikely((__pyx_v_fd == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1696; __pyx_clineno = __LINE__; goto __pyx_L3_error;} - } - goto __pyx_L4_argument_unpacking_done; - __pyx_L5_argtuple_error:; - __Pyx_RaiseArgtupleInvalid("__cinit__", 1, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1696; __pyx_clineno = __LINE__; goto __pyx_L3_error;} - __pyx_L3_error:; - __Pyx_AddTraceback("schema.StreamFdMessageReader.__cinit__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __Pyx_RefNannyFinishContext(); - return -1; - __pyx_L4_argument_unpacking_done:; - __pyx_r = __pyx_pf_6schema_21StreamFdMessageReader___cinit__(((struct __pyx_obj_6schema_StreamFdMessageReader *)__pyx_v_self), __pyx_v_fd); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1696 - * - * cdef class StreamFdMessageReader(MessageReader): - * def __cinit__(self, int fd): # <<<<<<<<<<<<<< - * self.thisptr = new capnp.StreamFdMessageReader(fd) - * - */ - -static int __pyx_pf_6schema_21StreamFdMessageReader___cinit__(struct __pyx_obj_6schema_StreamFdMessageReader *__pyx_v_self, int __pyx_v_fd) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__cinit__", 0); - - /* "schema.pyx":1697 - * cdef class StreamFdMessageReader(MessageReader): - * def __cinit__(self, int fd): - * self.thisptr = new capnp.StreamFdMessageReader(fd) # <<<<<<<<<<<<<< - * - * cdef class PackedFdMessageReader(MessageReader): - */ - __pyx_v_self->__pyx_base.thisptr = new ::capnp::StreamFdMessageReader(__pyx_v_fd); - - __pyx_r = 0; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static int __pyx_pw_6schema_21PackedFdMessageReader_1__cinit__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/ -static int __pyx_pw_6schema_21PackedFdMessageReader_1__cinit__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) { - int __pyx_v_fd; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__cinit__ (wrapper)", 0); - { - static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__fd,0}; - PyObject* values[1] = {0}; - if (unlikely(__pyx_kwds)) { - Py_ssize_t kw_args; - const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args); - switch (pos_args) { - case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0); - case 0: break; - default: goto __pyx_L5_argtuple_error; - } - kw_args = PyDict_Size(__pyx_kwds); - switch (pos_args) { - case 0: - if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__fd)) != 0)) kw_args--; - else goto __pyx_L5_argtuple_error; - } - if (unlikely(kw_args > 0)) { - if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__cinit__") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1700; __pyx_clineno = __LINE__; goto __pyx_L3_error;} - } - } else if (PyTuple_GET_SIZE(__pyx_args) != 1) { - goto __pyx_L5_argtuple_error; - } else { - values[0] = PyTuple_GET_ITEM(__pyx_args, 0); - } - __pyx_v_fd = __Pyx_PyInt_AsInt(values[0]); if (unlikely((__pyx_v_fd == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1700; __pyx_clineno = __LINE__; goto __pyx_L3_error;} - } - goto __pyx_L4_argument_unpacking_done; - __pyx_L5_argtuple_error:; - __Pyx_RaiseArgtupleInvalid("__cinit__", 1, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1700; __pyx_clineno = __LINE__; goto __pyx_L3_error;} - __pyx_L3_error:; - __Pyx_AddTraceback("schema.PackedFdMessageReader.__cinit__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __Pyx_RefNannyFinishContext(); - return -1; - __pyx_L4_argument_unpacking_done:; - __pyx_r = __pyx_pf_6schema_21PackedFdMessageReader___cinit__(((struct __pyx_obj_6schema_PackedFdMessageReader *)__pyx_v_self), __pyx_v_fd); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1700 - * - * cdef class PackedFdMessageReader(MessageReader): - * def __cinit__(self, int fd): # <<<<<<<<<<<<<< - * self.thisptr = new capnp.PackedFdMessageReader(fd) - * - */ - -static int __pyx_pf_6schema_21PackedFdMessageReader___cinit__(struct __pyx_obj_6schema_PackedFdMessageReader *__pyx_v_self, int __pyx_v_fd) { - int __pyx_r; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__cinit__", 0); - - /* "schema.pyx":1701 - * cdef class PackedFdMessageReader(MessageReader): - * def __cinit__(self, int fd): - * self.thisptr = new capnp.PackedFdMessageReader(fd) # <<<<<<<<<<<<<< - * - * def writeMessageToFd(int fd, MessageBuilder m): - */ - __pyx_v_self->__pyx_base.thisptr = new ::capnp::PackedFdMessageReader(__pyx_v_fd); - - __pyx_r = 0; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_3writeMessageToFd(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/ -static PyMethodDef __pyx_mdef_6schema_3writeMessageToFd = {__Pyx_NAMESTR("writeMessageToFd"), (PyCFunction)__pyx_pw_6schema_3writeMessageToFd, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)}; -static PyObject *__pyx_pw_6schema_3writeMessageToFd(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) { - int __pyx_v_fd; - struct __pyx_obj_6schema_MessageBuilder *__pyx_v_m = 0; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("writeMessageToFd (wrapper)", 0); - { - static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__fd,&__pyx_n_s__m,0}; - PyObject* values[2] = {0,0}; - if (unlikely(__pyx_kwds)) { - Py_ssize_t kw_args; - const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args); - switch (pos_args) { - case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1); - case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0); - case 0: break; - default: goto __pyx_L5_argtuple_error; - } - kw_args = PyDict_Size(__pyx_kwds); - switch (pos_args) { - case 0: - if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__fd)) != 0)) kw_args--; - else goto __pyx_L5_argtuple_error; - case 1: - if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__m)) != 0)) kw_args--; - else { - __Pyx_RaiseArgtupleInvalid("writeMessageToFd", 1, 2, 2, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1703; __pyx_clineno = __LINE__; goto __pyx_L3_error;} - } - } - if (unlikely(kw_args > 0)) { - if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "writeMessageToFd") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1703; __pyx_clineno = __LINE__; goto __pyx_L3_error;} - } - } else if (PyTuple_GET_SIZE(__pyx_args) != 2) { - goto __pyx_L5_argtuple_error; - } else { - values[0] = PyTuple_GET_ITEM(__pyx_args, 0); - values[1] = PyTuple_GET_ITEM(__pyx_args, 1); - } - __pyx_v_fd = __Pyx_PyInt_AsInt(values[0]); if (unlikely((__pyx_v_fd == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1703; __pyx_clineno = __LINE__; goto __pyx_L3_error;} - __pyx_v_m = ((struct __pyx_obj_6schema_MessageBuilder *)values[1]); - } - goto __pyx_L4_argument_unpacking_done; - __pyx_L5_argtuple_error:; - __Pyx_RaiseArgtupleInvalid("writeMessageToFd", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1703; __pyx_clineno = __LINE__; goto __pyx_L3_error;} - __pyx_L3_error:; - __Pyx_AddTraceback("schema.writeMessageToFd", __pyx_clineno, __pyx_lineno, __pyx_filename); - __Pyx_RefNannyFinishContext(); - return NULL; - __pyx_L4_argument_unpacking_done:; - if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_m), __pyx_ptype_6schema_MessageBuilder, 1, "m", 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1703; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_r = __pyx_pf_6schema_2writeMessageToFd(__pyx_self, __pyx_v_fd, __pyx_v_m); - goto __pyx_L0; - __pyx_L1_error:; - __pyx_r = NULL; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1703 - * self.thisptr = new capnp.PackedFdMessageReader(fd) - * - * def writeMessageToFd(int fd, MessageBuilder m): # <<<<<<<<<<<<<< - * capnp.writeMessageToFd(fd, deref(m.thisptr)) - * def writePackedMessageToFd(int fd, MessageBuilder m): - */ - -static PyObject *__pyx_pf_6schema_2writeMessageToFd(CYTHON_UNUSED PyObject *__pyx_self, int __pyx_v_fd, struct __pyx_obj_6schema_MessageBuilder *__pyx_v_m) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("writeMessageToFd", 0); - - /* "schema.pyx":1704 - * - * def writeMessageToFd(int fd, MessageBuilder m): - * capnp.writeMessageToFd(fd, deref(m.thisptr)) # <<<<<<<<<<<<<< - * def writePackedMessageToFd(int fd, MessageBuilder m): - * capnp.writePackedMessageToFd(fd, deref(m.thisptr)) - */ - ::capnp::writeMessageToFd(__pyx_v_fd, (*__pyx_v_m->thisptr)); - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* Python wrapper */ -static PyObject *__pyx_pw_6schema_5writePackedMessageToFd(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/ -static PyMethodDef __pyx_mdef_6schema_5writePackedMessageToFd = {__Pyx_NAMESTR("writePackedMessageToFd"), (PyCFunction)__pyx_pw_6schema_5writePackedMessageToFd, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)}; -static PyObject *__pyx_pw_6schema_5writePackedMessageToFd(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) { - int __pyx_v_fd; - struct __pyx_obj_6schema_MessageBuilder *__pyx_v_m = 0; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - PyObject *__pyx_r = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("writePackedMessageToFd (wrapper)", 0); - { - static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__fd,&__pyx_n_s__m,0}; - PyObject* values[2] = {0,0}; - if (unlikely(__pyx_kwds)) { - Py_ssize_t kw_args; - const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args); - switch (pos_args) { - case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1); - case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0); - case 0: break; - default: goto __pyx_L5_argtuple_error; - } - kw_args = PyDict_Size(__pyx_kwds); - switch (pos_args) { - case 0: - if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__fd)) != 0)) kw_args--; - else goto __pyx_L5_argtuple_error; - case 1: - if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__m)) != 0)) kw_args--; - else { - __Pyx_RaiseArgtupleInvalid("writePackedMessageToFd", 1, 2, 2, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1705; __pyx_clineno = __LINE__; goto __pyx_L3_error;} - } - } - if (unlikely(kw_args > 0)) { - if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "writePackedMessageToFd") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1705; __pyx_clineno = __LINE__; goto __pyx_L3_error;} - } - } else if (PyTuple_GET_SIZE(__pyx_args) != 2) { - goto __pyx_L5_argtuple_error; - } else { - values[0] = PyTuple_GET_ITEM(__pyx_args, 0); - values[1] = PyTuple_GET_ITEM(__pyx_args, 1); - } - __pyx_v_fd = __Pyx_PyInt_AsInt(values[0]); if (unlikely((__pyx_v_fd == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1705; __pyx_clineno = __LINE__; goto __pyx_L3_error;} - __pyx_v_m = ((struct __pyx_obj_6schema_MessageBuilder *)values[1]); - } - goto __pyx_L4_argument_unpacking_done; - __pyx_L5_argtuple_error:; - __Pyx_RaiseArgtupleInvalid("writePackedMessageToFd", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1705; __pyx_clineno = __LINE__; goto __pyx_L3_error;} - __pyx_L3_error:; - __Pyx_AddTraceback("schema.writePackedMessageToFd", __pyx_clineno, __pyx_lineno, __pyx_filename); - __Pyx_RefNannyFinishContext(); - return NULL; - __pyx_L4_argument_unpacking_done:; - if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_m), __pyx_ptype_6schema_MessageBuilder, 1, "m", 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1705; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_r = __pyx_pf_6schema_4writePackedMessageToFd(__pyx_self, __pyx_v_fd, __pyx_v_m); - goto __pyx_L0; - __pyx_L1_error:; - __pyx_r = NULL; - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "schema.pyx":1705 - * def writeMessageToFd(int fd, MessageBuilder m): - * capnp.writeMessageToFd(fd, deref(m.thisptr)) - * def writePackedMessageToFd(int fd, MessageBuilder m): # <<<<<<<<<<<<<< - * capnp.writePackedMessageToFd(fd, deref(m.thisptr)) - * - */ - -static PyObject *__pyx_pf_6schema_4writePackedMessageToFd(CYTHON_UNUSED PyObject *__pyx_self, int __pyx_v_fd, struct __pyx_obj_6schema_MessageBuilder *__pyx_v_m) { - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("writePackedMessageToFd", 0); - - /* "schema.pyx":1706 - * capnp.writeMessageToFd(fd, deref(m.thisptr)) - * def writePackedMessageToFd(int fd, MessageBuilder m): - * capnp.writePackedMessageToFd(fd, deref(m.thisptr)) # <<<<<<<<<<<<<< - * - * # Make the namespace human usable - */ - ::capnp::writePackedMessageToFd(__pyx_v_fd, (*__pyx_v_m->thisptr)); - - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} -static struct __pyx_vtabstruct_6schema__List_FileNode_FileNode_Import_Reader __pyx_vtable_6schema__List_FileNode_FileNode_Import_Reader; - -static PyObject *__pyx_tp_new_6schema__List_FileNode_FileNode_Import_Reader(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema__List_FileNode_FileNode_Import_Reader *p; - PyObject *o; - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema__List_FileNode_FileNode_Import_Reader *)o); - p->__pyx_vtab = __pyx_vtabptr_6schema__List_FileNode_FileNode_Import_Reader; - new((void*)&(p->thisptr)) ::capnp::List<::capnp::schema::FileNode::Import>::Reader(); - return o; -} - -static void __pyx_tp_dealloc_6schema__List_FileNode_FileNode_Import_Reader(PyObject *o) { - struct __pyx_obj_6schema__List_FileNode_FileNode_Import_Reader *p = (struct __pyx_obj_6schema__List_FileNode_FileNode_Import_Reader *)o; - p->thisptr.::capnp::List<::capnp::schema::FileNode::Import>::Reader::~Reader(); - (*Py_TYPE(o)->tp_free)(o); -} -static PyObject *__pyx_sq_item_6schema__List_FileNode_FileNode_Import_Reader(PyObject *o, Py_ssize_t i) { - PyObject *r; - PyObject *x = PyInt_FromSsize_t(i); if(!x) return 0; - r = Py_TYPE(o)->tp_as_mapping->mp_subscript(o, x); - Py_DECREF(x); - return r; -} - -static PyMethodDef __pyx_methods_6schema__List_FileNode_FileNode_Import_Reader[] = { - {0, 0, 0, 0} -}; - -static PySequenceMethods __pyx_tp_as_sequence__List_FileNode_FileNode_Import_Reader = { - __pyx_pw_6schema_37_List_FileNode_FileNode_Import_Reader_3__len__, /*sq_length*/ - 0, /*sq_concat*/ - 0, /*sq_repeat*/ - __pyx_sq_item_6schema__List_FileNode_FileNode_Import_Reader, /*sq_item*/ - 0, /*sq_slice*/ - 0, /*sq_ass_item*/ - 0, /*sq_ass_slice*/ - 0, /*sq_contains*/ - 0, /*sq_inplace_concat*/ - 0, /*sq_inplace_repeat*/ -}; - -static PyMappingMethods __pyx_tp_as_mapping__List_FileNode_FileNode_Import_Reader = { - __pyx_pw_6schema_37_List_FileNode_FileNode_Import_Reader_3__len__, /*mp_length*/ - __pyx_pw_6schema_37_List_FileNode_FileNode_Import_Reader_1__getitem__, /*mp_subscript*/ - 0, /*mp_ass_subscript*/ -}; - -static PyTypeObject __pyx_type_6schema__List_FileNode_FileNode_Import_Reader = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema._List_FileNode_FileNode_Import_Reader"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema__List_FileNode_FileNode_Import_Reader), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema__List_FileNode_FileNode_Import_Reader, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - &__pyx_tp_as_sequence__List_FileNode_FileNode_Import_Reader, /*tp_as_sequence*/ - &__pyx_tp_as_mapping__List_FileNode_FileNode_Import_Reader, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema__List_FileNode_FileNode_Import_Reader, /*tp_methods*/ - 0, /*tp_members*/ - 0, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema__List_FileNode_FileNode_Import_Reader, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema__StructNode_FieldBuilder __pyx_vtable_6schema__StructNode_FieldBuilder; - -static PyObject *__pyx_tp_new_6schema__StructNode_FieldBuilder(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema__StructNode_FieldBuilder *p; - PyObject *o; - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema__StructNode_FieldBuilder *)o); - p->__pyx_vtab = __pyx_vtabptr_6schema__StructNode_FieldBuilder; - new((void*)&(p->thisptr)) ::capnp::schema::StructNode::Field::Builder(); - return o; -} - -static void __pyx_tp_dealloc_6schema__StructNode_FieldBuilder(PyObject *o) { - struct __pyx_obj_6schema__StructNode_FieldBuilder *p = (struct __pyx_obj_6schema__StructNode_FieldBuilder *)o; - p->thisptr.::capnp::schema::StructNode::Field::Builder::~Builder(); - (*Py_TYPE(o)->tp_free)(o); -} - -static PyObject *__pyx_getprop_6schema_24_StructNode_FieldBuilder_defaultValue(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_24_StructNode_FieldBuilder_12defaultValue_1__get__(o); -} - -static int __pyx_setprop_6schema_24_StructNode_FieldBuilder_defaultValue(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_24_StructNode_FieldBuilder_12defaultValue_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_24_StructNode_FieldBuilder_type(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_24_StructNode_FieldBuilder_4type_1__get__(o); -} - -static int __pyx_setprop_6schema_24_StructNode_FieldBuilder_type(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_24_StructNode_FieldBuilder_4type_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_24_StructNode_FieldBuilder_offset(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_24_StructNode_FieldBuilder_6offset_1__get__(o); -} - -static int __pyx_setprop_6schema_24_StructNode_FieldBuilder_offset(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_24_StructNode_FieldBuilder_6offset_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyMethodDef __pyx_methods_6schema__StructNode_FieldBuilder[] = { - {0, 0, 0, 0} -}; - -static struct PyGetSetDef __pyx_getsets_6schema__StructNode_FieldBuilder[] = { - {(char *)"defaultValue", __pyx_getprop_6schema_24_StructNode_FieldBuilder_defaultValue, __pyx_setprop_6schema_24_StructNode_FieldBuilder_defaultValue, 0, 0}, - {(char *)"type", __pyx_getprop_6schema_24_StructNode_FieldBuilder_type, __pyx_setprop_6schema_24_StructNode_FieldBuilder_type, 0, 0}, - {(char *)"offset", __pyx_getprop_6schema_24_StructNode_FieldBuilder_offset, __pyx_setprop_6schema_24_StructNode_FieldBuilder_offset, 0, 0}, - {0, 0, 0, 0, 0} -}; - -static PyTypeObject __pyx_type_6schema__StructNode_FieldBuilder = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema._StructNode_FieldBuilder"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema__StructNode_FieldBuilder), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema__StructNode_FieldBuilder, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema__StructNode_FieldBuilder, /*tp_methods*/ - 0, /*tp_members*/ - __pyx_getsets_6schema__StructNode_FieldBuilder, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema__StructNode_FieldBuilder, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema__StructNodeReader __pyx_vtable_6schema__StructNodeReader; - -static PyObject *__pyx_tp_new_6schema__StructNodeReader(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema__StructNodeReader *p; - PyObject *o; - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema__StructNodeReader *)o); - p->__pyx_vtab = __pyx_vtabptr_6schema__StructNodeReader; - new((void*)&(p->thisptr)) ::capnp::schema::StructNode::Reader(); - return o; -} - -static void __pyx_tp_dealloc_6schema__StructNodeReader(PyObject *o) { - struct __pyx_obj_6schema__StructNodeReader *p = (struct __pyx_obj_6schema__StructNodeReader *)o; - p->thisptr.::capnp::schema::StructNode::Reader::~Reader(); - (*Py_TYPE(o)->tp_free)(o); -} - -static PyObject *__pyx_getprop_6schema_17_StructNodeReader_dataSectionWordSize(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_17_StructNodeReader_19dataSectionWordSize_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_17_StructNodeReader_members(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_17_StructNodeReader_7members_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_17_StructNodeReader_pointerSectionSize(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_17_StructNodeReader_18pointerSectionSize_1__get__(o); -} - -static PyMethodDef __pyx_methods_6schema__StructNodeReader[] = { - {0, 0, 0, 0} -}; - -static struct PyGetSetDef __pyx_getsets_6schema__StructNodeReader[] = { - {(char *)"dataSectionWordSize", __pyx_getprop_6schema_17_StructNodeReader_dataSectionWordSize, 0, 0, 0}, - {(char *)"members", __pyx_getprop_6schema_17_StructNodeReader_members, 0, 0, 0}, - {(char *)"pointerSectionSize", __pyx_getprop_6schema_17_StructNodeReader_pointerSectionSize, 0, 0, 0}, - {0, 0, 0, 0, 0} -}; - -static PyTypeObject __pyx_type_6schema__StructNodeReader = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema._StructNodeReader"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema__StructNodeReader), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema__StructNodeReader, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema__StructNodeReader, /*tp_methods*/ - 0, /*tp_members*/ - __pyx_getsets_6schema__StructNodeReader, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema__StructNodeReader, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema__InterfaceNode_MethodReader __pyx_vtable_6schema__InterfaceNode_MethodReader; - -static PyObject *__pyx_tp_new_6schema__InterfaceNode_MethodReader(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema__InterfaceNode_MethodReader *p; - PyObject *o; - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema__InterfaceNode_MethodReader *)o); - p->__pyx_vtab = __pyx_vtabptr_6schema__InterfaceNode_MethodReader; - new((void*)&(p->thisptr)) ::capnp::schema::InterfaceNode::Method::Reader(); - return o; -} - -static void __pyx_tp_dealloc_6schema__InterfaceNode_MethodReader(PyObject *o) { - struct __pyx_obj_6schema__InterfaceNode_MethodReader *p = (struct __pyx_obj_6schema__InterfaceNode_MethodReader *)o; - p->thisptr.::capnp::schema::InterfaceNode::Method::Reader::~Reader(); - (*Py_TYPE(o)->tp_free)(o); -} - -static PyObject *__pyx_getprop_6schema_27_InterfaceNode_MethodReader_codeOrder(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_27_InterfaceNode_MethodReader_9codeOrder_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_27_InterfaceNode_MethodReader_name(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_27_InterfaceNode_MethodReader_4name_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_27_InterfaceNode_MethodReader_params(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_27_InterfaceNode_MethodReader_6params_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_27_InterfaceNode_MethodReader_requiredParamCount(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_27_InterfaceNode_MethodReader_18requiredParamCount_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_27_InterfaceNode_MethodReader_returnType(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_27_InterfaceNode_MethodReader_10returnType_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_27_InterfaceNode_MethodReader_annotations(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_27_InterfaceNode_MethodReader_11annotations_1__get__(o); -} - -static PyMethodDef __pyx_methods_6schema__InterfaceNode_MethodReader[] = { - {0, 0, 0, 0} -}; - -static struct PyGetSetDef __pyx_getsets_6schema__InterfaceNode_MethodReader[] = { - {(char *)"codeOrder", __pyx_getprop_6schema_27_InterfaceNode_MethodReader_codeOrder, 0, 0, 0}, - {(char *)"name", __pyx_getprop_6schema_27_InterfaceNode_MethodReader_name, 0, 0, 0}, - {(char *)"params", __pyx_getprop_6schema_27_InterfaceNode_MethodReader_params, 0, 0, 0}, - {(char *)"requiredParamCount", __pyx_getprop_6schema_27_InterfaceNode_MethodReader_requiredParamCount, 0, 0, 0}, - {(char *)"returnType", __pyx_getprop_6schema_27_InterfaceNode_MethodReader_returnType, 0, 0, 0}, - {(char *)"annotations", __pyx_getprop_6schema_27_InterfaceNode_MethodReader_annotations, 0, 0, 0}, - {0, 0, 0, 0, 0} -}; - -static PyTypeObject __pyx_type_6schema__InterfaceNode_MethodReader = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema._InterfaceNode_MethodReader"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema__InterfaceNode_MethodReader), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema__InterfaceNode_MethodReader, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema__InterfaceNode_MethodReader, /*tp_methods*/ - 0, /*tp_members*/ - __pyx_getsets_6schema__InterfaceNode_MethodReader, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema__InterfaceNode_MethodReader, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema__Node_BodyBuilder __pyx_vtable_6schema__Node_BodyBuilder; - -static PyObject *__pyx_tp_new_6schema__Node_BodyBuilder(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema__Node_BodyBuilder *p; - PyObject *o; - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema__Node_BodyBuilder *)o); - p->__pyx_vtab = __pyx_vtabptr_6schema__Node_BodyBuilder; - new((void*)&(p->thisptr)) ::capnp::schema::Node::Body::Builder(); - return o; -} - -static void __pyx_tp_dealloc_6schema__Node_BodyBuilder(PyObject *o) { - struct __pyx_obj_6schema__Node_BodyBuilder *p = (struct __pyx_obj_6schema__Node_BodyBuilder *)o; - p->thisptr.::capnp::schema::Node::Body::Builder::~Builder(); - (*Py_TYPE(o)->tp_free)(o); -} - -static PyObject *__pyx_getprop_6schema_17_Node_BodyBuilder_annotationNode(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_17_Node_BodyBuilder_14annotationNode_1__get__(o); -} - -static int __pyx_setprop_6schema_17_Node_BodyBuilder_annotationNode(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_17_Node_BodyBuilder_14annotationNode_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_17_Node_BodyBuilder_interfaceNode(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_17_Node_BodyBuilder_13interfaceNode_1__get__(o); -} - -static int __pyx_setprop_6schema_17_Node_BodyBuilder_interfaceNode(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_17_Node_BodyBuilder_13interfaceNode_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_17_Node_BodyBuilder_enumNode(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_17_Node_BodyBuilder_8enumNode_1__get__(o); -} - -static int __pyx_setprop_6schema_17_Node_BodyBuilder_enumNode(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_17_Node_BodyBuilder_8enumNode_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_17_Node_BodyBuilder_structNode(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_17_Node_BodyBuilder_10structNode_1__get__(o); -} - -static int __pyx_setprop_6schema_17_Node_BodyBuilder_structNode(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_17_Node_BodyBuilder_10structNode_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_17_Node_BodyBuilder_constNode(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_17_Node_BodyBuilder_9constNode_1__get__(o); -} - -static int __pyx_setprop_6schema_17_Node_BodyBuilder_constNode(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_17_Node_BodyBuilder_9constNode_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_17_Node_BodyBuilder_fileNode(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_17_Node_BodyBuilder_8fileNode_1__get__(o); -} - -static int __pyx_setprop_6schema_17_Node_BodyBuilder_fileNode(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_17_Node_BodyBuilder_8fileNode_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyMethodDef __pyx_methods_6schema__Node_BodyBuilder[] = { - {__Pyx_NAMESTR("which"), (PyCFunction)__pyx_pw_6schema_17_Node_BodyBuilder_1which, METH_NOARGS, __Pyx_DOCSTR(0)}, - {0, 0, 0, 0} -}; - -static struct PyGetSetDef __pyx_getsets_6schema__Node_BodyBuilder[] = { - {(char *)"annotationNode", __pyx_getprop_6schema_17_Node_BodyBuilder_annotationNode, __pyx_setprop_6schema_17_Node_BodyBuilder_annotationNode, 0, 0}, - {(char *)"interfaceNode", __pyx_getprop_6schema_17_Node_BodyBuilder_interfaceNode, __pyx_setprop_6schema_17_Node_BodyBuilder_interfaceNode, 0, 0}, - {(char *)"enumNode", __pyx_getprop_6schema_17_Node_BodyBuilder_enumNode, __pyx_setprop_6schema_17_Node_BodyBuilder_enumNode, 0, 0}, - {(char *)"structNode", __pyx_getprop_6schema_17_Node_BodyBuilder_structNode, __pyx_setprop_6schema_17_Node_BodyBuilder_structNode, 0, 0}, - {(char *)"constNode", __pyx_getprop_6schema_17_Node_BodyBuilder_constNode, __pyx_setprop_6schema_17_Node_BodyBuilder_constNode, 0, 0}, - {(char *)"fileNode", __pyx_getprop_6schema_17_Node_BodyBuilder_fileNode, __pyx_setprop_6schema_17_Node_BodyBuilder_fileNode, 0, 0}, - {0, 0, 0, 0, 0} -}; - -static PyTypeObject __pyx_type_6schema__Node_BodyBuilder = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema._Node_BodyBuilder"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema__Node_BodyBuilder), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema__Node_BodyBuilder, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema__Node_BodyBuilder, /*tp_methods*/ - 0, /*tp_members*/ - __pyx_getsets_6schema__Node_BodyBuilder, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema__Node_BodyBuilder, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema_MessageBuilder __pyx_vtable_6schema_MessageBuilder; - -static PyObject *__pyx_tp_new_6schema_MessageBuilder(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema_MessageBuilder *p; - PyObject *o; - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema_MessageBuilder *)o); - p->__pyx_vtab = __pyx_vtabptr_6schema_MessageBuilder; - return o; -} - -static void __pyx_tp_dealloc_6schema_MessageBuilder(PyObject *o) { - { - PyObject *etype, *eval, *etb; - PyErr_Fetch(&etype, &eval, &etb); - ++Py_REFCNT(o); - __pyx_pw_6schema_14MessageBuilder_1__dealloc__(o); - if (PyErr_Occurred()) PyErr_WriteUnraisable(o); - --Py_REFCNT(o); - PyErr_Restore(etype, eval, etb); - } - (*Py_TYPE(o)->tp_free)(o); -} - -static PyMethodDef __pyx_methods_6schema_MessageBuilder[] = { - {__Pyx_NAMESTR("getRootCodeGeneratorRequest"), (PyCFunction)__pyx_pw_6schema_14MessageBuilder_3getRootCodeGeneratorRequest, METH_NOARGS, __Pyx_DOCSTR(0)}, - {__Pyx_NAMESTR("initRootCodeGeneratorRequest"), (PyCFunction)__pyx_pw_6schema_14MessageBuilder_5initRootCodeGeneratorRequest, METH_NOARGS, __Pyx_DOCSTR(0)}, - {__Pyx_NAMESTR("getRootInterfaceNode"), (PyCFunction)__pyx_pw_6schema_14MessageBuilder_7getRootInterfaceNode, METH_NOARGS, __Pyx_DOCSTR(0)}, - {__Pyx_NAMESTR("initRootInterfaceNode"), (PyCFunction)__pyx_pw_6schema_14MessageBuilder_9initRootInterfaceNode, METH_NOARGS, __Pyx_DOCSTR(0)}, - {__Pyx_NAMESTR("getRootValue"), (PyCFunction)__pyx_pw_6schema_14MessageBuilder_11getRootValue, METH_NOARGS, __Pyx_DOCSTR(0)}, - {__Pyx_NAMESTR("initRootValue"), (PyCFunction)__pyx_pw_6schema_14MessageBuilder_13initRootValue, METH_NOARGS, __Pyx_DOCSTR(0)}, - {__Pyx_NAMESTR("getRootConstNode"), (PyCFunction)__pyx_pw_6schema_14MessageBuilder_15getRootConstNode, METH_NOARGS, __Pyx_DOCSTR(0)}, - {__Pyx_NAMESTR("initRootConstNode"), (PyCFunction)__pyx_pw_6schema_14MessageBuilder_17initRootConstNode, METH_NOARGS, __Pyx_DOCSTR(0)}, - {__Pyx_NAMESTR("getRootType"), (PyCFunction)__pyx_pw_6schema_14MessageBuilder_19getRootType, METH_NOARGS, __Pyx_DOCSTR(0)}, - {__Pyx_NAMESTR("initRootType"), (PyCFunction)__pyx_pw_6schema_14MessageBuilder_21initRootType, METH_NOARGS, __Pyx_DOCSTR(0)}, - {__Pyx_NAMESTR("getRootFileNode"), (PyCFunction)__pyx_pw_6schema_14MessageBuilder_23getRootFileNode, METH_NOARGS, __Pyx_DOCSTR(0)}, - {__Pyx_NAMESTR("initRootFileNode"), (PyCFunction)__pyx_pw_6schema_14MessageBuilder_25initRootFileNode, METH_NOARGS, __Pyx_DOCSTR(0)}, - {__Pyx_NAMESTR("getRootNode"), (PyCFunction)__pyx_pw_6schema_14MessageBuilder_27getRootNode, METH_NOARGS, __Pyx_DOCSTR(0)}, - {__Pyx_NAMESTR("initRootNode"), (PyCFunction)__pyx_pw_6schema_14MessageBuilder_29initRootNode, METH_NOARGS, __Pyx_DOCSTR(0)}, - {__Pyx_NAMESTR("getRootAnnotationNode"), (PyCFunction)__pyx_pw_6schema_14MessageBuilder_31getRootAnnotationNode, METH_NOARGS, __Pyx_DOCSTR(0)}, - {__Pyx_NAMESTR("initRootAnnotationNode"), (PyCFunction)__pyx_pw_6schema_14MessageBuilder_33initRootAnnotationNode, METH_NOARGS, __Pyx_DOCSTR(0)}, - {__Pyx_NAMESTR("getRootEnumNode"), (PyCFunction)__pyx_pw_6schema_14MessageBuilder_35getRootEnumNode, METH_NOARGS, __Pyx_DOCSTR(0)}, - {__Pyx_NAMESTR("initRootEnumNode"), (PyCFunction)__pyx_pw_6schema_14MessageBuilder_37initRootEnumNode, METH_NOARGS, __Pyx_DOCSTR(0)}, - {__Pyx_NAMESTR("getRootStructNode"), (PyCFunction)__pyx_pw_6schema_14MessageBuilder_39getRootStructNode, METH_NOARGS, __Pyx_DOCSTR(0)}, - {__Pyx_NAMESTR("initRootStructNode"), (PyCFunction)__pyx_pw_6schema_14MessageBuilder_41initRootStructNode, METH_NOARGS, __Pyx_DOCSTR(0)}, - {__Pyx_NAMESTR("getRootAnnotation"), (PyCFunction)__pyx_pw_6schema_14MessageBuilder_43getRootAnnotation, METH_NOARGS, __Pyx_DOCSTR(0)}, - {__Pyx_NAMESTR("initRootAnnotation"), (PyCFunction)__pyx_pw_6schema_14MessageBuilder_45initRootAnnotation, METH_NOARGS, __Pyx_DOCSTR(0)}, - {0, 0, 0, 0} -}; - -static PyTypeObject __pyx_type_6schema_MessageBuilder = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema.MessageBuilder"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema_MessageBuilder), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema_MessageBuilder, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema_MessageBuilder, /*tp_methods*/ - 0, /*tp_members*/ - 0, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema_MessageBuilder, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema__ConstNodeReader __pyx_vtable_6schema__ConstNodeReader; - -static PyObject *__pyx_tp_new_6schema__ConstNodeReader(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema__ConstNodeReader *p; - PyObject *o; - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema__ConstNodeReader *)o); - p->__pyx_vtab = __pyx_vtabptr_6schema__ConstNodeReader; - new((void*)&(p->thisptr)) ::capnp::schema::ConstNode::Reader(); - return o; -} - -static void __pyx_tp_dealloc_6schema__ConstNodeReader(PyObject *o) { - struct __pyx_obj_6schema__ConstNodeReader *p = (struct __pyx_obj_6schema__ConstNodeReader *)o; - p->thisptr.::capnp::schema::ConstNode::Reader::~Reader(); - (*Py_TYPE(o)->tp_free)(o); -} - -static PyObject *__pyx_getprop_6schema_16_ConstNodeReader_type(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_16_ConstNodeReader_4type_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_16_ConstNodeReader_value(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_16_ConstNodeReader_5value_1__get__(o); -} - -static PyMethodDef __pyx_methods_6schema__ConstNodeReader[] = { - {0, 0, 0, 0} -}; - -static struct PyGetSetDef __pyx_getsets_6schema__ConstNodeReader[] = { - {(char *)"type", __pyx_getprop_6schema_16_ConstNodeReader_type, 0, 0, 0}, - {(char *)"value", __pyx_getprop_6schema_16_ConstNodeReader_value, 0, 0, 0}, - {0, 0, 0, 0, 0} -}; - -static PyTypeObject __pyx_type_6schema__ConstNodeReader = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema._ConstNodeReader"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema__ConstNodeReader), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema__ConstNodeReader, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema__ConstNodeReader, /*tp_methods*/ - 0, /*tp_members*/ - __pyx_getsets_6schema__ConstNodeReader, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema__ConstNodeReader, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema__FileNodeBuilder __pyx_vtable_6schema__FileNodeBuilder; - -static PyObject *__pyx_tp_new_6schema__FileNodeBuilder(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema__FileNodeBuilder *p; - PyObject *o; - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema__FileNodeBuilder *)o); - p->__pyx_vtab = __pyx_vtabptr_6schema__FileNodeBuilder; - new((void*)&(p->thisptr)) ::capnp::schema::FileNode::Builder(); - return o; -} - -static void __pyx_tp_dealloc_6schema__FileNodeBuilder(PyObject *o) { - struct __pyx_obj_6schema__FileNodeBuilder *p = (struct __pyx_obj_6schema__FileNodeBuilder *)o; - p->thisptr.::capnp::schema::FileNode::Builder::~Builder(); - (*Py_TYPE(o)->tp_free)(o); -} - -static PyObject *__pyx_getprop_6schema_16_FileNodeBuilder_imports(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_16_FileNodeBuilder_7imports_1__get__(o); -} - -static PyMethodDef __pyx_methods_6schema__FileNodeBuilder[] = { - {__Pyx_NAMESTR("initImports"), (PyCFunction)__pyx_pw_6schema_16_FileNodeBuilder_1initImports, METH_O, __Pyx_DOCSTR(0)}, - {0, 0, 0, 0} -}; - -static struct PyGetSetDef __pyx_getsets_6schema__FileNodeBuilder[] = { - {(char *)"imports", __pyx_getprop_6schema_16_FileNodeBuilder_imports, 0, 0, 0}, - {0, 0, 0, 0, 0} -}; - -static PyTypeObject __pyx_type_6schema__FileNodeBuilder = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema._FileNodeBuilder"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema__FileNodeBuilder), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema__FileNodeBuilder, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema__FileNodeBuilder, /*tp_methods*/ - 0, /*tp_members*/ - __pyx_getsets_6schema__FileNodeBuilder, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema__FileNodeBuilder, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema__Type_BodyReader __pyx_vtable_6schema__Type_BodyReader; - -static PyObject *__pyx_tp_new_6schema__Type_BodyReader(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema__Type_BodyReader *p; - PyObject *o; - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema__Type_BodyReader *)o); - p->__pyx_vtab = __pyx_vtabptr_6schema__Type_BodyReader; - new((void*)&(p->thisptr)) ::capnp::schema::Type::Body::Reader(); - return o; -} - -static void __pyx_tp_dealloc_6schema__Type_BodyReader(PyObject *o) { - struct __pyx_obj_6schema__Type_BodyReader *p = (struct __pyx_obj_6schema__Type_BodyReader *)o; - p->thisptr.::capnp::schema::Type::Body::Reader::~Reader(); - (*Py_TYPE(o)->tp_free)(o); -} - -static PyObject *__pyx_getprop_6schema_16_Type_BodyReader_boolType(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_16_Type_BodyReader_8boolType_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_16_Type_BodyReader_structType(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_16_Type_BodyReader_10structType_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_16_Type_BodyReader_int32Type(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_16_Type_BodyReader_9int32Type_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_16_Type_BodyReader_voidType(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_16_Type_BodyReader_8voidType_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_16_Type_BodyReader_uint16Type(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_16_Type_BodyReader_10uint16Type_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_16_Type_BodyReader_dataType(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_16_Type_BodyReader_8dataType_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_16_Type_BodyReader_objectType(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_16_Type_BodyReader_10objectType_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_16_Type_BodyReader_int64Type(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_16_Type_BodyReader_9int64Type_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_16_Type_BodyReader_float64Type(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_16_Type_BodyReader_11float64Type_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_16_Type_BodyReader_interfaceType(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_16_Type_BodyReader_13interfaceType_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_16_Type_BodyReader_uint32Type(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_16_Type_BodyReader_10uint32Type_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_16_Type_BodyReader_uint8Type(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_16_Type_BodyReader_9uint8Type_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_16_Type_BodyReader_listType(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_16_Type_BodyReader_8listType_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_16_Type_BodyReader_int8Type(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_16_Type_BodyReader_8int8Type_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_16_Type_BodyReader_float32Type(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_16_Type_BodyReader_11float32Type_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_16_Type_BodyReader_enumType(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_16_Type_BodyReader_8enumType_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_16_Type_BodyReader_uint64Type(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_16_Type_BodyReader_10uint64Type_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_16_Type_BodyReader_textType(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_16_Type_BodyReader_8textType_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_16_Type_BodyReader_int16Type(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_16_Type_BodyReader_9int16Type_1__get__(o); -} - -static PyMethodDef __pyx_methods_6schema__Type_BodyReader[] = { - {__Pyx_NAMESTR("which"), (PyCFunction)__pyx_pw_6schema_16_Type_BodyReader_1which, METH_NOARGS, __Pyx_DOCSTR(0)}, - {0, 0, 0, 0} -}; - -static struct PyGetSetDef __pyx_getsets_6schema__Type_BodyReader[] = { - {(char *)"boolType", __pyx_getprop_6schema_16_Type_BodyReader_boolType, 0, 0, 0}, - {(char *)"structType", __pyx_getprop_6schema_16_Type_BodyReader_structType, 0, 0, 0}, - {(char *)"int32Type", __pyx_getprop_6schema_16_Type_BodyReader_int32Type, 0, 0, 0}, - {(char *)"voidType", __pyx_getprop_6schema_16_Type_BodyReader_voidType, 0, 0, 0}, - {(char *)"uint16Type", __pyx_getprop_6schema_16_Type_BodyReader_uint16Type, 0, 0, 0}, - {(char *)"dataType", __pyx_getprop_6schema_16_Type_BodyReader_dataType, 0, 0, 0}, - {(char *)"objectType", __pyx_getprop_6schema_16_Type_BodyReader_objectType, 0, 0, 0}, - {(char *)"int64Type", __pyx_getprop_6schema_16_Type_BodyReader_int64Type, 0, 0, 0}, - {(char *)"float64Type", __pyx_getprop_6schema_16_Type_BodyReader_float64Type, 0, 0, 0}, - {(char *)"interfaceType", __pyx_getprop_6schema_16_Type_BodyReader_interfaceType, 0, 0, 0}, - {(char *)"uint32Type", __pyx_getprop_6schema_16_Type_BodyReader_uint32Type, 0, 0, 0}, - {(char *)"uint8Type", __pyx_getprop_6schema_16_Type_BodyReader_uint8Type, 0, 0, 0}, - {(char *)"listType", __pyx_getprop_6schema_16_Type_BodyReader_listType, 0, 0, 0}, - {(char *)"int8Type", __pyx_getprop_6schema_16_Type_BodyReader_int8Type, 0, 0, 0}, - {(char *)"float32Type", __pyx_getprop_6schema_16_Type_BodyReader_float32Type, 0, 0, 0}, - {(char *)"enumType", __pyx_getprop_6schema_16_Type_BodyReader_enumType, 0, 0, 0}, - {(char *)"uint64Type", __pyx_getprop_6schema_16_Type_BodyReader_uint64Type, 0, 0, 0}, - {(char *)"textType", __pyx_getprop_6schema_16_Type_BodyReader_textType, 0, 0, 0}, - {(char *)"int16Type", __pyx_getprop_6schema_16_Type_BodyReader_int16Type, 0, 0, 0}, - {0, 0, 0, 0, 0} -}; - -static PyTypeObject __pyx_type_6schema__Type_BodyReader = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema._Type_BodyReader"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema__Type_BodyReader), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema__Type_BodyReader, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema__Type_BodyReader, /*tp_methods*/ - 0, /*tp_members*/ - __pyx_getsets_6schema__Type_BodyReader, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema__Type_BodyReader, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema__List_InterfaceNode_InterfaceNode_Method_Reader __pyx_vtable_6schema__List_InterfaceNode_InterfaceNode_Method_Reader; - -static PyObject *__pyx_tp_new_6schema__List_InterfaceNode_InterfaceNode_Method_Reader(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema__List_InterfaceNode_InterfaceNode_Method_Reader *p; - PyObject *o; - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema__List_InterfaceNode_InterfaceNode_Method_Reader *)o); - p->__pyx_vtab = __pyx_vtabptr_6schema__List_InterfaceNode_InterfaceNode_Method_Reader; - new((void*)&(p->thisptr)) ::capnp::List<::capnp::schema::InterfaceNode::Method>::Reader(); - return o; -} - -static void __pyx_tp_dealloc_6schema__List_InterfaceNode_InterfaceNode_Method_Reader(PyObject *o) { - struct __pyx_obj_6schema__List_InterfaceNode_InterfaceNode_Method_Reader *p = (struct __pyx_obj_6schema__List_InterfaceNode_InterfaceNode_Method_Reader *)o; - p->thisptr.::capnp::List<::capnp::schema::InterfaceNode::Method>::Reader::~Reader(); - (*Py_TYPE(o)->tp_free)(o); -} -static PyObject *__pyx_sq_item_6schema__List_InterfaceNode_InterfaceNode_Method_Reader(PyObject *o, Py_ssize_t i) { - PyObject *r; - PyObject *x = PyInt_FromSsize_t(i); if(!x) return 0; - r = Py_TYPE(o)->tp_as_mapping->mp_subscript(o, x); - Py_DECREF(x); - return r; -} - -static PyMethodDef __pyx_methods_6schema__List_InterfaceNode_InterfaceNode_Method_Reader[] = { - {0, 0, 0, 0} -}; - -static PySequenceMethods __pyx_tp_as_sequence__List_InterfaceNode_InterfaceNode_Method_Reader = { - __pyx_pw_6schema_47_List_InterfaceNode_InterfaceNode_Method_Reader_3__len__, /*sq_length*/ - 0, /*sq_concat*/ - 0, /*sq_repeat*/ - __pyx_sq_item_6schema__List_InterfaceNode_InterfaceNode_Method_Reader, /*sq_item*/ - 0, /*sq_slice*/ - 0, /*sq_ass_item*/ - 0, /*sq_ass_slice*/ - 0, /*sq_contains*/ - 0, /*sq_inplace_concat*/ - 0, /*sq_inplace_repeat*/ -}; - -static PyMappingMethods __pyx_tp_as_mapping__List_InterfaceNode_InterfaceNode_Method_Reader = { - __pyx_pw_6schema_47_List_InterfaceNode_InterfaceNode_Method_Reader_3__len__, /*mp_length*/ - __pyx_pw_6schema_47_List_InterfaceNode_InterfaceNode_Method_Reader_1__getitem__, /*mp_subscript*/ - 0, /*mp_ass_subscript*/ -}; - -static PyTypeObject __pyx_type_6schema__List_InterfaceNode_InterfaceNode_Method_Reader = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema._List_InterfaceNode_InterfaceNode_Method_Reader"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema__List_InterfaceNode_InterfaceNode_Method_Reader), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema__List_InterfaceNode_InterfaceNode_Method_Reader, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - &__pyx_tp_as_sequence__List_InterfaceNode_InterfaceNode_Method_Reader, /*tp_as_sequence*/ - &__pyx_tp_as_mapping__List_InterfaceNode_InterfaceNode_Method_Reader, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema__List_InterfaceNode_InterfaceNode_Method_Reader, /*tp_methods*/ - 0, /*tp_members*/ - 0, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema__List_InterfaceNode_InterfaceNode_Method_Reader, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; - -static struct __pyx_obj_6schema___pyx_scope_struct_1_genexpr *__pyx_freelist_6schema___pyx_scope_struct_1_genexpr[8]; -static int __pyx_freecount_6schema___pyx_scope_struct_1_genexpr = 0; - -static PyObject *__pyx_tp_new_6schema___pyx_scope_struct_1_genexpr(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema___pyx_scope_struct_1_genexpr *p; - PyObject *o; - if (likely((__pyx_freecount_6schema___pyx_scope_struct_1_genexpr > 0) & (t->tp_basicsize == sizeof(struct __pyx_obj_6schema___pyx_scope_struct_1_genexpr)))) { - o = (PyObject*)__pyx_freelist_6schema___pyx_scope_struct_1_genexpr[--__pyx_freecount_6schema___pyx_scope_struct_1_genexpr]; - memset(o, 0, sizeof(struct __pyx_obj_6schema___pyx_scope_struct_1_genexpr)); - PyObject_INIT(o, t); - PyObject_GC_Track(o); - } else { - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - } - p = ((struct __pyx_obj_6schema___pyx_scope_struct_1_genexpr *)o); - p->__pyx_outer_scope = 0; - p->__pyx_v_key = 0; - p->__pyx_v_value = 0; - p->__pyx_t_0 = 0; - return o; -} - -static void __pyx_tp_dealloc_6schema___pyx_scope_struct_1_genexpr(PyObject *o) { - struct __pyx_obj_6schema___pyx_scope_struct_1_genexpr *p = (struct __pyx_obj_6schema___pyx_scope_struct_1_genexpr *)o; - PyObject_GC_UnTrack(o); - Py_CLEAR(p->__pyx_outer_scope); - Py_CLEAR(p->__pyx_v_key); - Py_CLEAR(p->__pyx_v_value); - Py_CLEAR(p->__pyx_t_0); - if ((__pyx_freecount_6schema___pyx_scope_struct_1_genexpr < 8) & (Py_TYPE(o)->tp_basicsize == sizeof(struct __pyx_obj_6schema___pyx_scope_struct_1_genexpr))) { - __pyx_freelist_6schema___pyx_scope_struct_1_genexpr[__pyx_freecount_6schema___pyx_scope_struct_1_genexpr++] = ((struct __pyx_obj_6schema___pyx_scope_struct_1_genexpr *)o); - } else { - (*Py_TYPE(o)->tp_free)(o); - } -} - -static int __pyx_tp_traverse_6schema___pyx_scope_struct_1_genexpr(PyObject *o, visitproc v, void *a) { - int e; - struct __pyx_obj_6schema___pyx_scope_struct_1_genexpr *p = (struct __pyx_obj_6schema___pyx_scope_struct_1_genexpr *)o; - if (p->__pyx_outer_scope) { - e = (*v)(((PyObject*)p->__pyx_outer_scope), a); if (e) return e; - } - if (p->__pyx_v_key) { - e = (*v)(p->__pyx_v_key, a); if (e) return e; - } - if (p->__pyx_v_value) { - e = (*v)(p->__pyx_v_value, a); if (e) return e; - } - if (p->__pyx_t_0) { - e = (*v)(p->__pyx_t_0, a); if (e) return e; - } - return 0; -} - -static int __pyx_tp_clear_6schema___pyx_scope_struct_1_genexpr(PyObject *o) { - struct __pyx_obj_6schema___pyx_scope_struct_1_genexpr *p = (struct __pyx_obj_6schema___pyx_scope_struct_1_genexpr *)o; - PyObject* tmp; - tmp = ((PyObject*)p->__pyx_outer_scope); - p->__pyx_outer_scope = ((struct __pyx_obj_6schema___pyx_scope_struct__make_enum *)Py_None); Py_INCREF(Py_None); - Py_XDECREF(tmp); - tmp = ((PyObject*)p->__pyx_v_key); - p->__pyx_v_key = Py_None; Py_INCREF(Py_None); - Py_XDECREF(tmp); - tmp = ((PyObject*)p->__pyx_v_value); - p->__pyx_v_value = Py_None; Py_INCREF(Py_None); - Py_XDECREF(tmp); - tmp = ((PyObject*)p->__pyx_t_0); - p->__pyx_t_0 = Py_None; Py_INCREF(Py_None); - Py_XDECREF(tmp); - return 0; -} - -static PyMethodDef __pyx_methods_6schema___pyx_scope_struct_1_genexpr[] = { - {0, 0, 0, 0} -}; - -static PyTypeObject __pyx_type_6schema___pyx_scope_struct_1_genexpr = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema.__pyx_scope_struct_1_genexpr"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema___pyx_scope_struct_1_genexpr), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema___pyx_scope_struct_1_genexpr, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_HAVE_GC, /*tp_flags*/ - 0, /*tp_doc*/ - __pyx_tp_traverse_6schema___pyx_scope_struct_1_genexpr, /*tp_traverse*/ - __pyx_tp_clear_6schema___pyx_scope_struct_1_genexpr, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema___pyx_scope_struct_1_genexpr, /*tp_methods*/ - 0, /*tp_members*/ - 0, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema___pyx_scope_struct_1_genexpr, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema__List_StructNode_Member_Annotation_Builder __pyx_vtable_6schema__List_StructNode_Member_Annotation_Builder; - -static PyObject *__pyx_tp_new_6schema__List_StructNode_Member_Annotation_Builder(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema__List_StructNode_Member_Annotation_Builder *p; - PyObject *o; - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema__List_StructNode_Member_Annotation_Builder *)o); - p->__pyx_vtab = __pyx_vtabptr_6schema__List_StructNode_Member_Annotation_Builder; - new((void*)&(p->thisptr)) ::capnp::List<::capnp::schema::Annotation>::Builder(); - return o; -} - -static void __pyx_tp_dealloc_6schema__List_StructNode_Member_Annotation_Builder(PyObject *o) { - struct __pyx_obj_6schema__List_StructNode_Member_Annotation_Builder *p = (struct __pyx_obj_6schema__List_StructNode_Member_Annotation_Builder *)o; - p->thisptr.::capnp::List<::capnp::schema::Annotation>::Builder::~Builder(); - (*Py_TYPE(o)->tp_free)(o); -} -static PyObject *__pyx_sq_item_6schema__List_StructNode_Member_Annotation_Builder(PyObject *o, Py_ssize_t i) { - PyObject *r; - PyObject *x = PyInt_FromSsize_t(i); if(!x) return 0; - r = Py_TYPE(o)->tp_as_mapping->mp_subscript(o, x); - Py_DECREF(x); - return r; -} - -static PyMethodDef __pyx_methods_6schema__List_StructNode_Member_Annotation_Builder[] = { - {0, 0, 0, 0} -}; - -static PySequenceMethods __pyx_tp_as_sequence__List_StructNode_Member_Annotation_Builder = { - __pyx_pw_6schema_42_List_StructNode_Member_Annotation_Builder_3__len__, /*sq_length*/ - 0, /*sq_concat*/ - 0, /*sq_repeat*/ - __pyx_sq_item_6schema__List_StructNode_Member_Annotation_Builder, /*sq_item*/ - 0, /*sq_slice*/ - 0, /*sq_ass_item*/ - 0, /*sq_ass_slice*/ - 0, /*sq_contains*/ - 0, /*sq_inplace_concat*/ - 0, /*sq_inplace_repeat*/ -}; - -static PyMappingMethods __pyx_tp_as_mapping__List_StructNode_Member_Annotation_Builder = { - __pyx_pw_6schema_42_List_StructNode_Member_Annotation_Builder_3__len__, /*mp_length*/ - __pyx_pw_6schema_42_List_StructNode_Member_Annotation_Builder_1__getitem__, /*mp_subscript*/ - 0, /*mp_ass_subscript*/ -}; - -static PyTypeObject __pyx_type_6schema__List_StructNode_Member_Annotation_Builder = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema._List_StructNode_Member_Annotation_Builder"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema__List_StructNode_Member_Annotation_Builder), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema__List_StructNode_Member_Annotation_Builder, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - &__pyx_tp_as_sequence__List_StructNode_Member_Annotation_Builder, /*tp_as_sequence*/ - &__pyx_tp_as_mapping__List_StructNode_Member_Annotation_Builder, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema__List_StructNode_Member_Annotation_Builder, /*tp_methods*/ - 0, /*tp_members*/ - 0, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema__List_StructNode_Member_Annotation_Builder, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema__InterfaceNodeReader __pyx_vtable_6schema__InterfaceNodeReader; - -static PyObject *__pyx_tp_new_6schema__InterfaceNodeReader(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema__InterfaceNodeReader *p; - PyObject *o; - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema__InterfaceNodeReader *)o); - p->__pyx_vtab = __pyx_vtabptr_6schema__InterfaceNodeReader; - new((void*)&(p->thisptr)) ::capnp::schema::InterfaceNode::Reader(); - return o; -} - -static void __pyx_tp_dealloc_6schema__InterfaceNodeReader(PyObject *o) { - struct __pyx_obj_6schema__InterfaceNodeReader *p = (struct __pyx_obj_6schema__InterfaceNodeReader *)o; - p->thisptr.::capnp::schema::InterfaceNode::Reader::~Reader(); - (*Py_TYPE(o)->tp_free)(o); -} - -static PyObject *__pyx_getprop_6schema_20_InterfaceNodeReader_methods(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_20_InterfaceNodeReader_7methods_1__get__(o); -} - -static PyMethodDef __pyx_methods_6schema__InterfaceNodeReader[] = { - {0, 0, 0, 0} -}; - -static struct PyGetSetDef __pyx_getsets_6schema__InterfaceNodeReader[] = { - {(char *)"methods", __pyx_getprop_6schema_20_InterfaceNodeReader_methods, 0, 0, 0}, - {0, 0, 0, 0, 0} -}; - -static PyTypeObject __pyx_type_6schema__InterfaceNodeReader = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema._InterfaceNodeReader"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema__InterfaceNodeReader), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema__InterfaceNodeReader, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema__InterfaceNodeReader, /*tp_methods*/ - 0, /*tp_members*/ - __pyx_getsets_6schema__InterfaceNodeReader, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema__InterfaceNodeReader, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema__EnumNodeReader __pyx_vtable_6schema__EnumNodeReader; - -static PyObject *__pyx_tp_new_6schema__EnumNodeReader(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema__EnumNodeReader *p; - PyObject *o; - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema__EnumNodeReader *)o); - p->__pyx_vtab = __pyx_vtabptr_6schema__EnumNodeReader; - new((void*)&(p->thisptr)) ::capnp::schema::EnumNode::Reader(); - return o; -} - -static void __pyx_tp_dealloc_6schema__EnumNodeReader(PyObject *o) { - struct __pyx_obj_6schema__EnumNodeReader *p = (struct __pyx_obj_6schema__EnumNodeReader *)o; - p->thisptr.::capnp::schema::EnumNode::Reader::~Reader(); - (*Py_TYPE(o)->tp_free)(o); -} - -static PyObject *__pyx_getprop_6schema_15_EnumNodeReader_enumerants(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_15_EnumNodeReader_10enumerants_1__get__(o); -} - -static PyMethodDef __pyx_methods_6schema__EnumNodeReader[] = { - {0, 0, 0, 0} -}; - -static struct PyGetSetDef __pyx_getsets_6schema__EnumNodeReader[] = { - {(char *)"enumerants", __pyx_getprop_6schema_15_EnumNodeReader_enumerants, 0, 0, 0}, - {0, 0, 0, 0, 0} -}; - -static PyTypeObject __pyx_type_6schema__EnumNodeReader = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema._EnumNodeReader"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema__EnumNodeReader), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema__EnumNodeReader, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema__EnumNodeReader, /*tp_methods*/ - 0, /*tp_members*/ - __pyx_getsets_6schema__EnumNodeReader, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema__EnumNodeReader, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema__List_Node_Annotation_Builder __pyx_vtable_6schema__List_Node_Annotation_Builder; - -static PyObject *__pyx_tp_new_6schema__List_Node_Annotation_Builder(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema__List_Node_Annotation_Builder *p; - PyObject *o; - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema__List_Node_Annotation_Builder *)o); - p->__pyx_vtab = __pyx_vtabptr_6schema__List_Node_Annotation_Builder; - new((void*)&(p->thisptr)) ::capnp::List<::capnp::schema::Annotation>::Builder(); - return o; -} - -static void __pyx_tp_dealloc_6schema__List_Node_Annotation_Builder(PyObject *o) { - struct __pyx_obj_6schema__List_Node_Annotation_Builder *p = (struct __pyx_obj_6schema__List_Node_Annotation_Builder *)o; - p->thisptr.::capnp::List<::capnp::schema::Annotation>::Builder::~Builder(); - (*Py_TYPE(o)->tp_free)(o); -} -static PyObject *__pyx_sq_item_6schema__List_Node_Annotation_Builder(PyObject *o, Py_ssize_t i) { - PyObject *r; - PyObject *x = PyInt_FromSsize_t(i); if(!x) return 0; - r = Py_TYPE(o)->tp_as_mapping->mp_subscript(o, x); - Py_DECREF(x); - return r; -} - -static PyMethodDef __pyx_methods_6schema__List_Node_Annotation_Builder[] = { - {0, 0, 0, 0} -}; - -static PySequenceMethods __pyx_tp_as_sequence__List_Node_Annotation_Builder = { - __pyx_pw_6schema_29_List_Node_Annotation_Builder_3__len__, /*sq_length*/ - 0, /*sq_concat*/ - 0, /*sq_repeat*/ - __pyx_sq_item_6schema__List_Node_Annotation_Builder, /*sq_item*/ - 0, /*sq_slice*/ - 0, /*sq_ass_item*/ - 0, /*sq_ass_slice*/ - 0, /*sq_contains*/ - 0, /*sq_inplace_concat*/ - 0, /*sq_inplace_repeat*/ -}; - -static PyMappingMethods __pyx_tp_as_mapping__List_Node_Annotation_Builder = { - __pyx_pw_6schema_29_List_Node_Annotation_Builder_3__len__, /*mp_length*/ - __pyx_pw_6schema_29_List_Node_Annotation_Builder_1__getitem__, /*mp_subscript*/ - 0, /*mp_ass_subscript*/ -}; - -static PyTypeObject __pyx_type_6schema__List_Node_Annotation_Builder = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema._List_Node_Annotation_Builder"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema__List_Node_Annotation_Builder), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema__List_Node_Annotation_Builder, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - &__pyx_tp_as_sequence__List_Node_Annotation_Builder, /*tp_as_sequence*/ - &__pyx_tp_as_mapping__List_Node_Annotation_Builder, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema__List_Node_Annotation_Builder, /*tp_methods*/ - 0, /*tp_members*/ - 0, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema__List_Node_Annotation_Builder, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema__EnumNode_EnumerantReader __pyx_vtable_6schema__EnumNode_EnumerantReader; - -static PyObject *__pyx_tp_new_6schema__EnumNode_EnumerantReader(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema__EnumNode_EnumerantReader *p; - PyObject *o; - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema__EnumNode_EnumerantReader *)o); - p->__pyx_vtab = __pyx_vtabptr_6schema__EnumNode_EnumerantReader; - new((void*)&(p->thisptr)) ::capnp::schema::EnumNode::Enumerant::Reader(); - return o; -} - -static void __pyx_tp_dealloc_6schema__EnumNode_EnumerantReader(PyObject *o) { - struct __pyx_obj_6schema__EnumNode_EnumerantReader *p = (struct __pyx_obj_6schema__EnumNode_EnumerantReader *)o; - p->thisptr.::capnp::schema::EnumNode::Enumerant::Reader::~Reader(); - (*Py_TYPE(o)->tp_free)(o); -} - -static PyObject *__pyx_getprop_6schema_25_EnumNode_EnumerantReader_codeOrder(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_25_EnumNode_EnumerantReader_9codeOrder_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_25_EnumNode_EnumerantReader_name(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_25_EnumNode_EnumerantReader_4name_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_25_EnumNode_EnumerantReader_annotations(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_25_EnumNode_EnumerantReader_11annotations_1__get__(o); -} - -static PyMethodDef __pyx_methods_6schema__EnumNode_EnumerantReader[] = { - {0, 0, 0, 0} -}; - -static struct PyGetSetDef __pyx_getsets_6schema__EnumNode_EnumerantReader[] = { - {(char *)"codeOrder", __pyx_getprop_6schema_25_EnumNode_EnumerantReader_codeOrder, 0, 0, 0}, - {(char *)"name", __pyx_getprop_6schema_25_EnumNode_EnumerantReader_name, 0, 0, 0}, - {(char *)"annotations", __pyx_getprop_6schema_25_EnumNode_EnumerantReader_annotations, 0, 0, 0}, - {0, 0, 0, 0, 0} -}; - -static PyTypeObject __pyx_type_6schema__EnumNode_EnumerantReader = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema._EnumNode_EnumerantReader"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema__EnumNode_EnumerantReader), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema__EnumNode_EnumerantReader, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema__EnumNode_EnumerantReader, /*tp_methods*/ - 0, /*tp_members*/ - __pyx_getsets_6schema__EnumNode_EnumerantReader, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema__EnumNode_EnumerantReader, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema__List_StructNode_StructNode_Member_Builder __pyx_vtable_6schema__List_StructNode_StructNode_Member_Builder; - -static PyObject *__pyx_tp_new_6schema__List_StructNode_StructNode_Member_Builder(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema__List_StructNode_StructNode_Member_Builder *p; - PyObject *o; - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema__List_StructNode_StructNode_Member_Builder *)o); - p->__pyx_vtab = __pyx_vtabptr_6schema__List_StructNode_StructNode_Member_Builder; - new((void*)&(p->thisptr)) ::capnp::List<::capnp::schema::StructNode::Member>::Builder(); - return o; -} - -static void __pyx_tp_dealloc_6schema__List_StructNode_StructNode_Member_Builder(PyObject *o) { - struct __pyx_obj_6schema__List_StructNode_StructNode_Member_Builder *p = (struct __pyx_obj_6schema__List_StructNode_StructNode_Member_Builder *)o; - p->thisptr.::capnp::List<::capnp::schema::StructNode::Member>::Builder::~Builder(); - (*Py_TYPE(o)->tp_free)(o); -} -static PyObject *__pyx_sq_item_6schema__List_StructNode_StructNode_Member_Builder(PyObject *o, Py_ssize_t i) { - PyObject *r; - PyObject *x = PyInt_FromSsize_t(i); if(!x) return 0; - r = Py_TYPE(o)->tp_as_mapping->mp_subscript(o, x); - Py_DECREF(x); - return r; -} - -static PyMethodDef __pyx_methods_6schema__List_StructNode_StructNode_Member_Builder[] = { - {0, 0, 0, 0} -}; - -static PySequenceMethods __pyx_tp_as_sequence__List_StructNode_StructNode_Member_Builder = { - __pyx_pw_6schema_42_List_StructNode_StructNode_Member_Builder_3__len__, /*sq_length*/ - 0, /*sq_concat*/ - 0, /*sq_repeat*/ - __pyx_sq_item_6schema__List_StructNode_StructNode_Member_Builder, /*sq_item*/ - 0, /*sq_slice*/ - 0, /*sq_ass_item*/ - 0, /*sq_ass_slice*/ - 0, /*sq_contains*/ - 0, /*sq_inplace_concat*/ - 0, /*sq_inplace_repeat*/ -}; - -static PyMappingMethods __pyx_tp_as_mapping__List_StructNode_StructNode_Member_Builder = { - __pyx_pw_6schema_42_List_StructNode_StructNode_Member_Builder_3__len__, /*mp_length*/ - __pyx_pw_6schema_42_List_StructNode_StructNode_Member_Builder_1__getitem__, /*mp_subscript*/ - 0, /*mp_ass_subscript*/ -}; - -static PyTypeObject __pyx_type_6schema__List_StructNode_StructNode_Member_Builder = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema._List_StructNode_StructNode_Member_Builder"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema__List_StructNode_StructNode_Member_Builder), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema__List_StructNode_StructNode_Member_Builder, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - &__pyx_tp_as_sequence__List_StructNode_StructNode_Member_Builder, /*tp_as_sequence*/ - &__pyx_tp_as_mapping__List_StructNode_StructNode_Member_Builder, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema__List_StructNode_StructNode_Member_Builder, /*tp_methods*/ - 0, /*tp_members*/ - 0, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema__List_StructNode_StructNode_Member_Builder, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema__List_UInt64_Builder __pyx_vtable_6schema__List_UInt64_Builder; - -static PyObject *__pyx_tp_new_6schema__List_UInt64_Builder(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema__List_UInt64_Builder *p; - PyObject *o; - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema__List_UInt64_Builder *)o); - p->__pyx_vtab = __pyx_vtabptr_6schema__List_UInt64_Builder; - new((void*)&(p->thisptr)) ::capnp::List<__pyx_t_6schema_UInt64>::Builder(); - return o; -} - -static void __pyx_tp_dealloc_6schema__List_UInt64_Builder(PyObject *o) { - struct __pyx_obj_6schema__List_UInt64_Builder *p = (struct __pyx_obj_6schema__List_UInt64_Builder *)o; - p->thisptr.::capnp::List<__pyx_t_6schema_UInt64>::Builder::~Builder(); - (*Py_TYPE(o)->tp_free)(o); -} -static PyObject *__pyx_sq_item_6schema__List_UInt64_Builder(PyObject *o, Py_ssize_t i) { - PyObject *r; - PyObject *x = PyInt_FromSsize_t(i); if(!x) return 0; - r = Py_TYPE(o)->tp_as_mapping->mp_subscript(o, x); - Py_DECREF(x); - return r; -} - -static PyMethodDef __pyx_methods_6schema__List_UInt64_Builder[] = { - {0, 0, 0, 0} -}; - -static PySequenceMethods __pyx_tp_as_sequence__List_UInt64_Builder = { - __pyx_pw_6schema_20_List_UInt64_Builder_3__len__, /*sq_length*/ - 0, /*sq_concat*/ - 0, /*sq_repeat*/ - __pyx_sq_item_6schema__List_UInt64_Builder, /*sq_item*/ - 0, /*sq_slice*/ - 0, /*sq_ass_item*/ - 0, /*sq_ass_slice*/ - 0, /*sq_contains*/ - 0, /*sq_inplace_concat*/ - 0, /*sq_inplace_repeat*/ -}; - -static PyMappingMethods __pyx_tp_as_mapping__List_UInt64_Builder = { - __pyx_pw_6schema_20_List_UInt64_Builder_3__len__, /*mp_length*/ - __pyx_pw_6schema_20_List_UInt64_Builder_1__getitem__, /*mp_subscript*/ - 0, /*mp_ass_subscript*/ -}; - -static PyTypeObject __pyx_type_6schema__List_UInt64_Builder = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema._List_UInt64_Builder"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema__List_UInt64_Builder), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema__List_UInt64_Builder, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - &__pyx_tp_as_sequence__List_UInt64_Builder, /*tp_as_sequence*/ - &__pyx_tp_as_mapping__List_UInt64_Builder, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema__List_UInt64_Builder, /*tp_methods*/ - 0, /*tp_members*/ - 0, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema__List_UInt64_Builder, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema__InterfaceNode_MethodBuilder __pyx_vtable_6schema__InterfaceNode_MethodBuilder; - -static PyObject *__pyx_tp_new_6schema__InterfaceNode_MethodBuilder(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema__InterfaceNode_MethodBuilder *p; - PyObject *o; - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema__InterfaceNode_MethodBuilder *)o); - p->__pyx_vtab = __pyx_vtabptr_6schema__InterfaceNode_MethodBuilder; - new((void*)&(p->thisptr)) ::capnp::schema::InterfaceNode::Method::Builder(); - return o; -} - -static void __pyx_tp_dealloc_6schema__InterfaceNode_MethodBuilder(PyObject *o) { - struct __pyx_obj_6schema__InterfaceNode_MethodBuilder *p = (struct __pyx_obj_6schema__InterfaceNode_MethodBuilder *)o; - p->thisptr.::capnp::schema::InterfaceNode::Method::Builder::~Builder(); - (*Py_TYPE(o)->tp_free)(o); -} - -static PyObject *__pyx_getprop_6schema_28_InterfaceNode_MethodBuilder_codeOrder(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_28_InterfaceNode_MethodBuilder_9codeOrder_1__get__(o); -} - -static int __pyx_setprop_6schema_28_InterfaceNode_MethodBuilder_codeOrder(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_28_InterfaceNode_MethodBuilder_9codeOrder_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_28_InterfaceNode_MethodBuilder_name(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_28_InterfaceNode_MethodBuilder_4name_1__get__(o); -} - -static int __pyx_setprop_6schema_28_InterfaceNode_MethodBuilder_name(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_28_InterfaceNode_MethodBuilder_4name_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_28_InterfaceNode_MethodBuilder_params(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_28_InterfaceNode_MethodBuilder_6params_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_28_InterfaceNode_MethodBuilder_requiredParamCount(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_28_InterfaceNode_MethodBuilder_18requiredParamCount_1__get__(o); -} - -static int __pyx_setprop_6schema_28_InterfaceNode_MethodBuilder_requiredParamCount(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_28_InterfaceNode_MethodBuilder_18requiredParamCount_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_28_InterfaceNode_MethodBuilder_returnType(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_28_InterfaceNode_MethodBuilder_10returnType_1__get__(o); -} - -static int __pyx_setprop_6schema_28_InterfaceNode_MethodBuilder_returnType(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_28_InterfaceNode_MethodBuilder_10returnType_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_28_InterfaceNode_MethodBuilder_annotations(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_28_InterfaceNode_MethodBuilder_11annotations_1__get__(o); -} - -static PyMethodDef __pyx_methods_6schema__InterfaceNode_MethodBuilder[] = { - {__Pyx_NAMESTR("initParams"), (PyCFunction)__pyx_pw_6schema_28_InterfaceNode_MethodBuilder_1initParams, METH_O, __Pyx_DOCSTR(0)}, - {__Pyx_NAMESTR("initAnnotations"), (PyCFunction)__pyx_pw_6schema_28_InterfaceNode_MethodBuilder_3initAnnotations, METH_O, __Pyx_DOCSTR(0)}, - {0, 0, 0, 0} -}; - -static struct PyGetSetDef __pyx_getsets_6schema__InterfaceNode_MethodBuilder[] = { - {(char *)"codeOrder", __pyx_getprop_6schema_28_InterfaceNode_MethodBuilder_codeOrder, __pyx_setprop_6schema_28_InterfaceNode_MethodBuilder_codeOrder, 0, 0}, - {(char *)"name", __pyx_getprop_6schema_28_InterfaceNode_MethodBuilder_name, __pyx_setprop_6schema_28_InterfaceNode_MethodBuilder_name, 0, 0}, - {(char *)"params", __pyx_getprop_6schema_28_InterfaceNode_MethodBuilder_params, 0, 0, 0}, - {(char *)"requiredParamCount", __pyx_getprop_6schema_28_InterfaceNode_MethodBuilder_requiredParamCount, __pyx_setprop_6schema_28_InterfaceNode_MethodBuilder_requiredParamCount, 0, 0}, - {(char *)"returnType", __pyx_getprop_6schema_28_InterfaceNode_MethodBuilder_returnType, __pyx_setprop_6schema_28_InterfaceNode_MethodBuilder_returnType, 0, 0}, - {(char *)"annotations", __pyx_getprop_6schema_28_InterfaceNode_MethodBuilder_annotations, 0, 0, 0}, - {0, 0, 0, 0, 0} -}; - -static PyTypeObject __pyx_type_6schema__InterfaceNode_MethodBuilder = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema._InterfaceNode_MethodBuilder"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema__InterfaceNode_MethodBuilder), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema__InterfaceNode_MethodBuilder, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema__InterfaceNode_MethodBuilder, /*tp_methods*/ - 0, /*tp_members*/ - __pyx_getsets_6schema__InterfaceNode_MethodBuilder, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema__InterfaceNode_MethodBuilder, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema__List_Node_Node_NestedNode_Reader __pyx_vtable_6schema__List_Node_Node_NestedNode_Reader; - -static PyObject *__pyx_tp_new_6schema__List_Node_Node_NestedNode_Reader(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema__List_Node_Node_NestedNode_Reader *p; - PyObject *o; - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema__List_Node_Node_NestedNode_Reader *)o); - p->__pyx_vtab = __pyx_vtabptr_6schema__List_Node_Node_NestedNode_Reader; - new((void*)&(p->thisptr)) ::capnp::List<::capnp::schema::Node::NestedNode>::Reader(); - return o; -} - -static void __pyx_tp_dealloc_6schema__List_Node_Node_NestedNode_Reader(PyObject *o) { - struct __pyx_obj_6schema__List_Node_Node_NestedNode_Reader *p = (struct __pyx_obj_6schema__List_Node_Node_NestedNode_Reader *)o; - p->thisptr.::capnp::List<::capnp::schema::Node::NestedNode>::Reader::~Reader(); - (*Py_TYPE(o)->tp_free)(o); -} -static PyObject *__pyx_sq_item_6schema__List_Node_Node_NestedNode_Reader(PyObject *o, Py_ssize_t i) { - PyObject *r; - PyObject *x = PyInt_FromSsize_t(i); if(!x) return 0; - r = Py_TYPE(o)->tp_as_mapping->mp_subscript(o, x); - Py_DECREF(x); - return r; -} - -static PyMethodDef __pyx_methods_6schema__List_Node_Node_NestedNode_Reader[] = { - {0, 0, 0, 0} -}; - -static PySequenceMethods __pyx_tp_as_sequence__List_Node_Node_NestedNode_Reader = { - __pyx_pw_6schema_33_List_Node_Node_NestedNode_Reader_3__len__, /*sq_length*/ - 0, /*sq_concat*/ - 0, /*sq_repeat*/ - __pyx_sq_item_6schema__List_Node_Node_NestedNode_Reader, /*sq_item*/ - 0, /*sq_slice*/ - 0, /*sq_ass_item*/ - 0, /*sq_ass_slice*/ - 0, /*sq_contains*/ - 0, /*sq_inplace_concat*/ - 0, /*sq_inplace_repeat*/ -}; - -static PyMappingMethods __pyx_tp_as_mapping__List_Node_Node_NestedNode_Reader = { - __pyx_pw_6schema_33_List_Node_Node_NestedNode_Reader_3__len__, /*mp_length*/ - __pyx_pw_6schema_33_List_Node_Node_NestedNode_Reader_1__getitem__, /*mp_subscript*/ - 0, /*mp_ass_subscript*/ -}; - -static PyTypeObject __pyx_type_6schema__List_Node_Node_NestedNode_Reader = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema._List_Node_Node_NestedNode_Reader"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema__List_Node_Node_NestedNode_Reader), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema__List_Node_Node_NestedNode_Reader, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - &__pyx_tp_as_sequence__List_Node_Node_NestedNode_Reader, /*tp_as_sequence*/ - &__pyx_tp_as_mapping__List_Node_Node_NestedNode_Reader, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema__List_Node_Node_NestedNode_Reader, /*tp_methods*/ - 0, /*tp_members*/ - 0, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema__List_Node_Node_NestedNode_Reader, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema__TypeReader __pyx_vtable_6schema__TypeReader; - -static PyObject *__pyx_tp_new_6schema__TypeReader(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema__TypeReader *p; - PyObject *o; - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema__TypeReader *)o); - p->__pyx_vtab = __pyx_vtabptr_6schema__TypeReader; - new((void*)&(p->thisptr)) ::capnp::schema::Type::Reader(); - return o; -} - -static void __pyx_tp_dealloc_6schema__TypeReader(PyObject *o) { - struct __pyx_obj_6schema__TypeReader *p = (struct __pyx_obj_6schema__TypeReader *)o; - p->thisptr.::capnp::schema::Type::Reader::~Reader(); - (*Py_TYPE(o)->tp_free)(o); -} - -static PyObject *__pyx_getprop_6schema_11_TypeReader_body(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_11_TypeReader_4body_1__get__(o); -} - -static PyMethodDef __pyx_methods_6schema__TypeReader[] = { - {0, 0, 0, 0} -}; - -static struct PyGetSetDef __pyx_getsets_6schema__TypeReader[] = { - {(char *)"body", __pyx_getprop_6schema_11_TypeReader_body, 0, 0, 0}, - {0, 0, 0, 0, 0} -}; - -static PyTypeObject __pyx_type_6schema__TypeReader = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema._TypeReader"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema__TypeReader), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema__TypeReader, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema__TypeReader, /*tp_methods*/ - 0, /*tp_members*/ - __pyx_getsets_6schema__TypeReader, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema__TypeReader, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema__EnumNode_EnumerantBuilder __pyx_vtable_6schema__EnumNode_EnumerantBuilder; - -static PyObject *__pyx_tp_new_6schema__EnumNode_EnumerantBuilder(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema__EnumNode_EnumerantBuilder *p; - PyObject *o; - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema__EnumNode_EnumerantBuilder *)o); - p->__pyx_vtab = __pyx_vtabptr_6schema__EnumNode_EnumerantBuilder; - new((void*)&(p->thisptr)) ::capnp::schema::EnumNode::Enumerant::Builder(); - return o; -} - -static void __pyx_tp_dealloc_6schema__EnumNode_EnumerantBuilder(PyObject *o) { - struct __pyx_obj_6schema__EnumNode_EnumerantBuilder *p = (struct __pyx_obj_6schema__EnumNode_EnumerantBuilder *)o; - p->thisptr.::capnp::schema::EnumNode::Enumerant::Builder::~Builder(); - (*Py_TYPE(o)->tp_free)(o); -} - -static PyObject *__pyx_getprop_6schema_26_EnumNode_EnumerantBuilder_codeOrder(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_26_EnumNode_EnumerantBuilder_9codeOrder_1__get__(o); -} - -static int __pyx_setprop_6schema_26_EnumNode_EnumerantBuilder_codeOrder(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_26_EnumNode_EnumerantBuilder_9codeOrder_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_26_EnumNode_EnumerantBuilder_name(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_26_EnumNode_EnumerantBuilder_4name_1__get__(o); -} - -static int __pyx_setprop_6schema_26_EnumNode_EnumerantBuilder_name(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_26_EnumNode_EnumerantBuilder_4name_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_26_EnumNode_EnumerantBuilder_annotations(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_26_EnumNode_EnumerantBuilder_11annotations_1__get__(o); -} - -static PyMethodDef __pyx_methods_6schema__EnumNode_EnumerantBuilder[] = { - {__Pyx_NAMESTR("initAnnotations"), (PyCFunction)__pyx_pw_6schema_26_EnumNode_EnumerantBuilder_1initAnnotations, METH_O, __Pyx_DOCSTR(0)}, - {0, 0, 0, 0} -}; - -static struct PyGetSetDef __pyx_getsets_6schema__EnumNode_EnumerantBuilder[] = { - {(char *)"codeOrder", __pyx_getprop_6schema_26_EnumNode_EnumerantBuilder_codeOrder, __pyx_setprop_6schema_26_EnumNode_EnumerantBuilder_codeOrder, 0, 0}, - {(char *)"name", __pyx_getprop_6schema_26_EnumNode_EnumerantBuilder_name, __pyx_setprop_6schema_26_EnumNode_EnumerantBuilder_name, 0, 0}, - {(char *)"annotations", __pyx_getprop_6schema_26_EnumNode_EnumerantBuilder_annotations, 0, 0, 0}, - {0, 0, 0, 0, 0} -}; - -static PyTypeObject __pyx_type_6schema__EnumNode_EnumerantBuilder = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema._EnumNode_EnumerantBuilder"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema__EnumNode_EnumerantBuilder), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema__EnumNode_EnumerantBuilder, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema__EnumNode_EnumerantBuilder, /*tp_methods*/ - 0, /*tp_members*/ - __pyx_getsets_6schema__EnumNode_EnumerantBuilder, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema__EnumNode_EnumerantBuilder, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema__StructNode_Member_BodyReader __pyx_vtable_6schema__StructNode_Member_BodyReader; - -static PyObject *__pyx_tp_new_6schema__StructNode_Member_BodyReader(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema__StructNode_Member_BodyReader *p; - PyObject *o; - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema__StructNode_Member_BodyReader *)o); - p->__pyx_vtab = __pyx_vtabptr_6schema__StructNode_Member_BodyReader; - new((void*)&(p->thisptr)) ::capnp::schema::StructNode::Member::Body::Reader(); - return o; -} - -static void __pyx_tp_dealloc_6schema__StructNode_Member_BodyReader(PyObject *o) { - struct __pyx_obj_6schema__StructNode_Member_BodyReader *p = (struct __pyx_obj_6schema__StructNode_Member_BodyReader *)o; - p->thisptr.::capnp::schema::StructNode::Member::Body::Reader::~Reader(); - (*Py_TYPE(o)->tp_free)(o); -} - -static PyObject *__pyx_getprop_6schema_29_StructNode_Member_BodyReader_fieldMember(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_29_StructNode_Member_BodyReader_11fieldMember_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_29_StructNode_Member_BodyReader_unionMember(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_29_StructNode_Member_BodyReader_11unionMember_1__get__(o); -} - -static PyMethodDef __pyx_methods_6schema__StructNode_Member_BodyReader[] = { - {__Pyx_NAMESTR("which"), (PyCFunction)__pyx_pw_6schema_29_StructNode_Member_BodyReader_1which, METH_NOARGS, __Pyx_DOCSTR(0)}, - {0, 0, 0, 0} -}; - -static struct PyGetSetDef __pyx_getsets_6schema__StructNode_Member_BodyReader[] = { - {(char *)"fieldMember", __pyx_getprop_6schema_29_StructNode_Member_BodyReader_fieldMember, 0, 0, 0}, - {(char *)"unionMember", __pyx_getprop_6schema_29_StructNode_Member_BodyReader_unionMember, 0, 0, 0}, - {0, 0, 0, 0, 0} -}; - -static PyTypeObject __pyx_type_6schema__StructNode_Member_BodyReader = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema._StructNode_Member_BodyReader"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema__StructNode_Member_BodyReader), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema__StructNode_Member_BodyReader, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema__StructNode_Member_BodyReader, /*tp_methods*/ - 0, /*tp_members*/ - __pyx_getsets_6schema__StructNode_Member_BodyReader, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema__StructNode_Member_BodyReader, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema_MessageReader __pyx_vtable_6schema_MessageReader; - -static PyObject *__pyx_tp_new_6schema_MessageReader(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema_MessageReader *p; - PyObject *o; - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema_MessageReader *)o); - p->__pyx_vtab = __pyx_vtabptr_6schema_MessageReader; - return o; -} - -static void __pyx_tp_dealloc_6schema_MessageReader(PyObject *o) { - { - PyObject *etype, *eval, *etb; - PyErr_Fetch(&etype, &eval, &etb); - ++Py_REFCNT(o); - __pyx_pw_6schema_13MessageReader_1__dealloc__(o); - if (PyErr_Occurred()) PyErr_WriteUnraisable(o); - --Py_REFCNT(o); - PyErr_Restore(etype, eval, etb); - } - (*Py_TYPE(o)->tp_free)(o); -} - -static PyMethodDef __pyx_methods_6schema_MessageReader[] = { - {__Pyx_NAMESTR("getRootCodeGeneratorRequest"), (PyCFunction)__pyx_pw_6schema_13MessageReader_3getRootCodeGeneratorRequest, METH_NOARGS, __Pyx_DOCSTR(0)}, - {__Pyx_NAMESTR("getRootInterfaceNode"), (PyCFunction)__pyx_pw_6schema_13MessageReader_5getRootInterfaceNode, METH_NOARGS, __Pyx_DOCSTR(0)}, - {__Pyx_NAMESTR("getRootValue"), (PyCFunction)__pyx_pw_6schema_13MessageReader_7getRootValue, METH_NOARGS, __Pyx_DOCSTR(0)}, - {__Pyx_NAMESTR("getRootConstNode"), (PyCFunction)__pyx_pw_6schema_13MessageReader_9getRootConstNode, METH_NOARGS, __Pyx_DOCSTR(0)}, - {__Pyx_NAMESTR("getRootType"), (PyCFunction)__pyx_pw_6schema_13MessageReader_11getRootType, METH_NOARGS, __Pyx_DOCSTR(0)}, - {__Pyx_NAMESTR("getRootFileNode"), (PyCFunction)__pyx_pw_6schema_13MessageReader_13getRootFileNode, METH_NOARGS, __Pyx_DOCSTR(0)}, - {__Pyx_NAMESTR("getRootNode"), (PyCFunction)__pyx_pw_6schema_13MessageReader_15getRootNode, METH_NOARGS, __Pyx_DOCSTR(0)}, - {__Pyx_NAMESTR("getRootAnnotationNode"), (PyCFunction)__pyx_pw_6schema_13MessageReader_17getRootAnnotationNode, METH_NOARGS, __Pyx_DOCSTR(0)}, - {__Pyx_NAMESTR("getRootEnumNode"), (PyCFunction)__pyx_pw_6schema_13MessageReader_19getRootEnumNode, METH_NOARGS, __Pyx_DOCSTR(0)}, - {__Pyx_NAMESTR("getRootStructNode"), (PyCFunction)__pyx_pw_6schema_13MessageReader_21getRootStructNode, METH_NOARGS, __Pyx_DOCSTR(0)}, - {__Pyx_NAMESTR("getRootAnnotation"), (PyCFunction)__pyx_pw_6schema_13MessageReader_23getRootAnnotation, METH_NOARGS, __Pyx_DOCSTR(0)}, - {0, 0, 0, 0} -}; - -static PyTypeObject __pyx_type_6schema_MessageReader = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema.MessageReader"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema_MessageReader), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema_MessageReader, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema_MessageReader, /*tp_methods*/ - 0, /*tp_members*/ - 0, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema_MessageReader, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema_PackedFdMessageReader __pyx_vtable_6schema_PackedFdMessageReader; - -static PyObject *__pyx_tp_new_6schema_PackedFdMessageReader(PyTypeObject *t, PyObject *a, PyObject *k) { - struct __pyx_obj_6schema_PackedFdMessageReader *p; - PyObject *o = __pyx_tp_new_6schema_MessageReader(t, a, k); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema_PackedFdMessageReader *)o); - p->__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_6schema_MessageReader*)__pyx_vtabptr_6schema_PackedFdMessageReader; - if (unlikely(__pyx_pw_6schema_21PackedFdMessageReader_1__cinit__(o, a, k) < 0)) { - Py_DECREF(o); o = 0; - } - return o; -} - -static PyMethodDef __pyx_methods_6schema_PackedFdMessageReader[] = { - {0, 0, 0, 0} -}; - -static PyTypeObject __pyx_type_6schema_PackedFdMessageReader = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema.PackedFdMessageReader"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema_PackedFdMessageReader), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema_MessageReader, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema_PackedFdMessageReader, /*tp_methods*/ - 0, /*tp_members*/ - 0, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema_PackedFdMessageReader, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema__List_EnumNode_EnumNode_Enumerant_Reader __pyx_vtable_6schema__List_EnumNode_EnumNode_Enumerant_Reader; - -static PyObject *__pyx_tp_new_6schema__List_EnumNode_EnumNode_Enumerant_Reader(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema__List_EnumNode_EnumNode_Enumerant_Reader *p; - PyObject *o; - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema__List_EnumNode_EnumNode_Enumerant_Reader *)o); - p->__pyx_vtab = __pyx_vtabptr_6schema__List_EnumNode_EnumNode_Enumerant_Reader; - new((void*)&(p->thisptr)) ::capnp::List<::capnp::schema::EnumNode::Enumerant>::Reader(); - return o; -} - -static void __pyx_tp_dealloc_6schema__List_EnumNode_EnumNode_Enumerant_Reader(PyObject *o) { - struct __pyx_obj_6schema__List_EnumNode_EnumNode_Enumerant_Reader *p = (struct __pyx_obj_6schema__List_EnumNode_EnumNode_Enumerant_Reader *)o; - p->thisptr.::capnp::List<::capnp::schema::EnumNode::Enumerant>::Reader::~Reader(); - (*Py_TYPE(o)->tp_free)(o); -} -static PyObject *__pyx_sq_item_6schema__List_EnumNode_EnumNode_Enumerant_Reader(PyObject *o, Py_ssize_t i) { - PyObject *r; - PyObject *x = PyInt_FromSsize_t(i); if(!x) return 0; - r = Py_TYPE(o)->tp_as_mapping->mp_subscript(o, x); - Py_DECREF(x); - return r; -} - -static PyMethodDef __pyx_methods_6schema__List_EnumNode_EnumNode_Enumerant_Reader[] = { - {0, 0, 0, 0} -}; - -static PySequenceMethods __pyx_tp_as_sequence__List_EnumNode_EnumNode_Enumerant_Reader = { - __pyx_pw_6schema_40_List_EnumNode_EnumNode_Enumerant_Reader_3__len__, /*sq_length*/ - 0, /*sq_concat*/ - 0, /*sq_repeat*/ - __pyx_sq_item_6schema__List_EnumNode_EnumNode_Enumerant_Reader, /*sq_item*/ - 0, /*sq_slice*/ - 0, /*sq_ass_item*/ - 0, /*sq_ass_slice*/ - 0, /*sq_contains*/ - 0, /*sq_inplace_concat*/ - 0, /*sq_inplace_repeat*/ -}; - -static PyMappingMethods __pyx_tp_as_mapping__List_EnumNode_EnumNode_Enumerant_Reader = { - __pyx_pw_6schema_40_List_EnumNode_EnumNode_Enumerant_Reader_3__len__, /*mp_length*/ - __pyx_pw_6schema_40_List_EnumNode_EnumNode_Enumerant_Reader_1__getitem__, /*mp_subscript*/ - 0, /*mp_ass_subscript*/ -}; - -static PyTypeObject __pyx_type_6schema__List_EnumNode_EnumNode_Enumerant_Reader = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema._List_EnumNode_EnumNode_Enumerant_Reader"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema__List_EnumNode_EnumNode_Enumerant_Reader), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema__List_EnumNode_EnumNode_Enumerant_Reader, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - &__pyx_tp_as_sequence__List_EnumNode_EnumNode_Enumerant_Reader, /*tp_as_sequence*/ - &__pyx_tp_as_mapping__List_EnumNode_EnumNode_Enumerant_Reader, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema__List_EnumNode_EnumNode_Enumerant_Reader, /*tp_methods*/ - 0, /*tp_members*/ - 0, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema__List_EnumNode_EnumNode_Enumerant_Reader, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema__FileNode_ImportReader __pyx_vtable_6schema__FileNode_ImportReader; - -static PyObject *__pyx_tp_new_6schema__FileNode_ImportReader(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema__FileNode_ImportReader *p; - PyObject *o; - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema__FileNode_ImportReader *)o); - p->__pyx_vtab = __pyx_vtabptr_6schema__FileNode_ImportReader; - new((void*)&(p->thisptr)) ::capnp::schema::FileNode::Import::Reader(); - return o; -} - -static void __pyx_tp_dealloc_6schema__FileNode_ImportReader(PyObject *o) { - struct __pyx_obj_6schema__FileNode_ImportReader *p = (struct __pyx_obj_6schema__FileNode_ImportReader *)o; - p->thisptr.::capnp::schema::FileNode::Import::Reader::~Reader(); - (*Py_TYPE(o)->tp_free)(o); -} - -static PyObject *__pyx_getprop_6schema_22_FileNode_ImportReader_id(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_22_FileNode_ImportReader_2id_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_22_FileNode_ImportReader_name(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_22_FileNode_ImportReader_4name_1__get__(o); -} - -static PyMethodDef __pyx_methods_6schema__FileNode_ImportReader[] = { - {0, 0, 0, 0} -}; - -static struct PyGetSetDef __pyx_getsets_6schema__FileNode_ImportReader[] = { - {(char *)"id", __pyx_getprop_6schema_22_FileNode_ImportReader_id, 0, 0, 0}, - {(char *)"name", __pyx_getprop_6schema_22_FileNode_ImportReader_name, 0, 0, 0}, - {0, 0, 0, 0, 0} -}; - -static PyTypeObject __pyx_type_6schema__FileNode_ImportReader = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema._FileNode_ImportReader"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema__FileNode_ImportReader), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema__FileNode_ImportReader, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema__FileNode_ImportReader, /*tp_methods*/ - 0, /*tp_members*/ - __pyx_getsets_6schema__FileNode_ImportReader, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema__FileNode_ImportReader, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema_StreamFdMessageReader __pyx_vtable_6schema_StreamFdMessageReader; - -static PyObject *__pyx_tp_new_6schema_StreamFdMessageReader(PyTypeObject *t, PyObject *a, PyObject *k) { - struct __pyx_obj_6schema_StreamFdMessageReader *p; - PyObject *o = __pyx_tp_new_6schema_MessageReader(t, a, k); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema_StreamFdMessageReader *)o); - p->__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_6schema_MessageReader*)__pyx_vtabptr_6schema_StreamFdMessageReader; - if (unlikely(__pyx_pw_6schema_21StreamFdMessageReader_1__cinit__(o, a, k) < 0)) { - Py_DECREF(o); o = 0; - } - return o; -} - -static PyMethodDef __pyx_methods_6schema_StreamFdMessageReader[] = { - {0, 0, 0, 0} -}; - -static PyTypeObject __pyx_type_6schema_StreamFdMessageReader = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema.StreamFdMessageReader"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema_StreamFdMessageReader), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema_MessageReader, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema_StreamFdMessageReader, /*tp_methods*/ - 0, /*tp_members*/ - 0, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema_StreamFdMessageReader, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema__InterfaceNode_Method_ParamReader __pyx_vtable_6schema__InterfaceNode_Method_ParamReader; - -static PyObject *__pyx_tp_new_6schema__InterfaceNode_Method_ParamReader(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema__InterfaceNode_Method_ParamReader *p; - PyObject *o; - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema__InterfaceNode_Method_ParamReader *)o); - p->__pyx_vtab = __pyx_vtabptr_6schema__InterfaceNode_Method_ParamReader; - new((void*)&(p->thisptr)) ::capnp::schema::InterfaceNode::Method::Param::Reader(); - return o; -} - -static void __pyx_tp_dealloc_6schema__InterfaceNode_Method_ParamReader(PyObject *o) { - struct __pyx_obj_6schema__InterfaceNode_Method_ParamReader *p = (struct __pyx_obj_6schema__InterfaceNode_Method_ParamReader *)o; - p->thisptr.::capnp::schema::InterfaceNode::Method::Param::Reader::~Reader(); - (*Py_TYPE(o)->tp_free)(o); -} - -static PyObject *__pyx_getprop_6schema_33_InterfaceNode_Method_ParamReader_defaultValue(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_33_InterfaceNode_Method_ParamReader_12defaultValue_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_33_InterfaceNode_Method_ParamReader_type(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_33_InterfaceNode_Method_ParamReader_4type_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_33_InterfaceNode_Method_ParamReader_name(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_33_InterfaceNode_Method_ParamReader_4name_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_33_InterfaceNode_Method_ParamReader_annotations(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_33_InterfaceNode_Method_ParamReader_11annotations_1__get__(o); -} - -static PyMethodDef __pyx_methods_6schema__InterfaceNode_Method_ParamReader[] = { - {0, 0, 0, 0} -}; - -static struct PyGetSetDef __pyx_getsets_6schema__InterfaceNode_Method_ParamReader[] = { - {(char *)"defaultValue", __pyx_getprop_6schema_33_InterfaceNode_Method_ParamReader_defaultValue, 0, 0, 0}, - {(char *)"type", __pyx_getprop_6schema_33_InterfaceNode_Method_ParamReader_type, 0, 0, 0}, - {(char *)"name", __pyx_getprop_6schema_33_InterfaceNode_Method_ParamReader_name, 0, 0, 0}, - {(char *)"annotations", __pyx_getprop_6schema_33_InterfaceNode_Method_ParamReader_annotations, 0, 0, 0}, - {0, 0, 0, 0, 0} -}; - -static PyTypeObject __pyx_type_6schema__InterfaceNode_Method_ParamReader = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema._InterfaceNode_Method_ParamReader"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema__InterfaceNode_Method_ParamReader), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema__InterfaceNode_Method_ParamReader, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema__InterfaceNode_Method_ParamReader, /*tp_methods*/ - 0, /*tp_members*/ - __pyx_getsets_6schema__InterfaceNode_Method_ParamReader, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema__InterfaceNode_Method_ParamReader, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema__CodeGeneratorRequestBuilder __pyx_vtable_6schema__CodeGeneratorRequestBuilder; - -static PyObject *__pyx_tp_new_6schema__CodeGeneratorRequestBuilder(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema__CodeGeneratorRequestBuilder *p; - PyObject *o; - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema__CodeGeneratorRequestBuilder *)o); - p->__pyx_vtab = __pyx_vtabptr_6schema__CodeGeneratorRequestBuilder; - new((void*)&(p->thisptr)) ::capnp::schema::CodeGeneratorRequest::Builder(); - return o; -} - -static void __pyx_tp_dealloc_6schema__CodeGeneratorRequestBuilder(PyObject *o) { - struct __pyx_obj_6schema__CodeGeneratorRequestBuilder *p = (struct __pyx_obj_6schema__CodeGeneratorRequestBuilder *)o; - p->thisptr.::capnp::schema::CodeGeneratorRequest::Builder::~Builder(); - (*Py_TYPE(o)->tp_free)(o); -} - -static PyObject *__pyx_getprop_6schema_28_CodeGeneratorRequestBuilder_nodes(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_28_CodeGeneratorRequestBuilder_5nodes_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_28_CodeGeneratorRequestBuilder_requestedFiles(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_28_CodeGeneratorRequestBuilder_14requestedFiles_1__get__(o); -} - -static PyMethodDef __pyx_methods_6schema__CodeGeneratorRequestBuilder[] = { - {__Pyx_NAMESTR("initNodes"), (PyCFunction)__pyx_pw_6schema_28_CodeGeneratorRequestBuilder_1initNodes, METH_O, __Pyx_DOCSTR(0)}, - {__Pyx_NAMESTR("initRequestedFiles"), (PyCFunction)__pyx_pw_6schema_28_CodeGeneratorRequestBuilder_3initRequestedFiles, METH_O, __Pyx_DOCSTR(0)}, - {0, 0, 0, 0} -}; - -static struct PyGetSetDef __pyx_getsets_6schema__CodeGeneratorRequestBuilder[] = { - {(char *)"nodes", __pyx_getprop_6schema_28_CodeGeneratorRequestBuilder_nodes, 0, 0, 0}, - {(char *)"requestedFiles", __pyx_getprop_6schema_28_CodeGeneratorRequestBuilder_requestedFiles, 0, 0, 0}, - {0, 0, 0, 0, 0} -}; - -static PyTypeObject __pyx_type_6schema__CodeGeneratorRequestBuilder = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema._CodeGeneratorRequestBuilder"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema__CodeGeneratorRequestBuilder), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema__CodeGeneratorRequestBuilder, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema__CodeGeneratorRequestBuilder, /*tp_methods*/ - 0, /*tp_members*/ - __pyx_getsets_6schema__CodeGeneratorRequestBuilder, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema__CodeGeneratorRequestBuilder, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema__NodeBuilder __pyx_vtable_6schema__NodeBuilder; - -static PyObject *__pyx_tp_new_6schema__NodeBuilder(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema__NodeBuilder *p; - PyObject *o; - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema__NodeBuilder *)o); - p->__pyx_vtab = __pyx_vtabptr_6schema__NodeBuilder; - new((void*)&(p->thisptr)) ::capnp::schema::Node::Builder(); - return o; -} - -static void __pyx_tp_dealloc_6schema__NodeBuilder(PyObject *o) { - struct __pyx_obj_6schema__NodeBuilder *p = (struct __pyx_obj_6schema__NodeBuilder *)o; - p->thisptr.::capnp::schema::Node::Builder::~Builder(); - (*Py_TYPE(o)->tp_free)(o); -} - -static PyObject *__pyx_getprop_6schema_12_NodeBuilder_body(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_12_NodeBuilder_4body_1__get__(o); -} - -static int __pyx_setprop_6schema_12_NodeBuilder_body(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_12_NodeBuilder_4body_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_12_NodeBuilder_displayName(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_12_NodeBuilder_11displayName_1__get__(o); -} - -static int __pyx_setprop_6schema_12_NodeBuilder_displayName(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_12_NodeBuilder_11displayName_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_12_NodeBuilder_annotations(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_12_NodeBuilder_11annotations_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_12_NodeBuilder_scopeId(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_12_NodeBuilder_7scopeId_1__get__(o); -} - -static int __pyx_setprop_6schema_12_NodeBuilder_scopeId(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_12_NodeBuilder_7scopeId_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_12_NodeBuilder_nestedNodes(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_12_NodeBuilder_11nestedNodes_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_12_NodeBuilder_id(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_12_NodeBuilder_2id_1__get__(o); -} - -static int __pyx_setprop_6schema_12_NodeBuilder_id(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_12_NodeBuilder_2id_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyMethodDef __pyx_methods_6schema__NodeBuilder[] = { - {__Pyx_NAMESTR("initAnnotations"), (PyCFunction)__pyx_pw_6schema_12_NodeBuilder_1initAnnotations, METH_O, __Pyx_DOCSTR(0)}, - {__Pyx_NAMESTR("initNestedNodes"), (PyCFunction)__pyx_pw_6schema_12_NodeBuilder_3initNestedNodes, METH_O, __Pyx_DOCSTR(0)}, - {0, 0, 0, 0} -}; - -static struct PyGetSetDef __pyx_getsets_6schema__NodeBuilder[] = { - {(char *)"body", __pyx_getprop_6schema_12_NodeBuilder_body, __pyx_setprop_6schema_12_NodeBuilder_body, 0, 0}, - {(char *)"displayName", __pyx_getprop_6schema_12_NodeBuilder_displayName, __pyx_setprop_6schema_12_NodeBuilder_displayName, 0, 0}, - {(char *)"annotations", __pyx_getprop_6schema_12_NodeBuilder_annotations, 0, 0, 0}, - {(char *)"scopeId", __pyx_getprop_6schema_12_NodeBuilder_scopeId, __pyx_setprop_6schema_12_NodeBuilder_scopeId, 0, 0}, - {(char *)"nestedNodes", __pyx_getprop_6schema_12_NodeBuilder_nestedNodes, 0, 0, 0}, - {(char *)"id", __pyx_getprop_6schema_12_NodeBuilder_id, __pyx_setprop_6schema_12_NodeBuilder_id, 0, 0}, - {0, 0, 0, 0, 0} -}; - -static PyTypeObject __pyx_type_6schema__NodeBuilder = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema._NodeBuilder"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema__NodeBuilder), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema__NodeBuilder, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema__NodeBuilder, /*tp_methods*/ - 0, /*tp_members*/ - __pyx_getsets_6schema__NodeBuilder, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema__NodeBuilder, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema__List_FileNode_FileNode_Import_Builder __pyx_vtable_6schema__List_FileNode_FileNode_Import_Builder; - -static PyObject *__pyx_tp_new_6schema__List_FileNode_FileNode_Import_Builder(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema__List_FileNode_FileNode_Import_Builder *p; - PyObject *o; - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema__List_FileNode_FileNode_Import_Builder *)o); - p->__pyx_vtab = __pyx_vtabptr_6schema__List_FileNode_FileNode_Import_Builder; - new((void*)&(p->thisptr)) ::capnp::List<::capnp::schema::FileNode::Import>::Builder(); - return o; -} - -static void __pyx_tp_dealloc_6schema__List_FileNode_FileNode_Import_Builder(PyObject *o) { - struct __pyx_obj_6schema__List_FileNode_FileNode_Import_Builder *p = (struct __pyx_obj_6schema__List_FileNode_FileNode_Import_Builder *)o; - p->thisptr.::capnp::List<::capnp::schema::FileNode::Import>::Builder::~Builder(); - (*Py_TYPE(o)->tp_free)(o); -} -static PyObject *__pyx_sq_item_6schema__List_FileNode_FileNode_Import_Builder(PyObject *o, Py_ssize_t i) { - PyObject *r; - PyObject *x = PyInt_FromSsize_t(i); if(!x) return 0; - r = Py_TYPE(o)->tp_as_mapping->mp_subscript(o, x); - Py_DECREF(x); - return r; -} - -static PyMethodDef __pyx_methods_6schema__List_FileNode_FileNode_Import_Builder[] = { - {0, 0, 0, 0} -}; - -static PySequenceMethods __pyx_tp_as_sequence__List_FileNode_FileNode_Import_Builder = { - __pyx_pw_6schema_38_List_FileNode_FileNode_Import_Builder_3__len__, /*sq_length*/ - 0, /*sq_concat*/ - 0, /*sq_repeat*/ - __pyx_sq_item_6schema__List_FileNode_FileNode_Import_Builder, /*sq_item*/ - 0, /*sq_slice*/ - 0, /*sq_ass_item*/ - 0, /*sq_ass_slice*/ - 0, /*sq_contains*/ - 0, /*sq_inplace_concat*/ - 0, /*sq_inplace_repeat*/ -}; - -static PyMappingMethods __pyx_tp_as_mapping__List_FileNode_FileNode_Import_Builder = { - __pyx_pw_6schema_38_List_FileNode_FileNode_Import_Builder_3__len__, /*mp_length*/ - __pyx_pw_6schema_38_List_FileNode_FileNode_Import_Builder_1__getitem__, /*mp_subscript*/ - 0, /*mp_ass_subscript*/ -}; - -static PyTypeObject __pyx_type_6schema__List_FileNode_FileNode_Import_Builder = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema._List_FileNode_FileNode_Import_Builder"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema__List_FileNode_FileNode_Import_Builder), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema__List_FileNode_FileNode_Import_Builder, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - &__pyx_tp_as_sequence__List_FileNode_FileNode_Import_Builder, /*tp_as_sequence*/ - &__pyx_tp_as_mapping__List_FileNode_FileNode_Import_Builder, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema__List_FileNode_FileNode_Import_Builder, /*tp_methods*/ - 0, /*tp_members*/ - 0, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema__List_FileNode_FileNode_Import_Builder, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema__StructNode_UnionReader __pyx_vtable_6schema__StructNode_UnionReader; - -static PyObject *__pyx_tp_new_6schema__StructNode_UnionReader(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema__StructNode_UnionReader *p; - PyObject *o; - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema__StructNode_UnionReader *)o); - p->__pyx_vtab = __pyx_vtabptr_6schema__StructNode_UnionReader; - new((void*)&(p->thisptr)) ::capnp::schema::StructNode::Union::Reader(); - return o; -} - -static void __pyx_tp_dealloc_6schema__StructNode_UnionReader(PyObject *o) { - struct __pyx_obj_6schema__StructNode_UnionReader *p = (struct __pyx_obj_6schema__StructNode_UnionReader *)o; - p->thisptr.::capnp::schema::StructNode::Union::Reader::~Reader(); - (*Py_TYPE(o)->tp_free)(o); -} - -static PyObject *__pyx_getprop_6schema_23_StructNode_UnionReader_discriminantOffset(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_23_StructNode_UnionReader_18discriminantOffset_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_23_StructNode_UnionReader_members(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_23_StructNode_UnionReader_7members_1__get__(o); -} - -static PyMethodDef __pyx_methods_6schema__StructNode_UnionReader[] = { - {0, 0, 0, 0} -}; - -static struct PyGetSetDef __pyx_getsets_6schema__StructNode_UnionReader[] = { - {(char *)"discriminantOffset", __pyx_getprop_6schema_23_StructNode_UnionReader_discriminantOffset, 0, 0, 0}, - {(char *)"members", __pyx_getprop_6schema_23_StructNode_UnionReader_members, 0, 0, 0}, - {0, 0, 0, 0, 0} -}; - -static PyTypeObject __pyx_type_6schema__StructNode_UnionReader = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema._StructNode_UnionReader"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema__StructNode_UnionReader), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema__StructNode_UnionReader, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema__StructNode_UnionReader, /*tp_methods*/ - 0, /*tp_members*/ - __pyx_getsets_6schema__StructNode_UnionReader, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema__StructNode_UnionReader, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema_MallocMessageBuilder __pyx_vtable_6schema_MallocMessageBuilder; - -static PyObject *__pyx_tp_new_6schema_MallocMessageBuilder(PyTypeObject *t, PyObject *a, PyObject *k) { - struct __pyx_obj_6schema_MallocMessageBuilder *p; - PyObject *o = __pyx_tp_new_6schema_MessageBuilder(t, a, k); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema_MallocMessageBuilder *)o); - p->__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_6schema_MessageBuilder*)__pyx_vtabptr_6schema_MallocMessageBuilder; - if (unlikely(__pyx_pw_6schema_20MallocMessageBuilder_1__cinit__(o, __pyx_empty_tuple, NULL) < 0)) { - Py_DECREF(o); o = 0; - } - return o; -} - -static PyMethodDef __pyx_methods_6schema_MallocMessageBuilder[] = { - {0, 0, 0, 0} -}; - -static PyTypeObject __pyx_type_6schema_MallocMessageBuilder = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema.MallocMessageBuilder"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema_MallocMessageBuilder), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema_MessageBuilder, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema_MallocMessageBuilder, /*tp_methods*/ - 0, /*tp_members*/ - 0, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema_MallocMessageBuilder, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema__TypeBuilder __pyx_vtable_6schema__TypeBuilder; - -static PyObject *__pyx_tp_new_6schema__TypeBuilder(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema__TypeBuilder *p; - PyObject *o; - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema__TypeBuilder *)o); - p->__pyx_vtab = __pyx_vtabptr_6schema__TypeBuilder; - new((void*)&(p->thisptr)) ::capnp::schema::Type::Builder(); - return o; -} - -static void __pyx_tp_dealloc_6schema__TypeBuilder(PyObject *o) { - struct __pyx_obj_6schema__TypeBuilder *p = (struct __pyx_obj_6schema__TypeBuilder *)o; - p->thisptr.::capnp::schema::Type::Builder::~Builder(); - (*Py_TYPE(o)->tp_free)(o); -} - -static PyObject *__pyx_getprop_6schema_12_TypeBuilder_body(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_12_TypeBuilder_4body_1__get__(o); -} - -static int __pyx_setprop_6schema_12_TypeBuilder_body(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_12_TypeBuilder_4body_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyMethodDef __pyx_methods_6schema__TypeBuilder[] = { - {0, 0, 0, 0} -}; - -static struct PyGetSetDef __pyx_getsets_6schema__TypeBuilder[] = { - {(char *)"body", __pyx_getprop_6schema_12_TypeBuilder_body, __pyx_setprop_6schema_12_TypeBuilder_body, 0, 0}, - {0, 0, 0, 0, 0} -}; - -static PyTypeObject __pyx_type_6schema__TypeBuilder = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema._TypeBuilder"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema__TypeBuilder), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema__TypeBuilder, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema__TypeBuilder, /*tp_methods*/ - 0, /*tp_members*/ - __pyx_getsets_6schema__TypeBuilder, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema__TypeBuilder, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema__AnnotationBuilder __pyx_vtable_6schema__AnnotationBuilder; - -static PyObject *__pyx_tp_new_6schema__AnnotationBuilder(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema__AnnotationBuilder *p; - PyObject *o; - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema__AnnotationBuilder *)o); - p->__pyx_vtab = __pyx_vtabptr_6schema__AnnotationBuilder; - new((void*)&(p->thisptr)) ::capnp::schema::Annotation::Builder(); - return o; -} - -static void __pyx_tp_dealloc_6schema__AnnotationBuilder(PyObject *o) { - struct __pyx_obj_6schema__AnnotationBuilder *p = (struct __pyx_obj_6schema__AnnotationBuilder *)o; - p->thisptr.::capnp::schema::Annotation::Builder::~Builder(); - (*Py_TYPE(o)->tp_free)(o); -} - -static PyObject *__pyx_getprop_6schema_18_AnnotationBuilder_id(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_18_AnnotationBuilder_2id_1__get__(o); -} - -static int __pyx_setprop_6schema_18_AnnotationBuilder_id(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_18_AnnotationBuilder_2id_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_18_AnnotationBuilder_value(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_18_AnnotationBuilder_5value_1__get__(o); -} - -static int __pyx_setprop_6schema_18_AnnotationBuilder_value(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_18_AnnotationBuilder_5value_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyMethodDef __pyx_methods_6schema__AnnotationBuilder[] = { - {0, 0, 0, 0} -}; - -static struct PyGetSetDef __pyx_getsets_6schema__AnnotationBuilder[] = { - {(char *)"id", __pyx_getprop_6schema_18_AnnotationBuilder_id, __pyx_setprop_6schema_18_AnnotationBuilder_id, 0, 0}, - {(char *)"value", __pyx_getprop_6schema_18_AnnotationBuilder_value, __pyx_setprop_6schema_18_AnnotationBuilder_value, 0, 0}, - {0, 0, 0, 0, 0} -}; - -static PyTypeObject __pyx_type_6schema__AnnotationBuilder = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema._AnnotationBuilder"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema__AnnotationBuilder), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema__AnnotationBuilder, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema__AnnotationBuilder, /*tp_methods*/ - 0, /*tp_members*/ - __pyx_getsets_6schema__AnnotationBuilder, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema__AnnotationBuilder, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema__List_CodeGeneratorRequest_Node_Builder __pyx_vtable_6schema__List_CodeGeneratorRequest_Node_Builder; - -static PyObject *__pyx_tp_new_6schema__List_CodeGeneratorRequest_Node_Builder(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema__List_CodeGeneratorRequest_Node_Builder *p; - PyObject *o; - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema__List_CodeGeneratorRequest_Node_Builder *)o); - p->__pyx_vtab = __pyx_vtabptr_6schema__List_CodeGeneratorRequest_Node_Builder; - new((void*)&(p->thisptr)) ::capnp::List<::capnp::schema::Node>::Builder(); - return o; -} - -static void __pyx_tp_dealloc_6schema__List_CodeGeneratorRequest_Node_Builder(PyObject *o) { - struct __pyx_obj_6schema__List_CodeGeneratorRequest_Node_Builder *p = (struct __pyx_obj_6schema__List_CodeGeneratorRequest_Node_Builder *)o; - p->thisptr.::capnp::List<::capnp::schema::Node>::Builder::~Builder(); - (*Py_TYPE(o)->tp_free)(o); -} -static PyObject *__pyx_sq_item_6schema__List_CodeGeneratorRequest_Node_Builder(PyObject *o, Py_ssize_t i) { - PyObject *r; - PyObject *x = PyInt_FromSsize_t(i); if(!x) return 0; - r = Py_TYPE(o)->tp_as_mapping->mp_subscript(o, x); - Py_DECREF(x); - return r; -} - -static PyMethodDef __pyx_methods_6schema__List_CodeGeneratorRequest_Node_Builder[] = { - {0, 0, 0, 0} -}; - -static PySequenceMethods __pyx_tp_as_sequence__List_CodeGeneratorRequest_Node_Builder = { - __pyx_pw_6schema_39_List_CodeGeneratorRequest_Node_Builder_3__len__, /*sq_length*/ - 0, /*sq_concat*/ - 0, /*sq_repeat*/ - __pyx_sq_item_6schema__List_CodeGeneratorRequest_Node_Builder, /*sq_item*/ - 0, /*sq_slice*/ - 0, /*sq_ass_item*/ - 0, /*sq_ass_slice*/ - 0, /*sq_contains*/ - 0, /*sq_inplace_concat*/ - 0, /*sq_inplace_repeat*/ -}; - -static PyMappingMethods __pyx_tp_as_mapping__List_CodeGeneratorRequest_Node_Builder = { - __pyx_pw_6schema_39_List_CodeGeneratorRequest_Node_Builder_3__len__, /*mp_length*/ - __pyx_pw_6schema_39_List_CodeGeneratorRequest_Node_Builder_1__getitem__, /*mp_subscript*/ - 0, /*mp_ass_subscript*/ -}; - -static PyTypeObject __pyx_type_6schema__List_CodeGeneratorRequest_Node_Builder = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema._List_CodeGeneratorRequest_Node_Builder"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema__List_CodeGeneratorRequest_Node_Builder), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema__List_CodeGeneratorRequest_Node_Builder, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - &__pyx_tp_as_sequence__List_CodeGeneratorRequest_Node_Builder, /*tp_as_sequence*/ - &__pyx_tp_as_mapping__List_CodeGeneratorRequest_Node_Builder, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema__List_CodeGeneratorRequest_Node_Builder, /*tp_methods*/ - 0, /*tp_members*/ - 0, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema__List_CodeGeneratorRequest_Node_Builder, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema__Node_NestedNodeBuilder __pyx_vtable_6schema__Node_NestedNodeBuilder; - -static PyObject *__pyx_tp_new_6schema__Node_NestedNodeBuilder(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema__Node_NestedNodeBuilder *p; - PyObject *o; - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema__Node_NestedNodeBuilder *)o); - p->__pyx_vtab = __pyx_vtabptr_6schema__Node_NestedNodeBuilder; - new((void*)&(p->thisptr)) ::capnp::schema::Node::NestedNode::Builder(); - return o; -} - -static void __pyx_tp_dealloc_6schema__Node_NestedNodeBuilder(PyObject *o) { - struct __pyx_obj_6schema__Node_NestedNodeBuilder *p = (struct __pyx_obj_6schema__Node_NestedNodeBuilder *)o; - p->thisptr.::capnp::schema::Node::NestedNode::Builder::~Builder(); - (*Py_TYPE(o)->tp_free)(o); -} - -static PyObject *__pyx_getprop_6schema_23_Node_NestedNodeBuilder_name(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_23_Node_NestedNodeBuilder_4name_1__get__(o); -} - -static int __pyx_setprop_6schema_23_Node_NestedNodeBuilder_name(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_23_Node_NestedNodeBuilder_4name_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_23_Node_NestedNodeBuilder_id(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_23_Node_NestedNodeBuilder_2id_1__get__(o); -} - -static int __pyx_setprop_6schema_23_Node_NestedNodeBuilder_id(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_23_Node_NestedNodeBuilder_2id_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyMethodDef __pyx_methods_6schema__Node_NestedNodeBuilder[] = { - {0, 0, 0, 0} -}; - -static struct PyGetSetDef __pyx_getsets_6schema__Node_NestedNodeBuilder[] = { - {(char *)"name", __pyx_getprop_6schema_23_Node_NestedNodeBuilder_name, __pyx_setprop_6schema_23_Node_NestedNodeBuilder_name, 0, 0}, - {(char *)"id", __pyx_getprop_6schema_23_Node_NestedNodeBuilder_id, __pyx_setprop_6schema_23_Node_NestedNodeBuilder_id, 0, 0}, - {0, 0, 0, 0, 0} -}; - -static PyTypeObject __pyx_type_6schema__Node_NestedNodeBuilder = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema._Node_NestedNodeBuilder"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema__Node_NestedNodeBuilder), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema__Node_NestedNodeBuilder, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema__Node_NestedNodeBuilder, /*tp_methods*/ - 0, /*tp_members*/ - __pyx_getsets_6schema__Node_NestedNodeBuilder, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema__Node_NestedNodeBuilder, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader __pyx_vtable_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader; - -static PyObject *__pyx_tp_new_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader *p; - PyObject *o; - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader *)o); - p->__pyx_vtab = __pyx_vtabptr_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader; - new((void*)&(p->thisptr)) ::capnp::List<::capnp::schema::InterfaceNode::Method::Param>::Reader(); - return o; -} - -static void __pyx_tp_dealloc_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader(PyObject *o) { - struct __pyx_obj_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader *p = (struct __pyx_obj_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader *)o; - p->thisptr.::capnp::List<::capnp::schema::InterfaceNode::Method::Param>::Reader::~Reader(); - (*Py_TYPE(o)->tp_free)(o); -} -static PyObject *__pyx_sq_item_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader(PyObject *o, Py_ssize_t i) { - PyObject *r; - PyObject *x = PyInt_FromSsize_t(i); if(!x) return 0; - r = Py_TYPE(o)->tp_as_mapping->mp_subscript(o, x); - Py_DECREF(x); - return r; -} - -static PyMethodDef __pyx_methods_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader[] = { - {0, 0, 0, 0} -}; - -static PySequenceMethods __pyx_tp_as_sequence__List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader = { - __pyx_pw_6schema_60_List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader_3__len__, /*sq_length*/ - 0, /*sq_concat*/ - 0, /*sq_repeat*/ - __pyx_sq_item_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader, /*sq_item*/ - 0, /*sq_slice*/ - 0, /*sq_ass_item*/ - 0, /*sq_ass_slice*/ - 0, /*sq_contains*/ - 0, /*sq_inplace_concat*/ - 0, /*sq_inplace_repeat*/ -}; - -static PyMappingMethods __pyx_tp_as_mapping__List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader = { - __pyx_pw_6schema_60_List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader_3__len__, /*mp_length*/ - __pyx_pw_6schema_60_List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader_1__getitem__, /*mp_subscript*/ - 0, /*mp_ass_subscript*/ -}; - -static PyTypeObject __pyx_type_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema._List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - &__pyx_tp_as_sequence__List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader, /*tp_as_sequence*/ - &__pyx_tp_as_mapping__List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader, /*tp_methods*/ - 0, /*tp_members*/ - 0, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema__StructNode_UnionBuilder __pyx_vtable_6schema__StructNode_UnionBuilder; - -static PyObject *__pyx_tp_new_6schema__StructNode_UnionBuilder(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema__StructNode_UnionBuilder *p; - PyObject *o; - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema__StructNode_UnionBuilder *)o); - p->__pyx_vtab = __pyx_vtabptr_6schema__StructNode_UnionBuilder; - new((void*)&(p->thisptr)) ::capnp::schema::StructNode::Union::Builder(); - return o; -} - -static void __pyx_tp_dealloc_6schema__StructNode_UnionBuilder(PyObject *o) { - struct __pyx_obj_6schema__StructNode_UnionBuilder *p = (struct __pyx_obj_6schema__StructNode_UnionBuilder *)o; - p->thisptr.::capnp::schema::StructNode::Union::Builder::~Builder(); - (*Py_TYPE(o)->tp_free)(o); -} - -static PyObject *__pyx_getprop_6schema_24_StructNode_UnionBuilder_discriminantOffset(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_24_StructNode_UnionBuilder_18discriminantOffset_1__get__(o); -} - -static int __pyx_setprop_6schema_24_StructNode_UnionBuilder_discriminantOffset(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_24_StructNode_UnionBuilder_18discriminantOffset_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_24_StructNode_UnionBuilder_members(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_24_StructNode_UnionBuilder_7members_1__get__(o); -} - -static PyMethodDef __pyx_methods_6schema__StructNode_UnionBuilder[] = { - {__Pyx_NAMESTR("initMembers"), (PyCFunction)__pyx_pw_6schema_24_StructNode_UnionBuilder_1initMembers, METH_O, __Pyx_DOCSTR(0)}, - {0, 0, 0, 0} -}; - -static struct PyGetSetDef __pyx_getsets_6schema__StructNode_UnionBuilder[] = { - {(char *)"discriminantOffset", __pyx_getprop_6schema_24_StructNode_UnionBuilder_discriminantOffset, __pyx_setprop_6schema_24_StructNode_UnionBuilder_discriminantOffset, 0, 0}, - {(char *)"members", __pyx_getprop_6schema_24_StructNode_UnionBuilder_members, 0, 0, 0}, - {0, 0, 0, 0, 0} -}; - -static PyTypeObject __pyx_type_6schema__StructNode_UnionBuilder = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema._StructNode_UnionBuilder"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema__StructNode_UnionBuilder), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema__StructNode_UnionBuilder, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema__StructNode_UnionBuilder, /*tp_methods*/ - 0, /*tp_members*/ - __pyx_getsets_6schema__StructNode_UnionBuilder, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema__StructNode_UnionBuilder, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema__Node_BodyReader __pyx_vtable_6schema__Node_BodyReader; - -static PyObject *__pyx_tp_new_6schema__Node_BodyReader(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema__Node_BodyReader *p; - PyObject *o; - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema__Node_BodyReader *)o); - p->__pyx_vtab = __pyx_vtabptr_6schema__Node_BodyReader; - new((void*)&(p->thisptr)) ::capnp::schema::Node::Body::Reader(); - return o; -} - -static void __pyx_tp_dealloc_6schema__Node_BodyReader(PyObject *o) { - struct __pyx_obj_6schema__Node_BodyReader *p = (struct __pyx_obj_6schema__Node_BodyReader *)o; - p->thisptr.::capnp::schema::Node::Body::Reader::~Reader(); - (*Py_TYPE(o)->tp_free)(o); -} - -static PyObject *__pyx_getprop_6schema_16_Node_BodyReader_annotationNode(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_16_Node_BodyReader_14annotationNode_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_16_Node_BodyReader_interfaceNode(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_16_Node_BodyReader_13interfaceNode_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_16_Node_BodyReader_enumNode(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_16_Node_BodyReader_8enumNode_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_16_Node_BodyReader_structNode(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_16_Node_BodyReader_10structNode_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_16_Node_BodyReader_constNode(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_16_Node_BodyReader_9constNode_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_16_Node_BodyReader_fileNode(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_16_Node_BodyReader_8fileNode_1__get__(o); -} - -static PyMethodDef __pyx_methods_6schema__Node_BodyReader[] = { - {__Pyx_NAMESTR("which"), (PyCFunction)__pyx_pw_6schema_16_Node_BodyReader_1which, METH_NOARGS, __Pyx_DOCSTR(0)}, - {0, 0, 0, 0} -}; - -static struct PyGetSetDef __pyx_getsets_6schema__Node_BodyReader[] = { - {(char *)"annotationNode", __pyx_getprop_6schema_16_Node_BodyReader_annotationNode, 0, 0, 0}, - {(char *)"interfaceNode", __pyx_getprop_6schema_16_Node_BodyReader_interfaceNode, 0, 0, 0}, - {(char *)"enumNode", __pyx_getprop_6schema_16_Node_BodyReader_enumNode, 0, 0, 0}, - {(char *)"structNode", __pyx_getprop_6schema_16_Node_BodyReader_structNode, 0, 0, 0}, - {(char *)"constNode", __pyx_getprop_6schema_16_Node_BodyReader_constNode, 0, 0, 0}, - {(char *)"fileNode", __pyx_getprop_6schema_16_Node_BodyReader_fileNode, 0, 0, 0}, - {0, 0, 0, 0, 0} -}; - -static PyTypeObject __pyx_type_6schema__Node_BodyReader = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema._Node_BodyReader"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema__Node_BodyReader), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema__Node_BodyReader, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema__Node_BodyReader, /*tp_methods*/ - 0, /*tp_members*/ - __pyx_getsets_6schema__Node_BodyReader, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema__Node_BodyReader, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema__List_EnumNode_Enumerant_Annotation_Reader __pyx_vtable_6schema__List_EnumNode_Enumerant_Annotation_Reader; - -static PyObject *__pyx_tp_new_6schema__List_EnumNode_Enumerant_Annotation_Reader(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema__List_EnumNode_Enumerant_Annotation_Reader *p; - PyObject *o; - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema__List_EnumNode_Enumerant_Annotation_Reader *)o); - p->__pyx_vtab = __pyx_vtabptr_6schema__List_EnumNode_Enumerant_Annotation_Reader; - new((void*)&(p->thisptr)) ::capnp::List<::capnp::schema::Annotation>::Reader(); - return o; -} - -static void __pyx_tp_dealloc_6schema__List_EnumNode_Enumerant_Annotation_Reader(PyObject *o) { - struct __pyx_obj_6schema__List_EnumNode_Enumerant_Annotation_Reader *p = (struct __pyx_obj_6schema__List_EnumNode_Enumerant_Annotation_Reader *)o; - p->thisptr.::capnp::List<::capnp::schema::Annotation>::Reader::~Reader(); - (*Py_TYPE(o)->tp_free)(o); -} -static PyObject *__pyx_sq_item_6schema__List_EnumNode_Enumerant_Annotation_Reader(PyObject *o, Py_ssize_t i) { - PyObject *r; - PyObject *x = PyInt_FromSsize_t(i); if(!x) return 0; - r = Py_TYPE(o)->tp_as_mapping->mp_subscript(o, x); - Py_DECREF(x); - return r; -} - -static PyMethodDef __pyx_methods_6schema__List_EnumNode_Enumerant_Annotation_Reader[] = { - {0, 0, 0, 0} -}; - -static PySequenceMethods __pyx_tp_as_sequence__List_EnumNode_Enumerant_Annotation_Reader = { - __pyx_pw_6schema_42_List_EnumNode_Enumerant_Annotation_Reader_3__len__, /*sq_length*/ - 0, /*sq_concat*/ - 0, /*sq_repeat*/ - __pyx_sq_item_6schema__List_EnumNode_Enumerant_Annotation_Reader, /*sq_item*/ - 0, /*sq_slice*/ - 0, /*sq_ass_item*/ - 0, /*sq_ass_slice*/ - 0, /*sq_contains*/ - 0, /*sq_inplace_concat*/ - 0, /*sq_inplace_repeat*/ -}; - -static PyMappingMethods __pyx_tp_as_mapping__List_EnumNode_Enumerant_Annotation_Reader = { - __pyx_pw_6schema_42_List_EnumNode_Enumerant_Annotation_Reader_3__len__, /*mp_length*/ - __pyx_pw_6schema_42_List_EnumNode_Enumerant_Annotation_Reader_1__getitem__, /*mp_subscript*/ - 0, /*mp_ass_subscript*/ -}; - -static PyTypeObject __pyx_type_6schema__List_EnumNode_Enumerant_Annotation_Reader = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema._List_EnumNode_Enumerant_Annotation_Reader"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema__List_EnumNode_Enumerant_Annotation_Reader), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema__List_EnumNode_Enumerant_Annotation_Reader, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - &__pyx_tp_as_sequence__List_EnumNode_Enumerant_Annotation_Reader, /*tp_as_sequence*/ - &__pyx_tp_as_mapping__List_EnumNode_Enumerant_Annotation_Reader, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema__List_EnumNode_Enumerant_Annotation_Reader, /*tp_methods*/ - 0, /*tp_members*/ - 0, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema__List_EnumNode_Enumerant_Annotation_Reader, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema__ConstNodeBuilder __pyx_vtable_6schema__ConstNodeBuilder; - -static PyObject *__pyx_tp_new_6schema__ConstNodeBuilder(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema__ConstNodeBuilder *p; - PyObject *o; - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema__ConstNodeBuilder *)o); - p->__pyx_vtab = __pyx_vtabptr_6schema__ConstNodeBuilder; - new((void*)&(p->thisptr)) ::capnp::schema::ConstNode::Builder(); - return o; -} - -static void __pyx_tp_dealloc_6schema__ConstNodeBuilder(PyObject *o) { - struct __pyx_obj_6schema__ConstNodeBuilder *p = (struct __pyx_obj_6schema__ConstNodeBuilder *)o; - p->thisptr.::capnp::schema::ConstNode::Builder::~Builder(); - (*Py_TYPE(o)->tp_free)(o); -} - -static PyObject *__pyx_getprop_6schema_17_ConstNodeBuilder_type(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_17_ConstNodeBuilder_4type_1__get__(o); -} - -static int __pyx_setprop_6schema_17_ConstNodeBuilder_type(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_17_ConstNodeBuilder_4type_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_17_ConstNodeBuilder_value(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_17_ConstNodeBuilder_5value_1__get__(o); -} - -static int __pyx_setprop_6schema_17_ConstNodeBuilder_value(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_17_ConstNodeBuilder_5value_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyMethodDef __pyx_methods_6schema__ConstNodeBuilder[] = { - {0, 0, 0, 0} -}; - -static struct PyGetSetDef __pyx_getsets_6schema__ConstNodeBuilder[] = { - {(char *)"type", __pyx_getprop_6schema_17_ConstNodeBuilder_type, __pyx_setprop_6schema_17_ConstNodeBuilder_type, 0, 0}, - {(char *)"value", __pyx_getprop_6schema_17_ConstNodeBuilder_value, __pyx_setprop_6schema_17_ConstNodeBuilder_value, 0, 0}, - {0, 0, 0, 0, 0} -}; - -static PyTypeObject __pyx_type_6schema__ConstNodeBuilder = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema._ConstNodeBuilder"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema__ConstNodeBuilder), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema__ConstNodeBuilder, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema__ConstNodeBuilder, /*tp_methods*/ - 0, /*tp_members*/ - __pyx_getsets_6schema__ConstNodeBuilder, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema__ConstNodeBuilder, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema__AnnotationReader __pyx_vtable_6schema__AnnotationReader; - -static PyObject *__pyx_tp_new_6schema__AnnotationReader(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema__AnnotationReader *p; - PyObject *o; - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema__AnnotationReader *)o); - p->__pyx_vtab = __pyx_vtabptr_6schema__AnnotationReader; - new((void*)&(p->thisptr)) ::capnp::schema::Annotation::Reader(); - return o; -} - -static void __pyx_tp_dealloc_6schema__AnnotationReader(PyObject *o) { - struct __pyx_obj_6schema__AnnotationReader *p = (struct __pyx_obj_6schema__AnnotationReader *)o; - p->thisptr.::capnp::schema::Annotation::Reader::~Reader(); - (*Py_TYPE(o)->tp_free)(o); -} - -static PyObject *__pyx_getprop_6schema_17_AnnotationReader_id(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_17_AnnotationReader_2id_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_17_AnnotationReader_value(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_17_AnnotationReader_5value_1__get__(o); -} - -static PyMethodDef __pyx_methods_6schema__AnnotationReader[] = { - {0, 0, 0, 0} -}; - -static struct PyGetSetDef __pyx_getsets_6schema__AnnotationReader[] = { - {(char *)"id", __pyx_getprop_6schema_17_AnnotationReader_id, 0, 0, 0}, - {(char *)"value", __pyx_getprop_6schema_17_AnnotationReader_value, 0, 0, 0}, - {0, 0, 0, 0, 0} -}; - -static PyTypeObject __pyx_type_6schema__AnnotationReader = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema._AnnotationReader"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema__AnnotationReader), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema__AnnotationReader, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema__AnnotationReader, /*tp_methods*/ - 0, /*tp_members*/ - __pyx_getsets_6schema__AnnotationReader, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema__AnnotationReader, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema__ValueReader __pyx_vtable_6schema__ValueReader; - -static PyObject *__pyx_tp_new_6schema__ValueReader(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema__ValueReader *p; - PyObject *o; - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema__ValueReader *)o); - p->__pyx_vtab = __pyx_vtabptr_6schema__ValueReader; - new((void*)&(p->thisptr)) ::capnp::schema::Value::Reader(); - return o; -} - -static void __pyx_tp_dealloc_6schema__ValueReader(PyObject *o) { - struct __pyx_obj_6schema__ValueReader *p = (struct __pyx_obj_6schema__ValueReader *)o; - p->thisptr.::capnp::schema::Value::Reader::~Reader(); - (*Py_TYPE(o)->tp_free)(o); -} - -static PyObject *__pyx_getprop_6schema_12_ValueReader_body(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_12_ValueReader_4body_1__get__(o); -} - -static PyMethodDef __pyx_methods_6schema__ValueReader[] = { - {0, 0, 0, 0} -}; - -static struct PyGetSetDef __pyx_getsets_6schema__ValueReader[] = { - {(char *)"body", __pyx_getprop_6schema_12_ValueReader_body, 0, 0, 0}, - {0, 0, 0, 0, 0} -}; - -static PyTypeObject __pyx_type_6schema__ValueReader = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema._ValueReader"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema__ValueReader), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema__ValueReader, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema__ValueReader, /*tp_methods*/ - 0, /*tp_members*/ - __pyx_getsets_6schema__ValueReader, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema__ValueReader, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema__List_CodeGeneratorRequest_Node_Reader __pyx_vtable_6schema__List_CodeGeneratorRequest_Node_Reader; - -static PyObject *__pyx_tp_new_6schema__List_CodeGeneratorRequest_Node_Reader(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema__List_CodeGeneratorRequest_Node_Reader *p; - PyObject *o; - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema__List_CodeGeneratorRequest_Node_Reader *)o); - p->__pyx_vtab = __pyx_vtabptr_6schema__List_CodeGeneratorRequest_Node_Reader; - new((void*)&(p->thisptr)) ::capnp::List<::capnp::schema::Node>::Reader(); - return o; -} - -static void __pyx_tp_dealloc_6schema__List_CodeGeneratorRequest_Node_Reader(PyObject *o) { - struct __pyx_obj_6schema__List_CodeGeneratorRequest_Node_Reader *p = (struct __pyx_obj_6schema__List_CodeGeneratorRequest_Node_Reader *)o; - p->thisptr.::capnp::List<::capnp::schema::Node>::Reader::~Reader(); - (*Py_TYPE(o)->tp_free)(o); -} -static PyObject *__pyx_sq_item_6schema__List_CodeGeneratorRequest_Node_Reader(PyObject *o, Py_ssize_t i) { - PyObject *r; - PyObject *x = PyInt_FromSsize_t(i); if(!x) return 0; - r = Py_TYPE(o)->tp_as_mapping->mp_subscript(o, x); - Py_DECREF(x); - return r; -} - -static PyMethodDef __pyx_methods_6schema__List_CodeGeneratorRequest_Node_Reader[] = { - {0, 0, 0, 0} -}; - -static PySequenceMethods __pyx_tp_as_sequence__List_CodeGeneratorRequest_Node_Reader = { - __pyx_pw_6schema_38_List_CodeGeneratorRequest_Node_Reader_3__len__, /*sq_length*/ - 0, /*sq_concat*/ - 0, /*sq_repeat*/ - __pyx_sq_item_6schema__List_CodeGeneratorRequest_Node_Reader, /*sq_item*/ - 0, /*sq_slice*/ - 0, /*sq_ass_item*/ - 0, /*sq_ass_slice*/ - 0, /*sq_contains*/ - 0, /*sq_inplace_concat*/ - 0, /*sq_inplace_repeat*/ -}; - -static PyMappingMethods __pyx_tp_as_mapping__List_CodeGeneratorRequest_Node_Reader = { - __pyx_pw_6schema_38_List_CodeGeneratorRequest_Node_Reader_3__len__, /*mp_length*/ - __pyx_pw_6schema_38_List_CodeGeneratorRequest_Node_Reader_1__getitem__, /*mp_subscript*/ - 0, /*mp_ass_subscript*/ -}; - -static PyTypeObject __pyx_type_6schema__List_CodeGeneratorRequest_Node_Reader = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema._List_CodeGeneratorRequest_Node_Reader"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema__List_CodeGeneratorRequest_Node_Reader), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema__List_CodeGeneratorRequest_Node_Reader, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - &__pyx_tp_as_sequence__List_CodeGeneratorRequest_Node_Reader, /*tp_as_sequence*/ - &__pyx_tp_as_mapping__List_CodeGeneratorRequest_Node_Reader, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema__List_CodeGeneratorRequest_Node_Reader, /*tp_methods*/ - 0, /*tp_members*/ - 0, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema__List_CodeGeneratorRequest_Node_Reader, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema__StructNode_Member_BodyBuilder __pyx_vtable_6schema__StructNode_Member_BodyBuilder; - -static PyObject *__pyx_tp_new_6schema__StructNode_Member_BodyBuilder(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema__StructNode_Member_BodyBuilder *p; - PyObject *o; - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema__StructNode_Member_BodyBuilder *)o); - p->__pyx_vtab = __pyx_vtabptr_6schema__StructNode_Member_BodyBuilder; - new((void*)&(p->thisptr)) ::capnp::schema::StructNode::Member::Body::Builder(); - return o; -} - -static void __pyx_tp_dealloc_6schema__StructNode_Member_BodyBuilder(PyObject *o) { - struct __pyx_obj_6schema__StructNode_Member_BodyBuilder *p = (struct __pyx_obj_6schema__StructNode_Member_BodyBuilder *)o; - p->thisptr.::capnp::schema::StructNode::Member::Body::Builder::~Builder(); - (*Py_TYPE(o)->tp_free)(o); -} - -static PyObject *__pyx_getprop_6schema_30_StructNode_Member_BodyBuilder_fieldMember(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_30_StructNode_Member_BodyBuilder_11fieldMember_1__get__(o); -} - -static int __pyx_setprop_6schema_30_StructNode_Member_BodyBuilder_fieldMember(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_30_StructNode_Member_BodyBuilder_11fieldMember_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_30_StructNode_Member_BodyBuilder_unionMember(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_30_StructNode_Member_BodyBuilder_11unionMember_1__get__(o); -} - -static int __pyx_setprop_6schema_30_StructNode_Member_BodyBuilder_unionMember(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_30_StructNode_Member_BodyBuilder_11unionMember_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyMethodDef __pyx_methods_6schema__StructNode_Member_BodyBuilder[] = { - {__Pyx_NAMESTR("which"), (PyCFunction)__pyx_pw_6schema_30_StructNode_Member_BodyBuilder_1which, METH_NOARGS, __Pyx_DOCSTR(0)}, - {0, 0, 0, 0} -}; - -static struct PyGetSetDef __pyx_getsets_6schema__StructNode_Member_BodyBuilder[] = { - {(char *)"fieldMember", __pyx_getprop_6schema_30_StructNode_Member_BodyBuilder_fieldMember, __pyx_setprop_6schema_30_StructNode_Member_BodyBuilder_fieldMember, 0, 0}, - {(char *)"unionMember", __pyx_getprop_6schema_30_StructNode_Member_BodyBuilder_unionMember, __pyx_setprop_6schema_30_StructNode_Member_BodyBuilder_unionMember, 0, 0}, - {0, 0, 0, 0, 0} -}; - -static PyTypeObject __pyx_type_6schema__StructNode_Member_BodyBuilder = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema._StructNode_Member_BodyBuilder"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema__StructNode_Member_BodyBuilder), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema__StructNode_Member_BodyBuilder, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema__StructNode_Member_BodyBuilder, /*tp_methods*/ - 0, /*tp_members*/ - __pyx_getsets_6schema__StructNode_Member_BodyBuilder, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema__StructNode_Member_BodyBuilder, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema__AnnotationNodeReader __pyx_vtable_6schema__AnnotationNodeReader; - -static PyObject *__pyx_tp_new_6schema__AnnotationNodeReader(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema__AnnotationNodeReader *p; - PyObject *o; - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema__AnnotationNodeReader *)o); - p->__pyx_vtab = __pyx_vtabptr_6schema__AnnotationNodeReader; - new((void*)&(p->thisptr)) ::capnp::schema::AnnotationNode::Reader(); - return o; -} - -static void __pyx_tp_dealloc_6schema__AnnotationNodeReader(PyObject *o) { - struct __pyx_obj_6schema__AnnotationNodeReader *p = (struct __pyx_obj_6schema__AnnotationNodeReader *)o; - p->thisptr.::capnp::schema::AnnotationNode::Reader::~Reader(); - (*Py_TYPE(o)->tp_free)(o); -} - -static PyObject *__pyx_getprop_6schema_21_AnnotationNodeReader_targetsField(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_21_AnnotationNodeReader_12targetsField_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_21_AnnotationNodeReader_targetsConst(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_21_AnnotationNodeReader_12targetsConst_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_21_AnnotationNodeReader_targetsFile(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_21_AnnotationNodeReader_11targetsFile_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_21_AnnotationNodeReader_targetsStruct(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_21_AnnotationNodeReader_13targetsStruct_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_21_AnnotationNodeReader_targetsParam(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_21_AnnotationNodeReader_12targetsParam_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_21_AnnotationNodeReader_targetsUnion(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_21_AnnotationNodeReader_12targetsUnion_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_21_AnnotationNodeReader_targetsAnnotation(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_21_AnnotationNodeReader_17targetsAnnotation_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_21_AnnotationNodeReader_targetsEnumerant(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_21_AnnotationNodeReader_16targetsEnumerant_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_21_AnnotationNodeReader_type(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_21_AnnotationNodeReader_4type_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_21_AnnotationNodeReader_targetsEnum(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_21_AnnotationNodeReader_11targetsEnum_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_21_AnnotationNodeReader_targetsInterface(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_21_AnnotationNodeReader_16targetsInterface_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_21_AnnotationNodeReader_targetsMethod(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_21_AnnotationNodeReader_13targetsMethod_1__get__(o); -} - -static PyMethodDef __pyx_methods_6schema__AnnotationNodeReader[] = { - {0, 0, 0, 0} -}; - -static struct PyGetSetDef __pyx_getsets_6schema__AnnotationNodeReader[] = { - {(char *)"targetsField", __pyx_getprop_6schema_21_AnnotationNodeReader_targetsField, 0, 0, 0}, - {(char *)"targetsConst", __pyx_getprop_6schema_21_AnnotationNodeReader_targetsConst, 0, 0, 0}, - {(char *)"targetsFile", __pyx_getprop_6schema_21_AnnotationNodeReader_targetsFile, 0, 0, 0}, - {(char *)"targetsStruct", __pyx_getprop_6schema_21_AnnotationNodeReader_targetsStruct, 0, 0, 0}, - {(char *)"targetsParam", __pyx_getprop_6schema_21_AnnotationNodeReader_targetsParam, 0, 0, 0}, - {(char *)"targetsUnion", __pyx_getprop_6schema_21_AnnotationNodeReader_targetsUnion, 0, 0, 0}, - {(char *)"targetsAnnotation", __pyx_getprop_6schema_21_AnnotationNodeReader_targetsAnnotation, 0, 0, 0}, - {(char *)"targetsEnumerant", __pyx_getprop_6schema_21_AnnotationNodeReader_targetsEnumerant, 0, 0, 0}, - {(char *)"type", __pyx_getprop_6schema_21_AnnotationNodeReader_type, 0, 0, 0}, - {(char *)"targetsEnum", __pyx_getprop_6schema_21_AnnotationNodeReader_targetsEnum, 0, 0, 0}, - {(char *)"targetsInterface", __pyx_getprop_6schema_21_AnnotationNodeReader_targetsInterface, 0, 0, 0}, - {(char *)"targetsMethod", __pyx_getprop_6schema_21_AnnotationNodeReader_targetsMethod, 0, 0, 0}, - {0, 0, 0, 0, 0} -}; - -static PyTypeObject __pyx_type_6schema__AnnotationNodeReader = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema._AnnotationNodeReader"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema__AnnotationNodeReader), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema__AnnotationNodeReader, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema__AnnotationNodeReader, /*tp_methods*/ - 0, /*tp_members*/ - __pyx_getsets_6schema__AnnotationNodeReader, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema__AnnotationNodeReader, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema__List_InterfaceNode_Method_Param_Annotation_Builder __pyx_vtable_6schema__List_InterfaceNode_Method_Param_Annotation_Builder; - -static PyObject *__pyx_tp_new_6schema__List_InterfaceNode_Method_Param_Annotation_Builder(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema__List_InterfaceNode_Method_Param_Annotation_Builder *p; - PyObject *o; - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema__List_InterfaceNode_Method_Param_Annotation_Builder *)o); - p->__pyx_vtab = __pyx_vtabptr_6schema__List_InterfaceNode_Method_Param_Annotation_Builder; - new((void*)&(p->thisptr)) ::capnp::List<::capnp::schema::Annotation>::Builder(); - return o; -} - -static void __pyx_tp_dealloc_6schema__List_InterfaceNode_Method_Param_Annotation_Builder(PyObject *o) { - struct __pyx_obj_6schema__List_InterfaceNode_Method_Param_Annotation_Builder *p = (struct __pyx_obj_6schema__List_InterfaceNode_Method_Param_Annotation_Builder *)o; - p->thisptr.::capnp::List<::capnp::schema::Annotation>::Builder::~Builder(); - (*Py_TYPE(o)->tp_free)(o); -} -static PyObject *__pyx_sq_item_6schema__List_InterfaceNode_Method_Param_Annotation_Builder(PyObject *o, Py_ssize_t i) { - PyObject *r; - PyObject *x = PyInt_FromSsize_t(i); if(!x) return 0; - r = Py_TYPE(o)->tp_as_mapping->mp_subscript(o, x); - Py_DECREF(x); - return r; -} - -static PyMethodDef __pyx_methods_6schema__List_InterfaceNode_Method_Param_Annotation_Builder[] = { - {0, 0, 0, 0} -}; - -static PySequenceMethods __pyx_tp_as_sequence__List_InterfaceNode_Method_Param_Annotation_Builder = { - __pyx_pw_6schema_51_List_InterfaceNode_Method_Param_Annotation_Builder_3__len__, /*sq_length*/ - 0, /*sq_concat*/ - 0, /*sq_repeat*/ - __pyx_sq_item_6schema__List_InterfaceNode_Method_Param_Annotation_Builder, /*sq_item*/ - 0, /*sq_slice*/ - 0, /*sq_ass_item*/ - 0, /*sq_ass_slice*/ - 0, /*sq_contains*/ - 0, /*sq_inplace_concat*/ - 0, /*sq_inplace_repeat*/ -}; - -static PyMappingMethods __pyx_tp_as_mapping__List_InterfaceNode_Method_Param_Annotation_Builder = { - __pyx_pw_6schema_51_List_InterfaceNode_Method_Param_Annotation_Builder_3__len__, /*mp_length*/ - __pyx_pw_6schema_51_List_InterfaceNode_Method_Param_Annotation_Builder_1__getitem__, /*mp_subscript*/ - 0, /*mp_ass_subscript*/ -}; - -static PyTypeObject __pyx_type_6schema__List_InterfaceNode_Method_Param_Annotation_Builder = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema._List_InterfaceNode_Method_Param_Annotation_Builder"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema__List_InterfaceNode_Method_Param_Annotation_Builder), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema__List_InterfaceNode_Method_Param_Annotation_Builder, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - &__pyx_tp_as_sequence__List_InterfaceNode_Method_Param_Annotation_Builder, /*tp_as_sequence*/ - &__pyx_tp_as_mapping__List_InterfaceNode_Method_Param_Annotation_Builder, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema__List_InterfaceNode_Method_Param_Annotation_Builder, /*tp_methods*/ - 0, /*tp_members*/ - 0, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema__List_InterfaceNode_Method_Param_Annotation_Builder, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema__CodeGeneratorRequestReader __pyx_vtable_6schema__CodeGeneratorRequestReader; - -static PyObject *__pyx_tp_new_6schema__CodeGeneratorRequestReader(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema__CodeGeneratorRequestReader *p; - PyObject *o; - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema__CodeGeneratorRequestReader *)o); - p->__pyx_vtab = __pyx_vtabptr_6schema__CodeGeneratorRequestReader; - new((void*)&(p->thisptr)) ::capnp::schema::CodeGeneratorRequest::Reader(); - return o; -} - -static void __pyx_tp_dealloc_6schema__CodeGeneratorRequestReader(PyObject *o) { - struct __pyx_obj_6schema__CodeGeneratorRequestReader *p = (struct __pyx_obj_6schema__CodeGeneratorRequestReader *)o; - p->thisptr.::capnp::schema::CodeGeneratorRequest::Reader::~Reader(); - (*Py_TYPE(o)->tp_free)(o); -} - -static PyObject *__pyx_getprop_6schema_27_CodeGeneratorRequestReader_nodes(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_27_CodeGeneratorRequestReader_5nodes_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_27_CodeGeneratorRequestReader_requestedFiles(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_27_CodeGeneratorRequestReader_14requestedFiles_1__get__(o); -} - -static PyMethodDef __pyx_methods_6schema__CodeGeneratorRequestReader[] = { - {0, 0, 0, 0} -}; - -static struct PyGetSetDef __pyx_getsets_6schema__CodeGeneratorRequestReader[] = { - {(char *)"nodes", __pyx_getprop_6schema_27_CodeGeneratorRequestReader_nodes, 0, 0, 0}, - {(char *)"requestedFiles", __pyx_getprop_6schema_27_CodeGeneratorRequestReader_requestedFiles, 0, 0, 0}, - {0, 0, 0, 0, 0} -}; - -static PyTypeObject __pyx_type_6schema__CodeGeneratorRequestReader = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema._CodeGeneratorRequestReader"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema__CodeGeneratorRequestReader), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema__CodeGeneratorRequestReader, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema__CodeGeneratorRequestReader, /*tp_methods*/ - 0, /*tp_members*/ - __pyx_getsets_6schema__CodeGeneratorRequestReader, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema__CodeGeneratorRequestReader, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema__List_InterfaceNode_InterfaceNode_Method_Builder __pyx_vtable_6schema__List_InterfaceNode_InterfaceNode_Method_Builder; - -static PyObject *__pyx_tp_new_6schema__List_InterfaceNode_InterfaceNode_Method_Builder(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema__List_InterfaceNode_InterfaceNode_Method_Builder *p; - PyObject *o; - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema__List_InterfaceNode_InterfaceNode_Method_Builder *)o); - p->__pyx_vtab = __pyx_vtabptr_6schema__List_InterfaceNode_InterfaceNode_Method_Builder; - new((void*)&(p->thisptr)) ::capnp::List<::capnp::schema::InterfaceNode::Method>::Builder(); - return o; -} - -static void __pyx_tp_dealloc_6schema__List_InterfaceNode_InterfaceNode_Method_Builder(PyObject *o) { - struct __pyx_obj_6schema__List_InterfaceNode_InterfaceNode_Method_Builder *p = (struct __pyx_obj_6schema__List_InterfaceNode_InterfaceNode_Method_Builder *)o; - p->thisptr.::capnp::List<::capnp::schema::InterfaceNode::Method>::Builder::~Builder(); - (*Py_TYPE(o)->tp_free)(o); -} -static PyObject *__pyx_sq_item_6schema__List_InterfaceNode_InterfaceNode_Method_Builder(PyObject *o, Py_ssize_t i) { - PyObject *r; - PyObject *x = PyInt_FromSsize_t(i); if(!x) return 0; - r = Py_TYPE(o)->tp_as_mapping->mp_subscript(o, x); - Py_DECREF(x); - return r; -} - -static PyMethodDef __pyx_methods_6schema__List_InterfaceNode_InterfaceNode_Method_Builder[] = { - {0, 0, 0, 0} -}; - -static PySequenceMethods __pyx_tp_as_sequence__List_InterfaceNode_InterfaceNode_Method_Builder = { - __pyx_pw_6schema_48_List_InterfaceNode_InterfaceNode_Method_Builder_3__len__, /*sq_length*/ - 0, /*sq_concat*/ - 0, /*sq_repeat*/ - __pyx_sq_item_6schema__List_InterfaceNode_InterfaceNode_Method_Builder, /*sq_item*/ - 0, /*sq_slice*/ - 0, /*sq_ass_item*/ - 0, /*sq_ass_slice*/ - 0, /*sq_contains*/ - 0, /*sq_inplace_concat*/ - 0, /*sq_inplace_repeat*/ -}; - -static PyMappingMethods __pyx_tp_as_mapping__List_InterfaceNode_InterfaceNode_Method_Builder = { - __pyx_pw_6schema_48_List_InterfaceNode_InterfaceNode_Method_Builder_3__len__, /*mp_length*/ - __pyx_pw_6schema_48_List_InterfaceNode_InterfaceNode_Method_Builder_1__getitem__, /*mp_subscript*/ - 0, /*mp_ass_subscript*/ -}; - -static PyTypeObject __pyx_type_6schema__List_InterfaceNode_InterfaceNode_Method_Builder = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema._List_InterfaceNode_InterfaceNode_Method_Builder"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema__List_InterfaceNode_InterfaceNode_Method_Builder), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema__List_InterfaceNode_InterfaceNode_Method_Builder, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - &__pyx_tp_as_sequence__List_InterfaceNode_InterfaceNode_Method_Builder, /*tp_as_sequence*/ - &__pyx_tp_as_mapping__List_InterfaceNode_InterfaceNode_Method_Builder, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema__List_InterfaceNode_InterfaceNode_Method_Builder, /*tp_methods*/ - 0, /*tp_members*/ - 0, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema__List_InterfaceNode_InterfaceNode_Method_Builder, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema__ValueBuilder __pyx_vtable_6schema__ValueBuilder; - -static PyObject *__pyx_tp_new_6schema__ValueBuilder(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema__ValueBuilder *p; - PyObject *o; - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema__ValueBuilder *)o); - p->__pyx_vtab = __pyx_vtabptr_6schema__ValueBuilder; - new((void*)&(p->thisptr)) ::capnp::schema::Value::Builder(); - return o; -} - -static void __pyx_tp_dealloc_6schema__ValueBuilder(PyObject *o) { - struct __pyx_obj_6schema__ValueBuilder *p = (struct __pyx_obj_6schema__ValueBuilder *)o; - p->thisptr.::capnp::schema::Value::Builder::~Builder(); - (*Py_TYPE(o)->tp_free)(o); -} - -static PyObject *__pyx_getprop_6schema_13_ValueBuilder_body(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_13_ValueBuilder_4body_1__get__(o); -} - -static int __pyx_setprop_6schema_13_ValueBuilder_body(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_13_ValueBuilder_4body_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyMethodDef __pyx_methods_6schema__ValueBuilder[] = { - {0, 0, 0, 0} -}; - -static struct PyGetSetDef __pyx_getsets_6schema__ValueBuilder[] = { - {(char *)"body", __pyx_getprop_6schema_13_ValueBuilder_body, __pyx_setprop_6schema_13_ValueBuilder_body, 0, 0}, - {0, 0, 0, 0, 0} -}; - -static PyTypeObject __pyx_type_6schema__ValueBuilder = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema._ValueBuilder"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema__ValueBuilder), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema__ValueBuilder, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema__ValueBuilder, /*tp_methods*/ - 0, /*tp_members*/ - __pyx_getsets_6schema__ValueBuilder, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema__ValueBuilder, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema__StructNode_MemberReader __pyx_vtable_6schema__StructNode_MemberReader; - -static PyObject *__pyx_tp_new_6schema__StructNode_MemberReader(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema__StructNode_MemberReader *p; - PyObject *o; - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema__StructNode_MemberReader *)o); - p->__pyx_vtab = __pyx_vtabptr_6schema__StructNode_MemberReader; - new((void*)&(p->thisptr)) ::capnp::schema::StructNode::Member::Reader(); - return o; -} - -static void __pyx_tp_dealloc_6schema__StructNode_MemberReader(PyObject *o) { - struct __pyx_obj_6schema__StructNode_MemberReader *p = (struct __pyx_obj_6schema__StructNode_MemberReader *)o; - p->thisptr.::capnp::schema::StructNode::Member::Reader::~Reader(); - (*Py_TYPE(o)->tp_free)(o); -} - -static PyObject *__pyx_getprop_6schema_24_StructNode_MemberReader_ordinal(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_24_StructNode_MemberReader_7ordinal_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_24_StructNode_MemberReader_body(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_24_StructNode_MemberReader_4body_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_24_StructNode_MemberReader_codeOrder(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_24_StructNode_MemberReader_9codeOrder_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_24_StructNode_MemberReader_name(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_24_StructNode_MemberReader_4name_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_24_StructNode_MemberReader_annotations(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_24_StructNode_MemberReader_11annotations_1__get__(o); -} - -static PyMethodDef __pyx_methods_6schema__StructNode_MemberReader[] = { - {0, 0, 0, 0} -}; - -static struct PyGetSetDef __pyx_getsets_6schema__StructNode_MemberReader[] = { - {(char *)"ordinal", __pyx_getprop_6schema_24_StructNode_MemberReader_ordinal, 0, 0, 0}, - {(char *)"body", __pyx_getprop_6schema_24_StructNode_MemberReader_body, 0, 0, 0}, - {(char *)"codeOrder", __pyx_getprop_6schema_24_StructNode_MemberReader_codeOrder, 0, 0, 0}, - {(char *)"name", __pyx_getprop_6schema_24_StructNode_MemberReader_name, 0, 0, 0}, - {(char *)"annotations", __pyx_getprop_6schema_24_StructNode_MemberReader_annotations, 0, 0, 0}, - {0, 0, 0, 0, 0} -}; - -static PyTypeObject __pyx_type_6schema__StructNode_MemberReader = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema._StructNode_MemberReader"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema__StructNode_MemberReader), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema__StructNode_MemberReader, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema__StructNode_MemberReader, /*tp_methods*/ - 0, /*tp_members*/ - __pyx_getsets_6schema__StructNode_MemberReader, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema__StructNode_MemberReader, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema__EnumNodeBuilder __pyx_vtable_6schema__EnumNodeBuilder; - -static PyObject *__pyx_tp_new_6schema__EnumNodeBuilder(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema__EnumNodeBuilder *p; - PyObject *o; - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema__EnumNodeBuilder *)o); - p->__pyx_vtab = __pyx_vtabptr_6schema__EnumNodeBuilder; - new((void*)&(p->thisptr)) ::capnp::schema::EnumNode::Builder(); - return o; -} - -static void __pyx_tp_dealloc_6schema__EnumNodeBuilder(PyObject *o) { - struct __pyx_obj_6schema__EnumNodeBuilder *p = (struct __pyx_obj_6schema__EnumNodeBuilder *)o; - p->thisptr.::capnp::schema::EnumNode::Builder::~Builder(); - (*Py_TYPE(o)->tp_free)(o); -} - -static PyObject *__pyx_getprop_6schema_16_EnumNodeBuilder_enumerants(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_16_EnumNodeBuilder_10enumerants_1__get__(o); -} - -static PyMethodDef __pyx_methods_6schema__EnumNodeBuilder[] = { - {__Pyx_NAMESTR("initEnumerants"), (PyCFunction)__pyx_pw_6schema_16_EnumNodeBuilder_1initEnumerants, METH_O, __Pyx_DOCSTR(0)}, - {0, 0, 0, 0} -}; - -static struct PyGetSetDef __pyx_getsets_6schema__EnumNodeBuilder[] = { - {(char *)"enumerants", __pyx_getprop_6schema_16_EnumNodeBuilder_enumerants, 0, 0, 0}, - {0, 0, 0, 0, 0} -}; - -static PyTypeObject __pyx_type_6schema__EnumNodeBuilder = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema._EnumNodeBuilder"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema__EnumNodeBuilder), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema__EnumNodeBuilder, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema__EnumNodeBuilder, /*tp_methods*/ - 0, /*tp_members*/ - __pyx_getsets_6schema__EnumNodeBuilder, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema__EnumNodeBuilder, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema__List_EnumNode_EnumNode_Enumerant_Builder __pyx_vtable_6schema__List_EnumNode_EnumNode_Enumerant_Builder; - -static PyObject *__pyx_tp_new_6schema__List_EnumNode_EnumNode_Enumerant_Builder(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema__List_EnumNode_EnumNode_Enumerant_Builder *p; - PyObject *o; - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema__List_EnumNode_EnumNode_Enumerant_Builder *)o); - p->__pyx_vtab = __pyx_vtabptr_6schema__List_EnumNode_EnumNode_Enumerant_Builder; - new((void*)&(p->thisptr)) ::capnp::List<::capnp::schema::EnumNode::Enumerant>::Builder(); - return o; -} - -static void __pyx_tp_dealloc_6schema__List_EnumNode_EnumNode_Enumerant_Builder(PyObject *o) { - struct __pyx_obj_6schema__List_EnumNode_EnumNode_Enumerant_Builder *p = (struct __pyx_obj_6schema__List_EnumNode_EnumNode_Enumerant_Builder *)o; - p->thisptr.::capnp::List<::capnp::schema::EnumNode::Enumerant>::Builder::~Builder(); - (*Py_TYPE(o)->tp_free)(o); -} -static PyObject *__pyx_sq_item_6schema__List_EnumNode_EnumNode_Enumerant_Builder(PyObject *o, Py_ssize_t i) { - PyObject *r; - PyObject *x = PyInt_FromSsize_t(i); if(!x) return 0; - r = Py_TYPE(o)->tp_as_mapping->mp_subscript(o, x); - Py_DECREF(x); - return r; -} - -static PyMethodDef __pyx_methods_6schema__List_EnumNode_EnumNode_Enumerant_Builder[] = { - {0, 0, 0, 0} -}; - -static PySequenceMethods __pyx_tp_as_sequence__List_EnumNode_EnumNode_Enumerant_Builder = { - __pyx_pw_6schema_41_List_EnumNode_EnumNode_Enumerant_Builder_3__len__, /*sq_length*/ - 0, /*sq_concat*/ - 0, /*sq_repeat*/ - __pyx_sq_item_6schema__List_EnumNode_EnumNode_Enumerant_Builder, /*sq_item*/ - 0, /*sq_slice*/ - 0, /*sq_ass_item*/ - 0, /*sq_ass_slice*/ - 0, /*sq_contains*/ - 0, /*sq_inplace_concat*/ - 0, /*sq_inplace_repeat*/ -}; - -static PyMappingMethods __pyx_tp_as_mapping__List_EnumNode_EnumNode_Enumerant_Builder = { - __pyx_pw_6schema_41_List_EnumNode_EnumNode_Enumerant_Builder_3__len__, /*mp_length*/ - __pyx_pw_6schema_41_List_EnumNode_EnumNode_Enumerant_Builder_1__getitem__, /*mp_subscript*/ - 0, /*mp_ass_subscript*/ -}; - -static PyTypeObject __pyx_type_6schema__List_EnumNode_EnumNode_Enumerant_Builder = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema._List_EnumNode_EnumNode_Enumerant_Builder"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema__List_EnumNode_EnumNode_Enumerant_Builder), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema__List_EnumNode_EnumNode_Enumerant_Builder, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - &__pyx_tp_as_sequence__List_EnumNode_EnumNode_Enumerant_Builder, /*tp_as_sequence*/ - &__pyx_tp_as_mapping__List_EnumNode_EnumNode_Enumerant_Builder, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema__List_EnumNode_EnumNode_Enumerant_Builder, /*tp_methods*/ - 0, /*tp_members*/ - 0, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema__List_EnumNode_EnumNode_Enumerant_Builder, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema__FileNode_ImportBuilder __pyx_vtable_6schema__FileNode_ImportBuilder; - -static PyObject *__pyx_tp_new_6schema__FileNode_ImportBuilder(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema__FileNode_ImportBuilder *p; - PyObject *o; - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema__FileNode_ImportBuilder *)o); - p->__pyx_vtab = __pyx_vtabptr_6schema__FileNode_ImportBuilder; - new((void*)&(p->thisptr)) ::capnp::schema::FileNode::Import::Builder(); - return o; -} - -static void __pyx_tp_dealloc_6schema__FileNode_ImportBuilder(PyObject *o) { - struct __pyx_obj_6schema__FileNode_ImportBuilder *p = (struct __pyx_obj_6schema__FileNode_ImportBuilder *)o; - p->thisptr.::capnp::schema::FileNode::Import::Builder::~Builder(); - (*Py_TYPE(o)->tp_free)(o); -} - -static PyObject *__pyx_getprop_6schema_23_FileNode_ImportBuilder_id(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_23_FileNode_ImportBuilder_2id_1__get__(o); -} - -static int __pyx_setprop_6schema_23_FileNode_ImportBuilder_id(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_23_FileNode_ImportBuilder_2id_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_23_FileNode_ImportBuilder_name(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_23_FileNode_ImportBuilder_4name_1__get__(o); -} - -static int __pyx_setprop_6schema_23_FileNode_ImportBuilder_name(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_23_FileNode_ImportBuilder_4name_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyMethodDef __pyx_methods_6schema__FileNode_ImportBuilder[] = { - {0, 0, 0, 0} -}; - -static struct PyGetSetDef __pyx_getsets_6schema__FileNode_ImportBuilder[] = { - {(char *)"id", __pyx_getprop_6schema_23_FileNode_ImportBuilder_id, __pyx_setprop_6schema_23_FileNode_ImportBuilder_id, 0, 0}, - {(char *)"name", __pyx_getprop_6schema_23_FileNode_ImportBuilder_name, __pyx_setprop_6schema_23_FileNode_ImportBuilder_name, 0, 0}, - {0, 0, 0, 0, 0} -}; - -static PyTypeObject __pyx_type_6schema__FileNode_ImportBuilder = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema._FileNode_ImportBuilder"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema__FileNode_ImportBuilder), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema__FileNode_ImportBuilder, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema__FileNode_ImportBuilder, /*tp_methods*/ - 0, /*tp_members*/ - __pyx_getsets_6schema__FileNode_ImportBuilder, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema__FileNode_ImportBuilder, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema__NodeReader __pyx_vtable_6schema__NodeReader; - -static PyObject *__pyx_tp_new_6schema__NodeReader(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema__NodeReader *p; - PyObject *o; - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema__NodeReader *)o); - p->__pyx_vtab = __pyx_vtabptr_6schema__NodeReader; - new((void*)&(p->thisptr)) ::capnp::schema::Node::Reader(); - return o; -} - -static void __pyx_tp_dealloc_6schema__NodeReader(PyObject *o) { - struct __pyx_obj_6schema__NodeReader *p = (struct __pyx_obj_6schema__NodeReader *)o; - p->thisptr.::capnp::schema::Node::Reader::~Reader(); - (*Py_TYPE(o)->tp_free)(o); -} - -static PyObject *__pyx_getprop_6schema_11_NodeReader_body(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_11_NodeReader_4body_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_11_NodeReader_displayName(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_11_NodeReader_11displayName_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_11_NodeReader_annotations(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_11_NodeReader_11annotations_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_11_NodeReader_scopeId(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_11_NodeReader_7scopeId_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_11_NodeReader_nestedNodes(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_11_NodeReader_11nestedNodes_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_11_NodeReader_id(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_11_NodeReader_2id_1__get__(o); -} - -static PyMethodDef __pyx_methods_6schema__NodeReader[] = { - {0, 0, 0, 0} -}; - -static struct PyGetSetDef __pyx_getsets_6schema__NodeReader[] = { - {(char *)"body", __pyx_getprop_6schema_11_NodeReader_body, 0, 0, 0}, - {(char *)"displayName", __pyx_getprop_6schema_11_NodeReader_displayName, 0, 0, 0}, - {(char *)"annotations", __pyx_getprop_6schema_11_NodeReader_annotations, 0, 0, 0}, - {(char *)"scopeId", __pyx_getprop_6schema_11_NodeReader_scopeId, 0, 0, 0}, - {(char *)"nestedNodes", __pyx_getprop_6schema_11_NodeReader_nestedNodes, 0, 0, 0}, - {(char *)"id", __pyx_getprop_6schema_11_NodeReader_id, 0, 0, 0}, - {0, 0, 0, 0, 0} -}; - -static PyTypeObject __pyx_type_6schema__NodeReader = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema._NodeReader"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema__NodeReader), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema__NodeReader, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema__NodeReader, /*tp_methods*/ - 0, /*tp_members*/ - __pyx_getsets_6schema__NodeReader, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema__NodeReader, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema__Type_BodyBuilder __pyx_vtable_6schema__Type_BodyBuilder; - -static PyObject *__pyx_tp_new_6schema__Type_BodyBuilder(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema__Type_BodyBuilder *p; - PyObject *o; - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema__Type_BodyBuilder *)o); - p->__pyx_vtab = __pyx_vtabptr_6schema__Type_BodyBuilder; - new((void*)&(p->thisptr)) ::capnp::schema::Type::Body::Builder(); - return o; -} - -static void __pyx_tp_dealloc_6schema__Type_BodyBuilder(PyObject *o) { - struct __pyx_obj_6schema__Type_BodyBuilder *p = (struct __pyx_obj_6schema__Type_BodyBuilder *)o; - p->thisptr.::capnp::schema::Type::Body::Builder::~Builder(); - (*Py_TYPE(o)->tp_free)(o); -} - -static PyObject *__pyx_getprop_6schema_17_Type_BodyBuilder_boolType(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_17_Type_BodyBuilder_8boolType_1__get__(o); -} - -static int __pyx_setprop_6schema_17_Type_BodyBuilder_boolType(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_17_Type_BodyBuilder_8boolType_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_17_Type_BodyBuilder_structType(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_17_Type_BodyBuilder_10structType_1__get__(o); -} - -static int __pyx_setprop_6schema_17_Type_BodyBuilder_structType(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_17_Type_BodyBuilder_10structType_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_17_Type_BodyBuilder_int32Type(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_17_Type_BodyBuilder_9int32Type_1__get__(o); -} - -static int __pyx_setprop_6schema_17_Type_BodyBuilder_int32Type(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_17_Type_BodyBuilder_9int32Type_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_17_Type_BodyBuilder_voidType(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_17_Type_BodyBuilder_8voidType_1__get__(o); -} - -static int __pyx_setprop_6schema_17_Type_BodyBuilder_voidType(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_17_Type_BodyBuilder_8voidType_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_17_Type_BodyBuilder_uint16Type(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_17_Type_BodyBuilder_10uint16Type_1__get__(o); -} - -static int __pyx_setprop_6schema_17_Type_BodyBuilder_uint16Type(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_17_Type_BodyBuilder_10uint16Type_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_17_Type_BodyBuilder_dataType(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_17_Type_BodyBuilder_8dataType_1__get__(o); -} - -static int __pyx_setprop_6schema_17_Type_BodyBuilder_dataType(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_17_Type_BodyBuilder_8dataType_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_17_Type_BodyBuilder_objectType(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_17_Type_BodyBuilder_10objectType_1__get__(o); -} - -static int __pyx_setprop_6schema_17_Type_BodyBuilder_objectType(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_17_Type_BodyBuilder_10objectType_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_17_Type_BodyBuilder_int64Type(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_17_Type_BodyBuilder_9int64Type_1__get__(o); -} - -static int __pyx_setprop_6schema_17_Type_BodyBuilder_int64Type(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_17_Type_BodyBuilder_9int64Type_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_17_Type_BodyBuilder_float64Type(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_17_Type_BodyBuilder_11float64Type_1__get__(o); -} - -static int __pyx_setprop_6schema_17_Type_BodyBuilder_float64Type(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_17_Type_BodyBuilder_11float64Type_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_17_Type_BodyBuilder_interfaceType(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_17_Type_BodyBuilder_13interfaceType_1__get__(o); -} - -static int __pyx_setprop_6schema_17_Type_BodyBuilder_interfaceType(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_17_Type_BodyBuilder_13interfaceType_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_17_Type_BodyBuilder_uint32Type(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_17_Type_BodyBuilder_10uint32Type_1__get__(o); -} - -static int __pyx_setprop_6schema_17_Type_BodyBuilder_uint32Type(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_17_Type_BodyBuilder_10uint32Type_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_17_Type_BodyBuilder_uint8Type(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_17_Type_BodyBuilder_9uint8Type_1__get__(o); -} - -static int __pyx_setprop_6schema_17_Type_BodyBuilder_uint8Type(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_17_Type_BodyBuilder_9uint8Type_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_17_Type_BodyBuilder_listType(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_17_Type_BodyBuilder_8listType_1__get__(o); -} - -static int __pyx_setprop_6schema_17_Type_BodyBuilder_listType(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_17_Type_BodyBuilder_8listType_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_17_Type_BodyBuilder_int8Type(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_17_Type_BodyBuilder_8int8Type_1__get__(o); -} - -static int __pyx_setprop_6schema_17_Type_BodyBuilder_int8Type(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_17_Type_BodyBuilder_8int8Type_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_17_Type_BodyBuilder_float32Type(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_17_Type_BodyBuilder_11float32Type_1__get__(o); -} - -static int __pyx_setprop_6schema_17_Type_BodyBuilder_float32Type(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_17_Type_BodyBuilder_11float32Type_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_17_Type_BodyBuilder_enumType(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_17_Type_BodyBuilder_8enumType_1__get__(o); -} - -static int __pyx_setprop_6schema_17_Type_BodyBuilder_enumType(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_17_Type_BodyBuilder_8enumType_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_17_Type_BodyBuilder_uint64Type(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_17_Type_BodyBuilder_10uint64Type_1__get__(o); -} - -static int __pyx_setprop_6schema_17_Type_BodyBuilder_uint64Type(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_17_Type_BodyBuilder_10uint64Type_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_17_Type_BodyBuilder_textType(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_17_Type_BodyBuilder_8textType_1__get__(o); -} - -static int __pyx_setprop_6schema_17_Type_BodyBuilder_textType(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_17_Type_BodyBuilder_8textType_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_17_Type_BodyBuilder_int16Type(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_17_Type_BodyBuilder_9int16Type_1__get__(o); -} - -static int __pyx_setprop_6schema_17_Type_BodyBuilder_int16Type(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_17_Type_BodyBuilder_9int16Type_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyMethodDef __pyx_methods_6schema__Type_BodyBuilder[] = { - {__Pyx_NAMESTR("which"), (PyCFunction)__pyx_pw_6schema_17_Type_BodyBuilder_1which, METH_NOARGS, __Pyx_DOCSTR(0)}, - {0, 0, 0, 0} -}; - -static struct PyGetSetDef __pyx_getsets_6schema__Type_BodyBuilder[] = { - {(char *)"boolType", __pyx_getprop_6schema_17_Type_BodyBuilder_boolType, __pyx_setprop_6schema_17_Type_BodyBuilder_boolType, 0, 0}, - {(char *)"structType", __pyx_getprop_6schema_17_Type_BodyBuilder_structType, __pyx_setprop_6schema_17_Type_BodyBuilder_structType, 0, 0}, - {(char *)"int32Type", __pyx_getprop_6schema_17_Type_BodyBuilder_int32Type, __pyx_setprop_6schema_17_Type_BodyBuilder_int32Type, 0, 0}, - {(char *)"voidType", __pyx_getprop_6schema_17_Type_BodyBuilder_voidType, __pyx_setprop_6schema_17_Type_BodyBuilder_voidType, 0, 0}, - {(char *)"uint16Type", __pyx_getprop_6schema_17_Type_BodyBuilder_uint16Type, __pyx_setprop_6schema_17_Type_BodyBuilder_uint16Type, 0, 0}, - {(char *)"dataType", __pyx_getprop_6schema_17_Type_BodyBuilder_dataType, __pyx_setprop_6schema_17_Type_BodyBuilder_dataType, 0, 0}, - {(char *)"objectType", __pyx_getprop_6schema_17_Type_BodyBuilder_objectType, __pyx_setprop_6schema_17_Type_BodyBuilder_objectType, 0, 0}, - {(char *)"int64Type", __pyx_getprop_6schema_17_Type_BodyBuilder_int64Type, __pyx_setprop_6schema_17_Type_BodyBuilder_int64Type, 0, 0}, - {(char *)"float64Type", __pyx_getprop_6schema_17_Type_BodyBuilder_float64Type, __pyx_setprop_6schema_17_Type_BodyBuilder_float64Type, 0, 0}, - {(char *)"interfaceType", __pyx_getprop_6schema_17_Type_BodyBuilder_interfaceType, __pyx_setprop_6schema_17_Type_BodyBuilder_interfaceType, 0, 0}, - {(char *)"uint32Type", __pyx_getprop_6schema_17_Type_BodyBuilder_uint32Type, __pyx_setprop_6schema_17_Type_BodyBuilder_uint32Type, 0, 0}, - {(char *)"uint8Type", __pyx_getprop_6schema_17_Type_BodyBuilder_uint8Type, __pyx_setprop_6schema_17_Type_BodyBuilder_uint8Type, 0, 0}, - {(char *)"listType", __pyx_getprop_6schema_17_Type_BodyBuilder_listType, __pyx_setprop_6schema_17_Type_BodyBuilder_listType, 0, 0}, - {(char *)"int8Type", __pyx_getprop_6schema_17_Type_BodyBuilder_int8Type, __pyx_setprop_6schema_17_Type_BodyBuilder_int8Type, 0, 0}, - {(char *)"float32Type", __pyx_getprop_6schema_17_Type_BodyBuilder_float32Type, __pyx_setprop_6schema_17_Type_BodyBuilder_float32Type, 0, 0}, - {(char *)"enumType", __pyx_getprop_6schema_17_Type_BodyBuilder_enumType, __pyx_setprop_6schema_17_Type_BodyBuilder_enumType, 0, 0}, - {(char *)"uint64Type", __pyx_getprop_6schema_17_Type_BodyBuilder_uint64Type, __pyx_setprop_6schema_17_Type_BodyBuilder_uint64Type, 0, 0}, - {(char *)"textType", __pyx_getprop_6schema_17_Type_BodyBuilder_textType, __pyx_setprop_6schema_17_Type_BodyBuilder_textType, 0, 0}, - {(char *)"int16Type", __pyx_getprop_6schema_17_Type_BodyBuilder_int16Type, __pyx_setprop_6schema_17_Type_BodyBuilder_int16Type, 0, 0}, - {0, 0, 0, 0, 0} -}; - -static PyTypeObject __pyx_type_6schema__Type_BodyBuilder = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema._Type_BodyBuilder"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema__Type_BodyBuilder), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema__Type_BodyBuilder, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema__Type_BodyBuilder, /*tp_methods*/ - 0, /*tp_members*/ - __pyx_getsets_6schema__Type_BodyBuilder, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema__Type_BodyBuilder, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema__List_StructNode_StructNode_Member_Reader __pyx_vtable_6schema__List_StructNode_StructNode_Member_Reader; - -static PyObject *__pyx_tp_new_6schema__List_StructNode_StructNode_Member_Reader(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema__List_StructNode_StructNode_Member_Reader *p; - PyObject *o; - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema__List_StructNode_StructNode_Member_Reader *)o); - p->__pyx_vtab = __pyx_vtabptr_6schema__List_StructNode_StructNode_Member_Reader; - new((void*)&(p->thisptr)) ::capnp::List<::capnp::schema::StructNode::Member>::Reader(); - return o; -} - -static void __pyx_tp_dealloc_6schema__List_StructNode_StructNode_Member_Reader(PyObject *o) { - struct __pyx_obj_6schema__List_StructNode_StructNode_Member_Reader *p = (struct __pyx_obj_6schema__List_StructNode_StructNode_Member_Reader *)o; - p->thisptr.::capnp::List<::capnp::schema::StructNode::Member>::Reader::~Reader(); - (*Py_TYPE(o)->tp_free)(o); -} -static PyObject *__pyx_sq_item_6schema__List_StructNode_StructNode_Member_Reader(PyObject *o, Py_ssize_t i) { - PyObject *r; - PyObject *x = PyInt_FromSsize_t(i); if(!x) return 0; - r = Py_TYPE(o)->tp_as_mapping->mp_subscript(o, x); - Py_DECREF(x); - return r; -} - -static PyMethodDef __pyx_methods_6schema__List_StructNode_StructNode_Member_Reader[] = { - {0, 0, 0, 0} -}; - -static PySequenceMethods __pyx_tp_as_sequence__List_StructNode_StructNode_Member_Reader = { - __pyx_pw_6schema_41_List_StructNode_StructNode_Member_Reader_3__len__, /*sq_length*/ - 0, /*sq_concat*/ - 0, /*sq_repeat*/ - __pyx_sq_item_6schema__List_StructNode_StructNode_Member_Reader, /*sq_item*/ - 0, /*sq_slice*/ - 0, /*sq_ass_item*/ - 0, /*sq_ass_slice*/ - 0, /*sq_contains*/ - 0, /*sq_inplace_concat*/ - 0, /*sq_inplace_repeat*/ -}; - -static PyMappingMethods __pyx_tp_as_mapping__List_StructNode_StructNode_Member_Reader = { - __pyx_pw_6schema_41_List_StructNode_StructNode_Member_Reader_3__len__, /*mp_length*/ - __pyx_pw_6schema_41_List_StructNode_StructNode_Member_Reader_1__getitem__, /*mp_subscript*/ - 0, /*mp_ass_subscript*/ -}; - -static PyTypeObject __pyx_type_6schema__List_StructNode_StructNode_Member_Reader = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema._List_StructNode_StructNode_Member_Reader"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema__List_StructNode_StructNode_Member_Reader), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema__List_StructNode_StructNode_Member_Reader, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - &__pyx_tp_as_sequence__List_StructNode_StructNode_Member_Reader, /*tp_as_sequence*/ - &__pyx_tp_as_mapping__List_StructNode_StructNode_Member_Reader, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema__List_StructNode_StructNode_Member_Reader, /*tp_methods*/ - 0, /*tp_members*/ - 0, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema__List_StructNode_StructNode_Member_Reader, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema__List_StructNode_Union_StructNode_Member_Builder __pyx_vtable_6schema__List_StructNode_Union_StructNode_Member_Builder; - -static PyObject *__pyx_tp_new_6schema__List_StructNode_Union_StructNode_Member_Builder(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema__List_StructNode_Union_StructNode_Member_Builder *p; - PyObject *o; - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema__List_StructNode_Union_StructNode_Member_Builder *)o); - p->__pyx_vtab = __pyx_vtabptr_6schema__List_StructNode_Union_StructNode_Member_Builder; - new((void*)&(p->thisptr)) ::capnp::List<::capnp::schema::StructNode::Member>::Builder(); - return o; -} - -static void __pyx_tp_dealloc_6schema__List_StructNode_Union_StructNode_Member_Builder(PyObject *o) { - struct __pyx_obj_6schema__List_StructNode_Union_StructNode_Member_Builder *p = (struct __pyx_obj_6schema__List_StructNode_Union_StructNode_Member_Builder *)o; - p->thisptr.::capnp::List<::capnp::schema::StructNode::Member>::Builder::~Builder(); - (*Py_TYPE(o)->tp_free)(o); -} -static PyObject *__pyx_sq_item_6schema__List_StructNode_Union_StructNode_Member_Builder(PyObject *o, Py_ssize_t i) { - PyObject *r; - PyObject *x = PyInt_FromSsize_t(i); if(!x) return 0; - r = Py_TYPE(o)->tp_as_mapping->mp_subscript(o, x); - Py_DECREF(x); - return r; -} - -static PyMethodDef __pyx_methods_6schema__List_StructNode_Union_StructNode_Member_Builder[] = { - {0, 0, 0, 0} -}; - -static PySequenceMethods __pyx_tp_as_sequence__List_StructNode_Union_StructNode_Member_Builder = { - __pyx_pw_6schema_48_List_StructNode_Union_StructNode_Member_Builder_3__len__, /*sq_length*/ - 0, /*sq_concat*/ - 0, /*sq_repeat*/ - __pyx_sq_item_6schema__List_StructNode_Union_StructNode_Member_Builder, /*sq_item*/ - 0, /*sq_slice*/ - 0, /*sq_ass_item*/ - 0, /*sq_ass_slice*/ - 0, /*sq_contains*/ - 0, /*sq_inplace_concat*/ - 0, /*sq_inplace_repeat*/ -}; - -static PyMappingMethods __pyx_tp_as_mapping__List_StructNode_Union_StructNode_Member_Builder = { - __pyx_pw_6schema_48_List_StructNode_Union_StructNode_Member_Builder_3__len__, /*mp_length*/ - __pyx_pw_6schema_48_List_StructNode_Union_StructNode_Member_Builder_1__getitem__, /*mp_subscript*/ - 0, /*mp_ass_subscript*/ -}; - -static PyTypeObject __pyx_type_6schema__List_StructNode_Union_StructNode_Member_Builder = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema._List_StructNode_Union_StructNode_Member_Builder"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema__List_StructNode_Union_StructNode_Member_Builder), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema__List_StructNode_Union_StructNode_Member_Builder, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - &__pyx_tp_as_sequence__List_StructNode_Union_StructNode_Member_Builder, /*tp_as_sequence*/ - &__pyx_tp_as_mapping__List_StructNode_Union_StructNode_Member_Builder, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema__List_StructNode_Union_StructNode_Member_Builder, /*tp_methods*/ - 0, /*tp_members*/ - 0, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema__List_StructNode_Union_StructNode_Member_Builder, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema__InterfaceNode_Method_ParamBuilder __pyx_vtable_6schema__InterfaceNode_Method_ParamBuilder; - -static PyObject *__pyx_tp_new_6schema__InterfaceNode_Method_ParamBuilder(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema__InterfaceNode_Method_ParamBuilder *p; - PyObject *o; - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema__InterfaceNode_Method_ParamBuilder *)o); - p->__pyx_vtab = __pyx_vtabptr_6schema__InterfaceNode_Method_ParamBuilder; - new((void*)&(p->thisptr)) ::capnp::schema::InterfaceNode::Method::Param::Builder(); - return o; -} - -static void __pyx_tp_dealloc_6schema__InterfaceNode_Method_ParamBuilder(PyObject *o) { - struct __pyx_obj_6schema__InterfaceNode_Method_ParamBuilder *p = (struct __pyx_obj_6schema__InterfaceNode_Method_ParamBuilder *)o; - p->thisptr.::capnp::schema::InterfaceNode::Method::Param::Builder::~Builder(); - (*Py_TYPE(o)->tp_free)(o); -} - -static PyObject *__pyx_getprop_6schema_34_InterfaceNode_Method_ParamBuilder_defaultValue(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_34_InterfaceNode_Method_ParamBuilder_12defaultValue_1__get__(o); -} - -static int __pyx_setprop_6schema_34_InterfaceNode_Method_ParamBuilder_defaultValue(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_34_InterfaceNode_Method_ParamBuilder_12defaultValue_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_34_InterfaceNode_Method_ParamBuilder_type(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_34_InterfaceNode_Method_ParamBuilder_4type_1__get__(o); -} - -static int __pyx_setprop_6schema_34_InterfaceNode_Method_ParamBuilder_type(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_34_InterfaceNode_Method_ParamBuilder_4type_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_34_InterfaceNode_Method_ParamBuilder_name(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_34_InterfaceNode_Method_ParamBuilder_4name_1__get__(o); -} - -static int __pyx_setprop_6schema_34_InterfaceNode_Method_ParamBuilder_name(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_34_InterfaceNode_Method_ParamBuilder_4name_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_34_InterfaceNode_Method_ParamBuilder_annotations(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_34_InterfaceNode_Method_ParamBuilder_11annotations_1__get__(o); -} - -static PyMethodDef __pyx_methods_6schema__InterfaceNode_Method_ParamBuilder[] = { - {__Pyx_NAMESTR("initAnnotations"), (PyCFunction)__pyx_pw_6schema_34_InterfaceNode_Method_ParamBuilder_1initAnnotations, METH_O, __Pyx_DOCSTR(0)}, - {0, 0, 0, 0} -}; - -static struct PyGetSetDef __pyx_getsets_6schema__InterfaceNode_Method_ParamBuilder[] = { - {(char *)"defaultValue", __pyx_getprop_6schema_34_InterfaceNode_Method_ParamBuilder_defaultValue, __pyx_setprop_6schema_34_InterfaceNode_Method_ParamBuilder_defaultValue, 0, 0}, - {(char *)"type", __pyx_getprop_6schema_34_InterfaceNode_Method_ParamBuilder_type, __pyx_setprop_6schema_34_InterfaceNode_Method_ParamBuilder_type, 0, 0}, - {(char *)"name", __pyx_getprop_6schema_34_InterfaceNode_Method_ParamBuilder_name, __pyx_setprop_6schema_34_InterfaceNode_Method_ParamBuilder_name, 0, 0}, - {(char *)"annotations", __pyx_getprop_6schema_34_InterfaceNode_Method_ParamBuilder_annotations, 0, 0, 0}, - {0, 0, 0, 0, 0} -}; - -static PyTypeObject __pyx_type_6schema__InterfaceNode_Method_ParamBuilder = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema._InterfaceNode_Method_ParamBuilder"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema__InterfaceNode_Method_ParamBuilder), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema__InterfaceNode_Method_ParamBuilder, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema__InterfaceNode_Method_ParamBuilder, /*tp_methods*/ - 0, /*tp_members*/ - __pyx_getsets_6schema__InterfaceNode_Method_ParamBuilder, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema__InterfaceNode_Method_ParamBuilder, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema__List_Node_Node_NestedNode_Builder __pyx_vtable_6schema__List_Node_Node_NestedNode_Builder; - -static PyObject *__pyx_tp_new_6schema__List_Node_Node_NestedNode_Builder(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema__List_Node_Node_NestedNode_Builder *p; - PyObject *o; - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema__List_Node_Node_NestedNode_Builder *)o); - p->__pyx_vtab = __pyx_vtabptr_6schema__List_Node_Node_NestedNode_Builder; - new((void*)&(p->thisptr)) ::capnp::List<::capnp::schema::Node::NestedNode>::Builder(); - return o; -} - -static void __pyx_tp_dealloc_6schema__List_Node_Node_NestedNode_Builder(PyObject *o) { - struct __pyx_obj_6schema__List_Node_Node_NestedNode_Builder *p = (struct __pyx_obj_6schema__List_Node_Node_NestedNode_Builder *)o; - p->thisptr.::capnp::List<::capnp::schema::Node::NestedNode>::Builder::~Builder(); - (*Py_TYPE(o)->tp_free)(o); -} -static PyObject *__pyx_sq_item_6schema__List_Node_Node_NestedNode_Builder(PyObject *o, Py_ssize_t i) { - PyObject *r; - PyObject *x = PyInt_FromSsize_t(i); if(!x) return 0; - r = Py_TYPE(o)->tp_as_mapping->mp_subscript(o, x); - Py_DECREF(x); - return r; -} - -static PyMethodDef __pyx_methods_6schema__List_Node_Node_NestedNode_Builder[] = { - {0, 0, 0, 0} -}; - -static PySequenceMethods __pyx_tp_as_sequence__List_Node_Node_NestedNode_Builder = { - __pyx_pw_6schema_34_List_Node_Node_NestedNode_Builder_3__len__, /*sq_length*/ - 0, /*sq_concat*/ - 0, /*sq_repeat*/ - __pyx_sq_item_6schema__List_Node_Node_NestedNode_Builder, /*sq_item*/ - 0, /*sq_slice*/ - 0, /*sq_ass_item*/ - 0, /*sq_ass_slice*/ - 0, /*sq_contains*/ - 0, /*sq_inplace_concat*/ - 0, /*sq_inplace_repeat*/ -}; - -static PyMappingMethods __pyx_tp_as_mapping__List_Node_Node_NestedNode_Builder = { - __pyx_pw_6schema_34_List_Node_Node_NestedNode_Builder_3__len__, /*mp_length*/ - __pyx_pw_6schema_34_List_Node_Node_NestedNode_Builder_1__getitem__, /*mp_subscript*/ - 0, /*mp_ass_subscript*/ -}; - -static PyTypeObject __pyx_type_6schema__List_Node_Node_NestedNode_Builder = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema._List_Node_Node_NestedNode_Builder"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema__List_Node_Node_NestedNode_Builder), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema__List_Node_Node_NestedNode_Builder, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - &__pyx_tp_as_sequence__List_Node_Node_NestedNode_Builder, /*tp_as_sequence*/ - &__pyx_tp_as_mapping__List_Node_Node_NestedNode_Builder, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema__List_Node_Node_NestedNode_Builder, /*tp_methods*/ - 0, /*tp_members*/ - 0, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema__List_Node_Node_NestedNode_Builder, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder __pyx_vtable_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder; - -static PyObject *__pyx_tp_new_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder *p; - PyObject *o; - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder *)o); - p->__pyx_vtab = __pyx_vtabptr_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder; - new((void*)&(p->thisptr)) ::capnp::List<::capnp::schema::InterfaceNode::Method::Param>::Builder(); - return o; -} - -static void __pyx_tp_dealloc_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder(PyObject *o) { - struct __pyx_obj_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder *p = (struct __pyx_obj_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder *)o; - p->thisptr.::capnp::List<::capnp::schema::InterfaceNode::Method::Param>::Builder::~Builder(); - (*Py_TYPE(o)->tp_free)(o); -} -static PyObject *__pyx_sq_item_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder(PyObject *o, Py_ssize_t i) { - PyObject *r; - PyObject *x = PyInt_FromSsize_t(i); if(!x) return 0; - r = Py_TYPE(o)->tp_as_mapping->mp_subscript(o, x); - Py_DECREF(x); - return r; -} - -static PyMethodDef __pyx_methods_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder[] = { - {0, 0, 0, 0} -}; - -static PySequenceMethods __pyx_tp_as_sequence__List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder = { - __pyx_pw_6schema_61_List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder_3__len__, /*sq_length*/ - 0, /*sq_concat*/ - 0, /*sq_repeat*/ - __pyx_sq_item_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder, /*sq_item*/ - 0, /*sq_slice*/ - 0, /*sq_ass_item*/ - 0, /*sq_ass_slice*/ - 0, /*sq_contains*/ - 0, /*sq_inplace_concat*/ - 0, /*sq_inplace_repeat*/ -}; - -static PyMappingMethods __pyx_tp_as_mapping__List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder = { - __pyx_pw_6schema_61_List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder_3__len__, /*mp_length*/ - __pyx_pw_6schema_61_List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder_1__getitem__, /*mp_subscript*/ - 0, /*mp_ass_subscript*/ -}; - -static PyTypeObject __pyx_type_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema._List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - &__pyx_tp_as_sequence__List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder, /*tp_as_sequence*/ - &__pyx_tp_as_mapping__List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder, /*tp_methods*/ - 0, /*tp_members*/ - 0, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema__Value_BodyBuilder __pyx_vtable_6schema__Value_BodyBuilder; - -static PyObject *__pyx_tp_new_6schema__Value_BodyBuilder(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema__Value_BodyBuilder *p; - PyObject *o; - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema__Value_BodyBuilder *)o); - p->__pyx_vtab = __pyx_vtabptr_6schema__Value_BodyBuilder; - new((void*)&(p->thisptr)) ::capnp::schema::Value::Body::Builder(); - return o; -} - -static void __pyx_tp_dealloc_6schema__Value_BodyBuilder(PyObject *o) { - struct __pyx_obj_6schema__Value_BodyBuilder *p = (struct __pyx_obj_6schema__Value_BodyBuilder *)o; - p->thisptr.::capnp::schema::Value::Body::Builder::~Builder(); - (*Py_TYPE(o)->tp_free)(o); -} - -static PyObject *__pyx_getprop_6schema_18_Value_BodyBuilder_uint32Value(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_18_Value_BodyBuilder_11uint32Value_1__get__(o); -} - -static int __pyx_setprop_6schema_18_Value_BodyBuilder_uint32Value(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_18_Value_BodyBuilder_11uint32Value_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_18_Value_BodyBuilder_float64Value(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_18_Value_BodyBuilder_12float64Value_1__get__(o); -} - -static int __pyx_setprop_6schema_18_Value_BodyBuilder_float64Value(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_18_Value_BodyBuilder_12float64Value_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_18_Value_BodyBuilder_voidValue(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_18_Value_BodyBuilder_9voidValue_1__get__(o); -} - -static int __pyx_setprop_6schema_18_Value_BodyBuilder_voidValue(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_18_Value_BodyBuilder_9voidValue_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_18_Value_BodyBuilder_dataValue(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_18_Value_BodyBuilder_9dataValue_1__get__(o); -} - -static int __pyx_setprop_6schema_18_Value_BodyBuilder_dataValue(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_18_Value_BodyBuilder_9dataValue_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_18_Value_BodyBuilder_listValue(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_18_Value_BodyBuilder_9listValue_1__get__(o); -} - -static int __pyx_setprop_6schema_18_Value_BodyBuilder_listValue(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_18_Value_BodyBuilder_9listValue_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_18_Value_BodyBuilder_int32Value(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_18_Value_BodyBuilder_10int32Value_1__get__(o); -} - -static int __pyx_setprop_6schema_18_Value_BodyBuilder_int32Value(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_18_Value_BodyBuilder_10int32Value_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_18_Value_BodyBuilder_enumValue(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_18_Value_BodyBuilder_9enumValue_1__get__(o); -} - -static int __pyx_setprop_6schema_18_Value_BodyBuilder_enumValue(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_18_Value_BodyBuilder_9enumValue_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_18_Value_BodyBuilder_int8Value(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_18_Value_BodyBuilder_9int8Value_1__get__(o); -} - -static int __pyx_setprop_6schema_18_Value_BodyBuilder_int8Value(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_18_Value_BodyBuilder_9int8Value_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_18_Value_BodyBuilder_boolValue(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_18_Value_BodyBuilder_9boolValue_1__get__(o); -} - -static int __pyx_setprop_6schema_18_Value_BodyBuilder_boolValue(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_18_Value_BodyBuilder_9boolValue_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_18_Value_BodyBuilder_int16Value(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_18_Value_BodyBuilder_10int16Value_1__get__(o); -} - -static int __pyx_setprop_6schema_18_Value_BodyBuilder_int16Value(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_18_Value_BodyBuilder_10int16Value_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_18_Value_BodyBuilder_float32Value(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_18_Value_BodyBuilder_12float32Value_1__get__(o); -} - -static int __pyx_setprop_6schema_18_Value_BodyBuilder_float32Value(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_18_Value_BodyBuilder_12float32Value_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_18_Value_BodyBuilder_interfaceValue(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_18_Value_BodyBuilder_14interfaceValue_1__get__(o); -} - -static int __pyx_setprop_6schema_18_Value_BodyBuilder_interfaceValue(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_18_Value_BodyBuilder_14interfaceValue_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_18_Value_BodyBuilder_uint16Value(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_18_Value_BodyBuilder_11uint16Value_1__get__(o); -} - -static int __pyx_setprop_6schema_18_Value_BodyBuilder_uint16Value(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_18_Value_BodyBuilder_11uint16Value_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_18_Value_BodyBuilder_uint8Value(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_18_Value_BodyBuilder_10uint8Value_1__get__(o); -} - -static int __pyx_setprop_6schema_18_Value_BodyBuilder_uint8Value(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_18_Value_BodyBuilder_10uint8Value_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_18_Value_BodyBuilder_int64Value(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_18_Value_BodyBuilder_10int64Value_1__get__(o); -} - -static int __pyx_setprop_6schema_18_Value_BodyBuilder_int64Value(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_18_Value_BodyBuilder_10int64Value_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_18_Value_BodyBuilder_structValue(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_18_Value_BodyBuilder_11structValue_1__get__(o); -} - -static int __pyx_setprop_6schema_18_Value_BodyBuilder_structValue(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_18_Value_BodyBuilder_11structValue_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_18_Value_BodyBuilder_textValue(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_18_Value_BodyBuilder_9textValue_1__get__(o); -} - -static int __pyx_setprop_6schema_18_Value_BodyBuilder_textValue(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_18_Value_BodyBuilder_9textValue_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_18_Value_BodyBuilder_uint64Value(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_18_Value_BodyBuilder_11uint64Value_1__get__(o); -} - -static int __pyx_setprop_6schema_18_Value_BodyBuilder_uint64Value(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_18_Value_BodyBuilder_11uint64Value_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_18_Value_BodyBuilder_objectValue(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_18_Value_BodyBuilder_11objectValue_1__get__(o); -} - -static int __pyx_setprop_6schema_18_Value_BodyBuilder_objectValue(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_18_Value_BodyBuilder_11objectValue_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyMethodDef __pyx_methods_6schema__Value_BodyBuilder[] = { - {__Pyx_NAMESTR("which"), (PyCFunction)__pyx_pw_6schema_18_Value_BodyBuilder_1which, METH_NOARGS, __Pyx_DOCSTR(0)}, - {0, 0, 0, 0} -}; - -static struct PyGetSetDef __pyx_getsets_6schema__Value_BodyBuilder[] = { - {(char *)"uint32Value", __pyx_getprop_6schema_18_Value_BodyBuilder_uint32Value, __pyx_setprop_6schema_18_Value_BodyBuilder_uint32Value, 0, 0}, - {(char *)"float64Value", __pyx_getprop_6schema_18_Value_BodyBuilder_float64Value, __pyx_setprop_6schema_18_Value_BodyBuilder_float64Value, 0, 0}, - {(char *)"voidValue", __pyx_getprop_6schema_18_Value_BodyBuilder_voidValue, __pyx_setprop_6schema_18_Value_BodyBuilder_voidValue, 0, 0}, - {(char *)"dataValue", __pyx_getprop_6schema_18_Value_BodyBuilder_dataValue, __pyx_setprop_6schema_18_Value_BodyBuilder_dataValue, 0, 0}, - {(char *)"listValue", __pyx_getprop_6schema_18_Value_BodyBuilder_listValue, __pyx_setprop_6schema_18_Value_BodyBuilder_listValue, 0, 0}, - {(char *)"int32Value", __pyx_getprop_6schema_18_Value_BodyBuilder_int32Value, __pyx_setprop_6schema_18_Value_BodyBuilder_int32Value, 0, 0}, - {(char *)"enumValue", __pyx_getprop_6schema_18_Value_BodyBuilder_enumValue, __pyx_setprop_6schema_18_Value_BodyBuilder_enumValue, 0, 0}, - {(char *)"int8Value", __pyx_getprop_6schema_18_Value_BodyBuilder_int8Value, __pyx_setprop_6schema_18_Value_BodyBuilder_int8Value, 0, 0}, - {(char *)"boolValue", __pyx_getprop_6schema_18_Value_BodyBuilder_boolValue, __pyx_setprop_6schema_18_Value_BodyBuilder_boolValue, 0, 0}, - {(char *)"int16Value", __pyx_getprop_6schema_18_Value_BodyBuilder_int16Value, __pyx_setprop_6schema_18_Value_BodyBuilder_int16Value, 0, 0}, - {(char *)"float32Value", __pyx_getprop_6schema_18_Value_BodyBuilder_float32Value, __pyx_setprop_6schema_18_Value_BodyBuilder_float32Value, 0, 0}, - {(char *)"interfaceValue", __pyx_getprop_6schema_18_Value_BodyBuilder_interfaceValue, __pyx_setprop_6schema_18_Value_BodyBuilder_interfaceValue, 0, 0}, - {(char *)"uint16Value", __pyx_getprop_6schema_18_Value_BodyBuilder_uint16Value, __pyx_setprop_6schema_18_Value_BodyBuilder_uint16Value, 0, 0}, - {(char *)"uint8Value", __pyx_getprop_6schema_18_Value_BodyBuilder_uint8Value, __pyx_setprop_6schema_18_Value_BodyBuilder_uint8Value, 0, 0}, - {(char *)"int64Value", __pyx_getprop_6schema_18_Value_BodyBuilder_int64Value, __pyx_setprop_6schema_18_Value_BodyBuilder_int64Value, 0, 0}, - {(char *)"structValue", __pyx_getprop_6schema_18_Value_BodyBuilder_structValue, __pyx_setprop_6schema_18_Value_BodyBuilder_structValue, 0, 0}, - {(char *)"textValue", __pyx_getprop_6schema_18_Value_BodyBuilder_textValue, __pyx_setprop_6schema_18_Value_BodyBuilder_textValue, 0, 0}, - {(char *)"uint64Value", __pyx_getprop_6schema_18_Value_BodyBuilder_uint64Value, __pyx_setprop_6schema_18_Value_BodyBuilder_uint64Value, 0, 0}, - {(char *)"objectValue", __pyx_getprop_6schema_18_Value_BodyBuilder_objectValue, __pyx_setprop_6schema_18_Value_BodyBuilder_objectValue, 0, 0}, - {0, 0, 0, 0, 0} -}; - -static PyTypeObject __pyx_type_6schema__Value_BodyBuilder = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema._Value_BodyBuilder"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema__Value_BodyBuilder), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema__Value_BodyBuilder, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema__Value_BodyBuilder, /*tp_methods*/ - 0, /*tp_members*/ - __pyx_getsets_6schema__Value_BodyBuilder, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema__Value_BodyBuilder, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema__InterfaceNodeBuilder __pyx_vtable_6schema__InterfaceNodeBuilder; - -static PyObject *__pyx_tp_new_6schema__InterfaceNodeBuilder(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema__InterfaceNodeBuilder *p; - PyObject *o; - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema__InterfaceNodeBuilder *)o); - p->__pyx_vtab = __pyx_vtabptr_6schema__InterfaceNodeBuilder; - new((void*)&(p->thisptr)) ::capnp::schema::InterfaceNode::Builder(); - return o; -} - -static void __pyx_tp_dealloc_6schema__InterfaceNodeBuilder(PyObject *o) { - struct __pyx_obj_6schema__InterfaceNodeBuilder *p = (struct __pyx_obj_6schema__InterfaceNodeBuilder *)o; - p->thisptr.::capnp::schema::InterfaceNode::Builder::~Builder(); - (*Py_TYPE(o)->tp_free)(o); -} - -static PyObject *__pyx_getprop_6schema_21_InterfaceNodeBuilder_methods(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_21_InterfaceNodeBuilder_7methods_1__get__(o); -} - -static PyMethodDef __pyx_methods_6schema__InterfaceNodeBuilder[] = { - {__Pyx_NAMESTR("initMethods"), (PyCFunction)__pyx_pw_6schema_21_InterfaceNodeBuilder_1initMethods, METH_O, __Pyx_DOCSTR(0)}, - {0, 0, 0, 0} -}; - -static struct PyGetSetDef __pyx_getsets_6schema__InterfaceNodeBuilder[] = { - {(char *)"methods", __pyx_getprop_6schema_21_InterfaceNodeBuilder_methods, 0, 0, 0}, - {0, 0, 0, 0, 0} -}; - -static PyTypeObject __pyx_type_6schema__InterfaceNodeBuilder = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema._InterfaceNodeBuilder"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema__InterfaceNodeBuilder), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema__InterfaceNodeBuilder, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema__InterfaceNodeBuilder, /*tp_methods*/ - 0, /*tp_members*/ - __pyx_getsets_6schema__InterfaceNodeBuilder, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema__InterfaceNodeBuilder, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema__List_StructNode_Member_Annotation_Reader __pyx_vtable_6schema__List_StructNode_Member_Annotation_Reader; - -static PyObject *__pyx_tp_new_6schema__List_StructNode_Member_Annotation_Reader(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema__List_StructNode_Member_Annotation_Reader *p; - PyObject *o; - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema__List_StructNode_Member_Annotation_Reader *)o); - p->__pyx_vtab = __pyx_vtabptr_6schema__List_StructNode_Member_Annotation_Reader; - new((void*)&(p->thisptr)) ::capnp::List<::capnp::schema::Annotation>::Reader(); - return o; -} - -static void __pyx_tp_dealloc_6schema__List_StructNode_Member_Annotation_Reader(PyObject *o) { - struct __pyx_obj_6schema__List_StructNode_Member_Annotation_Reader *p = (struct __pyx_obj_6schema__List_StructNode_Member_Annotation_Reader *)o; - p->thisptr.::capnp::List<::capnp::schema::Annotation>::Reader::~Reader(); - (*Py_TYPE(o)->tp_free)(o); -} -static PyObject *__pyx_sq_item_6schema__List_StructNode_Member_Annotation_Reader(PyObject *o, Py_ssize_t i) { - PyObject *r; - PyObject *x = PyInt_FromSsize_t(i); if(!x) return 0; - r = Py_TYPE(o)->tp_as_mapping->mp_subscript(o, x); - Py_DECREF(x); - return r; -} - -static PyMethodDef __pyx_methods_6schema__List_StructNode_Member_Annotation_Reader[] = { - {0, 0, 0, 0} -}; - -static PySequenceMethods __pyx_tp_as_sequence__List_StructNode_Member_Annotation_Reader = { - __pyx_pw_6schema_41_List_StructNode_Member_Annotation_Reader_3__len__, /*sq_length*/ - 0, /*sq_concat*/ - 0, /*sq_repeat*/ - __pyx_sq_item_6schema__List_StructNode_Member_Annotation_Reader, /*sq_item*/ - 0, /*sq_slice*/ - 0, /*sq_ass_item*/ - 0, /*sq_ass_slice*/ - 0, /*sq_contains*/ - 0, /*sq_inplace_concat*/ - 0, /*sq_inplace_repeat*/ -}; - -static PyMappingMethods __pyx_tp_as_mapping__List_StructNode_Member_Annotation_Reader = { - __pyx_pw_6schema_41_List_StructNode_Member_Annotation_Reader_3__len__, /*mp_length*/ - __pyx_pw_6schema_41_List_StructNode_Member_Annotation_Reader_1__getitem__, /*mp_subscript*/ - 0, /*mp_ass_subscript*/ -}; - -static PyTypeObject __pyx_type_6schema__List_StructNode_Member_Annotation_Reader = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema._List_StructNode_Member_Annotation_Reader"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema__List_StructNode_Member_Annotation_Reader), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema__List_StructNode_Member_Annotation_Reader, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - &__pyx_tp_as_sequence__List_StructNode_Member_Annotation_Reader, /*tp_as_sequence*/ - &__pyx_tp_as_mapping__List_StructNode_Member_Annotation_Reader, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema__List_StructNode_Member_Annotation_Reader, /*tp_methods*/ - 0, /*tp_members*/ - 0, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema__List_StructNode_Member_Annotation_Reader, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema__Node_NestedNodeReader __pyx_vtable_6schema__Node_NestedNodeReader; - -static PyObject *__pyx_tp_new_6schema__Node_NestedNodeReader(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema__Node_NestedNodeReader *p; - PyObject *o; - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema__Node_NestedNodeReader *)o); - p->__pyx_vtab = __pyx_vtabptr_6schema__Node_NestedNodeReader; - new((void*)&(p->thisptr)) ::capnp::schema::Node::NestedNode::Reader(); - return o; -} - -static void __pyx_tp_dealloc_6schema__Node_NestedNodeReader(PyObject *o) { - struct __pyx_obj_6schema__Node_NestedNodeReader *p = (struct __pyx_obj_6schema__Node_NestedNodeReader *)o; - p->thisptr.::capnp::schema::Node::NestedNode::Reader::~Reader(); - (*Py_TYPE(o)->tp_free)(o); -} - -static PyObject *__pyx_getprop_6schema_22_Node_NestedNodeReader_name(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_22_Node_NestedNodeReader_4name_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_22_Node_NestedNodeReader_id(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_22_Node_NestedNodeReader_2id_1__get__(o); -} - -static PyMethodDef __pyx_methods_6schema__Node_NestedNodeReader[] = { - {0, 0, 0, 0} -}; - -static struct PyGetSetDef __pyx_getsets_6schema__Node_NestedNodeReader[] = { - {(char *)"name", __pyx_getprop_6schema_22_Node_NestedNodeReader_name, 0, 0, 0}, - {(char *)"id", __pyx_getprop_6schema_22_Node_NestedNodeReader_id, 0, 0, 0}, - {0, 0, 0, 0, 0} -}; - -static PyTypeObject __pyx_type_6schema__Node_NestedNodeReader = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema._Node_NestedNodeReader"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema__Node_NestedNodeReader), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema__Node_NestedNodeReader, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema__Node_NestedNodeReader, /*tp_methods*/ - 0, /*tp_members*/ - __pyx_getsets_6schema__Node_NestedNodeReader, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema__Node_NestedNodeReader, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema__StructNode_MemberBuilder __pyx_vtable_6schema__StructNode_MemberBuilder; - -static PyObject *__pyx_tp_new_6schema__StructNode_MemberBuilder(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema__StructNode_MemberBuilder *p; - PyObject *o; - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema__StructNode_MemberBuilder *)o); - p->__pyx_vtab = __pyx_vtabptr_6schema__StructNode_MemberBuilder; - new((void*)&(p->thisptr)) ::capnp::schema::StructNode::Member::Builder(); - return o; -} - -static void __pyx_tp_dealloc_6schema__StructNode_MemberBuilder(PyObject *o) { - struct __pyx_obj_6schema__StructNode_MemberBuilder *p = (struct __pyx_obj_6schema__StructNode_MemberBuilder *)o; - p->thisptr.::capnp::schema::StructNode::Member::Builder::~Builder(); - (*Py_TYPE(o)->tp_free)(o); -} - -static PyObject *__pyx_getprop_6schema_25_StructNode_MemberBuilder_ordinal(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_25_StructNode_MemberBuilder_7ordinal_1__get__(o); -} - -static int __pyx_setprop_6schema_25_StructNode_MemberBuilder_ordinal(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_25_StructNode_MemberBuilder_7ordinal_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_25_StructNode_MemberBuilder_body(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_25_StructNode_MemberBuilder_4body_1__get__(o); -} - -static int __pyx_setprop_6schema_25_StructNode_MemberBuilder_body(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_25_StructNode_MemberBuilder_4body_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_25_StructNode_MemberBuilder_codeOrder(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_25_StructNode_MemberBuilder_9codeOrder_1__get__(o); -} - -static int __pyx_setprop_6schema_25_StructNode_MemberBuilder_codeOrder(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_25_StructNode_MemberBuilder_9codeOrder_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_25_StructNode_MemberBuilder_name(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_25_StructNode_MemberBuilder_4name_1__get__(o); -} - -static int __pyx_setprop_6schema_25_StructNode_MemberBuilder_name(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_25_StructNode_MemberBuilder_4name_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_25_StructNode_MemberBuilder_annotations(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_25_StructNode_MemberBuilder_11annotations_1__get__(o); -} - -static PyMethodDef __pyx_methods_6schema__StructNode_MemberBuilder[] = { - {__Pyx_NAMESTR("initAnnotations"), (PyCFunction)__pyx_pw_6schema_25_StructNode_MemberBuilder_1initAnnotations, METH_O, __Pyx_DOCSTR(0)}, - {0, 0, 0, 0} -}; - -static struct PyGetSetDef __pyx_getsets_6schema__StructNode_MemberBuilder[] = { - {(char *)"ordinal", __pyx_getprop_6schema_25_StructNode_MemberBuilder_ordinal, __pyx_setprop_6schema_25_StructNode_MemberBuilder_ordinal, 0, 0}, - {(char *)"body", __pyx_getprop_6schema_25_StructNode_MemberBuilder_body, __pyx_setprop_6schema_25_StructNode_MemberBuilder_body, 0, 0}, - {(char *)"codeOrder", __pyx_getprop_6schema_25_StructNode_MemberBuilder_codeOrder, __pyx_setprop_6schema_25_StructNode_MemberBuilder_codeOrder, 0, 0}, - {(char *)"name", __pyx_getprop_6schema_25_StructNode_MemberBuilder_name, __pyx_setprop_6schema_25_StructNode_MemberBuilder_name, 0, 0}, - {(char *)"annotations", __pyx_getprop_6schema_25_StructNode_MemberBuilder_annotations, 0, 0, 0}, - {0, 0, 0, 0, 0} -}; - -static PyTypeObject __pyx_type_6schema__StructNode_MemberBuilder = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema._StructNode_MemberBuilder"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema__StructNode_MemberBuilder), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema__StructNode_MemberBuilder, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema__StructNode_MemberBuilder, /*tp_methods*/ - 0, /*tp_members*/ - __pyx_getsets_6schema__StructNode_MemberBuilder, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema__StructNode_MemberBuilder, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema__List_UInt64_Reader __pyx_vtable_6schema__List_UInt64_Reader; - -static PyObject *__pyx_tp_new_6schema__List_UInt64_Reader(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema__List_UInt64_Reader *p; - PyObject *o; - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema__List_UInt64_Reader *)o); - p->__pyx_vtab = __pyx_vtabptr_6schema__List_UInt64_Reader; - new((void*)&(p->thisptr)) ::capnp::List<__pyx_t_6schema_UInt64>::Reader(); - return o; -} - -static void __pyx_tp_dealloc_6schema__List_UInt64_Reader(PyObject *o) { - struct __pyx_obj_6schema__List_UInt64_Reader *p = (struct __pyx_obj_6schema__List_UInt64_Reader *)o; - p->thisptr.::capnp::List<__pyx_t_6schema_UInt64>::Reader::~Reader(); - (*Py_TYPE(o)->tp_free)(o); -} -static PyObject *__pyx_sq_item_6schema__List_UInt64_Reader(PyObject *o, Py_ssize_t i) { - PyObject *r; - PyObject *x = PyInt_FromSsize_t(i); if(!x) return 0; - r = Py_TYPE(o)->tp_as_mapping->mp_subscript(o, x); - Py_DECREF(x); - return r; -} - -static PyMethodDef __pyx_methods_6schema__List_UInt64_Reader[] = { - {0, 0, 0, 0} -}; - -static PySequenceMethods __pyx_tp_as_sequence__List_UInt64_Reader = { - __pyx_pw_6schema_19_List_UInt64_Reader_3__len__, /*sq_length*/ - 0, /*sq_concat*/ - 0, /*sq_repeat*/ - __pyx_sq_item_6schema__List_UInt64_Reader, /*sq_item*/ - 0, /*sq_slice*/ - 0, /*sq_ass_item*/ - 0, /*sq_ass_slice*/ - 0, /*sq_contains*/ - 0, /*sq_inplace_concat*/ - 0, /*sq_inplace_repeat*/ -}; - -static PyMappingMethods __pyx_tp_as_mapping__List_UInt64_Reader = { - __pyx_pw_6schema_19_List_UInt64_Reader_3__len__, /*mp_length*/ - __pyx_pw_6schema_19_List_UInt64_Reader_1__getitem__, /*mp_subscript*/ - 0, /*mp_ass_subscript*/ -}; - -static PyTypeObject __pyx_type_6schema__List_UInt64_Reader = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema._List_UInt64_Reader"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema__List_UInt64_Reader), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema__List_UInt64_Reader, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - &__pyx_tp_as_sequence__List_UInt64_Reader, /*tp_as_sequence*/ - &__pyx_tp_as_mapping__List_UInt64_Reader, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema__List_UInt64_Reader, /*tp_methods*/ - 0, /*tp_members*/ - 0, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema__List_UInt64_Reader, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema__List_InterfaceNode_Method_Annotation_Builder __pyx_vtable_6schema__List_InterfaceNode_Method_Annotation_Builder; - -static PyObject *__pyx_tp_new_6schema__List_InterfaceNode_Method_Annotation_Builder(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema__List_InterfaceNode_Method_Annotation_Builder *p; - PyObject *o; - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema__List_InterfaceNode_Method_Annotation_Builder *)o); - p->__pyx_vtab = __pyx_vtabptr_6schema__List_InterfaceNode_Method_Annotation_Builder; - new((void*)&(p->thisptr)) ::capnp::List<::capnp::schema::Annotation>::Builder(); - return o; -} - -static void __pyx_tp_dealloc_6schema__List_InterfaceNode_Method_Annotation_Builder(PyObject *o) { - struct __pyx_obj_6schema__List_InterfaceNode_Method_Annotation_Builder *p = (struct __pyx_obj_6schema__List_InterfaceNode_Method_Annotation_Builder *)o; - p->thisptr.::capnp::List<::capnp::schema::Annotation>::Builder::~Builder(); - (*Py_TYPE(o)->tp_free)(o); -} -static PyObject *__pyx_sq_item_6schema__List_InterfaceNode_Method_Annotation_Builder(PyObject *o, Py_ssize_t i) { - PyObject *r; - PyObject *x = PyInt_FromSsize_t(i); if(!x) return 0; - r = Py_TYPE(o)->tp_as_mapping->mp_subscript(o, x); - Py_DECREF(x); - return r; -} - -static PyMethodDef __pyx_methods_6schema__List_InterfaceNode_Method_Annotation_Builder[] = { - {0, 0, 0, 0} -}; - -static PySequenceMethods __pyx_tp_as_sequence__List_InterfaceNode_Method_Annotation_Builder = { - __pyx_pw_6schema_45_List_InterfaceNode_Method_Annotation_Builder_3__len__, /*sq_length*/ - 0, /*sq_concat*/ - 0, /*sq_repeat*/ - __pyx_sq_item_6schema__List_InterfaceNode_Method_Annotation_Builder, /*sq_item*/ - 0, /*sq_slice*/ - 0, /*sq_ass_item*/ - 0, /*sq_ass_slice*/ - 0, /*sq_contains*/ - 0, /*sq_inplace_concat*/ - 0, /*sq_inplace_repeat*/ -}; - -static PyMappingMethods __pyx_tp_as_mapping__List_InterfaceNode_Method_Annotation_Builder = { - __pyx_pw_6schema_45_List_InterfaceNode_Method_Annotation_Builder_3__len__, /*mp_length*/ - __pyx_pw_6schema_45_List_InterfaceNode_Method_Annotation_Builder_1__getitem__, /*mp_subscript*/ - 0, /*mp_ass_subscript*/ -}; - -static PyTypeObject __pyx_type_6schema__List_InterfaceNode_Method_Annotation_Builder = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema._List_InterfaceNode_Method_Annotation_Builder"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema__List_InterfaceNode_Method_Annotation_Builder), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema__List_InterfaceNode_Method_Annotation_Builder, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - &__pyx_tp_as_sequence__List_InterfaceNode_Method_Annotation_Builder, /*tp_as_sequence*/ - &__pyx_tp_as_mapping__List_InterfaceNode_Method_Annotation_Builder, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema__List_InterfaceNode_Method_Annotation_Builder, /*tp_methods*/ - 0, /*tp_members*/ - 0, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema__List_InterfaceNode_Method_Annotation_Builder, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema__List_InterfaceNode_Method_Annotation_Reader __pyx_vtable_6schema__List_InterfaceNode_Method_Annotation_Reader; - -static PyObject *__pyx_tp_new_6schema__List_InterfaceNode_Method_Annotation_Reader(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema__List_InterfaceNode_Method_Annotation_Reader *p; - PyObject *o; - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema__List_InterfaceNode_Method_Annotation_Reader *)o); - p->__pyx_vtab = __pyx_vtabptr_6schema__List_InterfaceNode_Method_Annotation_Reader; - new((void*)&(p->thisptr)) ::capnp::List<::capnp::schema::Annotation>::Reader(); - return o; -} - -static void __pyx_tp_dealloc_6schema__List_InterfaceNode_Method_Annotation_Reader(PyObject *o) { - struct __pyx_obj_6schema__List_InterfaceNode_Method_Annotation_Reader *p = (struct __pyx_obj_6schema__List_InterfaceNode_Method_Annotation_Reader *)o; - p->thisptr.::capnp::List<::capnp::schema::Annotation>::Reader::~Reader(); - (*Py_TYPE(o)->tp_free)(o); -} -static PyObject *__pyx_sq_item_6schema__List_InterfaceNode_Method_Annotation_Reader(PyObject *o, Py_ssize_t i) { - PyObject *r; - PyObject *x = PyInt_FromSsize_t(i); if(!x) return 0; - r = Py_TYPE(o)->tp_as_mapping->mp_subscript(o, x); - Py_DECREF(x); - return r; -} - -static PyMethodDef __pyx_methods_6schema__List_InterfaceNode_Method_Annotation_Reader[] = { - {0, 0, 0, 0} -}; - -static PySequenceMethods __pyx_tp_as_sequence__List_InterfaceNode_Method_Annotation_Reader = { - __pyx_pw_6schema_44_List_InterfaceNode_Method_Annotation_Reader_3__len__, /*sq_length*/ - 0, /*sq_concat*/ - 0, /*sq_repeat*/ - __pyx_sq_item_6schema__List_InterfaceNode_Method_Annotation_Reader, /*sq_item*/ - 0, /*sq_slice*/ - 0, /*sq_ass_item*/ - 0, /*sq_ass_slice*/ - 0, /*sq_contains*/ - 0, /*sq_inplace_concat*/ - 0, /*sq_inplace_repeat*/ -}; - -static PyMappingMethods __pyx_tp_as_mapping__List_InterfaceNode_Method_Annotation_Reader = { - __pyx_pw_6schema_44_List_InterfaceNode_Method_Annotation_Reader_3__len__, /*mp_length*/ - __pyx_pw_6schema_44_List_InterfaceNode_Method_Annotation_Reader_1__getitem__, /*mp_subscript*/ - 0, /*mp_ass_subscript*/ -}; - -static PyTypeObject __pyx_type_6schema__List_InterfaceNode_Method_Annotation_Reader = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema._List_InterfaceNode_Method_Annotation_Reader"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema__List_InterfaceNode_Method_Annotation_Reader), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema__List_InterfaceNode_Method_Annotation_Reader, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - &__pyx_tp_as_sequence__List_InterfaceNode_Method_Annotation_Reader, /*tp_as_sequence*/ - &__pyx_tp_as_mapping__List_InterfaceNode_Method_Annotation_Reader, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema__List_InterfaceNode_Method_Annotation_Reader, /*tp_methods*/ - 0, /*tp_members*/ - 0, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema__List_InterfaceNode_Method_Annotation_Reader, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema__List_StructNode_Union_StructNode_Member_Reader __pyx_vtable_6schema__List_StructNode_Union_StructNode_Member_Reader; - -static PyObject *__pyx_tp_new_6schema__List_StructNode_Union_StructNode_Member_Reader(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema__List_StructNode_Union_StructNode_Member_Reader *p; - PyObject *o; - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema__List_StructNode_Union_StructNode_Member_Reader *)o); - p->__pyx_vtab = __pyx_vtabptr_6schema__List_StructNode_Union_StructNode_Member_Reader; - new((void*)&(p->thisptr)) ::capnp::List<::capnp::schema::StructNode::Member>::Reader(); - return o; -} - -static void __pyx_tp_dealloc_6schema__List_StructNode_Union_StructNode_Member_Reader(PyObject *o) { - struct __pyx_obj_6schema__List_StructNode_Union_StructNode_Member_Reader *p = (struct __pyx_obj_6schema__List_StructNode_Union_StructNode_Member_Reader *)o; - p->thisptr.::capnp::List<::capnp::schema::StructNode::Member>::Reader::~Reader(); - (*Py_TYPE(o)->tp_free)(o); -} -static PyObject *__pyx_sq_item_6schema__List_StructNode_Union_StructNode_Member_Reader(PyObject *o, Py_ssize_t i) { - PyObject *r; - PyObject *x = PyInt_FromSsize_t(i); if(!x) return 0; - r = Py_TYPE(o)->tp_as_mapping->mp_subscript(o, x); - Py_DECREF(x); - return r; -} - -static PyMethodDef __pyx_methods_6schema__List_StructNode_Union_StructNode_Member_Reader[] = { - {0, 0, 0, 0} -}; - -static PySequenceMethods __pyx_tp_as_sequence__List_StructNode_Union_StructNode_Member_Reader = { - __pyx_pw_6schema_47_List_StructNode_Union_StructNode_Member_Reader_3__len__, /*sq_length*/ - 0, /*sq_concat*/ - 0, /*sq_repeat*/ - __pyx_sq_item_6schema__List_StructNode_Union_StructNode_Member_Reader, /*sq_item*/ - 0, /*sq_slice*/ - 0, /*sq_ass_item*/ - 0, /*sq_ass_slice*/ - 0, /*sq_contains*/ - 0, /*sq_inplace_concat*/ - 0, /*sq_inplace_repeat*/ -}; - -static PyMappingMethods __pyx_tp_as_mapping__List_StructNode_Union_StructNode_Member_Reader = { - __pyx_pw_6schema_47_List_StructNode_Union_StructNode_Member_Reader_3__len__, /*mp_length*/ - __pyx_pw_6schema_47_List_StructNode_Union_StructNode_Member_Reader_1__getitem__, /*mp_subscript*/ - 0, /*mp_ass_subscript*/ -}; - -static PyTypeObject __pyx_type_6schema__List_StructNode_Union_StructNode_Member_Reader = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema._List_StructNode_Union_StructNode_Member_Reader"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema__List_StructNode_Union_StructNode_Member_Reader), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema__List_StructNode_Union_StructNode_Member_Reader, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - &__pyx_tp_as_sequence__List_StructNode_Union_StructNode_Member_Reader, /*tp_as_sequence*/ - &__pyx_tp_as_mapping__List_StructNode_Union_StructNode_Member_Reader, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema__List_StructNode_Union_StructNode_Member_Reader, /*tp_methods*/ - 0, /*tp_members*/ - 0, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema__List_StructNode_Union_StructNode_Member_Reader, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema__AnnotationNodeBuilder __pyx_vtable_6schema__AnnotationNodeBuilder; - -static PyObject *__pyx_tp_new_6schema__AnnotationNodeBuilder(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema__AnnotationNodeBuilder *p; - PyObject *o; - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema__AnnotationNodeBuilder *)o); - p->__pyx_vtab = __pyx_vtabptr_6schema__AnnotationNodeBuilder; - new((void*)&(p->thisptr)) ::capnp::schema::AnnotationNode::Builder(); - return o; -} - -static void __pyx_tp_dealloc_6schema__AnnotationNodeBuilder(PyObject *o) { - struct __pyx_obj_6schema__AnnotationNodeBuilder *p = (struct __pyx_obj_6schema__AnnotationNodeBuilder *)o; - p->thisptr.::capnp::schema::AnnotationNode::Builder::~Builder(); - (*Py_TYPE(o)->tp_free)(o); -} - -static PyObject *__pyx_getprop_6schema_22_AnnotationNodeBuilder_targetsField(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_22_AnnotationNodeBuilder_12targetsField_1__get__(o); -} - -static int __pyx_setprop_6schema_22_AnnotationNodeBuilder_targetsField(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_22_AnnotationNodeBuilder_12targetsField_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_22_AnnotationNodeBuilder_targetsConst(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_22_AnnotationNodeBuilder_12targetsConst_1__get__(o); -} - -static int __pyx_setprop_6schema_22_AnnotationNodeBuilder_targetsConst(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_22_AnnotationNodeBuilder_12targetsConst_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_22_AnnotationNodeBuilder_targetsFile(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_22_AnnotationNodeBuilder_11targetsFile_1__get__(o); -} - -static int __pyx_setprop_6schema_22_AnnotationNodeBuilder_targetsFile(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_22_AnnotationNodeBuilder_11targetsFile_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_22_AnnotationNodeBuilder_targetsStruct(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_22_AnnotationNodeBuilder_13targetsStruct_1__get__(o); -} - -static int __pyx_setprop_6schema_22_AnnotationNodeBuilder_targetsStruct(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_22_AnnotationNodeBuilder_13targetsStruct_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_22_AnnotationNodeBuilder_targetsParam(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_22_AnnotationNodeBuilder_12targetsParam_1__get__(o); -} - -static int __pyx_setprop_6schema_22_AnnotationNodeBuilder_targetsParam(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_22_AnnotationNodeBuilder_12targetsParam_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_22_AnnotationNodeBuilder_targetsUnion(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_22_AnnotationNodeBuilder_12targetsUnion_1__get__(o); -} - -static int __pyx_setprop_6schema_22_AnnotationNodeBuilder_targetsUnion(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_22_AnnotationNodeBuilder_12targetsUnion_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_22_AnnotationNodeBuilder_targetsAnnotation(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_22_AnnotationNodeBuilder_17targetsAnnotation_1__get__(o); -} - -static int __pyx_setprop_6schema_22_AnnotationNodeBuilder_targetsAnnotation(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_22_AnnotationNodeBuilder_17targetsAnnotation_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_22_AnnotationNodeBuilder_targetsEnumerant(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_22_AnnotationNodeBuilder_16targetsEnumerant_1__get__(o); -} - -static int __pyx_setprop_6schema_22_AnnotationNodeBuilder_targetsEnumerant(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_22_AnnotationNodeBuilder_16targetsEnumerant_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_22_AnnotationNodeBuilder_type(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_22_AnnotationNodeBuilder_4type_1__get__(o); -} - -static int __pyx_setprop_6schema_22_AnnotationNodeBuilder_type(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_22_AnnotationNodeBuilder_4type_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_22_AnnotationNodeBuilder_targetsEnum(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_22_AnnotationNodeBuilder_11targetsEnum_1__get__(o); -} - -static int __pyx_setprop_6schema_22_AnnotationNodeBuilder_targetsEnum(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_22_AnnotationNodeBuilder_11targetsEnum_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_22_AnnotationNodeBuilder_targetsInterface(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_22_AnnotationNodeBuilder_16targetsInterface_1__get__(o); -} - -static int __pyx_setprop_6schema_22_AnnotationNodeBuilder_targetsInterface(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_22_AnnotationNodeBuilder_16targetsInterface_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_22_AnnotationNodeBuilder_targetsMethod(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_22_AnnotationNodeBuilder_13targetsMethod_1__get__(o); -} - -static int __pyx_setprop_6schema_22_AnnotationNodeBuilder_targetsMethod(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_22_AnnotationNodeBuilder_13targetsMethod_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyMethodDef __pyx_methods_6schema__AnnotationNodeBuilder[] = { - {0, 0, 0, 0} -}; - -static struct PyGetSetDef __pyx_getsets_6schema__AnnotationNodeBuilder[] = { - {(char *)"targetsField", __pyx_getprop_6schema_22_AnnotationNodeBuilder_targetsField, __pyx_setprop_6schema_22_AnnotationNodeBuilder_targetsField, 0, 0}, - {(char *)"targetsConst", __pyx_getprop_6schema_22_AnnotationNodeBuilder_targetsConst, __pyx_setprop_6schema_22_AnnotationNodeBuilder_targetsConst, 0, 0}, - {(char *)"targetsFile", __pyx_getprop_6schema_22_AnnotationNodeBuilder_targetsFile, __pyx_setprop_6schema_22_AnnotationNodeBuilder_targetsFile, 0, 0}, - {(char *)"targetsStruct", __pyx_getprop_6schema_22_AnnotationNodeBuilder_targetsStruct, __pyx_setprop_6schema_22_AnnotationNodeBuilder_targetsStruct, 0, 0}, - {(char *)"targetsParam", __pyx_getprop_6schema_22_AnnotationNodeBuilder_targetsParam, __pyx_setprop_6schema_22_AnnotationNodeBuilder_targetsParam, 0, 0}, - {(char *)"targetsUnion", __pyx_getprop_6schema_22_AnnotationNodeBuilder_targetsUnion, __pyx_setprop_6schema_22_AnnotationNodeBuilder_targetsUnion, 0, 0}, - {(char *)"targetsAnnotation", __pyx_getprop_6schema_22_AnnotationNodeBuilder_targetsAnnotation, __pyx_setprop_6schema_22_AnnotationNodeBuilder_targetsAnnotation, 0, 0}, - {(char *)"targetsEnumerant", __pyx_getprop_6schema_22_AnnotationNodeBuilder_targetsEnumerant, __pyx_setprop_6schema_22_AnnotationNodeBuilder_targetsEnumerant, 0, 0}, - {(char *)"type", __pyx_getprop_6schema_22_AnnotationNodeBuilder_type, __pyx_setprop_6schema_22_AnnotationNodeBuilder_type, 0, 0}, - {(char *)"targetsEnum", __pyx_getprop_6schema_22_AnnotationNodeBuilder_targetsEnum, __pyx_setprop_6schema_22_AnnotationNodeBuilder_targetsEnum, 0, 0}, - {(char *)"targetsInterface", __pyx_getprop_6schema_22_AnnotationNodeBuilder_targetsInterface, __pyx_setprop_6schema_22_AnnotationNodeBuilder_targetsInterface, 0, 0}, - {(char *)"targetsMethod", __pyx_getprop_6schema_22_AnnotationNodeBuilder_targetsMethod, __pyx_setprop_6schema_22_AnnotationNodeBuilder_targetsMethod, 0, 0}, - {0, 0, 0, 0, 0} -}; - -static PyTypeObject __pyx_type_6schema__AnnotationNodeBuilder = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema._AnnotationNodeBuilder"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema__AnnotationNodeBuilder), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema__AnnotationNodeBuilder, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema__AnnotationNodeBuilder, /*tp_methods*/ - 0, /*tp_members*/ - __pyx_getsets_6schema__AnnotationNodeBuilder, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema__AnnotationNodeBuilder, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema__List_EnumNode_Enumerant_Annotation_Builder __pyx_vtable_6schema__List_EnumNode_Enumerant_Annotation_Builder; - -static PyObject *__pyx_tp_new_6schema__List_EnumNode_Enumerant_Annotation_Builder(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema__List_EnumNode_Enumerant_Annotation_Builder *p; - PyObject *o; - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema__List_EnumNode_Enumerant_Annotation_Builder *)o); - p->__pyx_vtab = __pyx_vtabptr_6schema__List_EnumNode_Enumerant_Annotation_Builder; - new((void*)&(p->thisptr)) ::capnp::List<::capnp::schema::Annotation>::Builder(); - return o; -} - -static void __pyx_tp_dealloc_6schema__List_EnumNode_Enumerant_Annotation_Builder(PyObject *o) { - struct __pyx_obj_6schema__List_EnumNode_Enumerant_Annotation_Builder *p = (struct __pyx_obj_6schema__List_EnumNode_Enumerant_Annotation_Builder *)o; - p->thisptr.::capnp::List<::capnp::schema::Annotation>::Builder::~Builder(); - (*Py_TYPE(o)->tp_free)(o); -} -static PyObject *__pyx_sq_item_6schema__List_EnumNode_Enumerant_Annotation_Builder(PyObject *o, Py_ssize_t i) { - PyObject *r; - PyObject *x = PyInt_FromSsize_t(i); if(!x) return 0; - r = Py_TYPE(o)->tp_as_mapping->mp_subscript(o, x); - Py_DECREF(x); - return r; -} - -static PyMethodDef __pyx_methods_6schema__List_EnumNode_Enumerant_Annotation_Builder[] = { - {0, 0, 0, 0} -}; - -static PySequenceMethods __pyx_tp_as_sequence__List_EnumNode_Enumerant_Annotation_Builder = { - __pyx_pw_6schema_43_List_EnumNode_Enumerant_Annotation_Builder_3__len__, /*sq_length*/ - 0, /*sq_concat*/ - 0, /*sq_repeat*/ - __pyx_sq_item_6schema__List_EnumNode_Enumerant_Annotation_Builder, /*sq_item*/ - 0, /*sq_slice*/ - 0, /*sq_ass_item*/ - 0, /*sq_ass_slice*/ - 0, /*sq_contains*/ - 0, /*sq_inplace_concat*/ - 0, /*sq_inplace_repeat*/ -}; - -static PyMappingMethods __pyx_tp_as_mapping__List_EnumNode_Enumerant_Annotation_Builder = { - __pyx_pw_6schema_43_List_EnumNode_Enumerant_Annotation_Builder_3__len__, /*mp_length*/ - __pyx_pw_6schema_43_List_EnumNode_Enumerant_Annotation_Builder_1__getitem__, /*mp_subscript*/ - 0, /*mp_ass_subscript*/ -}; - -static PyTypeObject __pyx_type_6schema__List_EnumNode_Enumerant_Annotation_Builder = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema._List_EnumNode_Enumerant_Annotation_Builder"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema__List_EnumNode_Enumerant_Annotation_Builder), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema__List_EnumNode_Enumerant_Annotation_Builder, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - &__pyx_tp_as_sequence__List_EnumNode_Enumerant_Annotation_Builder, /*tp_as_sequence*/ - &__pyx_tp_as_mapping__List_EnumNode_Enumerant_Annotation_Builder, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema__List_EnumNode_Enumerant_Annotation_Builder, /*tp_methods*/ - 0, /*tp_members*/ - 0, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema__List_EnumNode_Enumerant_Annotation_Builder, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema__Value_BodyReader __pyx_vtable_6schema__Value_BodyReader; - -static PyObject *__pyx_tp_new_6schema__Value_BodyReader(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema__Value_BodyReader *p; - PyObject *o; - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema__Value_BodyReader *)o); - p->__pyx_vtab = __pyx_vtabptr_6schema__Value_BodyReader; - new((void*)&(p->thisptr)) ::capnp::schema::Value::Body::Reader(); - return o; -} - -static void __pyx_tp_dealloc_6schema__Value_BodyReader(PyObject *o) { - struct __pyx_obj_6schema__Value_BodyReader *p = (struct __pyx_obj_6schema__Value_BodyReader *)o; - p->thisptr.::capnp::schema::Value::Body::Reader::~Reader(); - (*Py_TYPE(o)->tp_free)(o); -} - -static PyObject *__pyx_getprop_6schema_17_Value_BodyReader_uint32Value(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_17_Value_BodyReader_11uint32Value_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_17_Value_BodyReader_float64Value(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_17_Value_BodyReader_12float64Value_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_17_Value_BodyReader_voidValue(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_17_Value_BodyReader_9voidValue_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_17_Value_BodyReader_dataValue(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_17_Value_BodyReader_9dataValue_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_17_Value_BodyReader_listValue(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_17_Value_BodyReader_9listValue_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_17_Value_BodyReader_int32Value(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_17_Value_BodyReader_10int32Value_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_17_Value_BodyReader_enumValue(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_17_Value_BodyReader_9enumValue_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_17_Value_BodyReader_int8Value(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_17_Value_BodyReader_9int8Value_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_17_Value_BodyReader_boolValue(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_17_Value_BodyReader_9boolValue_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_17_Value_BodyReader_int16Value(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_17_Value_BodyReader_10int16Value_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_17_Value_BodyReader_float32Value(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_17_Value_BodyReader_12float32Value_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_17_Value_BodyReader_interfaceValue(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_17_Value_BodyReader_14interfaceValue_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_17_Value_BodyReader_uint16Value(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_17_Value_BodyReader_11uint16Value_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_17_Value_BodyReader_uint8Value(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_17_Value_BodyReader_10uint8Value_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_17_Value_BodyReader_int64Value(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_17_Value_BodyReader_10int64Value_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_17_Value_BodyReader_structValue(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_17_Value_BodyReader_11structValue_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_17_Value_BodyReader_textValue(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_17_Value_BodyReader_9textValue_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_17_Value_BodyReader_uint64Value(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_17_Value_BodyReader_11uint64Value_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_17_Value_BodyReader_objectValue(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_17_Value_BodyReader_11objectValue_1__get__(o); -} - -static PyMethodDef __pyx_methods_6schema__Value_BodyReader[] = { - {__Pyx_NAMESTR("which"), (PyCFunction)__pyx_pw_6schema_17_Value_BodyReader_1which, METH_NOARGS, __Pyx_DOCSTR(0)}, - {0, 0, 0, 0} -}; - -static struct PyGetSetDef __pyx_getsets_6schema__Value_BodyReader[] = { - {(char *)"uint32Value", __pyx_getprop_6schema_17_Value_BodyReader_uint32Value, 0, 0, 0}, - {(char *)"float64Value", __pyx_getprop_6schema_17_Value_BodyReader_float64Value, 0, 0, 0}, - {(char *)"voidValue", __pyx_getprop_6schema_17_Value_BodyReader_voidValue, 0, 0, 0}, - {(char *)"dataValue", __pyx_getprop_6schema_17_Value_BodyReader_dataValue, 0, 0, 0}, - {(char *)"listValue", __pyx_getprop_6schema_17_Value_BodyReader_listValue, 0, 0, 0}, - {(char *)"int32Value", __pyx_getprop_6schema_17_Value_BodyReader_int32Value, 0, 0, 0}, - {(char *)"enumValue", __pyx_getprop_6schema_17_Value_BodyReader_enumValue, 0, 0, 0}, - {(char *)"int8Value", __pyx_getprop_6schema_17_Value_BodyReader_int8Value, 0, 0, 0}, - {(char *)"boolValue", __pyx_getprop_6schema_17_Value_BodyReader_boolValue, 0, 0, 0}, - {(char *)"int16Value", __pyx_getprop_6schema_17_Value_BodyReader_int16Value, 0, 0, 0}, - {(char *)"float32Value", __pyx_getprop_6schema_17_Value_BodyReader_float32Value, 0, 0, 0}, - {(char *)"interfaceValue", __pyx_getprop_6schema_17_Value_BodyReader_interfaceValue, 0, 0, 0}, - {(char *)"uint16Value", __pyx_getprop_6schema_17_Value_BodyReader_uint16Value, 0, 0, 0}, - {(char *)"uint8Value", __pyx_getprop_6schema_17_Value_BodyReader_uint8Value, 0, 0, 0}, - {(char *)"int64Value", __pyx_getprop_6schema_17_Value_BodyReader_int64Value, 0, 0, 0}, - {(char *)"structValue", __pyx_getprop_6schema_17_Value_BodyReader_structValue, 0, 0, 0}, - {(char *)"textValue", __pyx_getprop_6schema_17_Value_BodyReader_textValue, 0, 0, 0}, - {(char *)"uint64Value", __pyx_getprop_6schema_17_Value_BodyReader_uint64Value, 0, 0, 0}, - {(char *)"objectValue", __pyx_getprop_6schema_17_Value_BodyReader_objectValue, 0, 0, 0}, - {0, 0, 0, 0, 0} -}; - -static PyTypeObject __pyx_type_6schema__Value_BodyReader = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema._Value_BodyReader"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema__Value_BodyReader), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema__Value_BodyReader, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema__Value_BodyReader, /*tp_methods*/ - 0, /*tp_members*/ - __pyx_getsets_6schema__Value_BodyReader, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema__Value_BodyReader, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema__StructNode_FieldReader __pyx_vtable_6schema__StructNode_FieldReader; - -static PyObject *__pyx_tp_new_6schema__StructNode_FieldReader(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema__StructNode_FieldReader *p; - PyObject *o; - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema__StructNode_FieldReader *)o); - p->__pyx_vtab = __pyx_vtabptr_6schema__StructNode_FieldReader; - new((void*)&(p->thisptr)) ::capnp::schema::StructNode::Field::Reader(); - return o; -} - -static void __pyx_tp_dealloc_6schema__StructNode_FieldReader(PyObject *o) { - struct __pyx_obj_6schema__StructNode_FieldReader *p = (struct __pyx_obj_6schema__StructNode_FieldReader *)o; - p->thisptr.::capnp::schema::StructNode::Field::Reader::~Reader(); - (*Py_TYPE(o)->tp_free)(o); -} - -static PyObject *__pyx_getprop_6schema_23_StructNode_FieldReader_defaultValue(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_23_StructNode_FieldReader_12defaultValue_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_23_StructNode_FieldReader_type(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_23_StructNode_FieldReader_4type_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_23_StructNode_FieldReader_offset(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_23_StructNode_FieldReader_6offset_1__get__(o); -} - -static PyMethodDef __pyx_methods_6schema__StructNode_FieldReader[] = { - {0, 0, 0, 0} -}; - -static struct PyGetSetDef __pyx_getsets_6schema__StructNode_FieldReader[] = { - {(char *)"defaultValue", __pyx_getprop_6schema_23_StructNode_FieldReader_defaultValue, 0, 0, 0}, - {(char *)"type", __pyx_getprop_6schema_23_StructNode_FieldReader_type, 0, 0, 0}, - {(char *)"offset", __pyx_getprop_6schema_23_StructNode_FieldReader_offset, 0, 0, 0}, - {0, 0, 0, 0, 0} -}; - -static PyTypeObject __pyx_type_6schema__StructNode_FieldReader = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema._StructNode_FieldReader"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema__StructNode_FieldReader), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema__StructNode_FieldReader, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema__StructNode_FieldReader, /*tp_methods*/ - 0, /*tp_members*/ - __pyx_getsets_6schema__StructNode_FieldReader, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema__StructNode_FieldReader, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema__List_Node_Annotation_Reader __pyx_vtable_6schema__List_Node_Annotation_Reader; - -static PyObject *__pyx_tp_new_6schema__List_Node_Annotation_Reader(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema__List_Node_Annotation_Reader *p; - PyObject *o; - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema__List_Node_Annotation_Reader *)o); - p->__pyx_vtab = __pyx_vtabptr_6schema__List_Node_Annotation_Reader; - new((void*)&(p->thisptr)) ::capnp::List<::capnp::schema::Annotation>::Reader(); - return o; -} - -static void __pyx_tp_dealloc_6schema__List_Node_Annotation_Reader(PyObject *o) { - struct __pyx_obj_6schema__List_Node_Annotation_Reader *p = (struct __pyx_obj_6schema__List_Node_Annotation_Reader *)o; - p->thisptr.::capnp::List<::capnp::schema::Annotation>::Reader::~Reader(); - (*Py_TYPE(o)->tp_free)(o); -} -static PyObject *__pyx_sq_item_6schema__List_Node_Annotation_Reader(PyObject *o, Py_ssize_t i) { - PyObject *r; - PyObject *x = PyInt_FromSsize_t(i); if(!x) return 0; - r = Py_TYPE(o)->tp_as_mapping->mp_subscript(o, x); - Py_DECREF(x); - return r; -} - -static PyMethodDef __pyx_methods_6schema__List_Node_Annotation_Reader[] = { - {0, 0, 0, 0} -}; - -static PySequenceMethods __pyx_tp_as_sequence__List_Node_Annotation_Reader = { - __pyx_pw_6schema_28_List_Node_Annotation_Reader_3__len__, /*sq_length*/ - 0, /*sq_concat*/ - 0, /*sq_repeat*/ - __pyx_sq_item_6schema__List_Node_Annotation_Reader, /*sq_item*/ - 0, /*sq_slice*/ - 0, /*sq_ass_item*/ - 0, /*sq_ass_slice*/ - 0, /*sq_contains*/ - 0, /*sq_inplace_concat*/ - 0, /*sq_inplace_repeat*/ -}; - -static PyMappingMethods __pyx_tp_as_mapping__List_Node_Annotation_Reader = { - __pyx_pw_6schema_28_List_Node_Annotation_Reader_3__len__, /*mp_length*/ - __pyx_pw_6schema_28_List_Node_Annotation_Reader_1__getitem__, /*mp_subscript*/ - 0, /*mp_ass_subscript*/ -}; - -static PyTypeObject __pyx_type_6schema__List_Node_Annotation_Reader = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema._List_Node_Annotation_Reader"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema__List_Node_Annotation_Reader), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema__List_Node_Annotation_Reader, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - &__pyx_tp_as_sequence__List_Node_Annotation_Reader, /*tp_as_sequence*/ - &__pyx_tp_as_mapping__List_Node_Annotation_Reader, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema__List_Node_Annotation_Reader, /*tp_methods*/ - 0, /*tp_members*/ - 0, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema__List_Node_Annotation_Reader, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema__List_InterfaceNode_Method_Param_Annotation_Reader __pyx_vtable_6schema__List_InterfaceNode_Method_Param_Annotation_Reader; - -static PyObject *__pyx_tp_new_6schema__List_InterfaceNode_Method_Param_Annotation_Reader(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema__List_InterfaceNode_Method_Param_Annotation_Reader *p; - PyObject *o; - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema__List_InterfaceNode_Method_Param_Annotation_Reader *)o); - p->__pyx_vtab = __pyx_vtabptr_6schema__List_InterfaceNode_Method_Param_Annotation_Reader; - new((void*)&(p->thisptr)) ::capnp::List<::capnp::schema::Annotation>::Reader(); - return o; -} - -static void __pyx_tp_dealloc_6schema__List_InterfaceNode_Method_Param_Annotation_Reader(PyObject *o) { - struct __pyx_obj_6schema__List_InterfaceNode_Method_Param_Annotation_Reader *p = (struct __pyx_obj_6schema__List_InterfaceNode_Method_Param_Annotation_Reader *)o; - p->thisptr.::capnp::List<::capnp::schema::Annotation>::Reader::~Reader(); - (*Py_TYPE(o)->tp_free)(o); -} -static PyObject *__pyx_sq_item_6schema__List_InterfaceNode_Method_Param_Annotation_Reader(PyObject *o, Py_ssize_t i) { - PyObject *r; - PyObject *x = PyInt_FromSsize_t(i); if(!x) return 0; - r = Py_TYPE(o)->tp_as_mapping->mp_subscript(o, x); - Py_DECREF(x); - return r; -} - -static PyMethodDef __pyx_methods_6schema__List_InterfaceNode_Method_Param_Annotation_Reader[] = { - {0, 0, 0, 0} -}; - -static PySequenceMethods __pyx_tp_as_sequence__List_InterfaceNode_Method_Param_Annotation_Reader = { - __pyx_pw_6schema_50_List_InterfaceNode_Method_Param_Annotation_Reader_3__len__, /*sq_length*/ - 0, /*sq_concat*/ - 0, /*sq_repeat*/ - __pyx_sq_item_6schema__List_InterfaceNode_Method_Param_Annotation_Reader, /*sq_item*/ - 0, /*sq_slice*/ - 0, /*sq_ass_item*/ - 0, /*sq_ass_slice*/ - 0, /*sq_contains*/ - 0, /*sq_inplace_concat*/ - 0, /*sq_inplace_repeat*/ -}; - -static PyMappingMethods __pyx_tp_as_mapping__List_InterfaceNode_Method_Param_Annotation_Reader = { - __pyx_pw_6schema_50_List_InterfaceNode_Method_Param_Annotation_Reader_3__len__, /*mp_length*/ - __pyx_pw_6schema_50_List_InterfaceNode_Method_Param_Annotation_Reader_1__getitem__, /*mp_subscript*/ - 0, /*mp_ass_subscript*/ -}; - -static PyTypeObject __pyx_type_6schema__List_InterfaceNode_Method_Param_Annotation_Reader = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema._List_InterfaceNode_Method_Param_Annotation_Reader"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema__List_InterfaceNode_Method_Param_Annotation_Reader), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema__List_InterfaceNode_Method_Param_Annotation_Reader, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - &__pyx_tp_as_sequence__List_InterfaceNode_Method_Param_Annotation_Reader, /*tp_as_sequence*/ - &__pyx_tp_as_mapping__List_InterfaceNode_Method_Param_Annotation_Reader, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema__List_InterfaceNode_Method_Param_Annotation_Reader, /*tp_methods*/ - 0, /*tp_members*/ - 0, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema__List_InterfaceNode_Method_Param_Annotation_Reader, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema__FileNodeReader __pyx_vtable_6schema__FileNodeReader; - -static PyObject *__pyx_tp_new_6schema__FileNodeReader(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema__FileNodeReader *p; - PyObject *o; - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema__FileNodeReader *)o); - p->__pyx_vtab = __pyx_vtabptr_6schema__FileNodeReader; - new((void*)&(p->thisptr)) ::capnp::schema::FileNode::Reader(); - return o; -} - -static void __pyx_tp_dealloc_6schema__FileNodeReader(PyObject *o) { - struct __pyx_obj_6schema__FileNodeReader *p = (struct __pyx_obj_6schema__FileNodeReader *)o; - p->thisptr.::capnp::schema::FileNode::Reader::~Reader(); - (*Py_TYPE(o)->tp_free)(o); -} - -static PyObject *__pyx_getprop_6schema_15_FileNodeReader_imports(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_15_FileNodeReader_7imports_1__get__(o); -} - -static PyMethodDef __pyx_methods_6schema__FileNodeReader[] = { - {0, 0, 0, 0} -}; - -static struct PyGetSetDef __pyx_getsets_6schema__FileNodeReader[] = { - {(char *)"imports", __pyx_getprop_6schema_15_FileNodeReader_imports, 0, 0, 0}, - {0, 0, 0, 0, 0} -}; - -static PyTypeObject __pyx_type_6schema__FileNodeReader = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema._FileNodeReader"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema__FileNodeReader), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema__FileNodeReader, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema__FileNodeReader, /*tp_methods*/ - 0, /*tp_members*/ - __pyx_getsets_6schema__FileNodeReader, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema__FileNodeReader, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; - -static struct __pyx_obj_6schema___pyx_scope_struct__make_enum *__pyx_freelist_6schema___pyx_scope_struct__make_enum[8]; -static int __pyx_freecount_6schema___pyx_scope_struct__make_enum = 0; - -static PyObject *__pyx_tp_new_6schema___pyx_scope_struct__make_enum(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema___pyx_scope_struct__make_enum *p; - PyObject *o; - if (likely((__pyx_freecount_6schema___pyx_scope_struct__make_enum > 0) & (t->tp_basicsize == sizeof(struct __pyx_obj_6schema___pyx_scope_struct__make_enum)))) { - o = (PyObject*)__pyx_freelist_6schema___pyx_scope_struct__make_enum[--__pyx_freecount_6schema___pyx_scope_struct__make_enum]; - memset(o, 0, sizeof(struct __pyx_obj_6schema___pyx_scope_struct__make_enum)); - PyObject_INIT(o, t); - PyObject_GC_Track(o); - } else { - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - } - p = ((struct __pyx_obj_6schema___pyx_scope_struct__make_enum *)o); - p->__pyx_v_enums = 0; - return o; -} - -static void __pyx_tp_dealloc_6schema___pyx_scope_struct__make_enum(PyObject *o) { - struct __pyx_obj_6schema___pyx_scope_struct__make_enum *p = (struct __pyx_obj_6schema___pyx_scope_struct__make_enum *)o; - PyObject_GC_UnTrack(o); - Py_CLEAR(p->__pyx_v_enums); - if ((__pyx_freecount_6schema___pyx_scope_struct__make_enum < 8) & (Py_TYPE(o)->tp_basicsize == sizeof(struct __pyx_obj_6schema___pyx_scope_struct__make_enum))) { - __pyx_freelist_6schema___pyx_scope_struct__make_enum[__pyx_freecount_6schema___pyx_scope_struct__make_enum++] = ((struct __pyx_obj_6schema___pyx_scope_struct__make_enum *)o); - } else { - (*Py_TYPE(o)->tp_free)(o); - } -} - -static int __pyx_tp_traverse_6schema___pyx_scope_struct__make_enum(PyObject *o, visitproc v, void *a) { - int e; - struct __pyx_obj_6schema___pyx_scope_struct__make_enum *p = (struct __pyx_obj_6schema___pyx_scope_struct__make_enum *)o; - if (p->__pyx_v_enums) { - e = (*v)(p->__pyx_v_enums, a); if (e) return e; - } - return 0; -} - -static int __pyx_tp_clear_6schema___pyx_scope_struct__make_enum(PyObject *o) { - struct __pyx_obj_6schema___pyx_scope_struct__make_enum *p = (struct __pyx_obj_6schema___pyx_scope_struct__make_enum *)o; - PyObject* tmp; - tmp = ((PyObject*)p->__pyx_v_enums); - p->__pyx_v_enums = ((PyObject*)Py_None); Py_INCREF(Py_None); - Py_XDECREF(tmp); - return 0; -} - -static PyMethodDef __pyx_methods_6schema___pyx_scope_struct__make_enum[] = { - {0, 0, 0, 0} -}; - -static PyTypeObject __pyx_type_6schema___pyx_scope_struct__make_enum = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema.__pyx_scope_struct__make_enum"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema___pyx_scope_struct__make_enum), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema___pyx_scope_struct__make_enum, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_HAVE_GC, /*tp_flags*/ - 0, /*tp_doc*/ - __pyx_tp_traverse_6schema___pyx_scope_struct__make_enum, /*tp_traverse*/ - __pyx_tp_clear_6schema___pyx_scope_struct__make_enum, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema___pyx_scope_struct__make_enum, /*tp_methods*/ - 0, /*tp_members*/ - 0, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema___pyx_scope_struct__make_enum, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; -static struct __pyx_vtabstruct_6schema__StructNodeBuilder __pyx_vtable_6schema__StructNodeBuilder; - -static PyObject *__pyx_tp_new_6schema__StructNodeBuilder(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_6schema__StructNodeBuilder *p; - PyObject *o; - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_6schema__StructNodeBuilder *)o); - p->__pyx_vtab = __pyx_vtabptr_6schema__StructNodeBuilder; - new((void*)&(p->thisptr)) ::capnp::schema::StructNode::Builder(); - return o; -} - -static void __pyx_tp_dealloc_6schema__StructNodeBuilder(PyObject *o) { - struct __pyx_obj_6schema__StructNodeBuilder *p = (struct __pyx_obj_6schema__StructNodeBuilder *)o; - p->thisptr.::capnp::schema::StructNode::Builder::~Builder(); - (*Py_TYPE(o)->tp_free)(o); -} - -static PyObject *__pyx_getprop_6schema_18_StructNodeBuilder_dataSectionWordSize(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_18_StructNodeBuilder_19dataSectionWordSize_1__get__(o); -} - -static int __pyx_setprop_6schema_18_StructNodeBuilder_dataSectionWordSize(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_18_StructNodeBuilder_19dataSectionWordSize_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyObject *__pyx_getprop_6schema_18_StructNodeBuilder_members(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_18_StructNodeBuilder_7members_1__get__(o); -} - -static PyObject *__pyx_getprop_6schema_18_StructNodeBuilder_pointerSectionSize(PyObject *o, CYTHON_UNUSED void *x) { - return __pyx_pw_6schema_18_StructNodeBuilder_18pointerSectionSize_1__get__(o); -} - -static int __pyx_setprop_6schema_18_StructNodeBuilder_pointerSectionSize(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) { - if (v) { - return __pyx_pw_6schema_18_StructNodeBuilder_18pointerSectionSize_3__set__(o, v); - } - else { - PyErr_SetString(PyExc_NotImplementedError, "__del__"); - return -1; - } -} - -static PyMethodDef __pyx_methods_6schema__StructNodeBuilder[] = { - {__Pyx_NAMESTR("initMembers"), (PyCFunction)__pyx_pw_6schema_18_StructNodeBuilder_1initMembers, METH_O, __Pyx_DOCSTR(0)}, - {0, 0, 0, 0} -}; - -static struct PyGetSetDef __pyx_getsets_6schema__StructNodeBuilder[] = { - {(char *)"dataSectionWordSize", __pyx_getprop_6schema_18_StructNodeBuilder_dataSectionWordSize, __pyx_setprop_6schema_18_StructNodeBuilder_dataSectionWordSize, 0, 0}, - {(char *)"members", __pyx_getprop_6schema_18_StructNodeBuilder_members, 0, 0, 0}, - {(char *)"pointerSectionSize", __pyx_getprop_6schema_18_StructNodeBuilder_pointerSectionSize, __pyx_setprop_6schema_18_StructNodeBuilder_pointerSectionSize, 0, 0}, - {0, 0, 0, 0, 0} -}; - -static PyTypeObject __pyx_type_6schema__StructNodeBuilder = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("schema._StructNodeBuilder"), /*tp_name*/ - sizeof(struct __pyx_obj_6schema__StructNodeBuilder), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_6schema__StructNodeBuilder, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #else - 0, /*reserved*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/ - 0, /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - __pyx_methods_6schema__StructNodeBuilder, /*tp_methods*/ - 0, /*tp_members*/ - __pyx_getsets_6schema__StructNodeBuilder, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_6schema__StructNodeBuilder, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - #if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ - #endif -}; - -static PyMethodDef __pyx_methods[] = { - {0, 0, 0, 0} -}; - -#if PY_MAJOR_VERSION >= 3 -static struct PyModuleDef __pyx_moduledef = { - #if PY_VERSION_HEX < 0x03020000 - { PyObject_HEAD_INIT(NULL) NULL, 0, NULL }, - #else - PyModuleDef_HEAD_INIT, - #endif - __Pyx_NAMESTR("schema"), - 0, /* m_doc */ - -1, /* m_size */ - __pyx_methods /* m_methods */, - NULL, /* m_reload */ - NULL, /* m_traverse */ - NULL, /* m_clear */ - NULL /* m_free */ -}; -#endif - -static __Pyx_StringTabEntry __pyx_string_tab[] = { - {&__pyx_kp_s_1, __pyx_k_1, sizeof(__pyx_k_1), 0, 0, 1, 0}, - {&__pyx_n_s_30, __pyx_k_30, sizeof(__pyx_k_30), 0, 0, 1, 1}, - {&__pyx_n_s_31, __pyx_k_31, sizeof(__pyx_k_31), 0, 0, 1, 1}, - {&__pyx_n_s_32, __pyx_k_32, sizeof(__pyx_k_32), 0, 0, 1, 1}, - {&__pyx_n_s_33, __pyx_k_33, sizeof(__pyx_k_33), 0, 0, 1, 1}, - {&__pyx_n_s_34, __pyx_k_34, sizeof(__pyx_k_34), 0, 0, 1, 1}, - {&__pyx_n_s_35, __pyx_k_35, sizeof(__pyx_k_35), 0, 0, 1, 1}, - {&__pyx_kp_s_38, __pyx_k_38, sizeof(__pyx_k_38), 0, 0, 1, 0}, - {&__pyx_n_s_43, __pyx_k_43, sizeof(__pyx_k_43), 0, 0, 1, 1}, - {&__pyx_n_s_49, __pyx_k_49, sizeof(__pyx_k_49), 0, 0, 1, 1}, - {&__pyx_n_s_50, __pyx_k_50, sizeof(__pyx_k_50), 0, 0, 1, 1}, - {&__pyx_kp_s_54, __pyx_k_54, sizeof(__pyx_k_54), 0, 0, 1, 0}, - {&__pyx_kp_s_56, __pyx_k_56, sizeof(__pyx_k_56), 0, 0, 1, 0}, - {&__pyx_kp_s_59, __pyx_k_59, sizeof(__pyx_k_59), 0, 0, 1, 0}, - {&__pyx_kp_s_63, __pyx_k_63, sizeof(__pyx_k_63), 0, 0, 1, 0}, - {&__pyx_kp_s_66, __pyx_k_66, sizeof(__pyx_k_66), 0, 0, 1, 0}, - {&__pyx_kp_s_69, __pyx_k_69, sizeof(__pyx_k_69), 0, 0, 1, 0}, - {&__pyx_kp_s_71, __pyx_k_71, sizeof(__pyx_k_71), 0, 0, 1, 0}, - {&__pyx_kp_s_75, __pyx_k_75, sizeof(__pyx_k_75), 0, 0, 1, 0}, - {&__pyx_kp_s_78, __pyx_k_78, sizeof(__pyx_k_78), 0, 0, 1, 0}, - {&__pyx_kp_s_80, __pyx_k_80, sizeof(__pyx_k_80), 0, 0, 1, 0}, - {&__pyx_kp_s_82, __pyx_k_82, sizeof(__pyx_k_82), 0, 0, 1, 0}, - {&__pyx_kp_s_84, __pyx_k_84, sizeof(__pyx_k_84), 0, 0, 1, 0}, - {&__pyx_n_s__Annotation, __pyx_k__Annotation, sizeof(__pyx_k__Annotation), 0, 0, 1, 1}, - {&__pyx_n_s__AnnotationNode, __pyx_k__AnnotationNode, sizeof(__pyx_k__AnnotationNode), 0, 0, 1, 1}, - {&__pyx_n_s__Body, __pyx_k__Body, sizeof(__pyx_k__Body), 0, 0, 1, 1}, - {&__pyx_n_s__Builder, __pyx_k__Builder, sizeof(__pyx_k__Builder), 0, 0, 1, 1}, - {&__pyx_n_s__ConstNode, __pyx_k__ConstNode, sizeof(__pyx_k__ConstNode), 0, 0, 1, 1}, - {&__pyx_n_s__ElementSize, __pyx_k__ElementSize, sizeof(__pyx_k__ElementSize), 0, 0, 1, 1}, - {&__pyx_n_s__EnumNode, __pyx_k__EnumNode, sizeof(__pyx_k__EnumNode), 0, 0, 1, 1}, - {&__pyx_n_s__Enumerant, __pyx_k__Enumerant, sizeof(__pyx_k__Enumerant), 0, 0, 1, 1}, - {&__pyx_n_s__Field, __pyx_k__Field, sizeof(__pyx_k__Field), 0, 0, 1, 1}, - {&__pyx_n_s__FileNode, __pyx_k__FileNode, sizeof(__pyx_k__FileNode), 0, 0, 1, 1}, - {&__pyx_n_s__Import, __pyx_k__Import, sizeof(__pyx_k__Import), 0, 0, 1, 1}, - {&__pyx_n_s__IndexError, __pyx_k__IndexError, sizeof(__pyx_k__IndexError), 0, 0, 1, 1}, - {&__pyx_n_s__InterfaceNode, __pyx_k__InterfaceNode, sizeof(__pyx_k__InterfaceNode), 0, 0, 1, 1}, - {&__pyx_n_s__Member, __pyx_k__Member, sizeof(__pyx_k__Member), 0, 0, 1, 1}, - {&__pyx_n_s__Method, __pyx_k__Method, sizeof(__pyx_k__Method), 0, 0, 1, 1}, - {&__pyx_n_s__ModuleType, __pyx_k__ModuleType, sizeof(__pyx_k__ModuleType), 0, 0, 1, 1}, - {&__pyx_n_s__NestedNode, __pyx_k__NestedNode, sizeof(__pyx_k__NestedNode), 0, 0, 1, 1}, - {&__pyx_n_s__Node, __pyx_k__Node, sizeof(__pyx_k__Node), 0, 0, 1, 1}, - {&__pyx_n_s__Param, __pyx_k__Param, sizeof(__pyx_k__Param), 0, 0, 1, 1}, - {&__pyx_n_s__Reader, __pyx_k__Reader, sizeof(__pyx_k__Reader), 0, 0, 1, 1}, - {&__pyx_n_s__StructNode, __pyx_k__StructNode, sizeof(__pyx_k__StructNode), 0, 0, 1, 1}, - {&__pyx_n_s__Type, __pyx_k__Type, sizeof(__pyx_k__Type), 0, 0, 1, 1}, - {&__pyx_n_s__Union, __pyx_k__Union, sizeof(__pyx_k__Union), 0, 0, 1, 1}, - {&__pyx_n_s__Value, __pyx_k__Value, sizeof(__pyx_k__Value), 0, 0, 1, 1}, - {&__pyx_n_s___ElementSize, __pyx_k___ElementSize, sizeof(__pyx_k___ElementSize), 0, 0, 1, 1}, - {&__pyx_n_s___Node_Body_Which, __pyx_k___Node_Body_Which, sizeof(__pyx_k___Node_Body_Which), 0, 0, 1, 1}, - {&__pyx_n_s___Type_Body_Which, __pyx_k___Type_Body_Which, sizeof(__pyx_k___Type_Body_Which), 0, 0, 1, 1}, - {&__pyx_n_s___Value_Body_Which, __pyx_k___Value_Body_Which, sizeof(__pyx_k___Value_Body_Which), 0, 0, 1, 1}, - {&__pyx_n_s____import__, __pyx_k____import__, sizeof(__pyx_k____import__), 0, 0, 1, 1}, - {&__pyx_n_s____main__, __pyx_k____main__, sizeof(__pyx_k____main__), 0, 0, 1, 1}, - {&__pyx_n_s____pyx_vtable__, __pyx_k____pyx_vtable__, sizeof(__pyx_k____pyx_vtable__), 0, 0, 1, 1}, - {&__pyx_n_s____test__, __pyx_k____test__, sizeof(__pyx_k____test__), 0, 0, 1, 1}, - {&__pyx_n_s__annotationNode, __pyx_k__annotationNode, sizeof(__pyx_k__annotationNode), 0, 0, 1, 1}, - {&__pyx_n_s__args, __pyx_k__args, sizeof(__pyx_k__args), 0, 0, 1, 1}, - {&__pyx_n_s__bit, __pyx_k__bit, sizeof(__pyx_k__bit), 0, 0, 1, 1}, - {&__pyx_n_s__boolType, __pyx_k__boolType, sizeof(__pyx_k__boolType), 0, 0, 1, 1}, - {&__pyx_n_s__boolValue, __pyx_k__boolValue, sizeof(__pyx_k__boolValue), 0, 0, 1, 1}, - {&__pyx_n_s__byte, __pyx_k__byte, sizeof(__pyx_k__byte), 0, 0, 1, 1}, - {&__pyx_n_s__close, __pyx_k__close, sizeof(__pyx_k__close), 0, 0, 1, 1}, - {&__pyx_n_s__constNode, __pyx_k__constNode, sizeof(__pyx_k__constNode), 0, 0, 1, 1}, - {&__pyx_n_s__dataType, __pyx_k__dataType, sizeof(__pyx_k__dataType), 0, 0, 1, 1}, - {&__pyx_n_s__dataValue, __pyx_k__dataValue, sizeof(__pyx_k__dataValue), 0, 0, 1, 1}, - {&__pyx_n_s__eightBytes, __pyx_k__eightBytes, sizeof(__pyx_k__eightBytes), 0, 0, 1, 1}, - {&__pyx_n_s__empty, __pyx_k__empty, sizeof(__pyx_k__empty), 0, 0, 1, 1}, - {&__pyx_n_s__enumNode, __pyx_k__enumNode, sizeof(__pyx_k__enumNode), 0, 0, 1, 1}, - {&__pyx_n_s__enumType, __pyx_k__enumType, sizeof(__pyx_k__enumType), 0, 0, 1, 1}, - {&__pyx_n_s__enumValue, __pyx_k__enumValue, sizeof(__pyx_k__enumValue), 0, 0, 1, 1}, - {&__pyx_n_s__enum_name, __pyx_k__enum_name, sizeof(__pyx_k__enum_name), 0, 0, 1, 1}, - {&__pyx_n_s__enums, __pyx_k__enums, sizeof(__pyx_k__enums), 0, 0, 1, 1}, - {&__pyx_n_s__fd, __pyx_k__fd, sizeof(__pyx_k__fd), 0, 0, 1, 1}, - {&__pyx_n_s__fieldMember, __pyx_k__fieldMember, sizeof(__pyx_k__fieldMember), 0, 0, 1, 1}, - {&__pyx_n_s__fileNode, __pyx_k__fileNode, sizeof(__pyx_k__fileNode), 0, 0, 1, 1}, - {&__pyx_n_s__float32Type, __pyx_k__float32Type, sizeof(__pyx_k__float32Type), 0, 0, 1, 1}, - {&__pyx_n_s__float32Value, __pyx_k__float32Value, sizeof(__pyx_k__float32Value), 0, 0, 1, 1}, - {&__pyx_n_s__float64Type, __pyx_k__float64Type, sizeof(__pyx_k__float64Type), 0, 0, 1, 1}, - {&__pyx_n_s__float64Value, __pyx_k__float64Value, sizeof(__pyx_k__float64Value), 0, 0, 1, 1}, - {&__pyx_n_s__fourBytes, __pyx_k__fourBytes, sizeof(__pyx_k__fourBytes), 0, 0, 1, 1}, - {&__pyx_n_s__genexpr, __pyx_k__genexpr, sizeof(__pyx_k__genexpr), 0, 0, 1, 1}, - {&__pyx_n_s__getRootAnnotation, __pyx_k__getRootAnnotation, sizeof(__pyx_k__getRootAnnotation), 0, 0, 1, 1}, - {&__pyx_n_s__getRootConstNode, __pyx_k__getRootConstNode, sizeof(__pyx_k__getRootConstNode), 0, 0, 1, 1}, - {&__pyx_n_s__getRootEnumNode, __pyx_k__getRootEnumNode, sizeof(__pyx_k__getRootEnumNode), 0, 0, 1, 1}, - {&__pyx_n_s__getRootFileNode, __pyx_k__getRootFileNode, sizeof(__pyx_k__getRootFileNode), 0, 0, 1, 1}, - {&__pyx_n_s__getRootNode, __pyx_k__getRootNode, sizeof(__pyx_k__getRootNode), 0, 0, 1, 1}, - {&__pyx_n_s__getRootStructNode, __pyx_k__getRootStructNode, sizeof(__pyx_k__getRootStructNode), 0, 0, 1, 1}, - {&__pyx_n_s__getRootType, __pyx_k__getRootType, sizeof(__pyx_k__getRootType), 0, 0, 1, 1}, - {&__pyx_n_s__getRootValue, __pyx_k__getRootValue, sizeof(__pyx_k__getRootValue), 0, 0, 1, 1}, - {&__pyx_n_s__initAnnotations, __pyx_k__initAnnotations, sizeof(__pyx_k__initAnnotations), 0, 0, 1, 1}, - {&__pyx_n_s__initEnumerants, __pyx_k__initEnumerants, sizeof(__pyx_k__initEnumerants), 0, 0, 1, 1}, - {&__pyx_n_s__initImports, __pyx_k__initImports, sizeof(__pyx_k__initImports), 0, 0, 1, 1}, - {&__pyx_n_s__initMembers, __pyx_k__initMembers, sizeof(__pyx_k__initMembers), 0, 0, 1, 1}, - {&__pyx_n_s__initMethods, __pyx_k__initMethods, sizeof(__pyx_k__initMethods), 0, 0, 1, 1}, - {&__pyx_n_s__initNestedNodes, __pyx_k__initNestedNodes, sizeof(__pyx_k__initNestedNodes), 0, 0, 1, 1}, - {&__pyx_n_s__initNodes, __pyx_k__initNodes, sizeof(__pyx_k__initNodes), 0, 0, 1, 1}, - {&__pyx_n_s__initParams, __pyx_k__initParams, sizeof(__pyx_k__initParams), 0, 0, 1, 1}, - {&__pyx_n_s__initRequestedFiles, __pyx_k__initRequestedFiles, sizeof(__pyx_k__initRequestedFiles), 0, 0, 1, 1}, - {&__pyx_n_s__initRootAnnotation, __pyx_k__initRootAnnotation, sizeof(__pyx_k__initRootAnnotation), 0, 0, 1, 1}, - {&__pyx_n_s__initRootConstNode, __pyx_k__initRootConstNode, sizeof(__pyx_k__initRootConstNode), 0, 0, 1, 1}, - {&__pyx_n_s__initRootEnumNode, __pyx_k__initRootEnumNode, sizeof(__pyx_k__initRootEnumNode), 0, 0, 1, 1}, - {&__pyx_n_s__initRootFileNode, __pyx_k__initRootFileNode, sizeof(__pyx_k__initRootFileNode), 0, 0, 1, 1}, - {&__pyx_n_s__initRootNode, __pyx_k__initRootNode, sizeof(__pyx_k__initRootNode), 0, 0, 1, 1}, - {&__pyx_n_s__initRootStructNode, __pyx_k__initRootStructNode, sizeof(__pyx_k__initRootStructNode), 0, 0, 1, 1}, - {&__pyx_n_s__initRootType, __pyx_k__initRootType, sizeof(__pyx_k__initRootType), 0, 0, 1, 1}, - {&__pyx_n_s__initRootValue, __pyx_k__initRootValue, sizeof(__pyx_k__initRootValue), 0, 0, 1, 1}, - {&__pyx_n_s__inlineComposite, __pyx_k__inlineComposite, sizeof(__pyx_k__inlineComposite), 0, 0, 1, 1}, - {&__pyx_n_s__int16Type, __pyx_k__int16Type, sizeof(__pyx_k__int16Type), 0, 0, 1, 1}, - {&__pyx_n_s__int16Value, __pyx_k__int16Value, sizeof(__pyx_k__int16Value), 0, 0, 1, 1}, - {&__pyx_n_s__int32Type, __pyx_k__int32Type, sizeof(__pyx_k__int32Type), 0, 0, 1, 1}, - {&__pyx_n_s__int32Value, __pyx_k__int32Value, sizeof(__pyx_k__int32Value), 0, 0, 1, 1}, - {&__pyx_n_s__int64Type, __pyx_k__int64Type, sizeof(__pyx_k__int64Type), 0, 0, 1, 1}, - {&__pyx_n_s__int64Value, __pyx_k__int64Value, sizeof(__pyx_k__int64Value), 0, 0, 1, 1}, - {&__pyx_n_s__int8Type, __pyx_k__int8Type, sizeof(__pyx_k__int8Type), 0, 0, 1, 1}, - {&__pyx_n_s__int8Value, __pyx_k__int8Value, sizeof(__pyx_k__int8Value), 0, 0, 1, 1}, - {&__pyx_n_s__interfaceNode, __pyx_k__interfaceNode, sizeof(__pyx_k__interfaceNode), 0, 0, 1, 1}, - {&__pyx_n_s__interfaceType, __pyx_k__interfaceType, sizeof(__pyx_k__interfaceType), 0, 0, 1, 1}, - {&__pyx_n_s__interfaceValue, __pyx_k__interfaceValue, sizeof(__pyx_k__interfaceValue), 0, 0, 1, 1}, - {&__pyx_n_s__iteritems, __pyx_k__iteritems, sizeof(__pyx_k__iteritems), 0, 0, 1, 1}, - {&__pyx_n_s__listType, __pyx_k__listType, sizeof(__pyx_k__listType), 0, 0, 1, 1}, - {&__pyx_n_s__listValue, __pyx_k__listValue, sizeof(__pyx_k__listValue), 0, 0, 1, 1}, - {&__pyx_n_s__m, __pyx_k__m, sizeof(__pyx_k__m), 0, 0, 1, 1}, - {&__pyx_n_s__make_enum, __pyx_k__make_enum, sizeof(__pyx_k__make_enum), 0, 0, 1, 1}, - {&__pyx_n_s__named, __pyx_k__named, sizeof(__pyx_k__named), 0, 0, 1, 1}, - {&__pyx_n_s__objectType, __pyx_k__objectType, sizeof(__pyx_k__objectType), 0, 0, 1, 1}, - {&__pyx_n_s__objectValue, __pyx_k__objectValue, sizeof(__pyx_k__objectValue), 0, 0, 1, 1}, - {&__pyx_n_s__pointer, __pyx_k__pointer, sizeof(__pyx_k__pointer), 0, 0, 1, 1}, - {&__pyx_n_s__range, __pyx_k__range, sizeof(__pyx_k__range), 0, 0, 1, 1}, - {&__pyx_n_s__reverse, __pyx_k__reverse, sizeof(__pyx_k__reverse), 0, 0, 1, 1}, - {&__pyx_n_s__reverse_mapping, __pyx_k__reverse_mapping, sizeof(__pyx_k__reverse_mapping), 0, 0, 1, 1}, - {&__pyx_n_s__schema, __pyx_k__schema, sizeof(__pyx_k__schema), 0, 0, 1, 1}, - {&__pyx_n_s__send, __pyx_k__send, sizeof(__pyx_k__send), 0, 0, 1, 1}, - {&__pyx_n_s__sequential, __pyx_k__sequential, sizeof(__pyx_k__sequential), 0, 0, 1, 1}, - {&__pyx_n_s__structNode, __pyx_k__structNode, sizeof(__pyx_k__structNode), 0, 0, 1, 1}, - {&__pyx_n_s__structType, __pyx_k__structType, sizeof(__pyx_k__structType), 0, 0, 1, 1}, - {&__pyx_n_s__structValue, __pyx_k__structValue, sizeof(__pyx_k__structValue), 0, 0, 1, 1}, - {&__pyx_n_s__temp, __pyx_k__temp, sizeof(__pyx_k__temp), 0, 0, 1, 1}, - {&__pyx_n_s__textType, __pyx_k__textType, sizeof(__pyx_k__textType), 0, 0, 1, 1}, - {&__pyx_n_s__textValue, __pyx_k__textValue, sizeof(__pyx_k__textValue), 0, 0, 1, 1}, - {&__pyx_n_s__throw, __pyx_k__throw, sizeof(__pyx_k__throw), 0, 0, 1, 1}, - {&__pyx_n_s__twoBytes, __pyx_k__twoBytes, sizeof(__pyx_k__twoBytes), 0, 0, 1, 1}, - {&__pyx_n_s__types, __pyx_k__types, sizeof(__pyx_k__types), 0, 0, 1, 1}, - {&__pyx_n_s__uint16Type, __pyx_k__uint16Type, sizeof(__pyx_k__uint16Type), 0, 0, 1, 1}, - {&__pyx_n_s__uint16Value, __pyx_k__uint16Value, sizeof(__pyx_k__uint16Value), 0, 0, 1, 1}, - {&__pyx_n_s__uint32Type, __pyx_k__uint32Type, sizeof(__pyx_k__uint32Type), 0, 0, 1, 1}, - {&__pyx_n_s__uint32Value, __pyx_k__uint32Value, sizeof(__pyx_k__uint32Value), 0, 0, 1, 1}, - {&__pyx_n_s__uint64Type, __pyx_k__uint64Type, sizeof(__pyx_k__uint64Type), 0, 0, 1, 1}, - {&__pyx_n_s__uint64Value, __pyx_k__uint64Value, sizeof(__pyx_k__uint64Value), 0, 0, 1, 1}, - {&__pyx_n_s__uint8Type, __pyx_k__uint8Type, sizeof(__pyx_k__uint8Type), 0, 0, 1, 1}, - {&__pyx_n_s__uint8Value, __pyx_k__uint8Value, sizeof(__pyx_k__uint8Value), 0, 0, 1, 1}, - {&__pyx_n_s__unionMember, __pyx_k__unionMember, sizeof(__pyx_k__unionMember), 0, 0, 1, 1}, - {&__pyx_n_s__voidType, __pyx_k__voidType, sizeof(__pyx_k__voidType), 0, 0, 1, 1}, - {&__pyx_n_s__voidValue, __pyx_k__voidValue, sizeof(__pyx_k__voidValue), 0, 0, 1, 1}, - {&__pyx_n_s__which, __pyx_k__which, sizeof(__pyx_k__which), 0, 0, 1, 1}, - {&__pyx_n_s__writeMessageToFd, __pyx_k__writeMessageToFd, sizeof(__pyx_k__writeMessageToFd), 0, 0, 1, 1}, - {&__pyx_n_s__zip, __pyx_k__zip, sizeof(__pyx_k__zip), 0, 0, 1, 1}, - {0, 0, 0, 0, 0, 0, 0} -}; -static int __Pyx_InitCachedBuiltins(void) { - __pyx_builtin_zip = __Pyx_GetBuiltinName(__pyx_n_s__zip); if (!__pyx_builtin_zip) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 46; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_builtin_range = __Pyx_GetBuiltinName(__pyx_n_s__range); if (!__pyx_builtin_range) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 46; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_builtin_IndexError = __Pyx_GetBuiltinName(__pyx_n_s__IndexError); if (!__pyx_builtin_IndexError) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 58; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - return 0; - __pyx_L1_error:; - return -1; -} - -static int __Pyx_InitCachedConstants(void) { - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("__Pyx_InitCachedConstants", 0); - - /* "schema.pyx":58 - * size = self.thisptr.size() - * if index >= size: - * raise IndexError('Out of bounds') # <<<<<<<<<<<<<< - * index = index % size - * return _InterfaceNode_MethodReader().init(self.thisptr[index]) - */ - __pyx_k_tuple_2 = PyTuple_Pack(1, ((PyObject *)__pyx_kp_s_1)); if (unlikely(!__pyx_k_tuple_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 58; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_k_tuple_2); - __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_2)); - - /* "schema.pyx":72 - * size = self.thisptr.size() - * if index >= size: - * raise IndexError('Out of bounds') # <<<<<<<<<<<<<< - * index = index % size - * return _InterfaceNode_MethodBuilder().init(self.thisptr[index]) - */ - __pyx_k_tuple_3 = PyTuple_Pack(1, ((PyObject *)__pyx_kp_s_1)); if (unlikely(!__pyx_k_tuple_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 72; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_k_tuple_3); - __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_3)); - - /* "schema.pyx":85 - * size = self.thisptr.size() - * if index >= size: - * raise IndexError('Out of bounds') # <<<<<<<<<<<<<< - * index = index % size - * return _EnumNode_EnumerantReader().init(self.thisptr[index]) - */ - __pyx_k_tuple_4 = PyTuple_Pack(1, ((PyObject *)__pyx_kp_s_1)); if (unlikely(!__pyx_k_tuple_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 85; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_k_tuple_4); - __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_4)); - - /* "schema.pyx":99 - * size = self.thisptr.size() - * if index >= size: - * raise IndexError('Out of bounds') # <<<<<<<<<<<<<< - * index = index % size - * return _EnumNode_EnumerantBuilder().init(self.thisptr[index]) - */ - __pyx_k_tuple_5 = PyTuple_Pack(1, ((PyObject *)__pyx_kp_s_1)); if (unlikely(!__pyx_k_tuple_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 99; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_k_tuple_5); - __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_5)); - - /* "schema.pyx":112 - * size = self.thisptr.size() - * if index >= size: - * raise IndexError('Out of bounds') # <<<<<<<<<<<<<< - * index = index % size - * return _StructNode_MemberReader().init(self.thisptr[index]) - */ - __pyx_k_tuple_6 = PyTuple_Pack(1, ((PyObject *)__pyx_kp_s_1)); if (unlikely(!__pyx_k_tuple_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 112; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_k_tuple_6); - __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_6)); - - /* "schema.pyx":126 - * size = self.thisptr.size() - * if index >= size: - * raise IndexError('Out of bounds') # <<<<<<<<<<<<<< - * index = index % size - * return _StructNode_MemberBuilder().init(self.thisptr[index]) - */ - __pyx_k_tuple_7 = PyTuple_Pack(1, ((PyObject *)__pyx_kp_s_1)); if (unlikely(!__pyx_k_tuple_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 126; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_k_tuple_7); - __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_7)); - - /* "schema.pyx":139 - * size = self.thisptr.size() - * if index >= size: - * raise IndexError('Out of bounds') # <<<<<<<<<<<<<< - * index = index % size - * return _InterfaceNode_Method_ParamReader().init(self.thisptr[index]) - */ - __pyx_k_tuple_8 = PyTuple_Pack(1, ((PyObject *)__pyx_kp_s_1)); if (unlikely(!__pyx_k_tuple_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 139; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_k_tuple_8); - __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_8)); - - /* "schema.pyx":153 - * size = self.thisptr.size() - * if index >= size: - * raise IndexError('Out of bounds') # <<<<<<<<<<<<<< - * index = index % size - * return _InterfaceNode_Method_ParamBuilder().init(self.thisptr[index]) - */ - __pyx_k_tuple_9 = PyTuple_Pack(1, ((PyObject *)__pyx_kp_s_1)); if (unlikely(!__pyx_k_tuple_9)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 153; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_k_tuple_9); - __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_9)); - - /* "schema.pyx":166 - * size = self.thisptr.size() - * if index >= size: - * raise IndexError('Out of bounds') # <<<<<<<<<<<<<< - * index = index % size - * return _AnnotationReader().init(self.thisptr[index]) - */ - __pyx_k_tuple_10 = PyTuple_Pack(1, ((PyObject *)__pyx_kp_s_1)); if (unlikely(!__pyx_k_tuple_10)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 166; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_k_tuple_10); - __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_10)); - - /* "schema.pyx":180 - * size = self.thisptr.size() - * if index >= size: - * raise IndexError('Out of bounds') # <<<<<<<<<<<<<< - * index = index % size - * return _AnnotationBuilder().init(self.thisptr[index]) - */ - __pyx_k_tuple_11 = PyTuple_Pack(1, ((PyObject *)__pyx_kp_s_1)); if (unlikely(!__pyx_k_tuple_11)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 180; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_k_tuple_11); - __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_11)); - - /* "schema.pyx":193 - * size = self.thisptr.size() - * if index >= size: - * raise IndexError('Out of bounds') # <<<<<<<<<<<<<< - * index = index % size - * return self.thisptr[index] - */ - __pyx_k_tuple_12 = PyTuple_Pack(1, ((PyObject *)__pyx_kp_s_1)); if (unlikely(!__pyx_k_tuple_12)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 193; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_k_tuple_12); - __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_12)); - - /* "schema.pyx":207 - * size = self.thisptr.size() - * if index >= size: - * raise IndexError('Out of bounds') # <<<<<<<<<<<<<< - * index = index % size - * return self.thisptr[index] - */ - __pyx_k_tuple_13 = PyTuple_Pack(1, ((PyObject *)__pyx_kp_s_1)); if (unlikely(!__pyx_k_tuple_13)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 207; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_k_tuple_13); - __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_13)); - - /* "schema.pyx":220 - * size = self.thisptr.size() - * if index >= size: - * raise IndexError('Out of bounds') # <<<<<<<<<<<<<< - * index = index % size - * return _Node_NestedNodeReader().init(self.thisptr[index]) - */ - __pyx_k_tuple_14 = PyTuple_Pack(1, ((PyObject *)__pyx_kp_s_1)); if (unlikely(!__pyx_k_tuple_14)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 220; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_k_tuple_14); - __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_14)); - - /* "schema.pyx":234 - * size = self.thisptr.size() - * if index >= size: - * raise IndexError('Out of bounds') # <<<<<<<<<<<<<< - * index = index % size - * return _Node_NestedNodeBuilder().init(self.thisptr[index]) - */ - __pyx_k_tuple_15 = PyTuple_Pack(1, ((PyObject *)__pyx_kp_s_1)); if (unlikely(!__pyx_k_tuple_15)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 234; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_k_tuple_15); - __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_15)); - - /* "schema.pyx":247 - * size = self.thisptr.size() - * if index >= size: - * raise IndexError('Out of bounds') # <<<<<<<<<<<<<< - * index = index % size - * return _AnnotationReader().init(self.thisptr[index]) - */ - __pyx_k_tuple_16 = PyTuple_Pack(1, ((PyObject *)__pyx_kp_s_1)); if (unlikely(!__pyx_k_tuple_16)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 247; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_k_tuple_16); - __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_16)); - - /* "schema.pyx":261 - * size = self.thisptr.size() - * if index >= size: - * raise IndexError('Out of bounds') # <<<<<<<<<<<<<< - * index = index % size - * return _AnnotationBuilder().init(self.thisptr[index]) - */ - __pyx_k_tuple_17 = PyTuple_Pack(1, ((PyObject *)__pyx_kp_s_1)); if (unlikely(!__pyx_k_tuple_17)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 261; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_k_tuple_17); - __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_17)); - - /* "schema.pyx":274 - * size = self.thisptr.size() - * if index >= size: - * raise IndexError('Out of bounds') # <<<<<<<<<<<<<< - * index = index % size - * return _AnnotationReader().init(self.thisptr[index]) - */ - __pyx_k_tuple_18 = PyTuple_Pack(1, ((PyObject *)__pyx_kp_s_1)); if (unlikely(!__pyx_k_tuple_18)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 274; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_k_tuple_18); - __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_18)); - - /* "schema.pyx":288 - * size = self.thisptr.size() - * if index >= size: - * raise IndexError('Out of bounds') # <<<<<<<<<<<<<< - * index = index % size - * return _AnnotationBuilder().init(self.thisptr[index]) - */ - __pyx_k_tuple_19 = PyTuple_Pack(1, ((PyObject *)__pyx_kp_s_1)); if (unlikely(!__pyx_k_tuple_19)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 288; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_k_tuple_19); - __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_19)); - - /* "schema.pyx":301 - * size = self.thisptr.size() - * if index >= size: - * raise IndexError('Out of bounds') # <<<<<<<<<<<<<< - * index = index % size - * return _StructNode_MemberReader().init(self.thisptr[index]) - */ - __pyx_k_tuple_20 = PyTuple_Pack(1, ((PyObject *)__pyx_kp_s_1)); if (unlikely(!__pyx_k_tuple_20)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 301; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_k_tuple_20); - __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_20)); - - /* "schema.pyx":315 - * size = self.thisptr.size() - * if index >= size: - * raise IndexError('Out of bounds') # <<<<<<<<<<<<<< - * index = index % size - * return _StructNode_MemberBuilder().init(self.thisptr[index]) - */ - __pyx_k_tuple_21 = PyTuple_Pack(1, ((PyObject *)__pyx_kp_s_1)); if (unlikely(!__pyx_k_tuple_21)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 315; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_k_tuple_21); - __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_21)); - - /* "schema.pyx":328 - * size = self.thisptr.size() - * if index >= size: - * raise IndexError('Out of bounds') # <<<<<<<<<<<<<< - * index = index % size - * return _AnnotationReader().init(self.thisptr[index]) - */ - __pyx_k_tuple_22 = PyTuple_Pack(1, ((PyObject *)__pyx_kp_s_1)); if (unlikely(!__pyx_k_tuple_22)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 328; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_k_tuple_22); - __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_22)); - - /* "schema.pyx":342 - * size = self.thisptr.size() - * if index >= size: - * raise IndexError('Out of bounds') # <<<<<<<<<<<<<< - * index = index % size - * return _AnnotationBuilder().init(self.thisptr[index]) - */ - __pyx_k_tuple_23 = PyTuple_Pack(1, ((PyObject *)__pyx_kp_s_1)); if (unlikely(!__pyx_k_tuple_23)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 342; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_k_tuple_23); - __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_23)); - - /* "schema.pyx":355 - * size = self.thisptr.size() - * if index >= size: - * raise IndexError('Out of bounds') # <<<<<<<<<<<<<< - * index = index % size - * return _NodeReader().init(self.thisptr[index]) - */ - __pyx_k_tuple_24 = PyTuple_Pack(1, ((PyObject *)__pyx_kp_s_1)); if (unlikely(!__pyx_k_tuple_24)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 355; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_k_tuple_24); - __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_24)); - - /* "schema.pyx":369 - * size = self.thisptr.size() - * if index >= size: - * raise IndexError('Out of bounds') # <<<<<<<<<<<<<< - * index = index % size - * return _NodeBuilder().init(self.thisptr[index]) - */ - __pyx_k_tuple_25 = PyTuple_Pack(1, ((PyObject *)__pyx_kp_s_1)); if (unlikely(!__pyx_k_tuple_25)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 369; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_k_tuple_25); - __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_25)); - - /* "schema.pyx":382 - * size = self.thisptr.size() - * if index >= size: - * raise IndexError('Out of bounds') # <<<<<<<<<<<<<< - * index = index % size - * return _FileNode_ImportReader().init(self.thisptr[index]) - */ - __pyx_k_tuple_26 = PyTuple_Pack(1, ((PyObject *)__pyx_kp_s_1)); if (unlikely(!__pyx_k_tuple_26)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 382; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_k_tuple_26); - __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_26)); - - /* "schema.pyx":396 - * size = self.thisptr.size() - * if index >= size: - * raise IndexError('Out of bounds') # <<<<<<<<<<<<<< - * index = index % size - * return _FileNode_ImportBuilder().init(self.thisptr[index]) - */ - __pyx_k_tuple_27 = PyTuple_Pack(1, ((PyObject *)__pyx_kp_s_1)); if (unlikely(!__pyx_k_tuple_27)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 396; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_k_tuple_27); - __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_27)); - - /* "schema.pyx":409 - * size = self.thisptr.size() - * if index >= size: - * raise IndexError('Out of bounds') # <<<<<<<<<<<<<< - * index = index % size - * return _AnnotationReader().init(self.thisptr[index]) - */ - __pyx_k_tuple_28 = PyTuple_Pack(1, ((PyObject *)__pyx_kp_s_1)); if (unlikely(!__pyx_k_tuple_28)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 409; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_k_tuple_28); - __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_28)); - - /* "schema.pyx":423 - * size = self.thisptr.size() - * if index >= size: - * raise IndexError('Out of bounds') # <<<<<<<<<<<<<< - * index = index % size - * return _AnnotationBuilder().init(self.thisptr[index]) - */ - __pyx_k_tuple_29 = PyTuple_Pack(1, ((PyObject *)__pyx_kp_s_1)); if (unlikely(!__pyx_k_tuple_29)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 423; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_k_tuple_29); - __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_29)); - - /* "schema.pyx":45 - * T operator[](uint) - * uint size() - * def make_enum(enum_name, *sequential, **named): # <<<<<<<<<<<<<< - * enums = dict(zip(sequential, range(len(sequential))), **named) - * reverse = dict((value, key) for key, value in enums.iteritems()) - */ - __pyx_k_tuple_36 = PyTuple_Pack(9, ((PyObject *)__pyx_n_s__enum_name), ((PyObject *)__pyx_n_s__sequential), ((PyObject *)__pyx_n_s__named), ((PyObject *)__pyx_n_s__sequential), ((PyObject *)__pyx_n_s__named), ((PyObject *)__pyx_n_s__enums), ((PyObject *)__pyx_n_s__reverse), ((PyObject *)__pyx_n_s__genexpr), ((PyObject *)__pyx_n_s__genexpr)); if (unlikely(!__pyx_k_tuple_36)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 45; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_k_tuple_36); - __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_36)); - __pyx_k_codeobj_37 = (PyObject*)__Pyx_PyCode_New(1, 0, 9, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_k_tuple_36, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_38, __pyx_n_s__make_enum, 45, __pyx_empty_bytes); if (unlikely(!__pyx_k_codeobj_37)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 45; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - - /* "schema.pyx":459 - * return _List_UInt64_Builder().init(self.thisptr.initRequestedFiles(num)) - * - * _ElementSize = make_enum('_ElementSize',inlineComposite = _ElementSize_inlineComposite,eightBytes = _ElementSize_eightBytes,pointer = _ElementSize_pointer,bit = _ElementSize_bit,twoBytes = _ElementSize_twoBytes,fourBytes = _ElementSize_fourBytes,byte = _ElementSize_byte,empty = _ElementSize_empty,) # <<<<<<<<<<<<<< - * - * - */ - __pyx_k_tuple_39 = PyTuple_Pack(1, ((PyObject *)__pyx_n_s___ElementSize)); if (unlikely(!__pyx_k_tuple_39)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 459; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_k_tuple_39); - __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_39)); - - /* "schema.pyx":592 - * - * - * _Value_Body_Which = make_enum('_Value_Body_Which',uint32Value = _Value_Body_uint32Value,float64Value = _Value_Body_float64Value,voidValue = _Value_Body_voidValue,dataValue = _Value_Body_dataValue,listValue = _Value_Body_listValue,int32Value = _Value_Body_int32Value,enumValue = _Value_Body_enumValue,int8Value = _Value_Body_int8Value,boolValue = _Value_Body_boolValue,int16Value = _Value_Body_int16Value,float32Value = _Value_Body_float32Value,interfaceValue = _Value_Body_interfaceValue,uint16Value = _Value_Body_uint16Value,uint8Value = _Value_Body_uint8Value,int64Value = _Value_Body_int64Value,structValue = _Value_Body_structValue,textValue = _Value_Body_textValue,uint64Value = _Value_Body_uint64Value,objectValue = _Value_Body_objectValue,) # <<<<<<<<<<<<<< - * cdef class _Value_BodyReader: - * cdef C_Value.Body.Reader thisptr - */ - __pyx_k_tuple_40 = PyTuple_Pack(1, ((PyObject *)__pyx_n_s___Value_Body_Which)); if (unlikely(!__pyx_k_tuple_40)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 592; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_k_tuple_40); - __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_40)); - - /* "schema.pyx":817 - * - * - * _Type_Body_Which = make_enum('_Type_Body_Which',boolType = _Type_Body_boolType,structType = _Type_Body_structType,int32Type = _Type_Body_int32Type,voidType = _Type_Body_voidType,uint16Type = _Type_Body_uint16Type,dataType = _Type_Body_dataType,objectType = _Type_Body_objectType,int64Type = _Type_Body_int64Type,float64Type = _Type_Body_float64Type,interfaceType = _Type_Body_interfaceType,uint32Type = _Type_Body_uint32Type,uint8Type = _Type_Body_uint8Type,listType = _Type_Body_listType,int8Type = _Type_Body_int8Type,float32Type = _Type_Body_float32Type,enumType = _Type_Body_enumType,uint64Type = _Type_Body_uint64Type,textType = _Type_Body_textType,int16Type = _Type_Body_int16Type,) # <<<<<<<<<<<<<< - * cdef class _Type_BodyReader: - * cdef C_Type.Body.Reader thisptr - */ - __pyx_k_tuple_41 = PyTuple_Pack(1, ((PyObject *)__pyx_n_s___Type_Body_Which)); if (unlikely(!__pyx_k_tuple_41)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 817; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_k_tuple_41); - __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_41)); - - /* "schema.pyx":1062 - * - * - * _Node_Body_Which = make_enum('_Node_Body_Which',annotationNode = _Node_Body_annotationNode,interfaceNode = _Node_Body_interfaceNode,enumNode = _Node_Body_enumNode,structNode = _Node_Body_structNode,constNode = _Node_Body_constNode,fileNode = _Node_Body_fileNode,) # <<<<<<<<<<<<<< - * cdef class _Node_BodyReader: - * cdef C_Node.Body.Reader thisptr - */ - __pyx_k_tuple_42 = PyTuple_Pack(1, ((PyObject *)__pyx_n_s___Node_Body_Which)); if (unlikely(!__pyx_k_tuple_42)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1062; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_k_tuple_42); - __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_42)); - - /* "schema.pyx":1422 - * - * - * _StructNode_Member_Body_Which = make_enum('_StructNode_Member_Body_Which',fieldMember = _StructNode_Member_Body_fieldMember,unionMember = _StructNode_Member_Body_unionMember,) # <<<<<<<<<<<<<< - * cdef class _StructNode_Member_BodyReader: - * cdef C_StructNode.Member.Body.Reader thisptr - */ - __pyx_k_tuple_44 = PyTuple_Pack(1, ((PyObject *)__pyx_n_s_43)); if (unlikely(!__pyx_k_tuple_44)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1422; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_k_tuple_44); - __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_44)); - - /* "schema.pyx":1703 - * self.thisptr = new capnp.PackedFdMessageReader(fd) - * - * def writeMessageToFd(int fd, MessageBuilder m): # <<<<<<<<<<<<<< - * capnp.writeMessageToFd(fd, deref(m.thisptr)) - * def writePackedMessageToFd(int fd, MessageBuilder m): - */ - __pyx_k_tuple_45 = PyTuple_Pack(2, ((PyObject *)__pyx_n_s__fd), ((PyObject *)__pyx_n_s__m)); if (unlikely(!__pyx_k_tuple_45)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1703; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_k_tuple_45); - __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_45)); - __pyx_k_codeobj_46 = (PyObject*)__Pyx_PyCode_New(2, 0, 2, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_k_tuple_45, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_38, __pyx_n_s__writeMessageToFd, 1703, __pyx_empty_bytes); if (unlikely(!__pyx_k_codeobj_46)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1703; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - - /* "schema.pyx":1705 - * def writeMessageToFd(int fd, MessageBuilder m): - * capnp.writeMessageToFd(fd, deref(m.thisptr)) - * def writePackedMessageToFd(int fd, MessageBuilder m): # <<<<<<<<<<<<<< - * capnp.writePackedMessageToFd(fd, deref(m.thisptr)) - * - */ - __pyx_k_tuple_47 = PyTuple_Pack(2, ((PyObject *)__pyx_n_s__fd), ((PyObject *)__pyx_n_s__m)); if (unlikely(!__pyx_k_tuple_47)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1705; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_k_tuple_47); - __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_47)); - __pyx_k_codeobj_48 = (PyObject*)__Pyx_PyCode_New(2, 0, 2, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_k_tuple_47, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_38, __pyx_n_s_49, 1705, __pyx_empty_bytes); if (unlikely(!__pyx_k_codeobj_48)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1705; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - - /* "schema.pyx":1710 - * # Make the namespace human usable - * from types import ModuleType - * temp = CodeGeneratorRequest = ModuleType('CodeGeneratorRequest') # <<<<<<<<<<<<<< - * temp.Reader = _CodeGeneratorRequestReader - * temp.Builder = _CodeGeneratorRequestBuilder - */ - __pyx_k_tuple_51 = PyTuple_Pack(1, ((PyObject *)__pyx_n_s_50)); if (unlikely(!__pyx_k_tuple_51)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1710; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_k_tuple_51); - __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_51)); - - /* "schema.pyx":1714 - * temp.Builder = _CodeGeneratorRequestBuilder - * - * temp = ElementSize = ModuleType('ElementSize') # <<<<<<<<<<<<<< - * ElementSize = _ElementSize - * - */ - __pyx_k_tuple_52 = PyTuple_Pack(1, ((PyObject *)__pyx_n_s__ElementSize)); if (unlikely(!__pyx_k_tuple_52)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1714; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_k_tuple_52); - __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_52)); - - /* "schema.pyx":1717 - * ElementSize = _ElementSize - * - * temp = InterfaceNode = ModuleType('InterfaceNode') # <<<<<<<<<<<<<< - * temp.Reader = _InterfaceNodeReader - * temp.Builder = _InterfaceNodeBuilder - */ - __pyx_k_tuple_53 = PyTuple_Pack(1, ((PyObject *)__pyx_n_s__InterfaceNode)); if (unlikely(!__pyx_k_tuple_53)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1717; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_k_tuple_53); - __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_53)); - - /* "schema.pyx":1721 - * temp.Builder = _InterfaceNodeBuilder - * - * temp = InterfaceNode.Method = ModuleType('InterfaceNode.Method') # <<<<<<<<<<<<<< - * temp.Reader = _InterfaceNode_MethodReader - * temp.Builder = _InterfaceNode_MethodBuilder - */ - __pyx_k_tuple_55 = PyTuple_Pack(1, ((PyObject *)__pyx_kp_s_54)); if (unlikely(!__pyx_k_tuple_55)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1721; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_k_tuple_55); - __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_55)); - - /* "schema.pyx":1725 - * temp.Builder = _InterfaceNode_MethodBuilder - * - * temp = InterfaceNode.Method.Param = ModuleType('InterfaceNode.Method.Param') # <<<<<<<<<<<<<< - * temp.Reader = _InterfaceNode_Method_ParamReader - * temp.Builder = _InterfaceNode_Method_ParamBuilder - */ - __pyx_k_tuple_57 = PyTuple_Pack(1, ((PyObject *)__pyx_kp_s_56)); if (unlikely(!__pyx_k_tuple_57)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1725; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_k_tuple_57); - __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_57)); - - /* "schema.pyx":1729 - * temp.Builder = _InterfaceNode_Method_ParamBuilder - * - * temp = Value = ModuleType('Value') # <<<<<<<<<<<<<< - * temp.Reader = _ValueReader - * temp.Builder = _ValueBuilder - */ - __pyx_k_tuple_58 = PyTuple_Pack(1, ((PyObject *)__pyx_n_s__Value)); if (unlikely(!__pyx_k_tuple_58)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1729; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_k_tuple_58); - __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_58)); - - /* "schema.pyx":1733 - * temp.Builder = _ValueBuilder - * - * temp = Value.Body = ModuleType('Value.Body') # <<<<<<<<<<<<<< - * temp.Reader = _Value_BodyReader - * temp.Builder = _Value_BodyBuilder - */ - __pyx_k_tuple_60 = PyTuple_Pack(1, ((PyObject *)__pyx_kp_s_59)); if (unlikely(!__pyx_k_tuple_60)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1733; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_k_tuple_60); - __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_60)); - - /* "schema.pyx":1737 - * temp.Builder = _Value_BodyBuilder - * - * temp = ConstNode = ModuleType('ConstNode') # <<<<<<<<<<<<<< - * temp.Reader = _ConstNodeReader - * temp.Builder = _ConstNodeBuilder - */ - __pyx_k_tuple_61 = PyTuple_Pack(1, ((PyObject *)__pyx_n_s__ConstNode)); if (unlikely(!__pyx_k_tuple_61)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1737; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_k_tuple_61); - __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_61)); - - /* "schema.pyx":1741 - * temp.Builder = _ConstNodeBuilder - * - * temp = Type = ModuleType('Type') # <<<<<<<<<<<<<< - * temp.Reader = _TypeReader - * temp.Builder = _TypeBuilder - */ - __pyx_k_tuple_62 = PyTuple_Pack(1, ((PyObject *)__pyx_n_s__Type)); if (unlikely(!__pyx_k_tuple_62)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1741; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_k_tuple_62); - __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_62)); - - /* "schema.pyx":1745 - * temp.Builder = _TypeBuilder - * - * temp = Type.Body = ModuleType('Type.Body') # <<<<<<<<<<<<<< - * temp.Reader = _Type_BodyReader - * temp.Builder = _Type_BodyBuilder - */ - __pyx_k_tuple_64 = PyTuple_Pack(1, ((PyObject *)__pyx_kp_s_63)); if (unlikely(!__pyx_k_tuple_64)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1745; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_k_tuple_64); - __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_64)); - - /* "schema.pyx":1749 - * temp.Builder = _Type_BodyBuilder - * - * temp = FileNode = ModuleType('FileNode') # <<<<<<<<<<<<<< - * temp.Reader = _FileNodeReader - * temp.Builder = _FileNodeBuilder - */ - __pyx_k_tuple_65 = PyTuple_Pack(1, ((PyObject *)__pyx_n_s__FileNode)); if (unlikely(!__pyx_k_tuple_65)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1749; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_k_tuple_65); - __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_65)); - - /* "schema.pyx":1753 - * temp.Builder = _FileNodeBuilder - * - * temp = FileNode.Import = ModuleType('FileNode.Import') # <<<<<<<<<<<<<< - * temp.Reader = _FileNode_ImportReader - * temp.Builder = _FileNode_ImportBuilder - */ - __pyx_k_tuple_67 = PyTuple_Pack(1, ((PyObject *)__pyx_kp_s_66)); if (unlikely(!__pyx_k_tuple_67)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1753; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_k_tuple_67); - __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_67)); - - /* "schema.pyx":1757 - * temp.Builder = _FileNode_ImportBuilder - * - * temp = Node = ModuleType('Node') # <<<<<<<<<<<<<< - * temp.Reader = _NodeReader - * temp.Builder = _NodeBuilder - */ - __pyx_k_tuple_68 = PyTuple_Pack(1, ((PyObject *)__pyx_n_s__Node)); if (unlikely(!__pyx_k_tuple_68)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1757; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_k_tuple_68); - __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_68)); - - /* "schema.pyx":1761 - * temp.Builder = _NodeBuilder - * - * temp = Node.Body = ModuleType('Node.Body') # <<<<<<<<<<<<<< - * temp.Reader = _Node_BodyReader - * temp.Builder = _Node_BodyBuilder - */ - __pyx_k_tuple_70 = PyTuple_Pack(1, ((PyObject *)__pyx_kp_s_69)); if (unlikely(!__pyx_k_tuple_70)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1761; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_k_tuple_70); - __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_70)); - - /* "schema.pyx":1765 - * temp.Builder = _Node_BodyBuilder - * - * temp = Node.NestedNode = ModuleType('Node.NestedNode') # <<<<<<<<<<<<<< - * temp.Reader = _Node_NestedNodeReader - * temp.Builder = _Node_NestedNodeBuilder - */ - __pyx_k_tuple_72 = PyTuple_Pack(1, ((PyObject *)__pyx_kp_s_71)); if (unlikely(!__pyx_k_tuple_72)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1765; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_k_tuple_72); - __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_72)); - - /* "schema.pyx":1769 - * temp.Builder = _Node_NestedNodeBuilder - * - * temp = AnnotationNode = ModuleType('AnnotationNode') # <<<<<<<<<<<<<< - * temp.Reader = _AnnotationNodeReader - * temp.Builder = _AnnotationNodeBuilder - */ - __pyx_k_tuple_73 = PyTuple_Pack(1, ((PyObject *)__pyx_n_s__AnnotationNode)); if (unlikely(!__pyx_k_tuple_73)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1769; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_k_tuple_73); - __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_73)); - - /* "schema.pyx":1773 - * temp.Builder = _AnnotationNodeBuilder - * - * temp = EnumNode = ModuleType('EnumNode') # <<<<<<<<<<<<<< - * temp.Reader = _EnumNodeReader - * temp.Builder = _EnumNodeBuilder - */ - __pyx_k_tuple_74 = PyTuple_Pack(1, ((PyObject *)__pyx_n_s__EnumNode)); if (unlikely(!__pyx_k_tuple_74)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1773; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_k_tuple_74); - __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_74)); - - /* "schema.pyx":1777 - * temp.Builder = _EnumNodeBuilder - * - * temp = EnumNode.Enumerant = ModuleType('EnumNode.Enumerant') # <<<<<<<<<<<<<< - * temp.Reader = _EnumNode_EnumerantReader - * temp.Builder = _EnumNode_EnumerantBuilder - */ - __pyx_k_tuple_76 = PyTuple_Pack(1, ((PyObject *)__pyx_kp_s_75)); if (unlikely(!__pyx_k_tuple_76)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1777; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_k_tuple_76); - __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_76)); - - /* "schema.pyx":1781 - * temp.Builder = _EnumNode_EnumerantBuilder - * - * temp = StructNode = ModuleType('StructNode') # <<<<<<<<<<<<<< - * temp.Reader = _StructNodeReader - * temp.Builder = _StructNodeBuilder - */ - __pyx_k_tuple_77 = PyTuple_Pack(1, ((PyObject *)__pyx_n_s__StructNode)); if (unlikely(!__pyx_k_tuple_77)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1781; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_k_tuple_77); - __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_77)); - - /* "schema.pyx":1785 - * temp.Builder = _StructNodeBuilder - * - * temp = StructNode.Union = ModuleType('StructNode.Union') # <<<<<<<<<<<<<< - * temp.Reader = _StructNode_UnionReader - * temp.Builder = _StructNode_UnionBuilder - */ - __pyx_k_tuple_79 = PyTuple_Pack(1, ((PyObject *)__pyx_kp_s_78)); if (unlikely(!__pyx_k_tuple_79)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1785; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_k_tuple_79); - __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_79)); - - /* "schema.pyx":1789 - * temp.Builder = _StructNode_UnionBuilder - * - * temp = StructNode.Member = ModuleType('StructNode.Member') # <<<<<<<<<<<<<< - * temp.Reader = _StructNode_MemberReader - * temp.Builder = _StructNode_MemberBuilder - */ - __pyx_k_tuple_81 = PyTuple_Pack(1, ((PyObject *)__pyx_kp_s_80)); if (unlikely(!__pyx_k_tuple_81)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1789; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_k_tuple_81); - __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_81)); - - /* "schema.pyx":1793 - * temp.Builder = _StructNode_MemberBuilder - * - * temp = StructNode.Member.Body = ModuleType('StructNode.Member.Body') # <<<<<<<<<<<<<< - * temp.Reader = _StructNode_Member_BodyReader - * temp.Builder = _StructNode_Member_BodyBuilder - */ - __pyx_k_tuple_83 = PyTuple_Pack(1, ((PyObject *)__pyx_kp_s_82)); if (unlikely(!__pyx_k_tuple_83)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1793; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_k_tuple_83); - __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_83)); - - /* "schema.pyx":1797 - * temp.Builder = _StructNode_Member_BodyBuilder - * - * temp = StructNode.Field = ModuleType('StructNode.Field') # <<<<<<<<<<<<<< - * temp.Reader = _StructNode_FieldReader - * temp.Builder = _StructNode_FieldBuilder - */ - __pyx_k_tuple_85 = PyTuple_Pack(1, ((PyObject *)__pyx_kp_s_84)); if (unlikely(!__pyx_k_tuple_85)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1797; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_k_tuple_85); - __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_85)); - - /* "schema.pyx":1801 - * temp.Builder = _StructNode_FieldBuilder - * - * temp = Annotation = ModuleType('Annotation') # <<<<<<<<<<<<<< - * temp.Reader = _AnnotationReader - * temp.Builder = _AnnotationBuilder - */ - __pyx_k_tuple_86 = PyTuple_Pack(1, ((PyObject *)__pyx_n_s__Annotation)); if (unlikely(!__pyx_k_tuple_86)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1801; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_k_tuple_86); - __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_86)); - __Pyx_RefNannyFinishContext(); - return 0; - __pyx_L1_error:; - __Pyx_RefNannyFinishContext(); - return -1; -} - -static int __Pyx_InitGlobals(void) { - if (__Pyx_InitStrings(__pyx_string_tab) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}; - return 0; - __pyx_L1_error:; - return -1; -} - -#if PY_MAJOR_VERSION < 3 -PyMODINIT_FUNC initschema(void); /*proto*/ -PyMODINIT_FUNC initschema(void) -#else -PyMODINIT_FUNC PyInit_schema(void); /*proto*/ -PyMODINIT_FUNC PyInit_schema(void) -#endif -{ - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - PyObject *__pyx_t_3 = NULL; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannyDeclarations - #if CYTHON_REFNANNY - __Pyx_RefNanny = __Pyx_RefNannyImportAPI("refnanny"); - if (!__Pyx_RefNanny) { - PyErr_Clear(); - __Pyx_RefNanny = __Pyx_RefNannyImportAPI("Cython.Runtime.refnanny"); - if (!__Pyx_RefNanny) - Py_FatalError("failed to import 'refnanny' module"); - } - #endif - __Pyx_RefNannySetupContext("PyMODINIT_FUNC PyInit_schema(void)", 0); - if ( __Pyx_check_binary_version() < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_empty_tuple = PyTuple_New(0); if (unlikely(!__pyx_empty_tuple)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_empty_bytes = PyBytes_FromStringAndSize("", 0); if (unlikely(!__pyx_empty_bytes)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - #ifdef __Pyx_CyFunction_USED - if (__Pyx_CyFunction_init() < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - #endif - #ifdef __Pyx_FusedFunction_USED - if (__pyx_FusedFunction_init() < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - #endif - #ifdef __Pyx_Generator_USED - if (__pyx_Generator_init() < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - #endif - /*--- Library function declarations ---*/ - /*--- Threads initialization code ---*/ - #if defined(__PYX_FORCE_INIT_THREADS) && __PYX_FORCE_INIT_THREADS - #ifdef WITH_THREAD /* Python build with threading support? */ - PyEval_InitThreads(); - #endif - #endif - /*--- Module creation code ---*/ - #if PY_MAJOR_VERSION < 3 - __pyx_m = Py_InitModule4(__Pyx_NAMESTR("schema"), __pyx_methods, 0, 0, PYTHON_API_VERSION); Py_XINCREF(__pyx_m); - #else - __pyx_m = PyModule_Create(&__pyx_moduledef); - #endif - if (unlikely(!__pyx_m)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_d = PyModule_GetDict(__pyx_m); if (unlikely(!__pyx_d)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - Py_INCREF(__pyx_d); - #if PY_MAJOR_VERSION >= 3 - { - PyObject *modules = PyImport_GetModuleDict(); if (unlikely(!modules)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (!PyDict_GetItemString(modules, "schema")) { - if (unlikely(PyDict_SetItemString(modules, "schema", __pyx_m) < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - } - } - #endif - __pyx_b = PyImport_AddModule(__Pyx_NAMESTR(__Pyx_BUILTIN_MODULE_NAME)); if (unlikely(!__pyx_b)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - #if CYTHON_COMPILING_IN_PYPY - Py_INCREF(__pyx_b); - #endif - if (__Pyx_SetAttrString(__pyx_m, "__builtins__", __pyx_b) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}; - /*--- Initialize various global constants etc. ---*/ - if (unlikely(__Pyx_InitGlobals() < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - #if PY_MAJOR_VERSION < 3 && (__PYX_DEFAULT_STRING_ENCODING_IS_ASCII || __PYX_DEFAULT_STRING_ENCODING_IS_DEFAULT) - if (__Pyx_init_sys_getdefaultencoding_params() < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - #endif - if (__pyx_module_is_main_schema) { - if (__Pyx_SetAttrString(__pyx_m, "__name__", __pyx_n_s____main__) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}; - } - /*--- Builtin init code ---*/ - if (unlikely(__Pyx_InitCachedBuiltins() < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - /*--- Constants init code ---*/ - if (unlikely(__Pyx_InitCachedConstants() < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - /*--- Global init code ---*/ - /*--- Variable export code ---*/ - /*--- Function export code ---*/ - /*--- Type init code ---*/ - __pyx_vtabptr_6schema__List_FileNode_FileNode_Import_Reader = &__pyx_vtable_6schema__List_FileNode_FileNode_Import_Reader; - __pyx_vtable_6schema__List_FileNode_FileNode_Import_Reader.init = (PyObject *(*)(struct __pyx_obj_6schema__List_FileNode_FileNode_Import_Reader *, ::capnp::List<::capnp::schema::FileNode::Import>::Reader))__pyx_f_6schema_37_List_FileNode_FileNode_Import_Reader_init; - if (PyType_Ready(&__pyx_type_6schema__List_FileNode_FileNode_Import_Reader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 374; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema__List_FileNode_FileNode_Import_Reader.tp_dict, __pyx_vtabptr_6schema__List_FileNode_FileNode_Import_Reader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 374; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "_List_FileNode_FileNode_Import_Reader", (PyObject *)&__pyx_type_6schema__List_FileNode_FileNode_Import_Reader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 374; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema__List_FileNode_FileNode_Import_Reader = &__pyx_type_6schema__List_FileNode_FileNode_Import_Reader; - __pyx_vtabptr_6schema__StructNode_FieldBuilder = &__pyx_vtable_6schema__StructNode_FieldBuilder; - __pyx_vtable_6schema__StructNode_FieldBuilder.init = (PyObject *(*)(struct __pyx_obj_6schema__StructNode_FieldBuilder *, ::capnp::schema::StructNode::Field::Builder))__pyx_f_6schema_24_StructNode_FieldBuilder_init; - if (PyType_Ready(&__pyx_type_6schema__StructNode_FieldBuilder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1526; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema__StructNode_FieldBuilder.tp_dict, __pyx_vtabptr_6schema__StructNode_FieldBuilder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1526; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "_StructNode_FieldBuilder", (PyObject *)&__pyx_type_6schema__StructNode_FieldBuilder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1526; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema__StructNode_FieldBuilder = &__pyx_type_6schema__StructNode_FieldBuilder; - __pyx_vtabptr_6schema__StructNodeReader = &__pyx_vtable_6schema__StructNodeReader; - __pyx_vtable_6schema__StructNodeReader.init = (PyObject *(*)(struct __pyx_obj_6schema__StructNodeReader *, ::capnp::schema::StructNode::Reader))__pyx_f_6schema_17_StructNodeReader_init; - if (PyType_Ready(&__pyx_type_6schema__StructNodeReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1547; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema__StructNodeReader.tp_dict, __pyx_vtabptr_6schema__StructNodeReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1547; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "_StructNodeReader", (PyObject *)&__pyx_type_6schema__StructNodeReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1547; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema__StructNodeReader = &__pyx_type_6schema__StructNodeReader; - __pyx_vtabptr_6schema__InterfaceNode_MethodReader = &__pyx_vtable_6schema__InterfaceNode_MethodReader; - __pyx_vtable_6schema__InterfaceNode_MethodReader.init = (PyObject *(*)(struct __pyx_obj_6schema__InterfaceNode_MethodReader *, ::capnp::schema::InterfaceNode::Method::Reader))__pyx_f_6schema_27_InterfaceNode_MethodReader_init; - if (PyType_Ready(&__pyx_type_6schema__InterfaceNode_MethodReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 508; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema__InterfaceNode_MethodReader.tp_dict, __pyx_vtabptr_6schema__InterfaceNode_MethodReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 508; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "_InterfaceNode_MethodReader", (PyObject *)&__pyx_type_6schema__InterfaceNode_MethodReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 508; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema__InterfaceNode_MethodReader = &__pyx_type_6schema__InterfaceNode_MethodReader; - __pyx_vtabptr_6schema__Node_BodyBuilder = &__pyx_vtable_6schema__Node_BodyBuilder; - __pyx_vtable_6schema__Node_BodyBuilder.init = (PyObject *(*)(struct __pyx_obj_6schema__Node_BodyBuilder *, ::capnp::schema::Node::Body::Builder))__pyx_f_6schema_17_Node_BodyBuilder_init; - __pyx_vtable_6schema__Node_BodyBuilder.which = (int (*)(struct __pyx_obj_6schema__Node_BodyBuilder *, int __pyx_skip_dispatch))__pyx_f_6schema_17_Node_BodyBuilder_which; - if (PyType_Ready(&__pyx_type_6schema__Node_BodyBuilder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1090; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema__Node_BodyBuilder.tp_dict, __pyx_vtabptr_6schema__Node_BodyBuilder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1090; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "_Node_BodyBuilder", (PyObject *)&__pyx_type_6schema__Node_BodyBuilder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1090; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema__Node_BodyBuilder = &__pyx_type_6schema__Node_BodyBuilder; - __pyx_vtabptr_6schema_MessageBuilder = &__pyx_vtable_6schema_MessageBuilder; - __pyx_vtable_6schema_MessageBuilder.getRootCodeGeneratorRequest = (PyObject *(*)(struct __pyx_obj_6schema_MessageBuilder *, int __pyx_skip_dispatch))__pyx_f_6schema_14MessageBuilder_getRootCodeGeneratorRequest; - __pyx_vtable_6schema_MessageBuilder.initRootCodeGeneratorRequest = (PyObject *(*)(struct __pyx_obj_6schema_MessageBuilder *, int __pyx_skip_dispatch))__pyx_f_6schema_14MessageBuilder_initRootCodeGeneratorRequest; - __pyx_vtable_6schema_MessageBuilder.getRootInterfaceNode = (PyObject *(*)(struct __pyx_obj_6schema_MessageBuilder *, int __pyx_skip_dispatch))__pyx_f_6schema_14MessageBuilder_getRootInterfaceNode; - __pyx_vtable_6schema_MessageBuilder.initRootInterfaceNode = (PyObject *(*)(struct __pyx_obj_6schema_MessageBuilder *, int __pyx_skip_dispatch))__pyx_f_6schema_14MessageBuilder_initRootInterfaceNode; - __pyx_vtable_6schema_MessageBuilder.getRootValue = (PyObject *(*)(struct __pyx_obj_6schema_MessageBuilder *, int __pyx_skip_dispatch))__pyx_f_6schema_14MessageBuilder_getRootValue; - __pyx_vtable_6schema_MessageBuilder.initRootValue = (PyObject *(*)(struct __pyx_obj_6schema_MessageBuilder *, int __pyx_skip_dispatch))__pyx_f_6schema_14MessageBuilder_initRootValue; - __pyx_vtable_6schema_MessageBuilder.getRootConstNode = (PyObject *(*)(struct __pyx_obj_6schema_MessageBuilder *, int __pyx_skip_dispatch))__pyx_f_6schema_14MessageBuilder_getRootConstNode; - __pyx_vtable_6schema_MessageBuilder.initRootConstNode = (PyObject *(*)(struct __pyx_obj_6schema_MessageBuilder *, int __pyx_skip_dispatch))__pyx_f_6schema_14MessageBuilder_initRootConstNode; - __pyx_vtable_6schema_MessageBuilder.getRootType = (PyObject *(*)(struct __pyx_obj_6schema_MessageBuilder *, int __pyx_skip_dispatch))__pyx_f_6schema_14MessageBuilder_getRootType; - __pyx_vtable_6schema_MessageBuilder.initRootType = (PyObject *(*)(struct __pyx_obj_6schema_MessageBuilder *, int __pyx_skip_dispatch))__pyx_f_6schema_14MessageBuilder_initRootType; - __pyx_vtable_6schema_MessageBuilder.getRootFileNode = (PyObject *(*)(struct __pyx_obj_6schema_MessageBuilder *, int __pyx_skip_dispatch))__pyx_f_6schema_14MessageBuilder_getRootFileNode; - __pyx_vtable_6schema_MessageBuilder.initRootFileNode = (PyObject *(*)(struct __pyx_obj_6schema_MessageBuilder *, int __pyx_skip_dispatch))__pyx_f_6schema_14MessageBuilder_initRootFileNode; - __pyx_vtable_6schema_MessageBuilder.getRootNode = (PyObject *(*)(struct __pyx_obj_6schema_MessageBuilder *, int __pyx_skip_dispatch))__pyx_f_6schema_14MessageBuilder_getRootNode; - __pyx_vtable_6schema_MessageBuilder.initRootNode = (PyObject *(*)(struct __pyx_obj_6schema_MessageBuilder *, int __pyx_skip_dispatch))__pyx_f_6schema_14MessageBuilder_initRootNode; - __pyx_vtable_6schema_MessageBuilder.getRootAnnotationNode = (PyObject *(*)(struct __pyx_obj_6schema_MessageBuilder *, int __pyx_skip_dispatch))__pyx_f_6schema_14MessageBuilder_getRootAnnotationNode; - __pyx_vtable_6schema_MessageBuilder.initRootAnnotationNode = (PyObject *(*)(struct __pyx_obj_6schema_MessageBuilder *, int __pyx_skip_dispatch))__pyx_f_6schema_14MessageBuilder_initRootAnnotationNode; - __pyx_vtable_6schema_MessageBuilder.getRootEnumNode = (PyObject *(*)(struct __pyx_obj_6schema_MessageBuilder *, int __pyx_skip_dispatch))__pyx_f_6schema_14MessageBuilder_getRootEnumNode; - __pyx_vtable_6schema_MessageBuilder.initRootEnumNode = (PyObject *(*)(struct __pyx_obj_6schema_MessageBuilder *, int __pyx_skip_dispatch))__pyx_f_6schema_14MessageBuilder_initRootEnumNode; - __pyx_vtable_6schema_MessageBuilder.getRootStructNode = (PyObject *(*)(struct __pyx_obj_6schema_MessageBuilder *, int __pyx_skip_dispatch))__pyx_f_6schema_14MessageBuilder_getRootStructNode; - __pyx_vtable_6schema_MessageBuilder.initRootStructNode = (PyObject *(*)(struct __pyx_obj_6schema_MessageBuilder *, int __pyx_skip_dispatch))__pyx_f_6schema_14MessageBuilder_initRootStructNode; - __pyx_vtable_6schema_MessageBuilder.getRootAnnotation = (PyObject *(*)(struct __pyx_obj_6schema_MessageBuilder *, int __pyx_skip_dispatch))__pyx_f_6schema_14MessageBuilder_getRootAnnotation; - __pyx_vtable_6schema_MessageBuilder.initRootAnnotation = (PyObject *(*)(struct __pyx_obj_6schema_MessageBuilder *, int __pyx_skip_dispatch))__pyx_f_6schema_14MessageBuilder_initRootAnnotation; - if (PyType_Ready(&__pyx_type_6schema_MessageBuilder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1615; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema_MessageBuilder.tp_dict, __pyx_vtabptr_6schema_MessageBuilder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1615; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "MessageBuilder", (PyObject *)&__pyx_type_6schema_MessageBuilder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1615; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema_MessageBuilder = &__pyx_type_6schema_MessageBuilder; - __pyx_vtabptr_6schema__ConstNodeReader = &__pyx_vtable_6schema__ConstNodeReader; - __pyx_vtable_6schema__ConstNodeReader.init = (PyObject *(*)(struct __pyx_obj_6schema__ConstNodeReader *, ::capnp::schema::ConstNode::Reader))__pyx_f_6schema_16_ConstNodeReader_init; - if (PyType_Ready(&__pyx_type_6schema__ConstNodeReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 786; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema__ConstNodeReader.tp_dict, __pyx_vtabptr_6schema__ConstNodeReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 786; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "_ConstNodeReader", (PyObject *)&__pyx_type_6schema__ConstNodeReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 786; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema__ConstNodeReader = &__pyx_type_6schema__ConstNodeReader; - __pyx_vtabptr_6schema__FileNodeBuilder = &__pyx_vtable_6schema__FileNodeBuilder; - __pyx_vtable_6schema__FileNodeBuilder.init = (PyObject *(*)(struct __pyx_obj_6schema__FileNodeBuilder *, ::capnp::schema::FileNode::Builder))__pyx_f_6schema_16_FileNodeBuilder_init; - __pyx_vtable_6schema__FileNodeBuilder.initImports = (PyObject *(*)(struct __pyx_obj_6schema__FileNodeBuilder *, __pyx_t_6schema_uint, int __pyx_skip_dispatch))__pyx_f_6schema_16_FileNodeBuilder_initImports; - if (PyType_Ready(&__pyx_type_6schema__FileNodeBuilder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1049; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema__FileNodeBuilder.tp_dict, __pyx_vtabptr_6schema__FileNodeBuilder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1049; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "_FileNodeBuilder", (PyObject *)&__pyx_type_6schema__FileNodeBuilder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1049; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema__FileNodeBuilder = &__pyx_type_6schema__FileNodeBuilder; - __pyx_vtabptr_6schema__Type_BodyReader = &__pyx_vtable_6schema__Type_BodyReader; - __pyx_vtable_6schema__Type_BodyReader.init = (PyObject *(*)(struct __pyx_obj_6schema__Type_BodyReader *, ::capnp::schema::Type::Body::Reader))__pyx_f_6schema_16_Type_BodyReader_init; - __pyx_vtable_6schema__Type_BodyReader.which = (int (*)(struct __pyx_obj_6schema__Type_BodyReader *, int __pyx_skip_dispatch))__pyx_f_6schema_16_Type_BodyReader_which; - if (PyType_Ready(&__pyx_type_6schema__Type_BodyReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 818; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema__Type_BodyReader.tp_dict, __pyx_vtabptr_6schema__Type_BodyReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 818; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "_Type_BodyReader", (PyObject *)&__pyx_type_6schema__Type_BodyReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 818; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema__Type_BodyReader = &__pyx_type_6schema__Type_BodyReader; - __pyx_vtabptr_6schema__List_InterfaceNode_InterfaceNode_Method_Reader = &__pyx_vtable_6schema__List_InterfaceNode_InterfaceNode_Method_Reader; - __pyx_vtable_6schema__List_InterfaceNode_InterfaceNode_Method_Reader.init = (PyObject *(*)(struct __pyx_obj_6schema__List_InterfaceNode_InterfaceNode_Method_Reader *, ::capnp::List<::capnp::schema::InterfaceNode::Method>::Reader))__pyx_f_6schema_47_List_InterfaceNode_InterfaceNode_Method_Reader_init; - if (PyType_Ready(&__pyx_type_6schema__List_InterfaceNode_InterfaceNode_Method_Reader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 50; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema__List_InterfaceNode_InterfaceNode_Method_Reader.tp_dict, __pyx_vtabptr_6schema__List_InterfaceNode_InterfaceNode_Method_Reader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 50; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "_List_InterfaceNode_InterfaceNode_Method_Reader", (PyObject *)&__pyx_type_6schema__List_InterfaceNode_InterfaceNode_Method_Reader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 50; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema__List_InterfaceNode_InterfaceNode_Method_Reader = &__pyx_type_6schema__List_InterfaceNode_InterfaceNode_Method_Reader; - if (PyType_Ready(&__pyx_type_6schema___pyx_scope_struct_1_genexpr) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 47; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema___pyx_scope_struct_1_genexpr = &__pyx_type_6schema___pyx_scope_struct_1_genexpr; - __pyx_vtabptr_6schema__List_StructNode_Member_Annotation_Builder = &__pyx_vtable_6schema__List_StructNode_Member_Annotation_Builder; - __pyx_vtable_6schema__List_StructNode_Member_Annotation_Builder.init = (PyObject *(*)(struct __pyx_obj_6schema__List_StructNode_Member_Annotation_Builder *, ::capnp::List<::capnp::schema::Annotation>::Builder))__pyx_f_6schema_42_List_StructNode_Member_Annotation_Builder_init; - if (PyType_Ready(&__pyx_type_6schema__List_StructNode_Member_Annotation_Builder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 253; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema__List_StructNode_Member_Annotation_Builder.tp_dict, __pyx_vtabptr_6schema__List_StructNode_Member_Annotation_Builder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 253; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "_List_StructNode_Member_Annotation_Builder", (PyObject *)&__pyx_type_6schema__List_StructNode_Member_Annotation_Builder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 253; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema__List_StructNode_Member_Annotation_Builder = &__pyx_type_6schema__List_StructNode_Member_Annotation_Builder; - __pyx_vtabptr_6schema__InterfaceNodeReader = &__pyx_vtable_6schema__InterfaceNodeReader; - __pyx_vtable_6schema__InterfaceNodeReader.init = (PyObject *(*)(struct __pyx_obj_6schema__InterfaceNodeReader *, ::capnp::schema::InterfaceNode::Reader))__pyx_f_6schema_20_InterfaceNodeReader_init; - if (PyType_Ready(&__pyx_type_6schema__InterfaceNodeReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 569; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema__InterfaceNodeReader.tp_dict, __pyx_vtabptr_6schema__InterfaceNodeReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 569; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "_InterfaceNodeReader", (PyObject *)&__pyx_type_6schema__InterfaceNodeReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 569; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema__InterfaceNodeReader = &__pyx_type_6schema__InterfaceNodeReader; - __pyx_vtabptr_6schema__EnumNodeReader = &__pyx_vtable_6schema__EnumNodeReader; - __pyx_vtable_6schema__EnumNodeReader.init = (PyObject *(*)(struct __pyx_obj_6schema__EnumNodeReader *, ::capnp::schema::EnumNode::Reader))__pyx_f_6schema_15_EnumNodeReader_init; - if (PyType_Ready(&__pyx_type_6schema__EnumNodeReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1368; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema__EnumNodeReader.tp_dict, __pyx_vtabptr_6schema__EnumNodeReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1368; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "_EnumNodeReader", (PyObject *)&__pyx_type_6schema__EnumNodeReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1368; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema__EnumNodeReader = &__pyx_type_6schema__EnumNodeReader; - __pyx_vtabptr_6schema__List_Node_Annotation_Builder = &__pyx_vtable_6schema__List_Node_Annotation_Builder; - __pyx_vtable_6schema__List_Node_Annotation_Builder.init = (PyObject *(*)(struct __pyx_obj_6schema__List_Node_Annotation_Builder *, ::capnp::List<::capnp::schema::Annotation>::Builder))__pyx_f_6schema_29_List_Node_Annotation_Builder_init; - if (PyType_Ready(&__pyx_type_6schema__List_Node_Annotation_Builder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 334; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema__List_Node_Annotation_Builder.tp_dict, __pyx_vtabptr_6schema__List_Node_Annotation_Builder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 334; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "_List_Node_Annotation_Builder", (PyObject *)&__pyx_type_6schema__List_Node_Annotation_Builder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 334; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema__List_Node_Annotation_Builder = &__pyx_type_6schema__List_Node_Annotation_Builder; - __pyx_vtabptr_6schema__EnumNode_EnumerantReader = &__pyx_vtable_6schema__EnumNode_EnumerantReader; - __pyx_vtable_6schema__EnumNode_EnumerantReader.init = (PyObject *(*)(struct __pyx_obj_6schema__EnumNode_EnumerantReader *, ::capnp::schema::EnumNode::Enumerant::Reader))__pyx_f_6schema_25_EnumNode_EnumerantReader_init; - if (PyType_Ready(&__pyx_type_6schema__EnumNode_EnumerantReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1331; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema__EnumNode_EnumerantReader.tp_dict, __pyx_vtabptr_6schema__EnumNode_EnumerantReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1331; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "_EnumNode_EnumerantReader", (PyObject *)&__pyx_type_6schema__EnumNode_EnumerantReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1331; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema__EnumNode_EnumerantReader = &__pyx_type_6schema__EnumNode_EnumerantReader; - __pyx_vtabptr_6schema__List_StructNode_StructNode_Member_Builder = &__pyx_vtable_6schema__List_StructNode_StructNode_Member_Builder; - __pyx_vtable_6schema__List_StructNode_StructNode_Member_Builder.init = (PyObject *(*)(struct __pyx_obj_6schema__List_StructNode_StructNode_Member_Builder *, ::capnp::List<::capnp::schema::StructNode::Member>::Builder))__pyx_f_6schema_42_List_StructNode_StructNode_Member_Builder_init; - if (PyType_Ready(&__pyx_type_6schema__List_StructNode_StructNode_Member_Builder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 307; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema__List_StructNode_StructNode_Member_Builder.tp_dict, __pyx_vtabptr_6schema__List_StructNode_StructNode_Member_Builder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 307; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "_List_StructNode_StructNode_Member_Builder", (PyObject *)&__pyx_type_6schema__List_StructNode_StructNode_Member_Builder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 307; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema__List_StructNode_StructNode_Member_Builder = &__pyx_type_6schema__List_StructNode_StructNode_Member_Builder; - __pyx_vtabptr_6schema__List_UInt64_Builder = &__pyx_vtable_6schema__List_UInt64_Builder; - __pyx_vtable_6schema__List_UInt64_Builder.init = (PyObject *(*)(struct __pyx_obj_6schema__List_UInt64_Builder *, ::capnp::List<__pyx_t_6schema_UInt64>::Builder))__pyx_f_6schema_20_List_UInt64_Builder_init; - if (PyType_Ready(&__pyx_type_6schema__List_UInt64_Builder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 199; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema__List_UInt64_Builder.tp_dict, __pyx_vtabptr_6schema__List_UInt64_Builder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 199; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "_List_UInt64_Builder", (PyObject *)&__pyx_type_6schema__List_UInt64_Builder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 199; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema__List_UInt64_Builder = &__pyx_type_6schema__List_UInt64_Builder; - __pyx_vtabptr_6schema__InterfaceNode_MethodBuilder = &__pyx_vtable_6schema__InterfaceNode_MethodBuilder; - __pyx_vtable_6schema__InterfaceNode_MethodBuilder.init = (PyObject *(*)(struct __pyx_obj_6schema__InterfaceNode_MethodBuilder *, ::capnp::schema::InterfaceNode::Method::Builder))__pyx_f_6schema_28_InterfaceNode_MethodBuilder_init; - __pyx_vtable_6schema__InterfaceNode_MethodBuilder.initParams = (PyObject *(*)(struct __pyx_obj_6schema__InterfaceNode_MethodBuilder *, __pyx_t_6schema_uint, int __pyx_skip_dispatch))__pyx_f_6schema_28_InterfaceNode_MethodBuilder_initParams; - __pyx_vtable_6schema__InterfaceNode_MethodBuilder.initAnnotations = (PyObject *(*)(struct __pyx_obj_6schema__InterfaceNode_MethodBuilder *, __pyx_t_6schema_uint, int __pyx_skip_dispatch))__pyx_f_6schema_28_InterfaceNode_MethodBuilder_initAnnotations; - if (PyType_Ready(&__pyx_type_6schema__InterfaceNode_MethodBuilder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 533; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema__InterfaceNode_MethodBuilder.tp_dict, __pyx_vtabptr_6schema__InterfaceNode_MethodBuilder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 533; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "_InterfaceNode_MethodBuilder", (PyObject *)&__pyx_type_6schema__InterfaceNode_MethodBuilder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 533; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema__InterfaceNode_MethodBuilder = &__pyx_type_6schema__InterfaceNode_MethodBuilder; - __pyx_vtabptr_6schema__List_Node_Node_NestedNode_Reader = &__pyx_vtable_6schema__List_Node_Node_NestedNode_Reader; - __pyx_vtable_6schema__List_Node_Node_NestedNode_Reader.init = (PyObject *(*)(struct __pyx_obj_6schema__List_Node_Node_NestedNode_Reader *, ::capnp::List<::capnp::schema::Node::NestedNode>::Reader))__pyx_f_6schema_33_List_Node_Node_NestedNode_Reader_init; - if (PyType_Ready(&__pyx_type_6schema__List_Node_Node_NestedNode_Reader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 212; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema__List_Node_Node_NestedNode_Reader.tp_dict, __pyx_vtabptr_6schema__List_Node_Node_NestedNode_Reader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 212; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "_List_Node_Node_NestedNode_Reader", (PyObject *)&__pyx_type_6schema__List_Node_Node_NestedNode_Reader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 212; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema__List_Node_Node_NestedNode_Reader = &__pyx_type_6schema__List_Node_Node_NestedNode_Reader; - __pyx_vtabptr_6schema__TypeReader = &__pyx_vtable_6schema__TypeReader; - __pyx_vtable_6schema__TypeReader.init = (PyObject *(*)(struct __pyx_obj_6schema__TypeReader *, ::capnp::schema::Type::Reader))__pyx_f_6schema_11_TypeReader_init; - if (PyType_Ready(&__pyx_type_6schema__TypeReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 987; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema__TypeReader.tp_dict, __pyx_vtabptr_6schema__TypeReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 987; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "_TypeReader", (PyObject *)&__pyx_type_6schema__TypeReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 987; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema__TypeReader = &__pyx_type_6schema__TypeReader; - __pyx_vtabptr_6schema__EnumNode_EnumerantBuilder = &__pyx_vtable_6schema__EnumNode_EnumerantBuilder; - __pyx_vtable_6schema__EnumNode_EnumerantBuilder.init = (PyObject *(*)(struct __pyx_obj_6schema__EnumNode_EnumerantBuilder *, ::capnp::schema::EnumNode::Enumerant::Builder))__pyx_f_6schema_26_EnumNode_EnumerantBuilder_init; - __pyx_vtable_6schema__EnumNode_EnumerantBuilder.initAnnotations = (PyObject *(*)(struct __pyx_obj_6schema__EnumNode_EnumerantBuilder *, __pyx_t_6schema_uint, int __pyx_skip_dispatch))__pyx_f_6schema_26_EnumNode_EnumerantBuilder_initAnnotations; - if (PyType_Ready(&__pyx_type_6schema__EnumNode_EnumerantBuilder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1347; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema__EnumNode_EnumerantBuilder.tp_dict, __pyx_vtabptr_6schema__EnumNode_EnumerantBuilder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1347; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "_EnumNode_EnumerantBuilder", (PyObject *)&__pyx_type_6schema__EnumNode_EnumerantBuilder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1347; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema__EnumNode_EnumerantBuilder = &__pyx_type_6schema__EnumNode_EnumerantBuilder; - __pyx_vtabptr_6schema__StructNode_Member_BodyReader = &__pyx_vtable_6schema__StructNode_Member_BodyReader; - __pyx_vtable_6schema__StructNode_Member_BodyReader.init = (PyObject *(*)(struct __pyx_obj_6schema__StructNode_Member_BodyReader *, ::capnp::schema::StructNode::Member::Body::Reader))__pyx_f_6schema_29_StructNode_Member_BodyReader_init; - __pyx_vtable_6schema__StructNode_Member_BodyReader.which = (int (*)(struct __pyx_obj_6schema__StructNode_Member_BodyReader *, int __pyx_skip_dispatch))__pyx_f_6schema_29_StructNode_Member_BodyReader_which; - if (PyType_Ready(&__pyx_type_6schema__StructNode_Member_BodyReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1423; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema__StructNode_Member_BodyReader.tp_dict, __pyx_vtabptr_6schema__StructNode_Member_BodyReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1423; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "_StructNode_Member_BodyReader", (PyObject *)&__pyx_type_6schema__StructNode_Member_BodyReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1423; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema__StructNode_Member_BodyReader = &__pyx_type_6schema__StructNode_Member_BodyReader; - __pyx_vtabptr_6schema_MessageReader = &__pyx_vtable_6schema_MessageReader; - __pyx_vtable_6schema_MessageReader.getRootCodeGeneratorRequest = (PyObject *(*)(struct __pyx_obj_6schema_MessageReader *, int __pyx_skip_dispatch))__pyx_f_6schema_13MessageReader_getRootCodeGeneratorRequest; - __pyx_vtable_6schema_MessageReader.getRootInterfaceNode = (PyObject *(*)(struct __pyx_obj_6schema_MessageReader *, int __pyx_skip_dispatch))__pyx_f_6schema_13MessageReader_getRootInterfaceNode; - __pyx_vtable_6schema_MessageReader.getRootValue = (PyObject *(*)(struct __pyx_obj_6schema_MessageReader *, int __pyx_skip_dispatch))__pyx_f_6schema_13MessageReader_getRootValue; - __pyx_vtable_6schema_MessageReader.getRootConstNode = (PyObject *(*)(struct __pyx_obj_6schema_MessageReader *, int __pyx_skip_dispatch))__pyx_f_6schema_13MessageReader_getRootConstNode; - __pyx_vtable_6schema_MessageReader.getRootType = (PyObject *(*)(struct __pyx_obj_6schema_MessageReader *, int __pyx_skip_dispatch))__pyx_f_6schema_13MessageReader_getRootType; - __pyx_vtable_6schema_MessageReader.getRootFileNode = (PyObject *(*)(struct __pyx_obj_6schema_MessageReader *, int __pyx_skip_dispatch))__pyx_f_6schema_13MessageReader_getRootFileNode; - __pyx_vtable_6schema_MessageReader.getRootNode = (PyObject *(*)(struct __pyx_obj_6schema_MessageReader *, int __pyx_skip_dispatch))__pyx_f_6schema_13MessageReader_getRootNode; - __pyx_vtable_6schema_MessageReader.getRootAnnotationNode = (PyObject *(*)(struct __pyx_obj_6schema_MessageReader *, int __pyx_skip_dispatch))__pyx_f_6schema_13MessageReader_getRootAnnotationNode; - __pyx_vtable_6schema_MessageReader.getRootEnumNode = (PyObject *(*)(struct __pyx_obj_6schema_MessageReader *, int __pyx_skip_dispatch))__pyx_f_6schema_13MessageReader_getRootEnumNode; - __pyx_vtable_6schema_MessageReader.getRootStructNode = (PyObject *(*)(struct __pyx_obj_6schema_MessageReader *, int __pyx_skip_dispatch))__pyx_f_6schema_13MessageReader_getRootStructNode; - __pyx_vtable_6schema_MessageReader.getRootAnnotation = (PyObject *(*)(struct __pyx_obj_6schema_MessageReader *, int __pyx_skip_dispatch))__pyx_f_6schema_13MessageReader_getRootAnnotation; - if (PyType_Ready(&__pyx_type_6schema_MessageReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1668; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema_MessageReader.tp_dict, __pyx_vtabptr_6schema_MessageReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1668; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "MessageReader", (PyObject *)&__pyx_type_6schema_MessageReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1668; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema_MessageReader = &__pyx_type_6schema_MessageReader; - __pyx_vtabptr_6schema_PackedFdMessageReader = &__pyx_vtable_6schema_PackedFdMessageReader; - __pyx_vtable_6schema_PackedFdMessageReader.__pyx_base = *__pyx_vtabptr_6schema_MessageReader; - __pyx_type_6schema_PackedFdMessageReader.tp_base = __pyx_ptype_6schema_MessageReader; - if (PyType_Ready(&__pyx_type_6schema_PackedFdMessageReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1699; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema_PackedFdMessageReader.tp_dict, __pyx_vtabptr_6schema_PackedFdMessageReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1699; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "PackedFdMessageReader", (PyObject *)&__pyx_type_6schema_PackedFdMessageReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1699; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema_PackedFdMessageReader = &__pyx_type_6schema_PackedFdMessageReader; - __pyx_vtabptr_6schema__List_EnumNode_EnumNode_Enumerant_Reader = &__pyx_vtable_6schema__List_EnumNode_EnumNode_Enumerant_Reader; - __pyx_vtable_6schema__List_EnumNode_EnumNode_Enumerant_Reader.init = (PyObject *(*)(struct __pyx_obj_6schema__List_EnumNode_EnumNode_Enumerant_Reader *, ::capnp::List<::capnp::schema::EnumNode::Enumerant>::Reader))__pyx_f_6schema_40_List_EnumNode_EnumNode_Enumerant_Reader_init; - if (PyType_Ready(&__pyx_type_6schema__List_EnumNode_EnumNode_Enumerant_Reader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 77; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema__List_EnumNode_EnumNode_Enumerant_Reader.tp_dict, __pyx_vtabptr_6schema__List_EnumNode_EnumNode_Enumerant_Reader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 77; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "_List_EnumNode_EnumNode_Enumerant_Reader", (PyObject *)&__pyx_type_6schema__List_EnumNode_EnumNode_Enumerant_Reader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 77; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema__List_EnumNode_EnumNode_Enumerant_Reader = &__pyx_type_6schema__List_EnumNode_EnumNode_Enumerant_Reader; - __pyx_vtabptr_6schema__FileNode_ImportReader = &__pyx_vtable_6schema__FileNode_ImportReader; - __pyx_vtable_6schema__FileNode_ImportReader.init = (PyObject *(*)(struct __pyx_obj_6schema__FileNode_ImportReader *, ::capnp::schema::FileNode::Import::Reader))__pyx_f_6schema_22_FileNode_ImportReader_init; - if (PyType_Ready(&__pyx_type_6schema__FileNode_ImportReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1010; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema__FileNode_ImportReader.tp_dict, __pyx_vtabptr_6schema__FileNode_ImportReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1010; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "_FileNode_ImportReader", (PyObject *)&__pyx_type_6schema__FileNode_ImportReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1010; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema__FileNode_ImportReader = &__pyx_type_6schema__FileNode_ImportReader; - __pyx_vtabptr_6schema_StreamFdMessageReader = &__pyx_vtable_6schema_StreamFdMessageReader; - __pyx_vtable_6schema_StreamFdMessageReader.__pyx_base = *__pyx_vtabptr_6schema_MessageReader; - __pyx_type_6schema_StreamFdMessageReader.tp_base = __pyx_ptype_6schema_MessageReader; - if (PyType_Ready(&__pyx_type_6schema_StreamFdMessageReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1695; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema_StreamFdMessageReader.tp_dict, __pyx_vtabptr_6schema_StreamFdMessageReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1695; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "StreamFdMessageReader", (PyObject *)&__pyx_type_6schema_StreamFdMessageReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1695; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema_StreamFdMessageReader = &__pyx_type_6schema_StreamFdMessageReader; - __pyx_vtabptr_6schema__InterfaceNode_Method_ParamReader = &__pyx_vtable_6schema__InterfaceNode_Method_ParamReader; - __pyx_vtable_6schema__InterfaceNode_Method_ParamReader.init = (PyObject *(*)(struct __pyx_obj_6schema__InterfaceNode_Method_ParamReader *, ::capnp::schema::InterfaceNode::Method::Param::Reader))__pyx_f_6schema_33_InterfaceNode_Method_ParamReader_init; - if (PyType_Ready(&__pyx_type_6schema__InterfaceNode_Method_ParamReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 463; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema__InterfaceNode_Method_ParamReader.tp_dict, __pyx_vtabptr_6schema__InterfaceNode_Method_ParamReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 463; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "_InterfaceNode_Method_ParamReader", (PyObject *)&__pyx_type_6schema__InterfaceNode_Method_ParamReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 463; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema__InterfaceNode_Method_ParamReader = &__pyx_type_6schema__InterfaceNode_Method_ParamReader; - __pyx_vtabptr_6schema__CodeGeneratorRequestBuilder = &__pyx_vtable_6schema__CodeGeneratorRequestBuilder; - __pyx_vtable_6schema__CodeGeneratorRequestBuilder.init = (PyObject *(*)(struct __pyx_obj_6schema__CodeGeneratorRequestBuilder *, ::capnp::schema::CodeGeneratorRequest::Builder))__pyx_f_6schema_28_CodeGeneratorRequestBuilder_init; - __pyx_vtable_6schema__CodeGeneratorRequestBuilder.initNodes = (PyObject *(*)(struct __pyx_obj_6schema__CodeGeneratorRequestBuilder *, __pyx_t_6schema_uint, int __pyx_skip_dispatch))__pyx_f_6schema_28_CodeGeneratorRequestBuilder_initNodes; - __pyx_vtable_6schema__CodeGeneratorRequestBuilder.initRequestedFiles = (PyObject *(*)(struct __pyx_obj_6schema__CodeGeneratorRequestBuilder *, __pyx_t_6schema_uint, int __pyx_skip_dispatch))__pyx_f_6schema_28_CodeGeneratorRequestBuilder_initRequestedFiles; - if (PyType_Ready(&__pyx_type_6schema__CodeGeneratorRequestBuilder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 442; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema__CodeGeneratorRequestBuilder.tp_dict, __pyx_vtabptr_6schema__CodeGeneratorRequestBuilder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 442; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "_CodeGeneratorRequestBuilder", (PyObject *)&__pyx_type_6schema__CodeGeneratorRequestBuilder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 442; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema__CodeGeneratorRequestBuilder = &__pyx_type_6schema__CodeGeneratorRequestBuilder; - __pyx_vtabptr_6schema__NodeBuilder = &__pyx_vtable_6schema__NodeBuilder; - __pyx_vtable_6schema__NodeBuilder.init = (PyObject *(*)(struct __pyx_obj_6schema__NodeBuilder *, ::capnp::schema::Node::Builder))__pyx_f_6schema_12_NodeBuilder_init; - __pyx_vtable_6schema__NodeBuilder.initAnnotations = (PyObject *(*)(struct __pyx_obj_6schema__NodeBuilder *, __pyx_t_6schema_uint, int __pyx_skip_dispatch))__pyx_f_6schema_12_NodeBuilder_initAnnotations; - __pyx_vtable_6schema__NodeBuilder.initNestedNodes = (PyObject *(*)(struct __pyx_obj_6schema__NodeBuilder *, __pyx_t_6schema_uint, int __pyx_skip_dispatch))__pyx_f_6schema_12_NodeBuilder_initNestedNodes; - if (PyType_Ready(&__pyx_type_6schema__NodeBuilder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1183; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema__NodeBuilder.tp_dict, __pyx_vtabptr_6schema__NodeBuilder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1183; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "_NodeBuilder", (PyObject *)&__pyx_type_6schema__NodeBuilder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1183; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema__NodeBuilder = &__pyx_type_6schema__NodeBuilder; - __pyx_vtabptr_6schema__List_FileNode_FileNode_Import_Builder = &__pyx_vtable_6schema__List_FileNode_FileNode_Import_Builder; - __pyx_vtable_6schema__List_FileNode_FileNode_Import_Builder.init = (PyObject *(*)(struct __pyx_obj_6schema__List_FileNode_FileNode_Import_Builder *, ::capnp::List<::capnp::schema::FileNode::Import>::Builder))__pyx_f_6schema_38_List_FileNode_FileNode_Import_Builder_init; - if (PyType_Ready(&__pyx_type_6schema__List_FileNode_FileNode_Import_Builder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 388; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema__List_FileNode_FileNode_Import_Builder.tp_dict, __pyx_vtabptr_6schema__List_FileNode_FileNode_Import_Builder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 388; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "_List_FileNode_FileNode_Import_Builder", (PyObject *)&__pyx_type_6schema__List_FileNode_FileNode_Import_Builder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 388; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema__List_FileNode_FileNode_Import_Builder = &__pyx_type_6schema__List_FileNode_FileNode_Import_Builder; - __pyx_vtabptr_6schema__StructNode_UnionReader = &__pyx_vtable_6schema__StructNode_UnionReader; - __pyx_vtable_6schema__StructNode_UnionReader.init = (PyObject *(*)(struct __pyx_obj_6schema__StructNode_UnionReader *, ::capnp::schema::StructNode::Union::Reader))__pyx_f_6schema_23_StructNode_UnionReader_init; - if (PyType_Ready(&__pyx_type_6schema__StructNode_UnionReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1391; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema__StructNode_UnionReader.tp_dict, __pyx_vtabptr_6schema__StructNode_UnionReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1391; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "_StructNode_UnionReader", (PyObject *)&__pyx_type_6schema__StructNode_UnionReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1391; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema__StructNode_UnionReader = &__pyx_type_6schema__StructNode_UnionReader; - __pyx_vtabptr_6schema_MallocMessageBuilder = &__pyx_vtable_6schema_MallocMessageBuilder; - __pyx_vtable_6schema_MallocMessageBuilder.__pyx_base = *__pyx_vtabptr_6schema_MessageBuilder; - __pyx_type_6schema_MallocMessageBuilder.tp_base = __pyx_ptype_6schema_MessageBuilder; - if (PyType_Ready(&__pyx_type_6schema_MallocMessageBuilder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1663; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema_MallocMessageBuilder.tp_dict, __pyx_vtabptr_6schema_MallocMessageBuilder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1663; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "MallocMessageBuilder", (PyObject *)&__pyx_type_6schema_MallocMessageBuilder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1663; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema_MallocMessageBuilder = &__pyx_type_6schema_MallocMessageBuilder; - __pyx_vtabptr_6schema__TypeBuilder = &__pyx_vtable_6schema__TypeBuilder; - __pyx_vtable_6schema__TypeBuilder.init = (PyObject *(*)(struct __pyx_obj_6schema__TypeBuilder *, ::capnp::schema::Type::Builder))__pyx_f_6schema_12_TypeBuilder_init; - if (PyType_Ready(&__pyx_type_6schema__TypeBuilder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 997; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema__TypeBuilder.tp_dict, __pyx_vtabptr_6schema__TypeBuilder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 997; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "_TypeBuilder", (PyObject *)&__pyx_type_6schema__TypeBuilder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 997; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema__TypeBuilder = &__pyx_type_6schema__TypeBuilder; - __pyx_vtabptr_6schema__AnnotationBuilder = &__pyx_vtable_6schema__AnnotationBuilder; - __pyx_vtable_6schema__AnnotationBuilder.init = (PyObject *(*)(struct __pyx_obj_6schema__AnnotationBuilder *, ::capnp::schema::Annotation::Builder))__pyx_f_6schema_18_AnnotationBuilder_init; - if (PyType_Ready(&__pyx_type_6schema__AnnotationBuilder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1598; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema__AnnotationBuilder.tp_dict, __pyx_vtabptr_6schema__AnnotationBuilder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1598; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "_AnnotationBuilder", (PyObject *)&__pyx_type_6schema__AnnotationBuilder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1598; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema__AnnotationBuilder = &__pyx_type_6schema__AnnotationBuilder; - __pyx_vtabptr_6schema__List_CodeGeneratorRequest_Node_Builder = &__pyx_vtable_6schema__List_CodeGeneratorRequest_Node_Builder; - __pyx_vtable_6schema__List_CodeGeneratorRequest_Node_Builder.init = (PyObject *(*)(struct __pyx_obj_6schema__List_CodeGeneratorRequest_Node_Builder *, ::capnp::List<::capnp::schema::Node>::Builder))__pyx_f_6schema_39_List_CodeGeneratorRequest_Node_Builder_init; - if (PyType_Ready(&__pyx_type_6schema__List_CodeGeneratorRequest_Node_Builder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 361; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema__List_CodeGeneratorRequest_Node_Builder.tp_dict, __pyx_vtabptr_6schema__List_CodeGeneratorRequest_Node_Builder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 361; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "_List_CodeGeneratorRequest_Node_Builder", (PyObject *)&__pyx_type_6schema__List_CodeGeneratorRequest_Node_Builder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 361; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema__List_CodeGeneratorRequest_Node_Builder = &__pyx_type_6schema__List_CodeGeneratorRequest_Node_Builder; - __pyx_vtabptr_6schema__Node_NestedNodeBuilder = &__pyx_vtable_6schema__Node_NestedNodeBuilder; - __pyx_vtable_6schema__Node_NestedNodeBuilder.init = (PyObject *(*)(struct __pyx_obj_6schema__Node_NestedNodeBuilder *, ::capnp::schema::Node::NestedNode::Builder))__pyx_f_6schema_23_Node_NestedNodeBuilder_init; - if (PyType_Ready(&__pyx_type_6schema__Node_NestedNodeBuilder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1142; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema__Node_NestedNodeBuilder.tp_dict, __pyx_vtabptr_6schema__Node_NestedNodeBuilder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1142; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "_Node_NestedNodeBuilder", (PyObject *)&__pyx_type_6schema__Node_NestedNodeBuilder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1142; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema__Node_NestedNodeBuilder = &__pyx_type_6schema__Node_NestedNodeBuilder; - __pyx_vtabptr_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader = &__pyx_vtable_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader; - __pyx_vtable_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader.init = (PyObject *(*)(struct __pyx_obj_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader *, ::capnp::List<::capnp::schema::InterfaceNode::Method::Param>::Reader))__pyx_f_6schema_60_List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader_init; - if (PyType_Ready(&__pyx_type_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 131; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader.tp_dict, __pyx_vtabptr_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 131; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "_List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader", (PyObject *)&__pyx_type_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 131; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader = &__pyx_type_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader; - __pyx_vtabptr_6schema__StructNode_UnionBuilder = &__pyx_vtable_6schema__StructNode_UnionBuilder; - __pyx_vtable_6schema__StructNode_UnionBuilder.init = (PyObject *(*)(struct __pyx_obj_6schema__StructNode_UnionBuilder *, ::capnp::schema::StructNode::Union::Builder))__pyx_f_6schema_24_StructNode_UnionBuilder_init; - __pyx_vtable_6schema__StructNode_UnionBuilder.initMembers = (PyObject *(*)(struct __pyx_obj_6schema__StructNode_UnionBuilder *, __pyx_t_6schema_uint, int __pyx_skip_dispatch))__pyx_f_6schema_24_StructNode_UnionBuilder_initMembers; - if (PyType_Ready(&__pyx_type_6schema__StructNode_UnionBuilder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1404; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema__StructNode_UnionBuilder.tp_dict, __pyx_vtabptr_6schema__StructNode_UnionBuilder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1404; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "_StructNode_UnionBuilder", (PyObject *)&__pyx_type_6schema__StructNode_UnionBuilder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1404; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema__StructNode_UnionBuilder = &__pyx_type_6schema__StructNode_UnionBuilder; - __pyx_vtabptr_6schema__Node_BodyReader = &__pyx_vtable_6schema__Node_BodyReader; - __pyx_vtable_6schema__Node_BodyReader.init = (PyObject *(*)(struct __pyx_obj_6schema__Node_BodyReader *, ::capnp::schema::Node::Body::Reader))__pyx_f_6schema_16_Node_BodyReader_init; - __pyx_vtable_6schema__Node_BodyReader.which = (int (*)(struct __pyx_obj_6schema__Node_BodyReader *, int __pyx_skip_dispatch))__pyx_f_6schema_16_Node_BodyReader_which; - if (PyType_Ready(&__pyx_type_6schema__Node_BodyReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1063; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema__Node_BodyReader.tp_dict, __pyx_vtabptr_6schema__Node_BodyReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1063; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "_Node_BodyReader", (PyObject *)&__pyx_type_6schema__Node_BodyReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1063; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema__Node_BodyReader = &__pyx_type_6schema__Node_BodyReader; - __pyx_vtabptr_6schema__List_EnumNode_Enumerant_Annotation_Reader = &__pyx_vtable_6schema__List_EnumNode_Enumerant_Annotation_Reader; - __pyx_vtable_6schema__List_EnumNode_Enumerant_Annotation_Reader.init = (PyObject *(*)(struct __pyx_obj_6schema__List_EnumNode_Enumerant_Annotation_Reader *, ::capnp::List<::capnp::schema::Annotation>::Reader))__pyx_f_6schema_42_List_EnumNode_Enumerant_Annotation_Reader_init; - if (PyType_Ready(&__pyx_type_6schema__List_EnumNode_Enumerant_Annotation_Reader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 401; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema__List_EnumNode_Enumerant_Annotation_Reader.tp_dict, __pyx_vtabptr_6schema__List_EnumNode_Enumerant_Annotation_Reader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 401; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "_List_EnumNode_Enumerant_Annotation_Reader", (PyObject *)&__pyx_type_6schema__List_EnumNode_Enumerant_Annotation_Reader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 401; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema__List_EnumNode_Enumerant_Annotation_Reader = &__pyx_type_6schema__List_EnumNode_Enumerant_Annotation_Reader; - __pyx_vtabptr_6schema__ConstNodeBuilder = &__pyx_vtable_6schema__ConstNodeBuilder; - __pyx_vtable_6schema__ConstNodeBuilder.init = (PyObject *(*)(struct __pyx_obj_6schema__ConstNodeBuilder *, ::capnp::schema::ConstNode::Builder))__pyx_f_6schema_17_ConstNodeBuilder_init; - if (PyType_Ready(&__pyx_type_6schema__ConstNodeBuilder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 799; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema__ConstNodeBuilder.tp_dict, __pyx_vtabptr_6schema__ConstNodeBuilder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 799; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "_ConstNodeBuilder", (PyObject *)&__pyx_type_6schema__ConstNodeBuilder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 799; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema__ConstNodeBuilder = &__pyx_type_6schema__ConstNodeBuilder; - __pyx_vtabptr_6schema__AnnotationReader = &__pyx_vtable_6schema__AnnotationReader; - __pyx_vtable_6schema__AnnotationReader.init = (PyObject *(*)(struct __pyx_obj_6schema__AnnotationReader *, ::capnp::schema::Annotation::Reader))__pyx_f_6schema_17_AnnotationReader_init; - if (PyType_Ready(&__pyx_type_6schema__AnnotationReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1585; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema__AnnotationReader.tp_dict, __pyx_vtabptr_6schema__AnnotationReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1585; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "_AnnotationReader", (PyObject *)&__pyx_type_6schema__AnnotationReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1585; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema__AnnotationReader = &__pyx_type_6schema__AnnotationReader; - __pyx_vtabptr_6schema__ValueReader = &__pyx_vtable_6schema__ValueReader; - __pyx_vtable_6schema__ValueReader.init = (PyObject *(*)(struct __pyx_obj_6schema__ValueReader *, ::capnp::schema::Value::Reader))__pyx_f_6schema_12_ValueReader_init; - if (PyType_Ready(&__pyx_type_6schema__ValueReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 764; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema__ValueReader.tp_dict, __pyx_vtabptr_6schema__ValueReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 764; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "_ValueReader", (PyObject *)&__pyx_type_6schema__ValueReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 764; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema__ValueReader = &__pyx_type_6schema__ValueReader; - __pyx_vtabptr_6schema__List_CodeGeneratorRequest_Node_Reader = &__pyx_vtable_6schema__List_CodeGeneratorRequest_Node_Reader; - __pyx_vtable_6schema__List_CodeGeneratorRequest_Node_Reader.init = (PyObject *(*)(struct __pyx_obj_6schema__List_CodeGeneratorRequest_Node_Reader *, ::capnp::List<::capnp::schema::Node>::Reader))__pyx_f_6schema_38_List_CodeGeneratorRequest_Node_Reader_init; - if (PyType_Ready(&__pyx_type_6schema__List_CodeGeneratorRequest_Node_Reader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 347; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema__List_CodeGeneratorRequest_Node_Reader.tp_dict, __pyx_vtabptr_6schema__List_CodeGeneratorRequest_Node_Reader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 347; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "_List_CodeGeneratorRequest_Node_Reader", (PyObject *)&__pyx_type_6schema__List_CodeGeneratorRequest_Node_Reader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 347; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema__List_CodeGeneratorRequest_Node_Reader = &__pyx_type_6schema__List_CodeGeneratorRequest_Node_Reader; - __pyx_vtabptr_6schema__StructNode_Member_BodyBuilder = &__pyx_vtable_6schema__StructNode_Member_BodyBuilder; - __pyx_vtable_6schema__StructNode_Member_BodyBuilder.init = (PyObject *(*)(struct __pyx_obj_6schema__StructNode_Member_BodyBuilder *, ::capnp::schema::StructNode::Member::Body::Builder))__pyx_f_6schema_30_StructNode_Member_BodyBuilder_init; - __pyx_vtable_6schema__StructNode_Member_BodyBuilder.which = (int (*)(struct __pyx_obj_6schema__StructNode_Member_BodyBuilder *, int __pyx_skip_dispatch))__pyx_f_6schema_30_StructNode_Member_BodyBuilder_which; - if (PyType_Ready(&__pyx_type_6schema__StructNode_Member_BodyBuilder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1438; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema__StructNode_Member_BodyBuilder.tp_dict, __pyx_vtabptr_6schema__StructNode_Member_BodyBuilder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1438; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "_StructNode_Member_BodyBuilder", (PyObject *)&__pyx_type_6schema__StructNode_Member_BodyBuilder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1438; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema__StructNode_Member_BodyBuilder = &__pyx_type_6schema__StructNode_Member_BodyBuilder; - __pyx_vtabptr_6schema__AnnotationNodeReader = &__pyx_vtable_6schema__AnnotationNodeReader; - __pyx_vtable_6schema__AnnotationNodeReader.init = (PyObject *(*)(struct __pyx_obj_6schema__AnnotationNodeReader *, ::capnp::schema::AnnotationNode::Reader))__pyx_f_6schema_21_AnnotationNodeReader_init; - if (PyType_Ready(&__pyx_type_6schema__AnnotationNodeReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1220; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema__AnnotationNodeReader.tp_dict, __pyx_vtabptr_6schema__AnnotationNodeReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1220; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "_AnnotationNodeReader", (PyObject *)&__pyx_type_6schema__AnnotationNodeReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1220; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema__AnnotationNodeReader = &__pyx_type_6schema__AnnotationNodeReader; - __pyx_vtabptr_6schema__List_InterfaceNode_Method_Param_Annotation_Builder = &__pyx_vtable_6schema__List_InterfaceNode_Method_Param_Annotation_Builder; - __pyx_vtable_6schema__List_InterfaceNode_Method_Param_Annotation_Builder.init = (PyObject *(*)(struct __pyx_obj_6schema__List_InterfaceNode_Method_Param_Annotation_Builder *, ::capnp::List<::capnp::schema::Annotation>::Builder))__pyx_f_6schema_51_List_InterfaceNode_Method_Param_Annotation_Builder_init; - if (PyType_Ready(&__pyx_type_6schema__List_InterfaceNode_Method_Param_Annotation_Builder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 172; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema__List_InterfaceNode_Method_Param_Annotation_Builder.tp_dict, __pyx_vtabptr_6schema__List_InterfaceNode_Method_Param_Annotation_Builder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 172; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "_List_InterfaceNode_Method_Param_Annotation_Builder", (PyObject *)&__pyx_type_6schema__List_InterfaceNode_Method_Param_Annotation_Builder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 172; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema__List_InterfaceNode_Method_Param_Annotation_Builder = &__pyx_type_6schema__List_InterfaceNode_Method_Param_Annotation_Builder; - __pyx_vtabptr_6schema__CodeGeneratorRequestReader = &__pyx_vtable_6schema__CodeGeneratorRequestReader; - __pyx_vtable_6schema__CodeGeneratorRequestReader.init = (PyObject *(*)(struct __pyx_obj_6schema__CodeGeneratorRequestReader *, ::capnp::schema::CodeGeneratorRequest::Reader))__pyx_f_6schema_27_CodeGeneratorRequestReader_init; - if (PyType_Ready(&__pyx_type_6schema__CodeGeneratorRequestReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 429; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema__CodeGeneratorRequestReader.tp_dict, __pyx_vtabptr_6schema__CodeGeneratorRequestReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 429; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "_CodeGeneratorRequestReader", (PyObject *)&__pyx_type_6schema__CodeGeneratorRequestReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 429; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema__CodeGeneratorRequestReader = &__pyx_type_6schema__CodeGeneratorRequestReader; - __pyx_vtabptr_6schema__List_InterfaceNode_InterfaceNode_Method_Builder = &__pyx_vtable_6schema__List_InterfaceNode_InterfaceNode_Method_Builder; - __pyx_vtable_6schema__List_InterfaceNode_InterfaceNode_Method_Builder.init = (PyObject *(*)(struct __pyx_obj_6schema__List_InterfaceNode_InterfaceNode_Method_Builder *, ::capnp::List<::capnp::schema::InterfaceNode::Method>::Builder))__pyx_f_6schema_48_List_InterfaceNode_InterfaceNode_Method_Builder_init; - if (PyType_Ready(&__pyx_type_6schema__List_InterfaceNode_InterfaceNode_Method_Builder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 64; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema__List_InterfaceNode_InterfaceNode_Method_Builder.tp_dict, __pyx_vtabptr_6schema__List_InterfaceNode_InterfaceNode_Method_Builder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 64; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "_List_InterfaceNode_InterfaceNode_Method_Builder", (PyObject *)&__pyx_type_6schema__List_InterfaceNode_InterfaceNode_Method_Builder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 64; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema__List_InterfaceNode_InterfaceNode_Method_Builder = &__pyx_type_6schema__List_InterfaceNode_InterfaceNode_Method_Builder; - __pyx_vtabptr_6schema__ValueBuilder = &__pyx_vtable_6schema__ValueBuilder; - __pyx_vtable_6schema__ValueBuilder.init = (PyObject *(*)(struct __pyx_obj_6schema__ValueBuilder *, ::capnp::schema::Value::Builder))__pyx_f_6schema_13_ValueBuilder_init; - if (PyType_Ready(&__pyx_type_6schema__ValueBuilder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 774; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema__ValueBuilder.tp_dict, __pyx_vtabptr_6schema__ValueBuilder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 774; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "_ValueBuilder", (PyObject *)&__pyx_type_6schema__ValueBuilder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 774; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema__ValueBuilder = &__pyx_type_6schema__ValueBuilder; - __pyx_vtabptr_6schema__StructNode_MemberReader = &__pyx_vtable_6schema__StructNode_MemberReader; - __pyx_vtable_6schema__StructNode_MemberReader.init = (PyObject *(*)(struct __pyx_obj_6schema__StructNode_MemberReader *, ::capnp::schema::StructNode::Member::Reader))__pyx_f_6schema_24_StructNode_MemberReader_init; - if (PyType_Ready(&__pyx_type_6schema__StructNode_MemberReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1456; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema__StructNode_MemberReader.tp_dict, __pyx_vtabptr_6schema__StructNode_MemberReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1456; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "_StructNode_MemberReader", (PyObject *)&__pyx_type_6schema__StructNode_MemberReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1456; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema__StructNode_MemberReader = &__pyx_type_6schema__StructNode_MemberReader; - __pyx_vtabptr_6schema__EnumNodeBuilder = &__pyx_vtable_6schema__EnumNodeBuilder; - __pyx_vtable_6schema__EnumNodeBuilder.init = (PyObject *(*)(struct __pyx_obj_6schema__EnumNodeBuilder *, ::capnp::schema::EnumNode::Builder))__pyx_f_6schema_16_EnumNodeBuilder_init; - __pyx_vtable_6schema__EnumNodeBuilder.initEnumerants = (PyObject *(*)(struct __pyx_obj_6schema__EnumNodeBuilder *, __pyx_t_6schema_uint, int __pyx_skip_dispatch))__pyx_f_6schema_16_EnumNodeBuilder_initEnumerants; - if (PyType_Ready(&__pyx_type_6schema__EnumNodeBuilder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1378; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema__EnumNodeBuilder.tp_dict, __pyx_vtabptr_6schema__EnumNodeBuilder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1378; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "_EnumNodeBuilder", (PyObject *)&__pyx_type_6schema__EnumNodeBuilder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1378; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema__EnumNodeBuilder = &__pyx_type_6schema__EnumNodeBuilder; - __pyx_vtabptr_6schema__List_EnumNode_EnumNode_Enumerant_Builder = &__pyx_vtable_6schema__List_EnumNode_EnumNode_Enumerant_Builder; - __pyx_vtable_6schema__List_EnumNode_EnumNode_Enumerant_Builder.init = (PyObject *(*)(struct __pyx_obj_6schema__List_EnumNode_EnumNode_Enumerant_Builder *, ::capnp::List<::capnp::schema::EnumNode::Enumerant>::Builder))__pyx_f_6schema_41_List_EnumNode_EnumNode_Enumerant_Builder_init; - if (PyType_Ready(&__pyx_type_6schema__List_EnumNode_EnumNode_Enumerant_Builder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 91; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema__List_EnumNode_EnumNode_Enumerant_Builder.tp_dict, __pyx_vtabptr_6schema__List_EnumNode_EnumNode_Enumerant_Builder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 91; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "_List_EnumNode_EnumNode_Enumerant_Builder", (PyObject *)&__pyx_type_6schema__List_EnumNode_EnumNode_Enumerant_Builder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 91; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema__List_EnumNode_EnumNode_Enumerant_Builder = &__pyx_type_6schema__List_EnumNode_EnumNode_Enumerant_Builder; - __pyx_vtabptr_6schema__FileNode_ImportBuilder = &__pyx_vtable_6schema__FileNode_ImportBuilder; - __pyx_vtable_6schema__FileNode_ImportBuilder.init = (PyObject *(*)(struct __pyx_obj_6schema__FileNode_ImportBuilder *, ::capnp::schema::FileNode::Import::Builder))__pyx_f_6schema_23_FileNode_ImportBuilder_init; - if (PyType_Ready(&__pyx_type_6schema__FileNode_ImportBuilder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1023; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema__FileNode_ImportBuilder.tp_dict, __pyx_vtabptr_6schema__FileNode_ImportBuilder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1023; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "_FileNode_ImportBuilder", (PyObject *)&__pyx_type_6schema__FileNode_ImportBuilder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1023; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema__FileNode_ImportBuilder = &__pyx_type_6schema__FileNode_ImportBuilder; - __pyx_vtabptr_6schema__NodeReader = &__pyx_vtable_6schema__NodeReader; - __pyx_vtable_6schema__NodeReader.init = (PyObject *(*)(struct __pyx_obj_6schema__NodeReader *, ::capnp::schema::Node::Reader))__pyx_f_6schema_11_NodeReader_init; - if (PyType_Ready(&__pyx_type_6schema__NodeReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1158; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema__NodeReader.tp_dict, __pyx_vtabptr_6schema__NodeReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1158; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "_NodeReader", (PyObject *)&__pyx_type_6schema__NodeReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1158; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema__NodeReader = &__pyx_type_6schema__NodeReader; - __pyx_vtabptr_6schema__Type_BodyBuilder = &__pyx_vtable_6schema__Type_BodyBuilder; - __pyx_vtable_6schema__Type_BodyBuilder.init = (PyObject *(*)(struct __pyx_obj_6schema__Type_BodyBuilder *, ::capnp::schema::Type::Body::Builder))__pyx_f_6schema_17_Type_BodyBuilder_init; - __pyx_vtable_6schema__Type_BodyBuilder.which = (int (*)(struct __pyx_obj_6schema__Type_BodyBuilder *, int __pyx_skip_dispatch))__pyx_f_6schema_17_Type_BodyBuilder_which; - if (PyType_Ready(&__pyx_type_6schema__Type_BodyBuilder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 884; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema__Type_BodyBuilder.tp_dict, __pyx_vtabptr_6schema__Type_BodyBuilder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 884; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "_Type_BodyBuilder", (PyObject *)&__pyx_type_6schema__Type_BodyBuilder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 884; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema__Type_BodyBuilder = &__pyx_type_6schema__Type_BodyBuilder; - __pyx_vtabptr_6schema__List_StructNode_StructNode_Member_Reader = &__pyx_vtable_6schema__List_StructNode_StructNode_Member_Reader; - __pyx_vtable_6schema__List_StructNode_StructNode_Member_Reader.init = (PyObject *(*)(struct __pyx_obj_6schema__List_StructNode_StructNode_Member_Reader *, ::capnp::List<::capnp::schema::StructNode::Member>::Reader))__pyx_f_6schema_41_List_StructNode_StructNode_Member_Reader_init; - if (PyType_Ready(&__pyx_type_6schema__List_StructNode_StructNode_Member_Reader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 293; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema__List_StructNode_StructNode_Member_Reader.tp_dict, __pyx_vtabptr_6schema__List_StructNode_StructNode_Member_Reader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 293; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "_List_StructNode_StructNode_Member_Reader", (PyObject *)&__pyx_type_6schema__List_StructNode_StructNode_Member_Reader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 293; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema__List_StructNode_StructNode_Member_Reader = &__pyx_type_6schema__List_StructNode_StructNode_Member_Reader; - __pyx_vtabptr_6schema__List_StructNode_Union_StructNode_Member_Builder = &__pyx_vtable_6schema__List_StructNode_Union_StructNode_Member_Builder; - __pyx_vtable_6schema__List_StructNode_Union_StructNode_Member_Builder.init = (PyObject *(*)(struct __pyx_obj_6schema__List_StructNode_Union_StructNode_Member_Builder *, ::capnp::List<::capnp::schema::StructNode::Member>::Builder))__pyx_f_6schema_48_List_StructNode_Union_StructNode_Member_Builder_init; - if (PyType_Ready(&__pyx_type_6schema__List_StructNode_Union_StructNode_Member_Builder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 118; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema__List_StructNode_Union_StructNode_Member_Builder.tp_dict, __pyx_vtabptr_6schema__List_StructNode_Union_StructNode_Member_Builder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 118; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "_List_StructNode_Union_StructNode_Member_Builder", (PyObject *)&__pyx_type_6schema__List_StructNode_Union_StructNode_Member_Builder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 118; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema__List_StructNode_Union_StructNode_Member_Builder = &__pyx_type_6schema__List_StructNode_Union_StructNode_Member_Builder; - __pyx_vtabptr_6schema__InterfaceNode_Method_ParamBuilder = &__pyx_vtable_6schema__InterfaceNode_Method_ParamBuilder; - __pyx_vtable_6schema__InterfaceNode_Method_ParamBuilder.init = (PyObject *(*)(struct __pyx_obj_6schema__InterfaceNode_Method_ParamBuilder *, ::capnp::schema::InterfaceNode::Method::Param::Builder))__pyx_f_6schema_34_InterfaceNode_Method_ParamBuilder_init; - __pyx_vtable_6schema__InterfaceNode_Method_ParamBuilder.initAnnotations = (PyObject *(*)(struct __pyx_obj_6schema__InterfaceNode_Method_ParamBuilder *, __pyx_t_6schema_uint, int __pyx_skip_dispatch))__pyx_f_6schema_34_InterfaceNode_Method_ParamBuilder_initAnnotations; - if (PyType_Ready(&__pyx_type_6schema__InterfaceNode_Method_ParamBuilder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 482; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema__InterfaceNode_Method_ParamBuilder.tp_dict, __pyx_vtabptr_6schema__InterfaceNode_Method_ParamBuilder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 482; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "_InterfaceNode_Method_ParamBuilder", (PyObject *)&__pyx_type_6schema__InterfaceNode_Method_ParamBuilder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 482; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema__InterfaceNode_Method_ParamBuilder = &__pyx_type_6schema__InterfaceNode_Method_ParamBuilder; - __pyx_vtabptr_6schema__List_Node_Node_NestedNode_Builder = &__pyx_vtable_6schema__List_Node_Node_NestedNode_Builder; - __pyx_vtable_6schema__List_Node_Node_NestedNode_Builder.init = (PyObject *(*)(struct __pyx_obj_6schema__List_Node_Node_NestedNode_Builder *, ::capnp::List<::capnp::schema::Node::NestedNode>::Builder))__pyx_f_6schema_34_List_Node_Node_NestedNode_Builder_init; - if (PyType_Ready(&__pyx_type_6schema__List_Node_Node_NestedNode_Builder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 226; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema__List_Node_Node_NestedNode_Builder.tp_dict, __pyx_vtabptr_6schema__List_Node_Node_NestedNode_Builder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 226; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "_List_Node_Node_NestedNode_Builder", (PyObject *)&__pyx_type_6schema__List_Node_Node_NestedNode_Builder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 226; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema__List_Node_Node_NestedNode_Builder = &__pyx_type_6schema__List_Node_Node_NestedNode_Builder; - __pyx_vtabptr_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder = &__pyx_vtable_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder; - __pyx_vtable_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder.init = (PyObject *(*)(struct __pyx_obj_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder *, ::capnp::List<::capnp::schema::InterfaceNode::Method::Param>::Builder))__pyx_f_6schema_61_List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder_init; - if (PyType_Ready(&__pyx_type_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 145; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder.tp_dict, __pyx_vtabptr_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 145; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "_List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder", (PyObject *)&__pyx_type_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 145; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder = &__pyx_type_6schema__List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder; - __pyx_vtabptr_6schema__Value_BodyBuilder = &__pyx_vtable_6schema__Value_BodyBuilder; - __pyx_vtable_6schema__Value_BodyBuilder.init = (PyObject *(*)(struct __pyx_obj_6schema__Value_BodyBuilder *, ::capnp::schema::Value::Body::Builder))__pyx_f_6schema_18_Value_BodyBuilder_init; - __pyx_vtable_6schema__Value_BodyBuilder.which = (int (*)(struct __pyx_obj_6schema__Value_BodyBuilder *, int __pyx_skip_dispatch))__pyx_f_6schema_18_Value_BodyBuilder_which; - if (PyType_Ready(&__pyx_type_6schema__Value_BodyBuilder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 660; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema__Value_BodyBuilder.tp_dict, __pyx_vtabptr_6schema__Value_BodyBuilder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 660; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "_Value_BodyBuilder", (PyObject *)&__pyx_type_6schema__Value_BodyBuilder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 660; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema__Value_BodyBuilder = &__pyx_type_6schema__Value_BodyBuilder; - __pyx_vtabptr_6schema__InterfaceNodeBuilder = &__pyx_vtable_6schema__InterfaceNodeBuilder; - __pyx_vtable_6schema__InterfaceNodeBuilder.init = (PyObject *(*)(struct __pyx_obj_6schema__InterfaceNodeBuilder *, ::capnp::schema::InterfaceNode::Builder))__pyx_f_6schema_21_InterfaceNodeBuilder_init; - __pyx_vtable_6schema__InterfaceNodeBuilder.initMethods = (PyObject *(*)(struct __pyx_obj_6schema__InterfaceNodeBuilder *, __pyx_t_6schema_uint, int __pyx_skip_dispatch))__pyx_f_6schema_21_InterfaceNodeBuilder_initMethods; - if (PyType_Ready(&__pyx_type_6schema__InterfaceNodeBuilder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 579; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema__InterfaceNodeBuilder.tp_dict, __pyx_vtabptr_6schema__InterfaceNodeBuilder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 579; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "_InterfaceNodeBuilder", (PyObject *)&__pyx_type_6schema__InterfaceNodeBuilder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 579; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema__InterfaceNodeBuilder = &__pyx_type_6schema__InterfaceNodeBuilder; - __pyx_vtabptr_6schema__List_StructNode_Member_Annotation_Reader = &__pyx_vtable_6schema__List_StructNode_Member_Annotation_Reader; - __pyx_vtable_6schema__List_StructNode_Member_Annotation_Reader.init = (PyObject *(*)(struct __pyx_obj_6schema__List_StructNode_Member_Annotation_Reader *, ::capnp::List<::capnp::schema::Annotation>::Reader))__pyx_f_6schema_41_List_StructNode_Member_Annotation_Reader_init; - if (PyType_Ready(&__pyx_type_6schema__List_StructNode_Member_Annotation_Reader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 239; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema__List_StructNode_Member_Annotation_Reader.tp_dict, __pyx_vtabptr_6schema__List_StructNode_Member_Annotation_Reader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 239; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "_List_StructNode_Member_Annotation_Reader", (PyObject *)&__pyx_type_6schema__List_StructNode_Member_Annotation_Reader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 239; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema__List_StructNode_Member_Annotation_Reader = &__pyx_type_6schema__List_StructNode_Member_Annotation_Reader; - __pyx_vtabptr_6schema__Node_NestedNodeReader = &__pyx_vtable_6schema__Node_NestedNodeReader; - __pyx_vtable_6schema__Node_NestedNodeReader.init = (PyObject *(*)(struct __pyx_obj_6schema__Node_NestedNodeReader *, ::capnp::schema::Node::NestedNode::Reader))__pyx_f_6schema_22_Node_NestedNodeReader_init; - if (PyType_Ready(&__pyx_type_6schema__Node_NestedNodeReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1129; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema__Node_NestedNodeReader.tp_dict, __pyx_vtabptr_6schema__Node_NestedNodeReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1129; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "_Node_NestedNodeReader", (PyObject *)&__pyx_type_6schema__Node_NestedNodeReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1129; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema__Node_NestedNodeReader = &__pyx_type_6schema__Node_NestedNodeReader; - __pyx_vtabptr_6schema__StructNode_MemberBuilder = &__pyx_vtable_6schema__StructNode_MemberBuilder; - __pyx_vtable_6schema__StructNode_MemberBuilder.init = (PyObject *(*)(struct __pyx_obj_6schema__StructNode_MemberBuilder *, ::capnp::schema::StructNode::Member::Builder))__pyx_f_6schema_25_StructNode_MemberBuilder_init; - __pyx_vtable_6schema__StructNode_MemberBuilder.initAnnotations = (PyObject *(*)(struct __pyx_obj_6schema__StructNode_MemberBuilder *, __pyx_t_6schema_uint, int __pyx_skip_dispatch))__pyx_f_6schema_25_StructNode_MemberBuilder_initAnnotations; - if (PyType_Ready(&__pyx_type_6schema__StructNode_MemberBuilder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1478; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema__StructNode_MemberBuilder.tp_dict, __pyx_vtabptr_6schema__StructNode_MemberBuilder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1478; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "_StructNode_MemberBuilder", (PyObject *)&__pyx_type_6schema__StructNode_MemberBuilder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1478; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema__StructNode_MemberBuilder = &__pyx_type_6schema__StructNode_MemberBuilder; - __pyx_vtabptr_6schema__List_UInt64_Reader = &__pyx_vtable_6schema__List_UInt64_Reader; - __pyx_vtable_6schema__List_UInt64_Reader.init = (PyObject *(*)(struct __pyx_obj_6schema__List_UInt64_Reader *, ::capnp::List<__pyx_t_6schema_UInt64>::Reader))__pyx_f_6schema_19_List_UInt64_Reader_init; - if (PyType_Ready(&__pyx_type_6schema__List_UInt64_Reader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 185; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema__List_UInt64_Reader.tp_dict, __pyx_vtabptr_6schema__List_UInt64_Reader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 185; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "_List_UInt64_Reader", (PyObject *)&__pyx_type_6schema__List_UInt64_Reader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 185; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema__List_UInt64_Reader = &__pyx_type_6schema__List_UInt64_Reader; - __pyx_vtabptr_6schema__List_InterfaceNode_Method_Annotation_Builder = &__pyx_vtable_6schema__List_InterfaceNode_Method_Annotation_Builder; - __pyx_vtable_6schema__List_InterfaceNode_Method_Annotation_Builder.init = (PyObject *(*)(struct __pyx_obj_6schema__List_InterfaceNode_Method_Annotation_Builder *, ::capnp::List<::capnp::schema::Annotation>::Builder))__pyx_f_6schema_45_List_InterfaceNode_Method_Annotation_Builder_init; - if (PyType_Ready(&__pyx_type_6schema__List_InterfaceNode_Method_Annotation_Builder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 280; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema__List_InterfaceNode_Method_Annotation_Builder.tp_dict, __pyx_vtabptr_6schema__List_InterfaceNode_Method_Annotation_Builder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 280; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "_List_InterfaceNode_Method_Annotation_Builder", (PyObject *)&__pyx_type_6schema__List_InterfaceNode_Method_Annotation_Builder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 280; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema__List_InterfaceNode_Method_Annotation_Builder = &__pyx_type_6schema__List_InterfaceNode_Method_Annotation_Builder; - __pyx_vtabptr_6schema__List_InterfaceNode_Method_Annotation_Reader = &__pyx_vtable_6schema__List_InterfaceNode_Method_Annotation_Reader; - __pyx_vtable_6schema__List_InterfaceNode_Method_Annotation_Reader.init = (PyObject *(*)(struct __pyx_obj_6schema__List_InterfaceNode_Method_Annotation_Reader *, ::capnp::List<::capnp::schema::Annotation>::Reader))__pyx_f_6schema_44_List_InterfaceNode_Method_Annotation_Reader_init; - if (PyType_Ready(&__pyx_type_6schema__List_InterfaceNode_Method_Annotation_Reader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 266; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema__List_InterfaceNode_Method_Annotation_Reader.tp_dict, __pyx_vtabptr_6schema__List_InterfaceNode_Method_Annotation_Reader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 266; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "_List_InterfaceNode_Method_Annotation_Reader", (PyObject *)&__pyx_type_6schema__List_InterfaceNode_Method_Annotation_Reader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 266; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema__List_InterfaceNode_Method_Annotation_Reader = &__pyx_type_6schema__List_InterfaceNode_Method_Annotation_Reader; - __pyx_vtabptr_6schema__List_StructNode_Union_StructNode_Member_Reader = &__pyx_vtable_6schema__List_StructNode_Union_StructNode_Member_Reader; - __pyx_vtable_6schema__List_StructNode_Union_StructNode_Member_Reader.init = (PyObject *(*)(struct __pyx_obj_6schema__List_StructNode_Union_StructNode_Member_Reader *, ::capnp::List<::capnp::schema::StructNode::Member>::Reader))__pyx_f_6schema_47_List_StructNode_Union_StructNode_Member_Reader_init; - if (PyType_Ready(&__pyx_type_6schema__List_StructNode_Union_StructNode_Member_Reader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 104; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema__List_StructNode_Union_StructNode_Member_Reader.tp_dict, __pyx_vtabptr_6schema__List_StructNode_Union_StructNode_Member_Reader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 104; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "_List_StructNode_Union_StructNode_Member_Reader", (PyObject *)&__pyx_type_6schema__List_StructNode_Union_StructNode_Member_Reader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 104; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema__List_StructNode_Union_StructNode_Member_Reader = &__pyx_type_6schema__List_StructNode_Union_StructNode_Member_Reader; - __pyx_vtabptr_6schema__AnnotationNodeBuilder = &__pyx_vtable_6schema__AnnotationNodeBuilder; - __pyx_vtable_6schema__AnnotationNodeBuilder.init = (PyObject *(*)(struct __pyx_obj_6schema__AnnotationNodeBuilder *, ::capnp::schema::AnnotationNode::Builder))__pyx_f_6schema_22_AnnotationNodeBuilder_init; - if (PyType_Ready(&__pyx_type_6schema__AnnotationNodeBuilder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1263; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema__AnnotationNodeBuilder.tp_dict, __pyx_vtabptr_6schema__AnnotationNodeBuilder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1263; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "_AnnotationNodeBuilder", (PyObject *)&__pyx_type_6schema__AnnotationNodeBuilder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1263; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema__AnnotationNodeBuilder = &__pyx_type_6schema__AnnotationNodeBuilder; - __pyx_vtabptr_6schema__List_EnumNode_Enumerant_Annotation_Builder = &__pyx_vtable_6schema__List_EnumNode_Enumerant_Annotation_Builder; - __pyx_vtable_6schema__List_EnumNode_Enumerant_Annotation_Builder.init = (PyObject *(*)(struct __pyx_obj_6schema__List_EnumNode_Enumerant_Annotation_Builder *, ::capnp::List<::capnp::schema::Annotation>::Builder))__pyx_f_6schema_43_List_EnumNode_Enumerant_Annotation_Builder_init; - if (PyType_Ready(&__pyx_type_6schema__List_EnumNode_Enumerant_Annotation_Builder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 415; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema__List_EnumNode_Enumerant_Annotation_Builder.tp_dict, __pyx_vtabptr_6schema__List_EnumNode_Enumerant_Annotation_Builder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 415; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "_List_EnumNode_Enumerant_Annotation_Builder", (PyObject *)&__pyx_type_6schema__List_EnumNode_Enumerant_Annotation_Builder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 415; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema__List_EnumNode_Enumerant_Annotation_Builder = &__pyx_type_6schema__List_EnumNode_Enumerant_Annotation_Builder; - __pyx_vtabptr_6schema__Value_BodyReader = &__pyx_vtable_6schema__Value_BodyReader; - __pyx_vtable_6schema__Value_BodyReader.init = (PyObject *(*)(struct __pyx_obj_6schema__Value_BodyReader *, ::capnp::schema::Value::Body::Reader))__pyx_f_6schema_17_Value_BodyReader_init; - __pyx_vtable_6schema__Value_BodyReader.which = (int (*)(struct __pyx_obj_6schema__Value_BodyReader *, int __pyx_skip_dispatch))__pyx_f_6schema_17_Value_BodyReader_which; - if (PyType_Ready(&__pyx_type_6schema__Value_BodyReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 593; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema__Value_BodyReader.tp_dict, __pyx_vtabptr_6schema__Value_BodyReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 593; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "_Value_BodyReader", (PyObject *)&__pyx_type_6schema__Value_BodyReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 593; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema__Value_BodyReader = &__pyx_type_6schema__Value_BodyReader; - __pyx_vtabptr_6schema__StructNode_FieldReader = &__pyx_vtable_6schema__StructNode_FieldReader; - __pyx_vtable_6schema__StructNode_FieldReader.init = (PyObject *(*)(struct __pyx_obj_6schema__StructNode_FieldReader *, ::capnp::schema::StructNode::Field::Reader))__pyx_f_6schema_23_StructNode_FieldReader_init; - if (PyType_Ready(&__pyx_type_6schema__StructNode_FieldReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1510; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema__StructNode_FieldReader.tp_dict, __pyx_vtabptr_6schema__StructNode_FieldReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1510; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "_StructNode_FieldReader", (PyObject *)&__pyx_type_6schema__StructNode_FieldReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1510; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema__StructNode_FieldReader = &__pyx_type_6schema__StructNode_FieldReader; - __pyx_vtabptr_6schema__List_Node_Annotation_Reader = &__pyx_vtable_6schema__List_Node_Annotation_Reader; - __pyx_vtable_6schema__List_Node_Annotation_Reader.init = (PyObject *(*)(struct __pyx_obj_6schema__List_Node_Annotation_Reader *, ::capnp::List<::capnp::schema::Annotation>::Reader))__pyx_f_6schema_28_List_Node_Annotation_Reader_init; - if (PyType_Ready(&__pyx_type_6schema__List_Node_Annotation_Reader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 320; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema__List_Node_Annotation_Reader.tp_dict, __pyx_vtabptr_6schema__List_Node_Annotation_Reader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 320; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "_List_Node_Annotation_Reader", (PyObject *)&__pyx_type_6schema__List_Node_Annotation_Reader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 320; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema__List_Node_Annotation_Reader = &__pyx_type_6schema__List_Node_Annotation_Reader; - __pyx_vtabptr_6schema__List_InterfaceNode_Method_Param_Annotation_Reader = &__pyx_vtable_6schema__List_InterfaceNode_Method_Param_Annotation_Reader; - __pyx_vtable_6schema__List_InterfaceNode_Method_Param_Annotation_Reader.init = (PyObject *(*)(struct __pyx_obj_6schema__List_InterfaceNode_Method_Param_Annotation_Reader *, ::capnp::List<::capnp::schema::Annotation>::Reader))__pyx_f_6schema_50_List_InterfaceNode_Method_Param_Annotation_Reader_init; - if (PyType_Ready(&__pyx_type_6schema__List_InterfaceNode_Method_Param_Annotation_Reader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 158; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema__List_InterfaceNode_Method_Param_Annotation_Reader.tp_dict, __pyx_vtabptr_6schema__List_InterfaceNode_Method_Param_Annotation_Reader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 158; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "_List_InterfaceNode_Method_Param_Annotation_Reader", (PyObject *)&__pyx_type_6schema__List_InterfaceNode_Method_Param_Annotation_Reader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 158; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema__List_InterfaceNode_Method_Param_Annotation_Reader = &__pyx_type_6schema__List_InterfaceNode_Method_Param_Annotation_Reader; - __pyx_vtabptr_6schema__FileNodeReader = &__pyx_vtable_6schema__FileNodeReader; - __pyx_vtable_6schema__FileNodeReader.init = (PyObject *(*)(struct __pyx_obj_6schema__FileNodeReader *, ::capnp::schema::FileNode::Reader))__pyx_f_6schema_15_FileNodeReader_init; - if (PyType_Ready(&__pyx_type_6schema__FileNodeReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1039; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema__FileNodeReader.tp_dict, __pyx_vtabptr_6schema__FileNodeReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1039; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "_FileNodeReader", (PyObject *)&__pyx_type_6schema__FileNodeReader) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1039; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema__FileNodeReader = &__pyx_type_6schema__FileNodeReader; - if (PyType_Ready(&__pyx_type_6schema___pyx_scope_struct__make_enum) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 45; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema___pyx_scope_struct__make_enum = &__pyx_type_6schema___pyx_scope_struct__make_enum; - __pyx_vtabptr_6schema__StructNodeBuilder = &__pyx_vtable_6schema__StructNodeBuilder; - __pyx_vtable_6schema__StructNodeBuilder.init = (PyObject *(*)(struct __pyx_obj_6schema__StructNodeBuilder *, ::capnp::schema::StructNode::Builder))__pyx_f_6schema_18_StructNodeBuilder_init; - __pyx_vtable_6schema__StructNodeBuilder.initMembers = (PyObject *(*)(struct __pyx_obj_6schema__StructNodeBuilder *, __pyx_t_6schema_uint, int __pyx_skip_dispatch))__pyx_f_6schema_18_StructNodeBuilder_initMembers; - if (PyType_Ready(&__pyx_type_6schema__StructNodeBuilder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1563; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetVtable(__pyx_type_6schema__StructNodeBuilder.tp_dict, __pyx_vtabptr_6schema__StructNodeBuilder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1563; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (__Pyx_SetAttrString(__pyx_m, "_StructNodeBuilder", (PyObject *)&__pyx_type_6schema__StructNodeBuilder) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1563; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_ptype_6schema__StructNodeBuilder = &__pyx_type_6schema__StructNodeBuilder; - /*--- Type import code ---*/ - /*--- Variable import code ---*/ - /*--- Function import code ---*/ - /*--- Execution code ---*/ - - /* "schema.pyx":45 - * T operator[](uint) - * uint size() - * def make_enum(enum_name, *sequential, **named): # <<<<<<<<<<<<<< - * enums = dict(zip(sequential, range(len(sequential))), **named) - * reverse = dict((value, key) for key, value in enums.iteritems()) - */ - __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_6schema_1make_enum, NULL, __pyx_n_s__schema); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 45; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (PyDict_SetItem(__pyx_d, __pyx_n_s__make_enum, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 45; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - - /* "schema.pyx":459 - * return _List_UInt64_Builder().init(self.thisptr.initRequestedFiles(num)) - * - * _ElementSize = make_enum('_ElementSize',inlineComposite = _ElementSize_inlineComposite,eightBytes = _ElementSize_eightBytes,pointer = _ElementSize_pointer,bit = _ElementSize_bit,twoBytes = _ElementSize_twoBytes,fourBytes = _ElementSize_fourBytes,byte = _ElementSize_byte,empty = _ElementSize_empty,) # <<<<<<<<<<<<<< - * - * - */ - __pyx_t_1 = __Pyx_GetModuleGlobalName(__pyx_n_s__make_enum); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 459; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = PyDict_New(); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 459; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(((PyObject *)__pyx_t_2)); - __pyx_t_3 = PyInt_FromLong(((int)::capnp::schema::ElementSize::INLINE_COMPOSITE)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 459; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - if (PyDict_SetItem(__pyx_t_2, ((PyObject *)__pyx_n_s__inlineComposite), __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 459; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_3 = PyInt_FromLong(((int)::capnp::schema::ElementSize::EIGHT_BYTES)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 459; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - if (PyDict_SetItem(__pyx_t_2, ((PyObject *)__pyx_n_s__eightBytes), __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 459; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_3 = PyInt_FromLong(((int)::capnp::schema::ElementSize::POINTER)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 459; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - if (PyDict_SetItem(__pyx_t_2, ((PyObject *)__pyx_n_s__pointer), __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 459; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_3 = PyInt_FromLong(((int)::capnp::schema::ElementSize::BIT)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 459; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - if (PyDict_SetItem(__pyx_t_2, ((PyObject *)__pyx_n_s__bit), __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 459; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_3 = PyInt_FromLong(((int)::capnp::schema::ElementSize::TWO_BYTES)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 459; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - if (PyDict_SetItem(__pyx_t_2, ((PyObject *)__pyx_n_s__twoBytes), __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 459; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_3 = PyInt_FromLong(((int)::capnp::schema::ElementSize::FOUR_BYTES)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 459; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - if (PyDict_SetItem(__pyx_t_2, ((PyObject *)__pyx_n_s__fourBytes), __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 459; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_3 = PyInt_FromLong(((int)::capnp::schema::ElementSize::BYTE)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 459; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - if (PyDict_SetItem(__pyx_t_2, ((PyObject *)__pyx_n_s__byte), __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 459; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_3 = PyInt_FromLong(((int)::capnp::schema::ElementSize::EMPTY)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 459; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - if (PyDict_SetItem(__pyx_t_2, ((PyObject *)__pyx_n_s__empty), __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 459; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_k_tuple_39), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 459; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0; - if (PyDict_SetItem(__pyx_d, __pyx_n_s___ElementSize, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 459; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - - /* "schema.pyx":592 - * - * - * _Value_Body_Which = make_enum('_Value_Body_Which',uint32Value = _Value_Body_uint32Value,float64Value = _Value_Body_float64Value,voidValue = _Value_Body_voidValue,dataValue = _Value_Body_dataValue,listValue = _Value_Body_listValue,int32Value = _Value_Body_int32Value,enumValue = _Value_Body_enumValue,int8Value = _Value_Body_int8Value,boolValue = _Value_Body_boolValue,int16Value = _Value_Body_int16Value,float32Value = _Value_Body_float32Value,interfaceValue = _Value_Body_interfaceValue,uint16Value = _Value_Body_uint16Value,uint8Value = _Value_Body_uint8Value,int64Value = _Value_Body_int64Value,structValue = _Value_Body_structValue,textValue = _Value_Body_textValue,uint64Value = _Value_Body_uint64Value,objectValue = _Value_Body_objectValue,) # <<<<<<<<<<<<<< - * cdef class _Value_BodyReader: - * cdef C_Value.Body.Reader thisptr - */ - __pyx_t_3 = __Pyx_GetModuleGlobalName(__pyx_n_s__make_enum); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 592; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - __pyx_t_2 = PyDict_New(); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 592; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(((PyObject *)__pyx_t_2)); - __pyx_t_1 = PyInt_FromLong(((int)::capnp::schema::Value::Body::Which::UINT32_VALUE)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 592; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (PyDict_SetItem(__pyx_t_2, ((PyObject *)__pyx_n_s__uint32Value), __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 592; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = PyInt_FromLong(((int)::capnp::schema::Value::Body::Which::FLOAT64_VALUE)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 592; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (PyDict_SetItem(__pyx_t_2, ((PyObject *)__pyx_n_s__float64Value), __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 592; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = PyInt_FromLong(((int)::capnp::schema::Value::Body::Which::VOID_VALUE)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 592; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (PyDict_SetItem(__pyx_t_2, ((PyObject *)__pyx_n_s__voidValue), __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 592; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = PyInt_FromLong(((int)::capnp::schema::Value::Body::Which::DATA_VALUE)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 592; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (PyDict_SetItem(__pyx_t_2, ((PyObject *)__pyx_n_s__dataValue), __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 592; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = PyInt_FromLong(((int)::capnp::schema::Value::Body::Which::LIST_VALUE)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 592; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (PyDict_SetItem(__pyx_t_2, ((PyObject *)__pyx_n_s__listValue), __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 592; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = PyInt_FromLong(((int)::capnp::schema::Value::Body::Which::INT32_VALUE)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 592; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (PyDict_SetItem(__pyx_t_2, ((PyObject *)__pyx_n_s__int32Value), __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 592; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = PyInt_FromLong(((int)::capnp::schema::Value::Body::Which::ENUM_VALUE)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 592; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (PyDict_SetItem(__pyx_t_2, ((PyObject *)__pyx_n_s__enumValue), __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 592; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = PyInt_FromLong(((int)::capnp::schema::Value::Body::Which::INT8_VALUE)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 592; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (PyDict_SetItem(__pyx_t_2, ((PyObject *)__pyx_n_s__int8Value), __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 592; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = PyInt_FromLong(((int)::capnp::schema::Value::Body::Which::BOOL_VALUE)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 592; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (PyDict_SetItem(__pyx_t_2, ((PyObject *)__pyx_n_s__boolValue), __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 592; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = PyInt_FromLong(((int)::capnp::schema::Value::Body::Which::INT16_VALUE)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 592; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (PyDict_SetItem(__pyx_t_2, ((PyObject *)__pyx_n_s__int16Value), __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 592; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = PyInt_FromLong(((int)::capnp::schema::Value::Body::Which::FLOAT32_VALUE)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 592; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (PyDict_SetItem(__pyx_t_2, ((PyObject *)__pyx_n_s__float32Value), __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 592; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = PyInt_FromLong(((int)::capnp::schema::Value::Body::Which::INTERFACE_VALUE)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 592; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (PyDict_SetItem(__pyx_t_2, ((PyObject *)__pyx_n_s__interfaceValue), __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 592; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = PyInt_FromLong(((int)::capnp::schema::Value::Body::Which::UINT16_VALUE)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 592; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (PyDict_SetItem(__pyx_t_2, ((PyObject *)__pyx_n_s__uint16Value), __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 592; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = PyInt_FromLong(((int)::capnp::schema::Value::Body::Which::UINT8_VALUE)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 592; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (PyDict_SetItem(__pyx_t_2, ((PyObject *)__pyx_n_s__uint8Value), __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 592; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = PyInt_FromLong(((int)::capnp::schema::Value::Body::Which::INT64_VALUE)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 592; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (PyDict_SetItem(__pyx_t_2, ((PyObject *)__pyx_n_s__int64Value), __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 592; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = PyInt_FromLong(((int)::capnp::schema::Value::Body::Which::STRUCT_VALUE)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 592; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (PyDict_SetItem(__pyx_t_2, ((PyObject *)__pyx_n_s__structValue), __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 592; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = PyInt_FromLong(((int)::capnp::schema::Value::Body::Which::TEXT_VALUE)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 592; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (PyDict_SetItem(__pyx_t_2, ((PyObject *)__pyx_n_s__textValue), __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 592; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = PyInt_FromLong(((int)::capnp::schema::Value::Body::Which::UINT64_VALUE)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 592; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (PyDict_SetItem(__pyx_t_2, ((PyObject *)__pyx_n_s__uint64Value), __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 592; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = PyInt_FromLong(((int)::capnp::schema::Value::Body::Which::OBJECT_VALUE)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 592; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (PyDict_SetItem(__pyx_t_2, ((PyObject *)__pyx_n_s__objectValue), __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 592; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = PyObject_Call(__pyx_t_3, ((PyObject *)__pyx_k_tuple_40), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 592; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0; - if (PyDict_SetItem(__pyx_d, __pyx_n_s___Value_Body_Which, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 592; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - - /* "schema.pyx":817 - * - * - * _Type_Body_Which = make_enum('_Type_Body_Which',boolType = _Type_Body_boolType,structType = _Type_Body_structType,int32Type = _Type_Body_int32Type,voidType = _Type_Body_voidType,uint16Type = _Type_Body_uint16Type,dataType = _Type_Body_dataType,objectType = _Type_Body_objectType,int64Type = _Type_Body_int64Type,float64Type = _Type_Body_float64Type,interfaceType = _Type_Body_interfaceType,uint32Type = _Type_Body_uint32Type,uint8Type = _Type_Body_uint8Type,listType = _Type_Body_listType,int8Type = _Type_Body_int8Type,float32Type = _Type_Body_float32Type,enumType = _Type_Body_enumType,uint64Type = _Type_Body_uint64Type,textType = _Type_Body_textType,int16Type = _Type_Body_int16Type,) # <<<<<<<<<<<<<< - * cdef class _Type_BodyReader: - * cdef C_Type.Body.Reader thisptr - */ - __pyx_t_1 = __Pyx_GetModuleGlobalName(__pyx_n_s__make_enum); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 817; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = PyDict_New(); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 817; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(((PyObject *)__pyx_t_2)); - __pyx_t_3 = PyInt_FromLong(((int)::capnp::schema::Type::Body::Which::BOOL_TYPE)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 817; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - if (PyDict_SetItem(__pyx_t_2, ((PyObject *)__pyx_n_s__boolType), __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 817; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_3 = PyInt_FromLong(((int)::capnp::schema::Type::Body::Which::STRUCT_TYPE)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 817; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - if (PyDict_SetItem(__pyx_t_2, ((PyObject *)__pyx_n_s__structType), __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 817; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_3 = PyInt_FromLong(((int)::capnp::schema::Type::Body::Which::INT32_TYPE)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 817; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - if (PyDict_SetItem(__pyx_t_2, ((PyObject *)__pyx_n_s__int32Type), __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 817; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_3 = PyInt_FromLong(((int)::capnp::schema::Type::Body::Which::VOID_TYPE)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 817; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - if (PyDict_SetItem(__pyx_t_2, ((PyObject *)__pyx_n_s__voidType), __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 817; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_3 = PyInt_FromLong(((int)::capnp::schema::Type::Body::Which::UINT16_TYPE)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 817; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - if (PyDict_SetItem(__pyx_t_2, ((PyObject *)__pyx_n_s__uint16Type), __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 817; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_3 = PyInt_FromLong(((int)::capnp::schema::Type::Body::Which::DATA_TYPE)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 817; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - if (PyDict_SetItem(__pyx_t_2, ((PyObject *)__pyx_n_s__dataType), __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 817; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_3 = PyInt_FromLong(((int)::capnp::schema::Type::Body::Which::OBJECT_TYPE)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 817; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - if (PyDict_SetItem(__pyx_t_2, ((PyObject *)__pyx_n_s__objectType), __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 817; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_3 = PyInt_FromLong(((int)::capnp::schema::Type::Body::Which::INT64_TYPE)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 817; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - if (PyDict_SetItem(__pyx_t_2, ((PyObject *)__pyx_n_s__int64Type), __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 817; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_3 = PyInt_FromLong(((int)::capnp::schema::Type::Body::Which::FLOAT64_TYPE)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 817; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - if (PyDict_SetItem(__pyx_t_2, ((PyObject *)__pyx_n_s__float64Type), __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 817; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_3 = PyInt_FromLong(((int)::capnp::schema::Type::Body::Which::INTERFACE_TYPE)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 817; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - if (PyDict_SetItem(__pyx_t_2, ((PyObject *)__pyx_n_s__interfaceType), __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 817; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_3 = PyInt_FromLong(((int)::capnp::schema::Type::Body::Which::UINT32_TYPE)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 817; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - if (PyDict_SetItem(__pyx_t_2, ((PyObject *)__pyx_n_s__uint32Type), __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 817; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_3 = PyInt_FromLong(((int)::capnp::schema::Type::Body::Which::UINT8_TYPE)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 817; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - if (PyDict_SetItem(__pyx_t_2, ((PyObject *)__pyx_n_s__uint8Type), __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 817; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_3 = PyInt_FromLong(((int)::capnp::schema::Type::Body::Which::LIST_TYPE)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 817; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - if (PyDict_SetItem(__pyx_t_2, ((PyObject *)__pyx_n_s__listType), __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 817; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_3 = PyInt_FromLong(((int)::capnp::schema::Type::Body::Which::INT8_TYPE)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 817; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - if (PyDict_SetItem(__pyx_t_2, ((PyObject *)__pyx_n_s__int8Type), __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 817; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_3 = PyInt_FromLong(((int)::capnp::schema::Type::Body::Which::FLOAT32_TYPE)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 817; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - if (PyDict_SetItem(__pyx_t_2, ((PyObject *)__pyx_n_s__float32Type), __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 817; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_3 = PyInt_FromLong(((int)::capnp::schema::Type::Body::Which::ENUM_TYPE)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 817; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - if (PyDict_SetItem(__pyx_t_2, ((PyObject *)__pyx_n_s__enumType), __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 817; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_3 = PyInt_FromLong(((int)::capnp::schema::Type::Body::Which::UINT64_TYPE)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 817; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - if (PyDict_SetItem(__pyx_t_2, ((PyObject *)__pyx_n_s__uint64Type), __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 817; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_3 = PyInt_FromLong(((int)::capnp::schema::Type::Body::Which::TEXT_TYPE)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 817; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - if (PyDict_SetItem(__pyx_t_2, ((PyObject *)__pyx_n_s__textType), __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 817; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_3 = PyInt_FromLong(((int)::capnp::schema::Type::Body::Which::INT16_TYPE)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 817; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - if (PyDict_SetItem(__pyx_t_2, ((PyObject *)__pyx_n_s__int16Type), __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 817; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_k_tuple_41), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 817; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0; - if (PyDict_SetItem(__pyx_d, __pyx_n_s___Type_Body_Which, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 817; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - - /* "schema.pyx":1062 - * - * - * _Node_Body_Which = make_enum('_Node_Body_Which',annotationNode = _Node_Body_annotationNode,interfaceNode = _Node_Body_interfaceNode,enumNode = _Node_Body_enumNode,structNode = _Node_Body_structNode,constNode = _Node_Body_constNode,fileNode = _Node_Body_fileNode,) # <<<<<<<<<<<<<< - * cdef class _Node_BodyReader: - * cdef C_Node.Body.Reader thisptr - */ - __pyx_t_3 = __Pyx_GetModuleGlobalName(__pyx_n_s__make_enum); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1062; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - __pyx_t_2 = PyDict_New(); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1062; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(((PyObject *)__pyx_t_2)); - __pyx_t_1 = PyInt_FromLong(((int)::capnp::schema::Node::Body::Which::ANNOTATION_NODE)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1062; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (PyDict_SetItem(__pyx_t_2, ((PyObject *)__pyx_n_s__annotationNode), __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1062; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = PyInt_FromLong(((int)::capnp::schema::Node::Body::Which::INTERFACE_NODE)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1062; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (PyDict_SetItem(__pyx_t_2, ((PyObject *)__pyx_n_s__interfaceNode), __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1062; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = PyInt_FromLong(((int)::capnp::schema::Node::Body::Which::ENUM_NODE)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1062; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (PyDict_SetItem(__pyx_t_2, ((PyObject *)__pyx_n_s__enumNode), __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1062; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = PyInt_FromLong(((int)::capnp::schema::Node::Body::Which::STRUCT_NODE)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1062; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (PyDict_SetItem(__pyx_t_2, ((PyObject *)__pyx_n_s__structNode), __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1062; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = PyInt_FromLong(((int)::capnp::schema::Node::Body::Which::CONST_NODE)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1062; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (PyDict_SetItem(__pyx_t_2, ((PyObject *)__pyx_n_s__constNode), __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1062; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = PyInt_FromLong(((int)::capnp::schema::Node::Body::Which::FILE_NODE)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1062; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (PyDict_SetItem(__pyx_t_2, ((PyObject *)__pyx_n_s__fileNode), __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1062; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = PyObject_Call(__pyx_t_3, ((PyObject *)__pyx_k_tuple_42), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1062; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0; - if (PyDict_SetItem(__pyx_d, __pyx_n_s___Node_Body_Which, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1062; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - - /* "schema.pyx":1422 - * - * - * _StructNode_Member_Body_Which = make_enum('_StructNode_Member_Body_Which',fieldMember = _StructNode_Member_Body_fieldMember,unionMember = _StructNode_Member_Body_unionMember,) # <<<<<<<<<<<<<< - * cdef class _StructNode_Member_BodyReader: - * cdef C_StructNode.Member.Body.Reader thisptr - */ - __pyx_t_1 = __Pyx_GetModuleGlobalName(__pyx_n_s__make_enum); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1422; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = PyDict_New(); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1422; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(((PyObject *)__pyx_t_2)); - __pyx_t_3 = PyInt_FromLong(((int)::capnp::schema::StructNode::Member::Body::Which::FIELD_MEMBER)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1422; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - if (PyDict_SetItem(__pyx_t_2, ((PyObject *)__pyx_n_s__fieldMember), __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1422; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_3 = PyInt_FromLong(((int)::capnp::schema::StructNode::Member::Body::Which::UNION_MEMBER)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1422; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - if (PyDict_SetItem(__pyx_t_2, ((PyObject *)__pyx_n_s__unionMember), __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1422; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_k_tuple_44), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1422; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0; - if (PyDict_SetItem(__pyx_d, __pyx_n_s_43, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1422; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - - /* "schema.pyx":1703 - * self.thisptr = new capnp.PackedFdMessageReader(fd) - * - * def writeMessageToFd(int fd, MessageBuilder m): # <<<<<<<<<<<<<< - * capnp.writeMessageToFd(fd, deref(m.thisptr)) - * def writePackedMessageToFd(int fd, MessageBuilder m): - */ - __pyx_t_3 = PyCFunction_NewEx(&__pyx_mdef_6schema_3writeMessageToFd, NULL, __pyx_n_s__schema); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1703; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - if (PyDict_SetItem(__pyx_d, __pyx_n_s__writeMessageToFd, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1703; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - - /* "schema.pyx":1705 - * def writeMessageToFd(int fd, MessageBuilder m): - * capnp.writeMessageToFd(fd, deref(m.thisptr)) - * def writePackedMessageToFd(int fd, MessageBuilder m): # <<<<<<<<<<<<<< - * capnp.writePackedMessageToFd(fd, deref(m.thisptr)) - * - */ - __pyx_t_3 = PyCFunction_NewEx(&__pyx_mdef_6schema_5writePackedMessageToFd, NULL, __pyx_n_s__schema); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1705; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - if (PyDict_SetItem(__pyx_d, __pyx_n_s_49, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1705; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - - /* "schema.pyx":1709 - * - * # Make the namespace human usable - * from types import ModuleType # <<<<<<<<<<<<<< - * temp = CodeGeneratorRequest = ModuleType('CodeGeneratorRequest') - * temp.Reader = _CodeGeneratorRequestReader - */ - __pyx_t_3 = PyList_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1709; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - __Pyx_INCREF(((PyObject *)__pyx_n_s__ModuleType)); - PyList_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_n_s__ModuleType)); - __Pyx_GIVEREF(((PyObject *)__pyx_n_s__ModuleType)); - __pyx_t_2 = __Pyx_Import(((PyObject *)__pyx_n_s__types), ((PyObject *)__pyx_t_3), -1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1709; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0; - __pyx_t_3 = __Pyx_ImportFrom(__pyx_t_2, __pyx_n_s__ModuleType); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1709; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - if (PyDict_SetItem(__pyx_d, __pyx_n_s__ModuleType, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1709; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - - /* "schema.pyx":1710 - * # Make the namespace human usable - * from types import ModuleType - * temp = CodeGeneratorRequest = ModuleType('CodeGeneratorRequest') # <<<<<<<<<<<<<< - * temp.Reader = _CodeGeneratorRequestReader - * temp.Builder = _CodeGeneratorRequestBuilder - */ - __pyx_t_2 = __Pyx_GetModuleGlobalName(__pyx_n_s__ModuleType); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1710; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __pyx_t_3 = PyObject_Call(__pyx_t_2, ((PyObject *)__pyx_k_tuple_51), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1710; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - if (PyDict_SetItem(__pyx_d, __pyx_n_s__temp, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1710; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (PyDict_SetItem(__pyx_d, __pyx_n_s_50, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1710; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - - /* "schema.pyx":1711 - * from types import ModuleType - * temp = CodeGeneratorRequest = ModuleType('CodeGeneratorRequest') - * temp.Reader = _CodeGeneratorRequestReader # <<<<<<<<<<<<<< - * temp.Builder = _CodeGeneratorRequestBuilder - * - */ - __pyx_t_3 = __Pyx_GetModuleGlobalName(__pyx_n_s__temp); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1711; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - if (__Pyx_PyObject_SetAttrStr(__pyx_t_3, __pyx_n_s__Reader, ((PyObject *)((PyObject*)__pyx_ptype_6schema__CodeGeneratorRequestReader))) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1711; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - - /* "schema.pyx":1712 - * temp = CodeGeneratorRequest = ModuleType('CodeGeneratorRequest') - * temp.Reader = _CodeGeneratorRequestReader - * temp.Builder = _CodeGeneratorRequestBuilder # <<<<<<<<<<<<<< - * - * temp = ElementSize = ModuleType('ElementSize') - */ - __pyx_t_3 = __Pyx_GetModuleGlobalName(__pyx_n_s__temp); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1712; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - if (__Pyx_PyObject_SetAttrStr(__pyx_t_3, __pyx_n_s__Builder, ((PyObject *)((PyObject*)__pyx_ptype_6schema__CodeGeneratorRequestBuilder))) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1712; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - - /* "schema.pyx":1714 - * temp.Builder = _CodeGeneratorRequestBuilder - * - * temp = ElementSize = ModuleType('ElementSize') # <<<<<<<<<<<<<< - * ElementSize = _ElementSize - * - */ - __pyx_t_3 = __Pyx_GetModuleGlobalName(__pyx_n_s__ModuleType); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1714; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - __pyx_t_2 = PyObject_Call(__pyx_t_3, ((PyObject *)__pyx_k_tuple_52), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1714; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - if (PyDict_SetItem(__pyx_d, __pyx_n_s__temp, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1714; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (PyDict_SetItem(__pyx_d, __pyx_n_s__ElementSize, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1714; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - - /* "schema.pyx":1715 - * - * temp = ElementSize = ModuleType('ElementSize') - * ElementSize = _ElementSize # <<<<<<<<<<<<<< - * - * temp = InterfaceNode = ModuleType('InterfaceNode') - */ - __pyx_t_2 = __Pyx_GetModuleGlobalName(__pyx_n_s___ElementSize); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1715; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - if (PyDict_SetItem(__pyx_d, __pyx_n_s__ElementSize, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1715; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - - /* "schema.pyx":1717 - * ElementSize = _ElementSize - * - * temp = InterfaceNode = ModuleType('InterfaceNode') # <<<<<<<<<<<<<< - * temp.Reader = _InterfaceNodeReader - * temp.Builder = _InterfaceNodeBuilder - */ - __pyx_t_2 = __Pyx_GetModuleGlobalName(__pyx_n_s__ModuleType); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1717; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __pyx_t_3 = PyObject_Call(__pyx_t_2, ((PyObject *)__pyx_k_tuple_53), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1717; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - if (PyDict_SetItem(__pyx_d, __pyx_n_s__temp, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1717; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (PyDict_SetItem(__pyx_d, __pyx_n_s__InterfaceNode, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1717; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - - /* "schema.pyx":1718 - * - * temp = InterfaceNode = ModuleType('InterfaceNode') - * temp.Reader = _InterfaceNodeReader # <<<<<<<<<<<<<< - * temp.Builder = _InterfaceNodeBuilder - * - */ - __pyx_t_3 = __Pyx_GetModuleGlobalName(__pyx_n_s__temp); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1718; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - if (__Pyx_PyObject_SetAttrStr(__pyx_t_3, __pyx_n_s__Reader, ((PyObject *)((PyObject*)__pyx_ptype_6schema__InterfaceNodeReader))) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1718; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - - /* "schema.pyx":1719 - * temp = InterfaceNode = ModuleType('InterfaceNode') - * temp.Reader = _InterfaceNodeReader - * temp.Builder = _InterfaceNodeBuilder # <<<<<<<<<<<<<< - * - * temp = InterfaceNode.Method = ModuleType('InterfaceNode.Method') - */ - __pyx_t_3 = __Pyx_GetModuleGlobalName(__pyx_n_s__temp); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1719; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - if (__Pyx_PyObject_SetAttrStr(__pyx_t_3, __pyx_n_s__Builder, ((PyObject *)((PyObject*)__pyx_ptype_6schema__InterfaceNodeBuilder))) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1719; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - - /* "schema.pyx":1721 - * temp.Builder = _InterfaceNodeBuilder - * - * temp = InterfaceNode.Method = ModuleType('InterfaceNode.Method') # <<<<<<<<<<<<<< - * temp.Reader = _InterfaceNode_MethodReader - * temp.Builder = _InterfaceNode_MethodBuilder - */ - __pyx_t_3 = __Pyx_GetModuleGlobalName(__pyx_n_s__ModuleType); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1721; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - __pyx_t_2 = PyObject_Call(__pyx_t_3, ((PyObject *)__pyx_k_tuple_55), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1721; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - if (PyDict_SetItem(__pyx_d, __pyx_n_s__temp, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1721; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_t_3 = __Pyx_GetModuleGlobalName(__pyx_n_s__InterfaceNode); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1721; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - if (__Pyx_PyObject_SetAttrStr(__pyx_t_3, __pyx_n_s__Method, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1721; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - - /* "schema.pyx":1722 - * - * temp = InterfaceNode.Method = ModuleType('InterfaceNode.Method') - * temp.Reader = _InterfaceNode_MethodReader # <<<<<<<<<<<<<< - * temp.Builder = _InterfaceNode_MethodBuilder - * - */ - __pyx_t_2 = __Pyx_GetModuleGlobalName(__pyx_n_s__temp); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1722; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - if (__Pyx_PyObject_SetAttrStr(__pyx_t_2, __pyx_n_s__Reader, ((PyObject *)((PyObject*)__pyx_ptype_6schema__InterfaceNode_MethodReader))) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1722; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - - /* "schema.pyx":1723 - * temp = InterfaceNode.Method = ModuleType('InterfaceNode.Method') - * temp.Reader = _InterfaceNode_MethodReader - * temp.Builder = _InterfaceNode_MethodBuilder # <<<<<<<<<<<<<< - * - * temp = InterfaceNode.Method.Param = ModuleType('InterfaceNode.Method.Param') - */ - __pyx_t_2 = __Pyx_GetModuleGlobalName(__pyx_n_s__temp); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1723; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - if (__Pyx_PyObject_SetAttrStr(__pyx_t_2, __pyx_n_s__Builder, ((PyObject *)((PyObject*)__pyx_ptype_6schema__InterfaceNode_MethodBuilder))) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1723; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - - /* "schema.pyx":1725 - * temp.Builder = _InterfaceNode_MethodBuilder - * - * temp = InterfaceNode.Method.Param = ModuleType('InterfaceNode.Method.Param') # <<<<<<<<<<<<<< - * temp.Reader = _InterfaceNode_Method_ParamReader - * temp.Builder = _InterfaceNode_Method_ParamBuilder - */ - __pyx_t_2 = __Pyx_GetModuleGlobalName(__pyx_n_s__ModuleType); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1725; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __pyx_t_3 = PyObject_Call(__pyx_t_2, ((PyObject *)__pyx_k_tuple_57), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1725; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - if (PyDict_SetItem(__pyx_d, __pyx_n_s__temp, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1725; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_t_2 = __Pyx_GetModuleGlobalName(__pyx_n_s__InterfaceNode); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1725; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s__Method); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1725; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - if (__Pyx_PyObject_SetAttrStr(__pyx_t_1, __pyx_n_s__Param, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1725; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - - /* "schema.pyx":1726 - * - * temp = InterfaceNode.Method.Param = ModuleType('InterfaceNode.Method.Param') - * temp.Reader = _InterfaceNode_Method_ParamReader # <<<<<<<<<<<<<< - * temp.Builder = _InterfaceNode_Method_ParamBuilder - * - */ - __pyx_t_3 = __Pyx_GetModuleGlobalName(__pyx_n_s__temp); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1726; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - if (__Pyx_PyObject_SetAttrStr(__pyx_t_3, __pyx_n_s__Reader, ((PyObject *)((PyObject*)__pyx_ptype_6schema__InterfaceNode_Method_ParamReader))) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1726; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - - /* "schema.pyx":1727 - * temp = InterfaceNode.Method.Param = ModuleType('InterfaceNode.Method.Param') - * temp.Reader = _InterfaceNode_Method_ParamReader - * temp.Builder = _InterfaceNode_Method_ParamBuilder # <<<<<<<<<<<<<< - * - * temp = Value = ModuleType('Value') - */ - __pyx_t_3 = __Pyx_GetModuleGlobalName(__pyx_n_s__temp); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1727; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - if (__Pyx_PyObject_SetAttrStr(__pyx_t_3, __pyx_n_s__Builder, ((PyObject *)((PyObject*)__pyx_ptype_6schema__InterfaceNode_Method_ParamBuilder))) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1727; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - - /* "schema.pyx":1729 - * temp.Builder = _InterfaceNode_Method_ParamBuilder - * - * temp = Value = ModuleType('Value') # <<<<<<<<<<<<<< - * temp.Reader = _ValueReader - * temp.Builder = _ValueBuilder - */ - __pyx_t_3 = __Pyx_GetModuleGlobalName(__pyx_n_s__ModuleType); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1729; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - __pyx_t_1 = PyObject_Call(__pyx_t_3, ((PyObject *)__pyx_k_tuple_58), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1729; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - if (PyDict_SetItem(__pyx_d, __pyx_n_s__temp, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1729; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (PyDict_SetItem(__pyx_d, __pyx_n_s__Value, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1729; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - - /* "schema.pyx":1730 - * - * temp = Value = ModuleType('Value') - * temp.Reader = _ValueReader # <<<<<<<<<<<<<< - * temp.Builder = _ValueBuilder - * - */ - __pyx_t_1 = __Pyx_GetModuleGlobalName(__pyx_n_s__temp); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1730; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (__Pyx_PyObject_SetAttrStr(__pyx_t_1, __pyx_n_s__Reader, ((PyObject *)((PyObject*)__pyx_ptype_6schema__ValueReader))) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1730; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - - /* "schema.pyx":1731 - * temp = Value = ModuleType('Value') - * temp.Reader = _ValueReader - * temp.Builder = _ValueBuilder # <<<<<<<<<<<<<< - * - * temp = Value.Body = ModuleType('Value.Body') - */ - __pyx_t_1 = __Pyx_GetModuleGlobalName(__pyx_n_s__temp); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1731; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (__Pyx_PyObject_SetAttrStr(__pyx_t_1, __pyx_n_s__Builder, ((PyObject *)((PyObject*)__pyx_ptype_6schema__ValueBuilder))) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1731; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - - /* "schema.pyx":1733 - * temp.Builder = _ValueBuilder - * - * temp = Value.Body = ModuleType('Value.Body') # <<<<<<<<<<<<<< - * temp.Reader = _Value_BodyReader - * temp.Builder = _Value_BodyBuilder - */ - __pyx_t_1 = __Pyx_GetModuleGlobalName(__pyx_n_s__ModuleType); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1733; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_k_tuple_60), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1733; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - if (PyDict_SetItem(__pyx_d, __pyx_n_s__temp, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1733; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_t_1 = __Pyx_GetModuleGlobalName(__pyx_n_s__Value); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1733; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (__Pyx_PyObject_SetAttrStr(__pyx_t_1, __pyx_n_s__Body, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1733; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - - /* "schema.pyx":1734 - * - * temp = Value.Body = ModuleType('Value.Body') - * temp.Reader = _Value_BodyReader # <<<<<<<<<<<<<< - * temp.Builder = _Value_BodyBuilder - * - */ - __pyx_t_3 = __Pyx_GetModuleGlobalName(__pyx_n_s__temp); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1734; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - if (__Pyx_PyObject_SetAttrStr(__pyx_t_3, __pyx_n_s__Reader, ((PyObject *)((PyObject*)__pyx_ptype_6schema__Value_BodyReader))) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1734; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - - /* "schema.pyx":1735 - * temp = Value.Body = ModuleType('Value.Body') - * temp.Reader = _Value_BodyReader - * temp.Builder = _Value_BodyBuilder # <<<<<<<<<<<<<< - * - * temp = ConstNode = ModuleType('ConstNode') - */ - __pyx_t_3 = __Pyx_GetModuleGlobalName(__pyx_n_s__temp); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1735; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - if (__Pyx_PyObject_SetAttrStr(__pyx_t_3, __pyx_n_s__Builder, ((PyObject *)((PyObject*)__pyx_ptype_6schema__Value_BodyBuilder))) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1735; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - - /* "schema.pyx":1737 - * temp.Builder = _Value_BodyBuilder - * - * temp = ConstNode = ModuleType('ConstNode') # <<<<<<<<<<<<<< - * temp.Reader = _ConstNodeReader - * temp.Builder = _ConstNodeBuilder - */ - __pyx_t_3 = __Pyx_GetModuleGlobalName(__pyx_n_s__ModuleType); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1737; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - __pyx_t_1 = PyObject_Call(__pyx_t_3, ((PyObject *)__pyx_k_tuple_61), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1737; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - if (PyDict_SetItem(__pyx_d, __pyx_n_s__temp, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1737; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (PyDict_SetItem(__pyx_d, __pyx_n_s__ConstNode, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1737; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - - /* "schema.pyx":1738 - * - * temp = ConstNode = ModuleType('ConstNode') - * temp.Reader = _ConstNodeReader # <<<<<<<<<<<<<< - * temp.Builder = _ConstNodeBuilder - * - */ - __pyx_t_1 = __Pyx_GetModuleGlobalName(__pyx_n_s__temp); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1738; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (__Pyx_PyObject_SetAttrStr(__pyx_t_1, __pyx_n_s__Reader, ((PyObject *)((PyObject*)__pyx_ptype_6schema__ConstNodeReader))) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1738; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - - /* "schema.pyx":1739 - * temp = ConstNode = ModuleType('ConstNode') - * temp.Reader = _ConstNodeReader - * temp.Builder = _ConstNodeBuilder # <<<<<<<<<<<<<< - * - * temp = Type = ModuleType('Type') - */ - __pyx_t_1 = __Pyx_GetModuleGlobalName(__pyx_n_s__temp); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1739; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (__Pyx_PyObject_SetAttrStr(__pyx_t_1, __pyx_n_s__Builder, ((PyObject *)((PyObject*)__pyx_ptype_6schema__ConstNodeBuilder))) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1739; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - - /* "schema.pyx":1741 - * temp.Builder = _ConstNodeBuilder - * - * temp = Type = ModuleType('Type') # <<<<<<<<<<<<<< - * temp.Reader = _TypeReader - * temp.Builder = _TypeBuilder - */ - __pyx_t_1 = __Pyx_GetModuleGlobalName(__pyx_n_s__ModuleType); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1741; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_k_tuple_62), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1741; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - if (PyDict_SetItem(__pyx_d, __pyx_n_s__temp, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1741; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (PyDict_SetItem(__pyx_d, __pyx_n_s__Type, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1741; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - - /* "schema.pyx":1742 - * - * temp = Type = ModuleType('Type') - * temp.Reader = _TypeReader # <<<<<<<<<<<<<< - * temp.Builder = _TypeBuilder - * - */ - __pyx_t_3 = __Pyx_GetModuleGlobalName(__pyx_n_s__temp); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1742; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - if (__Pyx_PyObject_SetAttrStr(__pyx_t_3, __pyx_n_s__Reader, ((PyObject *)((PyObject*)__pyx_ptype_6schema__TypeReader))) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1742; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - - /* "schema.pyx":1743 - * temp = Type = ModuleType('Type') - * temp.Reader = _TypeReader - * temp.Builder = _TypeBuilder # <<<<<<<<<<<<<< - * - * temp = Type.Body = ModuleType('Type.Body') - */ - __pyx_t_3 = __Pyx_GetModuleGlobalName(__pyx_n_s__temp); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1743; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - if (__Pyx_PyObject_SetAttrStr(__pyx_t_3, __pyx_n_s__Builder, ((PyObject *)((PyObject*)__pyx_ptype_6schema__TypeBuilder))) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1743; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - - /* "schema.pyx":1745 - * temp.Builder = _TypeBuilder - * - * temp = Type.Body = ModuleType('Type.Body') # <<<<<<<<<<<<<< - * temp.Reader = _Type_BodyReader - * temp.Builder = _Type_BodyBuilder - */ - __pyx_t_3 = __Pyx_GetModuleGlobalName(__pyx_n_s__ModuleType); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1745; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - __pyx_t_1 = PyObject_Call(__pyx_t_3, ((PyObject *)__pyx_k_tuple_64), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1745; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - if (PyDict_SetItem(__pyx_d, __pyx_n_s__temp, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1745; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_t_3 = __Pyx_GetModuleGlobalName(__pyx_n_s__Type); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1745; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - if (__Pyx_PyObject_SetAttrStr(__pyx_t_3, __pyx_n_s__Body, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1745; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - - /* "schema.pyx":1746 - * - * temp = Type.Body = ModuleType('Type.Body') - * temp.Reader = _Type_BodyReader # <<<<<<<<<<<<<< - * temp.Builder = _Type_BodyBuilder - * - */ - __pyx_t_1 = __Pyx_GetModuleGlobalName(__pyx_n_s__temp); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1746; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (__Pyx_PyObject_SetAttrStr(__pyx_t_1, __pyx_n_s__Reader, ((PyObject *)((PyObject*)__pyx_ptype_6schema__Type_BodyReader))) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1746; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - - /* "schema.pyx":1747 - * temp = Type.Body = ModuleType('Type.Body') - * temp.Reader = _Type_BodyReader - * temp.Builder = _Type_BodyBuilder # <<<<<<<<<<<<<< - * - * temp = FileNode = ModuleType('FileNode') - */ - __pyx_t_1 = __Pyx_GetModuleGlobalName(__pyx_n_s__temp); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1747; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (__Pyx_PyObject_SetAttrStr(__pyx_t_1, __pyx_n_s__Builder, ((PyObject *)((PyObject*)__pyx_ptype_6schema__Type_BodyBuilder))) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1747; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - - /* "schema.pyx":1749 - * temp.Builder = _Type_BodyBuilder - * - * temp = FileNode = ModuleType('FileNode') # <<<<<<<<<<<<<< - * temp.Reader = _FileNodeReader - * temp.Builder = _FileNodeBuilder - */ - __pyx_t_1 = __Pyx_GetModuleGlobalName(__pyx_n_s__ModuleType); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1749; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_k_tuple_65), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1749; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - if (PyDict_SetItem(__pyx_d, __pyx_n_s__temp, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1749; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (PyDict_SetItem(__pyx_d, __pyx_n_s__FileNode, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1749; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - - /* "schema.pyx":1750 - * - * temp = FileNode = ModuleType('FileNode') - * temp.Reader = _FileNodeReader # <<<<<<<<<<<<<< - * temp.Builder = _FileNodeBuilder - * - */ - __pyx_t_3 = __Pyx_GetModuleGlobalName(__pyx_n_s__temp); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1750; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - if (__Pyx_PyObject_SetAttrStr(__pyx_t_3, __pyx_n_s__Reader, ((PyObject *)((PyObject*)__pyx_ptype_6schema__FileNodeReader))) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1750; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - - /* "schema.pyx":1751 - * temp = FileNode = ModuleType('FileNode') - * temp.Reader = _FileNodeReader - * temp.Builder = _FileNodeBuilder # <<<<<<<<<<<<<< - * - * temp = FileNode.Import = ModuleType('FileNode.Import') - */ - __pyx_t_3 = __Pyx_GetModuleGlobalName(__pyx_n_s__temp); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1751; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - if (__Pyx_PyObject_SetAttrStr(__pyx_t_3, __pyx_n_s__Builder, ((PyObject *)((PyObject*)__pyx_ptype_6schema__FileNodeBuilder))) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1751; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - - /* "schema.pyx":1753 - * temp.Builder = _FileNodeBuilder - * - * temp = FileNode.Import = ModuleType('FileNode.Import') # <<<<<<<<<<<<<< - * temp.Reader = _FileNode_ImportReader - * temp.Builder = _FileNode_ImportBuilder - */ - __pyx_t_3 = __Pyx_GetModuleGlobalName(__pyx_n_s__ModuleType); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1753; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - __pyx_t_1 = PyObject_Call(__pyx_t_3, ((PyObject *)__pyx_k_tuple_67), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1753; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - if (PyDict_SetItem(__pyx_d, __pyx_n_s__temp, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1753; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_t_3 = __Pyx_GetModuleGlobalName(__pyx_n_s__FileNode); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1753; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - if (__Pyx_PyObject_SetAttrStr(__pyx_t_3, __pyx_n_s__Import, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1753; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - - /* "schema.pyx":1754 - * - * temp = FileNode.Import = ModuleType('FileNode.Import') - * temp.Reader = _FileNode_ImportReader # <<<<<<<<<<<<<< - * temp.Builder = _FileNode_ImportBuilder - * - */ - __pyx_t_1 = __Pyx_GetModuleGlobalName(__pyx_n_s__temp); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1754; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (__Pyx_PyObject_SetAttrStr(__pyx_t_1, __pyx_n_s__Reader, ((PyObject *)((PyObject*)__pyx_ptype_6schema__FileNode_ImportReader))) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1754; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - - /* "schema.pyx":1755 - * temp = FileNode.Import = ModuleType('FileNode.Import') - * temp.Reader = _FileNode_ImportReader - * temp.Builder = _FileNode_ImportBuilder # <<<<<<<<<<<<<< - * - * temp = Node = ModuleType('Node') - */ - __pyx_t_1 = __Pyx_GetModuleGlobalName(__pyx_n_s__temp); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1755; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (__Pyx_PyObject_SetAttrStr(__pyx_t_1, __pyx_n_s__Builder, ((PyObject *)((PyObject*)__pyx_ptype_6schema__FileNode_ImportBuilder))) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1755; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - - /* "schema.pyx":1757 - * temp.Builder = _FileNode_ImportBuilder - * - * temp = Node = ModuleType('Node') # <<<<<<<<<<<<<< - * temp.Reader = _NodeReader - * temp.Builder = _NodeBuilder - */ - __pyx_t_1 = __Pyx_GetModuleGlobalName(__pyx_n_s__ModuleType); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1757; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_k_tuple_68), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1757; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - if (PyDict_SetItem(__pyx_d, __pyx_n_s__temp, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1757; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (PyDict_SetItem(__pyx_d, __pyx_n_s__Node, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1757; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - - /* "schema.pyx":1758 - * - * temp = Node = ModuleType('Node') - * temp.Reader = _NodeReader # <<<<<<<<<<<<<< - * temp.Builder = _NodeBuilder - * - */ - __pyx_t_3 = __Pyx_GetModuleGlobalName(__pyx_n_s__temp); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1758; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - if (__Pyx_PyObject_SetAttrStr(__pyx_t_3, __pyx_n_s__Reader, ((PyObject *)((PyObject*)__pyx_ptype_6schema__NodeReader))) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1758; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - - /* "schema.pyx":1759 - * temp = Node = ModuleType('Node') - * temp.Reader = _NodeReader - * temp.Builder = _NodeBuilder # <<<<<<<<<<<<<< - * - * temp = Node.Body = ModuleType('Node.Body') - */ - __pyx_t_3 = __Pyx_GetModuleGlobalName(__pyx_n_s__temp); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1759; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - if (__Pyx_PyObject_SetAttrStr(__pyx_t_3, __pyx_n_s__Builder, ((PyObject *)((PyObject*)__pyx_ptype_6schema__NodeBuilder))) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1759; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - - /* "schema.pyx":1761 - * temp.Builder = _NodeBuilder - * - * temp = Node.Body = ModuleType('Node.Body') # <<<<<<<<<<<<<< - * temp.Reader = _Node_BodyReader - * temp.Builder = _Node_BodyBuilder - */ - __pyx_t_3 = __Pyx_GetModuleGlobalName(__pyx_n_s__ModuleType); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1761; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - __pyx_t_1 = PyObject_Call(__pyx_t_3, ((PyObject *)__pyx_k_tuple_70), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1761; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - if (PyDict_SetItem(__pyx_d, __pyx_n_s__temp, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1761; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_t_3 = __Pyx_GetModuleGlobalName(__pyx_n_s__Node); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1761; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - if (__Pyx_PyObject_SetAttrStr(__pyx_t_3, __pyx_n_s__Body, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1761; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - - /* "schema.pyx":1762 - * - * temp = Node.Body = ModuleType('Node.Body') - * temp.Reader = _Node_BodyReader # <<<<<<<<<<<<<< - * temp.Builder = _Node_BodyBuilder - * - */ - __pyx_t_1 = __Pyx_GetModuleGlobalName(__pyx_n_s__temp); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1762; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (__Pyx_PyObject_SetAttrStr(__pyx_t_1, __pyx_n_s__Reader, ((PyObject *)((PyObject*)__pyx_ptype_6schema__Node_BodyReader))) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1762; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - - /* "schema.pyx":1763 - * temp = Node.Body = ModuleType('Node.Body') - * temp.Reader = _Node_BodyReader - * temp.Builder = _Node_BodyBuilder # <<<<<<<<<<<<<< - * - * temp = Node.NestedNode = ModuleType('Node.NestedNode') - */ - __pyx_t_1 = __Pyx_GetModuleGlobalName(__pyx_n_s__temp); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1763; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (__Pyx_PyObject_SetAttrStr(__pyx_t_1, __pyx_n_s__Builder, ((PyObject *)((PyObject*)__pyx_ptype_6schema__Node_BodyBuilder))) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1763; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - - /* "schema.pyx":1765 - * temp.Builder = _Node_BodyBuilder - * - * temp = Node.NestedNode = ModuleType('Node.NestedNode') # <<<<<<<<<<<<<< - * temp.Reader = _Node_NestedNodeReader - * temp.Builder = _Node_NestedNodeBuilder - */ - __pyx_t_1 = __Pyx_GetModuleGlobalName(__pyx_n_s__ModuleType); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1765; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_k_tuple_72), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1765; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - if (PyDict_SetItem(__pyx_d, __pyx_n_s__temp, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1765; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_t_1 = __Pyx_GetModuleGlobalName(__pyx_n_s__Node); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1765; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (__Pyx_PyObject_SetAttrStr(__pyx_t_1, __pyx_n_s__NestedNode, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1765; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - - /* "schema.pyx":1766 - * - * temp = Node.NestedNode = ModuleType('Node.NestedNode') - * temp.Reader = _Node_NestedNodeReader # <<<<<<<<<<<<<< - * temp.Builder = _Node_NestedNodeBuilder - * - */ - __pyx_t_3 = __Pyx_GetModuleGlobalName(__pyx_n_s__temp); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1766; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - if (__Pyx_PyObject_SetAttrStr(__pyx_t_3, __pyx_n_s__Reader, ((PyObject *)((PyObject*)__pyx_ptype_6schema__Node_NestedNodeReader))) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1766; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - - /* "schema.pyx":1767 - * temp = Node.NestedNode = ModuleType('Node.NestedNode') - * temp.Reader = _Node_NestedNodeReader - * temp.Builder = _Node_NestedNodeBuilder # <<<<<<<<<<<<<< - * - * temp = AnnotationNode = ModuleType('AnnotationNode') - */ - __pyx_t_3 = __Pyx_GetModuleGlobalName(__pyx_n_s__temp); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1767; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - if (__Pyx_PyObject_SetAttrStr(__pyx_t_3, __pyx_n_s__Builder, ((PyObject *)((PyObject*)__pyx_ptype_6schema__Node_NestedNodeBuilder))) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1767; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - - /* "schema.pyx":1769 - * temp.Builder = _Node_NestedNodeBuilder - * - * temp = AnnotationNode = ModuleType('AnnotationNode') # <<<<<<<<<<<<<< - * temp.Reader = _AnnotationNodeReader - * temp.Builder = _AnnotationNodeBuilder - */ - __pyx_t_3 = __Pyx_GetModuleGlobalName(__pyx_n_s__ModuleType); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1769; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - __pyx_t_1 = PyObject_Call(__pyx_t_3, ((PyObject *)__pyx_k_tuple_73), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1769; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - if (PyDict_SetItem(__pyx_d, __pyx_n_s__temp, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1769; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (PyDict_SetItem(__pyx_d, __pyx_n_s__AnnotationNode, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1769; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - - /* "schema.pyx":1770 - * - * temp = AnnotationNode = ModuleType('AnnotationNode') - * temp.Reader = _AnnotationNodeReader # <<<<<<<<<<<<<< - * temp.Builder = _AnnotationNodeBuilder - * - */ - __pyx_t_1 = __Pyx_GetModuleGlobalName(__pyx_n_s__temp); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1770; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (__Pyx_PyObject_SetAttrStr(__pyx_t_1, __pyx_n_s__Reader, ((PyObject *)((PyObject*)__pyx_ptype_6schema__AnnotationNodeReader))) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1770; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - - /* "schema.pyx":1771 - * temp = AnnotationNode = ModuleType('AnnotationNode') - * temp.Reader = _AnnotationNodeReader - * temp.Builder = _AnnotationNodeBuilder # <<<<<<<<<<<<<< - * - * temp = EnumNode = ModuleType('EnumNode') - */ - __pyx_t_1 = __Pyx_GetModuleGlobalName(__pyx_n_s__temp); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1771; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (__Pyx_PyObject_SetAttrStr(__pyx_t_1, __pyx_n_s__Builder, ((PyObject *)((PyObject*)__pyx_ptype_6schema__AnnotationNodeBuilder))) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1771; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - - /* "schema.pyx":1773 - * temp.Builder = _AnnotationNodeBuilder - * - * temp = EnumNode = ModuleType('EnumNode') # <<<<<<<<<<<<<< - * temp.Reader = _EnumNodeReader - * temp.Builder = _EnumNodeBuilder - */ - __pyx_t_1 = __Pyx_GetModuleGlobalName(__pyx_n_s__ModuleType); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1773; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_k_tuple_74), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1773; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - if (PyDict_SetItem(__pyx_d, __pyx_n_s__temp, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1773; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (PyDict_SetItem(__pyx_d, __pyx_n_s__EnumNode, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1773; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - - /* "schema.pyx":1774 - * - * temp = EnumNode = ModuleType('EnumNode') - * temp.Reader = _EnumNodeReader # <<<<<<<<<<<<<< - * temp.Builder = _EnumNodeBuilder - * - */ - __pyx_t_3 = __Pyx_GetModuleGlobalName(__pyx_n_s__temp); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1774; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - if (__Pyx_PyObject_SetAttrStr(__pyx_t_3, __pyx_n_s__Reader, ((PyObject *)((PyObject*)__pyx_ptype_6schema__EnumNodeReader))) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1774; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - - /* "schema.pyx":1775 - * temp = EnumNode = ModuleType('EnumNode') - * temp.Reader = _EnumNodeReader - * temp.Builder = _EnumNodeBuilder # <<<<<<<<<<<<<< - * - * temp = EnumNode.Enumerant = ModuleType('EnumNode.Enumerant') - */ - __pyx_t_3 = __Pyx_GetModuleGlobalName(__pyx_n_s__temp); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1775; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - if (__Pyx_PyObject_SetAttrStr(__pyx_t_3, __pyx_n_s__Builder, ((PyObject *)((PyObject*)__pyx_ptype_6schema__EnumNodeBuilder))) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1775; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - - /* "schema.pyx":1777 - * temp.Builder = _EnumNodeBuilder - * - * temp = EnumNode.Enumerant = ModuleType('EnumNode.Enumerant') # <<<<<<<<<<<<<< - * temp.Reader = _EnumNode_EnumerantReader - * temp.Builder = _EnumNode_EnumerantBuilder - */ - __pyx_t_3 = __Pyx_GetModuleGlobalName(__pyx_n_s__ModuleType); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1777; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - __pyx_t_1 = PyObject_Call(__pyx_t_3, ((PyObject *)__pyx_k_tuple_76), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1777; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - if (PyDict_SetItem(__pyx_d, __pyx_n_s__temp, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1777; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_t_3 = __Pyx_GetModuleGlobalName(__pyx_n_s__EnumNode); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1777; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - if (__Pyx_PyObject_SetAttrStr(__pyx_t_3, __pyx_n_s__Enumerant, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1777; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - - /* "schema.pyx":1778 - * - * temp = EnumNode.Enumerant = ModuleType('EnumNode.Enumerant') - * temp.Reader = _EnumNode_EnumerantReader # <<<<<<<<<<<<<< - * temp.Builder = _EnumNode_EnumerantBuilder - * - */ - __pyx_t_1 = __Pyx_GetModuleGlobalName(__pyx_n_s__temp); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1778; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (__Pyx_PyObject_SetAttrStr(__pyx_t_1, __pyx_n_s__Reader, ((PyObject *)((PyObject*)__pyx_ptype_6schema__EnumNode_EnumerantReader))) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1778; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - - /* "schema.pyx":1779 - * temp = EnumNode.Enumerant = ModuleType('EnumNode.Enumerant') - * temp.Reader = _EnumNode_EnumerantReader - * temp.Builder = _EnumNode_EnumerantBuilder # <<<<<<<<<<<<<< - * - * temp = StructNode = ModuleType('StructNode') - */ - __pyx_t_1 = __Pyx_GetModuleGlobalName(__pyx_n_s__temp); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1779; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (__Pyx_PyObject_SetAttrStr(__pyx_t_1, __pyx_n_s__Builder, ((PyObject *)((PyObject*)__pyx_ptype_6schema__EnumNode_EnumerantBuilder))) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1779; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - - /* "schema.pyx":1781 - * temp.Builder = _EnumNode_EnumerantBuilder - * - * temp = StructNode = ModuleType('StructNode') # <<<<<<<<<<<<<< - * temp.Reader = _StructNodeReader - * temp.Builder = _StructNodeBuilder - */ - __pyx_t_1 = __Pyx_GetModuleGlobalName(__pyx_n_s__ModuleType); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1781; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_k_tuple_77), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1781; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - if (PyDict_SetItem(__pyx_d, __pyx_n_s__temp, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1781; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (PyDict_SetItem(__pyx_d, __pyx_n_s__StructNode, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1781; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - - /* "schema.pyx":1782 - * - * temp = StructNode = ModuleType('StructNode') - * temp.Reader = _StructNodeReader # <<<<<<<<<<<<<< - * temp.Builder = _StructNodeBuilder - * - */ - __pyx_t_3 = __Pyx_GetModuleGlobalName(__pyx_n_s__temp); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1782; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - if (__Pyx_PyObject_SetAttrStr(__pyx_t_3, __pyx_n_s__Reader, ((PyObject *)((PyObject*)__pyx_ptype_6schema__StructNodeReader))) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1782; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - - /* "schema.pyx":1783 - * temp = StructNode = ModuleType('StructNode') - * temp.Reader = _StructNodeReader - * temp.Builder = _StructNodeBuilder # <<<<<<<<<<<<<< - * - * temp = StructNode.Union = ModuleType('StructNode.Union') - */ - __pyx_t_3 = __Pyx_GetModuleGlobalName(__pyx_n_s__temp); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1783; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - if (__Pyx_PyObject_SetAttrStr(__pyx_t_3, __pyx_n_s__Builder, ((PyObject *)((PyObject*)__pyx_ptype_6schema__StructNodeBuilder))) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1783; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - - /* "schema.pyx":1785 - * temp.Builder = _StructNodeBuilder - * - * temp = StructNode.Union = ModuleType('StructNode.Union') # <<<<<<<<<<<<<< - * temp.Reader = _StructNode_UnionReader - * temp.Builder = _StructNode_UnionBuilder - */ - __pyx_t_3 = __Pyx_GetModuleGlobalName(__pyx_n_s__ModuleType); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1785; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - __pyx_t_1 = PyObject_Call(__pyx_t_3, ((PyObject *)__pyx_k_tuple_79), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1785; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - if (PyDict_SetItem(__pyx_d, __pyx_n_s__temp, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1785; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_t_3 = __Pyx_GetModuleGlobalName(__pyx_n_s__StructNode); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1785; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - if (__Pyx_PyObject_SetAttrStr(__pyx_t_3, __pyx_n_s__Union, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1785; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - - /* "schema.pyx":1786 - * - * temp = StructNode.Union = ModuleType('StructNode.Union') - * temp.Reader = _StructNode_UnionReader # <<<<<<<<<<<<<< - * temp.Builder = _StructNode_UnionBuilder - * - */ - __pyx_t_1 = __Pyx_GetModuleGlobalName(__pyx_n_s__temp); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1786; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (__Pyx_PyObject_SetAttrStr(__pyx_t_1, __pyx_n_s__Reader, ((PyObject *)((PyObject*)__pyx_ptype_6schema__StructNode_UnionReader))) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1786; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - - /* "schema.pyx":1787 - * temp = StructNode.Union = ModuleType('StructNode.Union') - * temp.Reader = _StructNode_UnionReader - * temp.Builder = _StructNode_UnionBuilder # <<<<<<<<<<<<<< - * - * temp = StructNode.Member = ModuleType('StructNode.Member') - */ - __pyx_t_1 = __Pyx_GetModuleGlobalName(__pyx_n_s__temp); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1787; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (__Pyx_PyObject_SetAttrStr(__pyx_t_1, __pyx_n_s__Builder, ((PyObject *)((PyObject*)__pyx_ptype_6schema__StructNode_UnionBuilder))) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1787; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - - /* "schema.pyx":1789 - * temp.Builder = _StructNode_UnionBuilder - * - * temp = StructNode.Member = ModuleType('StructNode.Member') # <<<<<<<<<<<<<< - * temp.Reader = _StructNode_MemberReader - * temp.Builder = _StructNode_MemberBuilder - */ - __pyx_t_1 = __Pyx_GetModuleGlobalName(__pyx_n_s__ModuleType); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1789; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_k_tuple_81), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1789; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - if (PyDict_SetItem(__pyx_d, __pyx_n_s__temp, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1789; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_t_1 = __Pyx_GetModuleGlobalName(__pyx_n_s__StructNode); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1789; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (__Pyx_PyObject_SetAttrStr(__pyx_t_1, __pyx_n_s__Member, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1789; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - - /* "schema.pyx":1790 - * - * temp = StructNode.Member = ModuleType('StructNode.Member') - * temp.Reader = _StructNode_MemberReader # <<<<<<<<<<<<<< - * temp.Builder = _StructNode_MemberBuilder - * - */ - __pyx_t_3 = __Pyx_GetModuleGlobalName(__pyx_n_s__temp); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1790; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - if (__Pyx_PyObject_SetAttrStr(__pyx_t_3, __pyx_n_s__Reader, ((PyObject *)((PyObject*)__pyx_ptype_6schema__StructNode_MemberReader))) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1790; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - - /* "schema.pyx":1791 - * temp = StructNode.Member = ModuleType('StructNode.Member') - * temp.Reader = _StructNode_MemberReader - * temp.Builder = _StructNode_MemberBuilder # <<<<<<<<<<<<<< - * - * temp = StructNode.Member.Body = ModuleType('StructNode.Member.Body') - */ - __pyx_t_3 = __Pyx_GetModuleGlobalName(__pyx_n_s__temp); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1791; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - if (__Pyx_PyObject_SetAttrStr(__pyx_t_3, __pyx_n_s__Builder, ((PyObject *)((PyObject*)__pyx_ptype_6schema__StructNode_MemberBuilder))) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1791; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - - /* "schema.pyx":1793 - * temp.Builder = _StructNode_MemberBuilder - * - * temp = StructNode.Member.Body = ModuleType('StructNode.Member.Body') # <<<<<<<<<<<<<< - * temp.Reader = _StructNode_Member_BodyReader - * temp.Builder = _StructNode_Member_BodyBuilder - */ - __pyx_t_3 = __Pyx_GetModuleGlobalName(__pyx_n_s__ModuleType); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1793; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - __pyx_t_1 = PyObject_Call(__pyx_t_3, ((PyObject *)__pyx_k_tuple_83), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1793; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - if (PyDict_SetItem(__pyx_d, __pyx_n_s__temp, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1793; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_t_3 = __Pyx_GetModuleGlobalName(__pyx_n_s__StructNode); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1793; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_3); - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s__Member); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1793; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - if (__Pyx_PyObject_SetAttrStr(__pyx_t_2, __pyx_n_s__Body, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1793; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - - /* "schema.pyx":1794 - * - * temp = StructNode.Member.Body = ModuleType('StructNode.Member.Body') - * temp.Reader = _StructNode_Member_BodyReader # <<<<<<<<<<<<<< - * temp.Builder = _StructNode_Member_BodyBuilder - * - */ - __pyx_t_1 = __Pyx_GetModuleGlobalName(__pyx_n_s__temp); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1794; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (__Pyx_PyObject_SetAttrStr(__pyx_t_1, __pyx_n_s__Reader, ((PyObject *)((PyObject*)__pyx_ptype_6schema__StructNode_Member_BodyReader))) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1794; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - - /* "schema.pyx":1795 - * temp = StructNode.Member.Body = ModuleType('StructNode.Member.Body') - * temp.Reader = _StructNode_Member_BodyReader - * temp.Builder = _StructNode_Member_BodyBuilder # <<<<<<<<<<<<<< - * - * temp = StructNode.Field = ModuleType('StructNode.Field') - */ - __pyx_t_1 = __Pyx_GetModuleGlobalName(__pyx_n_s__temp); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1795; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (__Pyx_PyObject_SetAttrStr(__pyx_t_1, __pyx_n_s__Builder, ((PyObject *)((PyObject*)__pyx_ptype_6schema__StructNode_Member_BodyBuilder))) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1795; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - - /* "schema.pyx":1797 - * temp.Builder = _StructNode_Member_BodyBuilder - * - * temp = StructNode.Field = ModuleType('StructNode.Field') # <<<<<<<<<<<<<< - * temp.Reader = _StructNode_FieldReader - * temp.Builder = _StructNode_FieldBuilder - */ - __pyx_t_1 = __Pyx_GetModuleGlobalName(__pyx_n_s__ModuleType); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1797; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_k_tuple_85), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1797; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - if (PyDict_SetItem(__pyx_d, __pyx_n_s__temp, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1797; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __pyx_t_1 = __Pyx_GetModuleGlobalName(__pyx_n_s__StructNode); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1797; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (__Pyx_PyObject_SetAttrStr(__pyx_t_1, __pyx_n_s__Field, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1797; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - - /* "schema.pyx":1798 - * - * temp = StructNode.Field = ModuleType('StructNode.Field') - * temp.Reader = _StructNode_FieldReader # <<<<<<<<<<<<<< - * temp.Builder = _StructNode_FieldBuilder - * - */ - __pyx_t_2 = __Pyx_GetModuleGlobalName(__pyx_n_s__temp); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1798; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - if (__Pyx_PyObject_SetAttrStr(__pyx_t_2, __pyx_n_s__Reader, ((PyObject *)((PyObject*)__pyx_ptype_6schema__StructNode_FieldReader))) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1798; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - - /* "schema.pyx":1799 - * temp = StructNode.Field = ModuleType('StructNode.Field') - * temp.Reader = _StructNode_FieldReader - * temp.Builder = _StructNode_FieldBuilder # <<<<<<<<<<<<<< - * - * temp = Annotation = ModuleType('Annotation') - */ - __pyx_t_2 = __Pyx_GetModuleGlobalName(__pyx_n_s__temp); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1799; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - if (__Pyx_PyObject_SetAttrStr(__pyx_t_2, __pyx_n_s__Builder, ((PyObject *)((PyObject*)__pyx_ptype_6schema__StructNode_FieldBuilder))) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1799; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - - /* "schema.pyx":1801 - * temp.Builder = _StructNode_FieldBuilder - * - * temp = Annotation = ModuleType('Annotation') # <<<<<<<<<<<<<< - * temp.Reader = _AnnotationReader - * temp.Builder = _AnnotationBuilder - */ - __pyx_t_2 = __Pyx_GetModuleGlobalName(__pyx_n_s__ModuleType); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1801; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_2); - __pyx_t_1 = PyObject_Call(__pyx_t_2, ((PyObject *)__pyx_k_tuple_86), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1801; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - if (PyDict_SetItem(__pyx_d, __pyx_n_s__temp, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1801; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - if (PyDict_SetItem(__pyx_d, __pyx_n_s__Annotation, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1801; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - - /* "schema.pyx":1802 - * - * temp = Annotation = ModuleType('Annotation') - * temp.Reader = _AnnotationReader # <<<<<<<<<<<<<< - * temp.Builder = _AnnotationBuilder - * - */ - __pyx_t_1 = __Pyx_GetModuleGlobalName(__pyx_n_s__temp); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1802; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (__Pyx_PyObject_SetAttrStr(__pyx_t_1, __pyx_n_s__Reader, ((PyObject *)((PyObject*)__pyx_ptype_6schema__AnnotationReader))) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1802; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - - /* "schema.pyx":1803 - * temp = Annotation = ModuleType('Annotation') - * temp.Reader = _AnnotationReader - * temp.Builder = _AnnotationBuilder # <<<<<<<<<<<<<< - * - */ - __pyx_t_1 = __Pyx_GetModuleGlobalName(__pyx_n_s__temp); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1803; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(__pyx_t_1); - if (__Pyx_PyObject_SetAttrStr(__pyx_t_1, __pyx_n_s__Builder, ((PyObject *)((PyObject*)__pyx_ptype_6schema__AnnotationBuilder))) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1803; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - - /* "schema.pyx":1 - * # schema.capnp.cpp.pyx # <<<<<<<<<<<<<< - * # distutils: language = c++ - * # distutils: extra_compile_args = --std=c++11 - */ - __pyx_t_1 = PyDict_New(); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_GOTREF(((PyObject *)__pyx_t_1)); - if (PyDict_SetItem(__pyx_d, __pyx_n_s____test__, ((PyObject *)__pyx_t_1)) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;} - __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0; - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_XDECREF(__pyx_t_3); - if (__pyx_m) { - __Pyx_AddTraceback("init schema", __pyx_clineno, __pyx_lineno, __pyx_filename); - Py_DECREF(__pyx_m); __pyx_m = 0; - } else if (!PyErr_Occurred()) { - PyErr_SetString(PyExc_ImportError, "init schema"); - } - __pyx_L0:; - __Pyx_RefNannyFinishContext(); - #if PY_MAJOR_VERSION < 3 - return; - #else - return __pyx_m; - #endif -} - -/* Runtime support code */ -#if CYTHON_REFNANNY -static __Pyx_RefNannyAPIStruct *__Pyx_RefNannyImportAPI(const char *modname) { - PyObject *m = NULL, *p = NULL; - void *r = NULL; - m = PyImport_ImportModule((char *)modname); - if (!m) goto end; - p = PyObject_GetAttrString(m, (char *)"RefNannyAPI"); - if (!p) goto end; - r = PyLong_AsVoidPtr(p); -end: - Py_XDECREF(p); - Py_XDECREF(m); - return (__Pyx_RefNannyAPIStruct *)r; -} -#endif /* CYTHON_REFNANNY */ - -static PyObject *__Pyx_GetBuiltinName(PyObject *name) { - PyObject* result = __Pyx_PyObject_GetAttrStr(__pyx_b, name); - if (unlikely(!result)) { - PyErr_Format(PyExc_NameError, -#if PY_MAJOR_VERSION >= 3 - "name '%U' is not defined", name); -#else - "name '%s' is not defined", PyString_AS_STRING(name)); -#endif - } - return result; -} - -static void __Pyx_RaiseDoubleKeywordsError( - const char* func_name, - PyObject* kw_name) -{ - PyErr_Format(PyExc_TypeError, - #if PY_MAJOR_VERSION >= 3 - "%s() got multiple values for keyword argument '%U'", func_name, kw_name); - #else - "%s() got multiple values for keyword argument '%s'", func_name, - PyString_AsString(kw_name)); - #endif -} - -static int __Pyx_ParseOptionalKeywords( - PyObject *kwds, - PyObject **argnames[], - PyObject *kwds2, - PyObject *values[], - Py_ssize_t num_pos_args, - const char* function_name) -{ - PyObject *key = 0, *value = 0; - Py_ssize_t pos = 0; - PyObject*** name; - PyObject*** first_kw_arg = argnames + num_pos_args; - while (PyDict_Next(kwds, &pos, &key, &value)) { - name = first_kw_arg; - while (*name && (**name != key)) name++; - if (*name) { - values[name-argnames] = value; - continue; - } - name = first_kw_arg; - #if PY_MAJOR_VERSION < 3 - if (likely(PyString_CheckExact(key)) || likely(PyString_Check(key))) { - while (*name) { - if ((CYTHON_COMPILING_IN_PYPY || PyString_GET_SIZE(**name) == PyString_GET_SIZE(key)) - && _PyString_Eq(**name, key)) { - values[name-argnames] = value; - break; - } - name++; - } - if (*name) continue; - else { - PyObject*** argname = argnames; - while (argname != first_kw_arg) { - if ((**argname == key) || ( - (CYTHON_COMPILING_IN_PYPY || PyString_GET_SIZE(**argname) == PyString_GET_SIZE(key)) - && _PyString_Eq(**argname, key))) { - goto arg_passed_twice; - } - argname++; - } - } - } else - #endif - if (likely(PyUnicode_Check(key))) { - while (*name) { - int cmp = (**name == key) ? 0 : - #if !CYTHON_COMPILING_IN_PYPY && PY_MAJOR_VERSION >= 3 - (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 : - #endif - PyUnicode_Compare(**name, key); - if (cmp < 0 && unlikely(PyErr_Occurred())) goto bad; - if (cmp == 0) { - values[name-argnames] = value; - break; - } - name++; - } - if (*name) continue; - else { - PyObject*** argname = argnames; - while (argname != first_kw_arg) { - int cmp = (**argname == key) ? 0 : - #if !CYTHON_COMPILING_IN_PYPY && PY_MAJOR_VERSION >= 3 - (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 : - #endif - PyUnicode_Compare(**argname, key); - if (cmp < 0 && unlikely(PyErr_Occurred())) goto bad; - if (cmp == 0) goto arg_passed_twice; - argname++; - } - } - } else - goto invalid_keyword_type; - if (kwds2) { - if (unlikely(PyDict_SetItem(kwds2, key, value))) goto bad; - } else { - goto invalid_keyword; - } - } - return 0; -arg_passed_twice: - __Pyx_RaiseDoubleKeywordsError(function_name, key); - goto bad; -invalid_keyword_type: - PyErr_Format(PyExc_TypeError, - "%s() keywords must be strings", function_name); - goto bad; -invalid_keyword: - PyErr_Format(PyExc_TypeError, - #if PY_MAJOR_VERSION < 3 - "%s() got an unexpected keyword argument '%s'", - function_name, PyString_AsString(key)); - #else - "%s() got an unexpected keyword argument '%U'", - function_name, key); - #endif -bad: - return -1; -} - -static void __Pyx_RaiseArgtupleInvalid( - const char* func_name, - int exact, - Py_ssize_t num_min, - Py_ssize_t num_max, - Py_ssize_t num_found) -{ - Py_ssize_t num_expected; - const char *more_or_less; - if (num_found < num_min) { - num_expected = num_min; - more_or_less = "at least"; - } else { - num_expected = num_max; - more_or_less = "at most"; - } - if (exact) { - more_or_less = "exactly"; - } - PyErr_Format(PyExc_TypeError, - "%s() takes %s %" CYTHON_FORMAT_SSIZE_T "d positional argument%s (%" CYTHON_FORMAT_SSIZE_T "d given)", - func_name, more_or_less, num_expected, - (num_expected == 1) ? "" : "s", num_found); -} - -static CYTHON_INLINE int __Pyx_IterFinish(void) { -#if CYTHON_COMPILING_IN_CPYTHON - PyThreadState *tstate = PyThreadState_GET(); - PyObject* exc_type = tstate->curexc_type; - if (unlikely(exc_type)) { - if (likely(exc_type == PyExc_StopIteration) || PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration)) { - PyObject *exc_value, *exc_tb; - exc_value = tstate->curexc_value; - exc_tb = tstate->curexc_traceback; - tstate->curexc_type = 0; - tstate->curexc_value = 0; - tstate->curexc_traceback = 0; - Py_DECREF(exc_type); - Py_XDECREF(exc_value); - Py_XDECREF(exc_tb); - return 0; - } else { - return -1; - } - } - return 0; -#else - if (unlikely(PyErr_Occurred())) { - if (likely(PyErr_ExceptionMatches(PyExc_StopIteration))) { - PyErr_Clear(); - return 0; - } else { - return -1; - } - } - return 0; -#endif -} - -static CYTHON_INLINE void __Pyx_RaiseTooManyValuesError(Py_ssize_t expected) { - PyErr_Format(PyExc_ValueError, - "too many values to unpack (expected %" CYTHON_FORMAT_SSIZE_T "d)", expected); -} - -static CYTHON_INLINE void __Pyx_RaiseNeedMoreValuesError(Py_ssize_t index) { - PyErr_Format(PyExc_ValueError, - "need more than %" CYTHON_FORMAT_SSIZE_T "d value%s to unpack", - index, (index == 1) ? "" : "s"); -} - -static CYTHON_INLINE void __Pyx_RaiseNoneNotIterableError(void) { - PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable"); -} - -static void __Pyx_UnpackTupleError(PyObject *t, Py_ssize_t index) { - if (t == Py_None) { - __Pyx_RaiseNoneNotIterableError(); - } else if (PyTuple_GET_SIZE(t) < index) { - __Pyx_RaiseNeedMoreValuesError(PyTuple_GET_SIZE(t)); - } else { - __Pyx_RaiseTooManyValuesError(index); - } -} - -static int __Pyx_IternextUnpackEndCheck(PyObject *retval, Py_ssize_t expected) { - if (unlikely(retval)) { - Py_DECREF(retval); - __Pyx_RaiseTooManyValuesError(expected); - return -1; - } else { - return __Pyx_IterFinish(); - } - return 0; -} - -static CYTHON_INLINE int __Pyx_unpack_tuple2(PyObject* tuple, PyObject** pvalue1, PyObject** pvalue2, - int is_tuple, int has_known_size, int decref_tuple) { - Py_ssize_t index; - PyObject *value1 = NULL, *value2 = NULL, *iter = NULL; - if (!is_tuple && unlikely(!PyTuple_Check(tuple))) { - iternextfunc iternext; - iter = PyObject_GetIter(tuple); - if (unlikely(!iter)) goto bad; - if (decref_tuple) { Py_DECREF(tuple); tuple = NULL; } - iternext = Py_TYPE(iter)->tp_iternext; - value1 = iternext(iter); if (unlikely(!value1)) { index = 0; goto unpacking_failed; } - value2 = iternext(iter); if (unlikely(!value2)) { index = 1; goto unpacking_failed; } - if (!has_known_size && unlikely(__Pyx_IternextUnpackEndCheck(iternext(iter), 2))) goto bad; - Py_DECREF(iter); - } else { - if (!has_known_size && unlikely(PyTuple_GET_SIZE(tuple) != 2)) { - __Pyx_UnpackTupleError(tuple, 2); - goto bad; - } -#if CYTHON_COMPILING_IN_PYPY - value1 = PySequence_ITEM(tuple, 0); - if (unlikely(!value1)) goto bad; - value2 = PySequence_ITEM(tuple, 1); - if (unlikely(!value2)) goto bad; -#else - value1 = PyTuple_GET_ITEM(tuple, 0); - value2 = PyTuple_GET_ITEM(tuple, 1); - Py_INCREF(value1); - Py_INCREF(value2); -#endif - if (decref_tuple) { Py_DECREF(tuple); } - } - *pvalue1 = value1; - *pvalue2 = value2; - return 0; -unpacking_failed: - if (!has_known_size && __Pyx_IterFinish() == 0) - __Pyx_RaiseNeedMoreValuesError(index); -bad: - Py_XDECREF(iter); - Py_XDECREF(value1); - Py_XDECREF(value2); - if (decref_tuple) { Py_XDECREF(tuple); } - return -1; -} - -static CYTHON_INLINE PyObject* __Pyx_dict_iterator(PyObject* iterable, int is_dict, PyObject* method_name, - Py_ssize_t* p_orig_length, int* p_source_is_dict) { - is_dict = is_dict || likely(PyDict_CheckExact(iterable)); - *p_source_is_dict = is_dict; -#if !CYTHON_COMPILING_IN_PYPY - if (is_dict) { - *p_orig_length = PyDict_Size(iterable); - Py_INCREF(iterable); - return iterable; - } -#endif - *p_orig_length = 0; - if (method_name) { - PyObject* iter; - iterable = __Pyx_PyObject_CallMethod0(iterable, method_name); - if (!iterable) - return NULL; -#if !CYTHON_COMPILING_IN_PYPY - if (PyTuple_CheckExact(iterable) || PyList_CheckExact(iterable)) - return iterable; -#endif - iter = PyObject_GetIter(iterable); - Py_DECREF(iterable); - return iter; - } - return PyObject_GetIter(iterable); -} -static CYTHON_INLINE int __Pyx_dict_iter_next(PyObject* iter_obj, Py_ssize_t orig_length, Py_ssize_t* ppos, - PyObject** pkey, PyObject** pvalue, PyObject** pitem, int source_is_dict) { - PyObject* next_item; -#if !CYTHON_COMPILING_IN_PYPY - if (source_is_dict) { - PyObject *key, *value; - if (unlikely(orig_length != PyDict_Size(iter_obj))) { - PyErr_SetString(PyExc_RuntimeError, "dictionary changed size during iteration"); - return -1; - } - if (unlikely(!PyDict_Next(iter_obj, ppos, &key, &value))) { - return 0; - } - if (pitem) { - PyObject* tuple = PyTuple_New(2); - if (unlikely(!tuple)) { - return -1; - } - Py_INCREF(key); - Py_INCREF(value); - PyTuple_SET_ITEM(tuple, 0, key); - PyTuple_SET_ITEM(tuple, 1, value); - *pitem = tuple; - } else { - if (pkey) { - Py_INCREF(key); - *pkey = key; - } - if (pvalue) { - Py_INCREF(value); - *pvalue = value; - } - } - return 1; - } else if (PyTuple_CheckExact(iter_obj)) { - Py_ssize_t pos = *ppos; - if (unlikely(pos >= PyTuple_GET_SIZE(iter_obj))) return 0; - *ppos = pos + 1; - next_item = PyTuple_GET_ITEM(iter_obj, pos); - Py_INCREF(next_item); - } else if (PyList_CheckExact(iter_obj)) { - Py_ssize_t pos = *ppos; - if (unlikely(pos >= PyList_GET_SIZE(iter_obj))) return 0; - *ppos = pos + 1; - next_item = PyList_GET_ITEM(iter_obj, pos); - Py_INCREF(next_item); - } else -#endif - { - next_item = PyIter_Next(iter_obj); - if (unlikely(!next_item)) { - return __Pyx_IterFinish(); - } - } - if (pitem) { - *pitem = next_item; - } else if (pkey && pvalue) { - if (__Pyx_unpack_tuple2(next_item, pkey, pvalue, source_is_dict, source_is_dict, 1)) - return -1; - } else if (pkey) { - *pkey = next_item; - } else { - *pvalue = next_item; - } - return 1; -} - -static CYTHON_INLINE void __Pyx_RaiseClosureNameError(const char *varname) { - PyErr_Format(PyExc_NameError, "free variable '%s' referenced before assignment in enclosing scope", varname); -} - -static CYTHON_INLINE void __Pyx_ErrRestore(PyObject *type, PyObject *value, PyObject *tb) { -#if CYTHON_COMPILING_IN_CPYTHON - PyObject *tmp_type, *tmp_value, *tmp_tb; - PyThreadState *tstate = PyThreadState_GET(); - tmp_type = tstate->curexc_type; - tmp_value = tstate->curexc_value; - tmp_tb = tstate->curexc_traceback; - tstate->curexc_type = type; - tstate->curexc_value = value; - tstate->curexc_traceback = tb; - Py_XDECREF(tmp_type); - Py_XDECREF(tmp_value); - Py_XDECREF(tmp_tb); -#else - PyErr_Restore(type, value, tb); -#endif -} -static CYTHON_INLINE void __Pyx_ErrFetch(PyObject **type, PyObject **value, PyObject **tb) { -#if CYTHON_COMPILING_IN_CPYTHON - PyThreadState *tstate = PyThreadState_GET(); - *type = tstate->curexc_type; - *value = tstate->curexc_value; - *tb = tstate->curexc_traceback; - tstate->curexc_type = 0; - tstate->curexc_value = 0; - tstate->curexc_traceback = 0; -#else - PyErr_Fetch(type, value, tb); -#endif -} - -#if PY_MAJOR_VERSION < 3 -static void __Pyx_Raise(PyObject *type, PyObject *value, PyObject *tb, - CYTHON_UNUSED PyObject *cause) { - Py_XINCREF(type); - if (!value || value == Py_None) - value = NULL; - else - Py_INCREF(value); - if (!tb || tb == Py_None) - tb = NULL; - else { - Py_INCREF(tb); - if (!PyTraceBack_Check(tb)) { - PyErr_SetString(PyExc_TypeError, - "raise: arg 3 must be a traceback or None"); - goto raise_error; - } - } - #if PY_VERSION_HEX < 0x02050000 - if (PyClass_Check(type)) { - #else - if (PyType_Check(type)) { - #endif -#if CYTHON_COMPILING_IN_PYPY - if (!value) { - Py_INCREF(Py_None); - value = Py_None; - } -#endif - PyErr_NormalizeException(&type, &value, &tb); - } else { - if (value) { - PyErr_SetString(PyExc_TypeError, - "instance exception may not have a separate value"); - goto raise_error; - } - value = type; - #if PY_VERSION_HEX < 0x02050000 - if (PyInstance_Check(type)) { - type = (PyObject*) ((PyInstanceObject*)type)->in_class; - Py_INCREF(type); - } else { - type = 0; - PyErr_SetString(PyExc_TypeError, - "raise: exception must be an old-style class or instance"); - goto raise_error; - } - #else - type = (PyObject*) Py_TYPE(type); - Py_INCREF(type); - if (!PyType_IsSubtype((PyTypeObject *)type, (PyTypeObject *)PyExc_BaseException)) { - PyErr_SetString(PyExc_TypeError, - "raise: exception class must be a subclass of BaseException"); - goto raise_error; - } - #endif - } - __Pyx_ErrRestore(type, value, tb); - return; -raise_error: - Py_XDECREF(value); - Py_XDECREF(type); - Py_XDECREF(tb); - return; -} -#else /* Python 3+ */ -static void __Pyx_Raise(PyObject *type, PyObject *value, PyObject *tb, PyObject *cause) { - PyObject* owned_instance = NULL; - if (tb == Py_None) { - tb = 0; - } else if (tb && !PyTraceBack_Check(tb)) { - PyErr_SetString(PyExc_TypeError, - "raise: arg 3 must be a traceback or None"); - goto bad; - } - if (value == Py_None) - value = 0; - if (PyExceptionInstance_Check(type)) { - if (value) { - PyErr_SetString(PyExc_TypeError, - "instance exception may not have a separate value"); - goto bad; - } - value = type; - type = (PyObject*) Py_TYPE(value); - } else if (PyExceptionClass_Check(type)) { - PyObject *args; - if (!value) - args = PyTuple_New(0); - else if (PyTuple_Check(value)) { - Py_INCREF(value); - args = value; - } else - args = PyTuple_Pack(1, value); - if (!args) - goto bad; - owned_instance = PyEval_CallObject(type, args); - Py_DECREF(args); - if (!owned_instance) - goto bad; - value = owned_instance; - if (!PyExceptionInstance_Check(value)) { - PyErr_Format(PyExc_TypeError, - "calling %R should have returned an instance of " - "BaseException, not %R", - type, Py_TYPE(value)); - goto bad; - } - } else { - PyErr_SetString(PyExc_TypeError, - "raise: exception class must be a subclass of BaseException"); - goto bad; - } -#if PY_VERSION_HEX >= 0x03030000 - if (cause) { -#else - if (cause && cause != Py_None) { -#endif - PyObject *fixed_cause; - if (cause == Py_None) { - fixed_cause = NULL; - } else if (PyExceptionClass_Check(cause)) { - fixed_cause = PyObject_CallObject(cause, NULL); - if (fixed_cause == NULL) - goto bad; - } else if (PyExceptionInstance_Check(cause)) { - fixed_cause = cause; - Py_INCREF(fixed_cause); - } else { - PyErr_SetString(PyExc_TypeError, - "exception causes must derive from " - "BaseException"); - goto bad; - } - PyException_SetCause(value, fixed_cause); - } - PyErr_SetObject(type, value); - if (tb) { - PyThreadState *tstate = PyThreadState_GET(); - PyObject* tmp_tb = tstate->curexc_traceback; - if (tb != tmp_tb) { - Py_INCREF(tb); - tstate->curexc_traceback = tb; - Py_XDECREF(tmp_tb); - } - } -bad: - Py_XDECREF(owned_instance); - return; -} -#endif - -static void __Pyx_WriteUnraisable(const char *name, CYTHON_UNUSED int clineno, - CYTHON_UNUSED int lineno, CYTHON_UNUSED const char *filename) { - PyObject *old_exc, *old_val, *old_tb; - PyObject *ctx; - __Pyx_ErrFetch(&old_exc, &old_val, &old_tb); - #if PY_MAJOR_VERSION < 3 - ctx = PyString_FromString(name); - #else - ctx = PyUnicode_FromString(name); - #endif - __Pyx_ErrRestore(old_exc, old_val, old_tb); - if (!ctx) { - PyErr_WriteUnraisable(Py_None); - } else { - PyErr_WriteUnraisable(ctx); - Py_DECREF(ctx); - } -} - -static CYTHON_INLINE int __Pyx_CheckKeywordStrings( - PyObject *kwdict, - const char* function_name, - int kw_allowed) -{ - PyObject* key = 0; - Py_ssize_t pos = 0; -#if CPYTHON_COMPILING_IN_PYPY - if (!kw_allowed && PyDict_Next(kwdict, &pos, &key, 0)) - goto invalid_keyword; - return 1; -#else - while (PyDict_Next(kwdict, &pos, &key, 0)) { - #if PY_MAJOR_VERSION < 3 - if (unlikely(!PyString_CheckExact(key)) && unlikely(!PyString_Check(key))) - #endif - if (unlikely(!PyUnicode_Check(key))) - goto invalid_keyword_type; - } - if ((!kw_allowed) && unlikely(key)) - goto invalid_keyword; - return 1; -invalid_keyword_type: - PyErr_Format(PyExc_TypeError, - "%s() keywords must be strings", function_name); - return 0; -#endif -invalid_keyword: - PyErr_Format(PyExc_TypeError, - #if PY_MAJOR_VERSION < 3 - "%s() got an unexpected keyword argument '%s'", - function_name, PyString_AsString(key)); - #else - "%s() got an unexpected keyword argument '%U'", - function_name, key); - #endif - return 0; -} - -static int __Pyx_ArgTypeTest(PyObject *obj, PyTypeObject *type, int none_allowed, - const char *name, int exact) -{ - if (!type) { - PyErr_Format(PyExc_SystemError, "Missing type object"); - return 0; - } - if (none_allowed && obj == Py_None) return 1; - else if (exact) { - if (Py_TYPE(obj) == type) return 1; - } - else { - if (PyObject_TypeCheck(obj, type)) return 1; - } - PyErr_Format(PyExc_TypeError, - "Argument '%s' has incorrect type (expected %s, got %s)", - name, type->tp_name, Py_TYPE(obj)->tp_name); - return 0; -} - -static int __Pyx_SetVtable(PyObject *dict, void *vtable) { -#if PY_VERSION_HEX >= 0x02070000 && !(PY_MAJOR_VERSION==3&&PY_MINOR_VERSION==0) - PyObject *ob = PyCapsule_New(vtable, 0, 0); -#else - PyObject *ob = PyCObject_FromVoidPtr(vtable, 0); -#endif - if (!ob) - goto bad; - if (PyDict_SetItem(dict, __pyx_n_s____pyx_vtable__, ob) < 0) - goto bad; - Py_DECREF(ob); - return 0; -bad: - Py_XDECREF(ob); - return -1; -} - -static CYTHON_INLINE PyObject *__Pyx_GetModuleGlobalName(PyObject *name) { - PyObject *result; -#if CYTHON_COMPILING_IN_CPYTHON - result = PyDict_GetItem(__pyx_d, name); - if (result) { - Py_INCREF(result); - } else { -#else - result = PyObject_GetItem(__pyx_d, name); - if (!result) { - PyErr_Clear(); -#endif - result = __Pyx_GetBuiltinName(name); - } - return result; -} - -static PyObject* __Pyx_ImportFrom(PyObject* module, PyObject* name) { - PyObject* value = __Pyx_PyObject_GetAttrStr(module, name); - if (unlikely(!value) && PyErr_ExceptionMatches(PyExc_AttributeError)) { - PyErr_Format(PyExc_ImportError, - #if PY_MAJOR_VERSION < 3 - "cannot import name %.230s", PyString_AS_STRING(name)); - #else - "cannot import name %S", name); - #endif - } - return value; -} - -static PyObject *__Pyx_Import(PyObject *name, PyObject *from_list, int level) { - PyObject *empty_list = 0; - PyObject *module = 0; - PyObject *global_dict = 0; - PyObject *empty_dict = 0; - PyObject *list; - #if PY_VERSION_HEX < 0x03030000 - PyObject *py_import; - py_import = __Pyx_PyObject_GetAttrStr(__pyx_b, __pyx_n_s____import__); - if (!py_import) - goto bad; - #endif - if (from_list) - list = from_list; - else { - empty_list = PyList_New(0); - if (!empty_list) - goto bad; - list = empty_list; - } - global_dict = PyModule_GetDict(__pyx_m); - if (!global_dict) - goto bad; - empty_dict = PyDict_New(); - if (!empty_dict) - goto bad; - #if PY_VERSION_HEX >= 0x02050000 - { - #if PY_MAJOR_VERSION >= 3 - if (level == -1) { - if (strchr(__Pyx_MODULE_NAME, '.')) { - #if PY_VERSION_HEX < 0x03030000 - PyObject *py_level = PyInt_FromLong(1); - if (!py_level) - goto bad; - module = PyObject_CallFunctionObjArgs(py_import, - name, global_dict, empty_dict, list, py_level, NULL); - Py_DECREF(py_level); - #else - module = PyImport_ImportModuleLevelObject( - name, global_dict, empty_dict, list, 1); - #endif - if (!module) { - if (!PyErr_ExceptionMatches(PyExc_ImportError)) - goto bad; - PyErr_Clear(); - } - } - level = 0; /* try absolute import on failure */ - } - #endif - if (!module) { - #if PY_VERSION_HEX < 0x03030000 - PyObject *py_level = PyInt_FromLong(level); - if (!py_level) - goto bad; - module = PyObject_CallFunctionObjArgs(py_import, - name, global_dict, empty_dict, list, py_level, NULL); - Py_DECREF(py_level); - #else - module = PyImport_ImportModuleLevelObject( - name, global_dict, empty_dict, list, level); - #endif - } - } - #else - if (level>0) { - PyErr_SetString(PyExc_RuntimeError, "Relative import is not supported for Python <=2.4."); - goto bad; - } - module = PyObject_CallFunctionObjArgs(py_import, - name, global_dict, empty_dict, list, NULL); - #endif -bad: - #if PY_VERSION_HEX < 0x03030000 - Py_XDECREF(py_import); - #endif - Py_XDECREF(empty_list); - Py_XDECREF(empty_dict); - return module; -} - -static CYTHON_INLINE PyObject *__Pyx_PyInt_to_py_uint64_t(uint64_t val) { - const uint64_t neg_one = (uint64_t)-1, const_zero = (uint64_t)0; - const int is_unsigned = const_zero < neg_one; - if ((sizeof(uint64_t) == sizeof(char)) || - (sizeof(uint64_t) == sizeof(short))) { - return PyInt_FromLong((long)val); - } else if ((sizeof(uint64_t) == sizeof(int)) || - (sizeof(uint64_t) == sizeof(long))) { - if (is_unsigned) - return PyLong_FromUnsignedLong((unsigned long)val); - else - return PyInt_FromLong((long)val); - } else if (sizeof(uint64_t) == sizeof(PY_LONG_LONG)) { - if (is_unsigned) - return PyLong_FromUnsignedLongLong((unsigned PY_LONG_LONG)val); - else - return PyLong_FromLongLong((PY_LONG_LONG)val); - } else { - int one = 1; int little = (int)*(unsigned char *)&one; - unsigned char *bytes = (unsigned char *)&val; - return _PyLong_FromByteArray(bytes, sizeof(uint64_t), - little, !is_unsigned); - } -} - -static CYTHON_INLINE PyObject *__Pyx_PyInt_to_py_uint16_t(uint16_t val) { - const uint16_t neg_one = (uint16_t)-1, const_zero = (uint16_t)0; - const int is_unsigned = const_zero < neg_one; - if ((sizeof(uint16_t) == sizeof(char)) || - (sizeof(uint16_t) == sizeof(short))) { - return PyInt_FromLong((long)val); - } else if ((sizeof(uint16_t) == sizeof(int)) || - (sizeof(uint16_t) == sizeof(long))) { - if (is_unsigned) - return PyLong_FromUnsignedLong((unsigned long)val); - else - return PyInt_FromLong((long)val); - } else if (sizeof(uint16_t) == sizeof(PY_LONG_LONG)) { - if (is_unsigned) - return PyLong_FromUnsignedLongLong((unsigned PY_LONG_LONG)val); - else - return PyLong_FromLongLong((PY_LONG_LONG)val); - } else { - int one = 1; int little = (int)*(unsigned char *)&one; - unsigned char *bytes = (unsigned char *)&val; - return _PyLong_FromByteArray(bytes, sizeof(uint16_t), - little, !is_unsigned); - } -} - -static CYTHON_INLINE uint16_t __Pyx_PyInt_from_py_uint16_t(PyObject* x) { - const uint16_t neg_one = (uint16_t)-1, const_zero = (uint16_t)0; - const int is_unsigned = const_zero < neg_one; - if (sizeof(uint16_t) == sizeof(char)) { - if (is_unsigned) - return (uint16_t)__Pyx_PyInt_AsUnsignedChar(x); - else - return (uint16_t)__Pyx_PyInt_AsSignedChar(x); - } else if (sizeof(uint16_t) == sizeof(short)) { - if (is_unsigned) - return (uint16_t)__Pyx_PyInt_AsUnsignedShort(x); - else - return (uint16_t)__Pyx_PyInt_AsSignedShort(x); - } else if (sizeof(uint16_t) == sizeof(int)) { - if (is_unsigned) - return (uint16_t)__Pyx_PyInt_AsUnsignedInt(x); - else - return (uint16_t)__Pyx_PyInt_AsSignedInt(x); - } else if (sizeof(uint16_t) == sizeof(long)) { - if (is_unsigned) - return (uint16_t)__Pyx_PyInt_AsUnsignedLong(x); - else - return (uint16_t)__Pyx_PyInt_AsSignedLong(x); - } else if (sizeof(uint16_t) == sizeof(PY_LONG_LONG)) { - if (is_unsigned) - return (uint16_t)__Pyx_PyInt_AsUnsignedLongLong(x); - else - return (uint16_t)__Pyx_PyInt_AsSignedLongLong(x); - } else { - #if CYTHON_COMPILING_IN_PYPY && !defined(_PyLong_AsByteArray) - PyErr_SetString(PyExc_RuntimeError, - "_PyLong_AsByteArray() not available in PyPy, cannot convert large numbers"); - #else - uint16_t val; - PyObject *v = __Pyx_PyNumber_Int(x); - #if PY_MAJOR_VERSION < 3 - if (likely(v) && !PyLong_Check(v)) { - PyObject *tmp = v; - v = PyNumber_Long(tmp); - Py_DECREF(tmp); - } - #endif - if (likely(v)) { - int one = 1; int is_little = (int)*(unsigned char *)&one; - unsigned char *bytes = (unsigned char *)&val; - int ret = _PyLong_AsByteArray((PyLongObject *)v, - bytes, sizeof(val), - is_little, !is_unsigned); - Py_DECREF(v); - if (likely(!ret)) - return val; - } - #endif - return (uint16_t)-1; - } -} - -static CYTHON_INLINE PyObject *__Pyx_PyInt_to_py_uint32_t(uint32_t val) { - const uint32_t neg_one = (uint32_t)-1, const_zero = (uint32_t)0; - const int is_unsigned = const_zero < neg_one; - if ((sizeof(uint32_t) == sizeof(char)) || - (sizeof(uint32_t) == sizeof(short))) { - return PyInt_FromLong((long)val); - } else if ((sizeof(uint32_t) == sizeof(int)) || - (sizeof(uint32_t) == sizeof(long))) { - if (is_unsigned) - return PyLong_FromUnsignedLong((unsigned long)val); - else - return PyInt_FromLong((long)val); - } else if (sizeof(uint32_t) == sizeof(PY_LONG_LONG)) { - if (is_unsigned) - return PyLong_FromUnsignedLongLong((unsigned PY_LONG_LONG)val); - else - return PyLong_FromLongLong((PY_LONG_LONG)val); - } else { - int one = 1; int little = (int)*(unsigned char *)&one; - unsigned char *bytes = (unsigned char *)&val; - return _PyLong_FromByteArray(bytes, sizeof(uint32_t), - little, !is_unsigned); - } -} - -static CYTHON_INLINE PyObject *__Pyx_PyInt_to_py_int32_t(int32_t val) { - const int32_t neg_one = (int32_t)-1, const_zero = (int32_t)0; - const int is_unsigned = const_zero < neg_one; - if ((sizeof(int32_t) == sizeof(char)) || - (sizeof(int32_t) == sizeof(short))) { - return PyInt_FromLong((long)val); - } else if ((sizeof(int32_t) == sizeof(int)) || - (sizeof(int32_t) == sizeof(long))) { - if (is_unsigned) - return PyLong_FromUnsignedLong((unsigned long)val); - else - return PyInt_FromLong((long)val); - } else if (sizeof(int32_t) == sizeof(PY_LONG_LONG)) { - if (is_unsigned) - return PyLong_FromUnsignedLongLong((unsigned PY_LONG_LONG)val); - else - return PyLong_FromLongLong((PY_LONG_LONG)val); - } else { - int one = 1; int little = (int)*(unsigned char *)&one; - unsigned char *bytes = (unsigned char *)&val; - return _PyLong_FromByteArray(bytes, sizeof(int32_t), - little, !is_unsigned); - } -} - -static CYTHON_INLINE PyObject *__Pyx_PyInt_to_py_int8_t(int8_t val) { - const int8_t neg_one = (int8_t)-1, const_zero = (int8_t)0; - const int is_unsigned = const_zero < neg_one; - if ((sizeof(int8_t) == sizeof(char)) || - (sizeof(int8_t) == sizeof(short))) { - return PyInt_FromLong((long)val); - } else if ((sizeof(int8_t) == sizeof(int)) || - (sizeof(int8_t) == sizeof(long))) { - if (is_unsigned) - return PyLong_FromUnsignedLong((unsigned long)val); - else - return PyInt_FromLong((long)val); - } else if (sizeof(int8_t) == sizeof(PY_LONG_LONG)) { - if (is_unsigned) - return PyLong_FromUnsignedLongLong((unsigned PY_LONG_LONG)val); - else - return PyLong_FromLongLong((PY_LONG_LONG)val); - } else { - int one = 1; int little = (int)*(unsigned char *)&one; - unsigned char *bytes = (unsigned char *)&val; - return _PyLong_FromByteArray(bytes, sizeof(int8_t), - little, !is_unsigned); - } -} - -static CYTHON_INLINE PyObject *__Pyx_PyInt_to_py_int16_t(int16_t val) { - const int16_t neg_one = (int16_t)-1, const_zero = (int16_t)0; - const int is_unsigned = const_zero < neg_one; - if ((sizeof(int16_t) == sizeof(char)) || - (sizeof(int16_t) == sizeof(short))) { - return PyInt_FromLong((long)val); - } else if ((sizeof(int16_t) == sizeof(int)) || - (sizeof(int16_t) == sizeof(long))) { - if (is_unsigned) - return PyLong_FromUnsignedLong((unsigned long)val); - else - return PyInt_FromLong((long)val); - } else if (sizeof(int16_t) == sizeof(PY_LONG_LONG)) { - if (is_unsigned) - return PyLong_FromUnsignedLongLong((unsigned PY_LONG_LONG)val); - else - return PyLong_FromLongLong((PY_LONG_LONG)val); - } else { - int one = 1; int little = (int)*(unsigned char *)&one; - unsigned char *bytes = (unsigned char *)&val; - return _PyLong_FromByteArray(bytes, sizeof(int16_t), - little, !is_unsigned); - } -} - -static CYTHON_INLINE PyObject *__Pyx_PyInt_to_py_uint8_t(uint8_t val) { - const uint8_t neg_one = (uint8_t)-1, const_zero = (uint8_t)0; - const int is_unsigned = const_zero < neg_one; - if ((sizeof(uint8_t) == sizeof(char)) || - (sizeof(uint8_t) == sizeof(short))) { - return PyInt_FromLong((long)val); - } else if ((sizeof(uint8_t) == sizeof(int)) || - (sizeof(uint8_t) == sizeof(long))) { - if (is_unsigned) - return PyLong_FromUnsignedLong((unsigned long)val); - else - return PyInt_FromLong((long)val); - } else if (sizeof(uint8_t) == sizeof(PY_LONG_LONG)) { - if (is_unsigned) - return PyLong_FromUnsignedLongLong((unsigned PY_LONG_LONG)val); - else - return PyLong_FromLongLong((PY_LONG_LONG)val); - } else { - int one = 1; int little = (int)*(unsigned char *)&one; - unsigned char *bytes = (unsigned char *)&val; - return _PyLong_FromByteArray(bytes, sizeof(uint8_t), - little, !is_unsigned); - } -} - -static CYTHON_INLINE PyObject *__Pyx_PyInt_to_py_int64_t(int64_t val) { - const int64_t neg_one = (int64_t)-1, const_zero = (int64_t)0; - const int is_unsigned = const_zero < neg_one; - if ((sizeof(int64_t) == sizeof(char)) || - (sizeof(int64_t) == sizeof(short))) { - return PyInt_FromLong((long)val); - } else if ((sizeof(int64_t) == sizeof(int)) || - (sizeof(int64_t) == sizeof(long))) { - if (is_unsigned) - return PyLong_FromUnsignedLong((unsigned long)val); - else - return PyInt_FromLong((long)val); - } else if (sizeof(int64_t) == sizeof(PY_LONG_LONG)) { - if (is_unsigned) - return PyLong_FromUnsignedLongLong((unsigned PY_LONG_LONG)val); - else - return PyLong_FromLongLong((PY_LONG_LONG)val); - } else { - int one = 1; int little = (int)*(unsigned char *)&one; - unsigned char *bytes = (unsigned char *)&val; - return _PyLong_FromByteArray(bytes, sizeof(int64_t), - little, !is_unsigned); - } -} - -static CYTHON_INLINE uint32_t __Pyx_PyInt_from_py_uint32_t(PyObject* x) { - const uint32_t neg_one = (uint32_t)-1, const_zero = (uint32_t)0; - const int is_unsigned = const_zero < neg_one; - if (sizeof(uint32_t) == sizeof(char)) { - if (is_unsigned) - return (uint32_t)__Pyx_PyInt_AsUnsignedChar(x); - else - return (uint32_t)__Pyx_PyInt_AsSignedChar(x); - } else if (sizeof(uint32_t) == sizeof(short)) { - if (is_unsigned) - return (uint32_t)__Pyx_PyInt_AsUnsignedShort(x); - else - return (uint32_t)__Pyx_PyInt_AsSignedShort(x); - } else if (sizeof(uint32_t) == sizeof(int)) { - if (is_unsigned) - return (uint32_t)__Pyx_PyInt_AsUnsignedInt(x); - else - return (uint32_t)__Pyx_PyInt_AsSignedInt(x); - } else if (sizeof(uint32_t) == sizeof(long)) { - if (is_unsigned) - return (uint32_t)__Pyx_PyInt_AsUnsignedLong(x); - else - return (uint32_t)__Pyx_PyInt_AsSignedLong(x); - } else if (sizeof(uint32_t) == sizeof(PY_LONG_LONG)) { - if (is_unsigned) - return (uint32_t)__Pyx_PyInt_AsUnsignedLongLong(x); - else - return (uint32_t)__Pyx_PyInt_AsSignedLongLong(x); - } else { - #if CYTHON_COMPILING_IN_PYPY && !defined(_PyLong_AsByteArray) - PyErr_SetString(PyExc_RuntimeError, - "_PyLong_AsByteArray() not available in PyPy, cannot convert large numbers"); - #else - uint32_t val; - PyObject *v = __Pyx_PyNumber_Int(x); - #if PY_MAJOR_VERSION < 3 - if (likely(v) && !PyLong_Check(v)) { - PyObject *tmp = v; - v = PyNumber_Long(tmp); - Py_DECREF(tmp); - } - #endif - if (likely(v)) { - int one = 1; int is_little = (int)*(unsigned char *)&one; - unsigned char *bytes = (unsigned char *)&val; - int ret = _PyLong_AsByteArray((PyLongObject *)v, - bytes, sizeof(val), - is_little, !is_unsigned); - Py_DECREF(v); - if (likely(!ret)) - return val; - } - #endif - return (uint32_t)-1; - } -} - -static CYTHON_INLINE int32_t __Pyx_PyInt_from_py_int32_t(PyObject* x) { - const int32_t neg_one = (int32_t)-1, const_zero = (int32_t)0; - const int is_unsigned = const_zero < neg_one; - if (sizeof(int32_t) == sizeof(char)) { - if (is_unsigned) - return (int32_t)__Pyx_PyInt_AsUnsignedChar(x); - else - return (int32_t)__Pyx_PyInt_AsSignedChar(x); - } else if (sizeof(int32_t) == sizeof(short)) { - if (is_unsigned) - return (int32_t)__Pyx_PyInt_AsUnsignedShort(x); - else - return (int32_t)__Pyx_PyInt_AsSignedShort(x); - } else if (sizeof(int32_t) == sizeof(int)) { - if (is_unsigned) - return (int32_t)__Pyx_PyInt_AsUnsignedInt(x); - else - return (int32_t)__Pyx_PyInt_AsSignedInt(x); - } else if (sizeof(int32_t) == sizeof(long)) { - if (is_unsigned) - return (int32_t)__Pyx_PyInt_AsUnsignedLong(x); - else - return (int32_t)__Pyx_PyInt_AsSignedLong(x); - } else if (sizeof(int32_t) == sizeof(PY_LONG_LONG)) { - if (is_unsigned) - return (int32_t)__Pyx_PyInt_AsUnsignedLongLong(x); - else - return (int32_t)__Pyx_PyInt_AsSignedLongLong(x); - } else { - #if CYTHON_COMPILING_IN_PYPY && !defined(_PyLong_AsByteArray) - PyErr_SetString(PyExc_RuntimeError, - "_PyLong_AsByteArray() not available in PyPy, cannot convert large numbers"); - #else - int32_t val; - PyObject *v = __Pyx_PyNumber_Int(x); - #if PY_MAJOR_VERSION < 3 - if (likely(v) && !PyLong_Check(v)) { - PyObject *tmp = v; - v = PyNumber_Long(tmp); - Py_DECREF(tmp); - } - #endif - if (likely(v)) { - int one = 1; int is_little = (int)*(unsigned char *)&one; - unsigned char *bytes = (unsigned char *)&val; - int ret = _PyLong_AsByteArray((PyLongObject *)v, - bytes, sizeof(val), - is_little, !is_unsigned); - Py_DECREF(v); - if (likely(!ret)) - return val; - } - #endif - return (int32_t)-1; - } -} - -static CYTHON_INLINE int8_t __Pyx_PyInt_from_py_int8_t(PyObject* x) { - const int8_t neg_one = (int8_t)-1, const_zero = (int8_t)0; - const int is_unsigned = const_zero < neg_one; - if (sizeof(int8_t) == sizeof(char)) { - if (is_unsigned) - return (int8_t)__Pyx_PyInt_AsUnsignedChar(x); - else - return (int8_t)__Pyx_PyInt_AsSignedChar(x); - } else if (sizeof(int8_t) == sizeof(short)) { - if (is_unsigned) - return (int8_t)__Pyx_PyInt_AsUnsignedShort(x); - else - return (int8_t)__Pyx_PyInt_AsSignedShort(x); - } else if (sizeof(int8_t) == sizeof(int)) { - if (is_unsigned) - return (int8_t)__Pyx_PyInt_AsUnsignedInt(x); - else - return (int8_t)__Pyx_PyInt_AsSignedInt(x); - } else if (sizeof(int8_t) == sizeof(long)) { - if (is_unsigned) - return (int8_t)__Pyx_PyInt_AsUnsignedLong(x); - else - return (int8_t)__Pyx_PyInt_AsSignedLong(x); - } else if (sizeof(int8_t) == sizeof(PY_LONG_LONG)) { - if (is_unsigned) - return (int8_t)__Pyx_PyInt_AsUnsignedLongLong(x); - else - return (int8_t)__Pyx_PyInt_AsSignedLongLong(x); - } else { - #if CYTHON_COMPILING_IN_PYPY && !defined(_PyLong_AsByteArray) - PyErr_SetString(PyExc_RuntimeError, - "_PyLong_AsByteArray() not available in PyPy, cannot convert large numbers"); - #else - int8_t val; - PyObject *v = __Pyx_PyNumber_Int(x); - #if PY_MAJOR_VERSION < 3 - if (likely(v) && !PyLong_Check(v)) { - PyObject *tmp = v; - v = PyNumber_Long(tmp); - Py_DECREF(tmp); - } - #endif - if (likely(v)) { - int one = 1; int is_little = (int)*(unsigned char *)&one; - unsigned char *bytes = (unsigned char *)&val; - int ret = _PyLong_AsByteArray((PyLongObject *)v, - bytes, sizeof(val), - is_little, !is_unsigned); - Py_DECREF(v); - if (likely(!ret)) - return val; - } - #endif - return (int8_t)-1; - } -} - -static CYTHON_INLINE int16_t __Pyx_PyInt_from_py_int16_t(PyObject* x) { - const int16_t neg_one = (int16_t)-1, const_zero = (int16_t)0; - const int is_unsigned = const_zero < neg_one; - if (sizeof(int16_t) == sizeof(char)) { - if (is_unsigned) - return (int16_t)__Pyx_PyInt_AsUnsignedChar(x); - else - return (int16_t)__Pyx_PyInt_AsSignedChar(x); - } else if (sizeof(int16_t) == sizeof(short)) { - if (is_unsigned) - return (int16_t)__Pyx_PyInt_AsUnsignedShort(x); - else - return (int16_t)__Pyx_PyInt_AsSignedShort(x); - } else if (sizeof(int16_t) == sizeof(int)) { - if (is_unsigned) - return (int16_t)__Pyx_PyInt_AsUnsignedInt(x); - else - return (int16_t)__Pyx_PyInt_AsSignedInt(x); - } else if (sizeof(int16_t) == sizeof(long)) { - if (is_unsigned) - return (int16_t)__Pyx_PyInt_AsUnsignedLong(x); - else - return (int16_t)__Pyx_PyInt_AsSignedLong(x); - } else if (sizeof(int16_t) == sizeof(PY_LONG_LONG)) { - if (is_unsigned) - return (int16_t)__Pyx_PyInt_AsUnsignedLongLong(x); - else - return (int16_t)__Pyx_PyInt_AsSignedLongLong(x); - } else { - #if CYTHON_COMPILING_IN_PYPY && !defined(_PyLong_AsByteArray) - PyErr_SetString(PyExc_RuntimeError, - "_PyLong_AsByteArray() not available in PyPy, cannot convert large numbers"); - #else - int16_t val; - PyObject *v = __Pyx_PyNumber_Int(x); - #if PY_MAJOR_VERSION < 3 - if (likely(v) && !PyLong_Check(v)) { - PyObject *tmp = v; - v = PyNumber_Long(tmp); - Py_DECREF(tmp); - } - #endif - if (likely(v)) { - int one = 1; int is_little = (int)*(unsigned char *)&one; - unsigned char *bytes = (unsigned char *)&val; - int ret = _PyLong_AsByteArray((PyLongObject *)v, - bytes, sizeof(val), - is_little, !is_unsigned); - Py_DECREF(v); - if (likely(!ret)) - return val; - } - #endif - return (int16_t)-1; - } -} - -static CYTHON_INLINE uint8_t __Pyx_PyInt_from_py_uint8_t(PyObject* x) { - const uint8_t neg_one = (uint8_t)-1, const_zero = (uint8_t)0; - const int is_unsigned = const_zero < neg_one; - if (sizeof(uint8_t) == sizeof(char)) { - if (is_unsigned) - return (uint8_t)__Pyx_PyInt_AsUnsignedChar(x); - else - return (uint8_t)__Pyx_PyInt_AsSignedChar(x); - } else if (sizeof(uint8_t) == sizeof(short)) { - if (is_unsigned) - return (uint8_t)__Pyx_PyInt_AsUnsignedShort(x); - else - return (uint8_t)__Pyx_PyInt_AsSignedShort(x); - } else if (sizeof(uint8_t) == sizeof(int)) { - if (is_unsigned) - return (uint8_t)__Pyx_PyInt_AsUnsignedInt(x); - else - return (uint8_t)__Pyx_PyInt_AsSignedInt(x); - } else if (sizeof(uint8_t) == sizeof(long)) { - if (is_unsigned) - return (uint8_t)__Pyx_PyInt_AsUnsignedLong(x); - else - return (uint8_t)__Pyx_PyInt_AsSignedLong(x); - } else if (sizeof(uint8_t) == sizeof(PY_LONG_LONG)) { - if (is_unsigned) - return (uint8_t)__Pyx_PyInt_AsUnsignedLongLong(x); - else - return (uint8_t)__Pyx_PyInt_AsSignedLongLong(x); - } else { - #if CYTHON_COMPILING_IN_PYPY && !defined(_PyLong_AsByteArray) - PyErr_SetString(PyExc_RuntimeError, - "_PyLong_AsByteArray() not available in PyPy, cannot convert large numbers"); - #else - uint8_t val; - PyObject *v = __Pyx_PyNumber_Int(x); - #if PY_MAJOR_VERSION < 3 - if (likely(v) && !PyLong_Check(v)) { - PyObject *tmp = v; - v = PyNumber_Long(tmp); - Py_DECREF(tmp); - } - #endif - if (likely(v)) { - int one = 1; int is_little = (int)*(unsigned char *)&one; - unsigned char *bytes = (unsigned char *)&val; - int ret = _PyLong_AsByteArray((PyLongObject *)v, - bytes, sizeof(val), - is_little, !is_unsigned); - Py_DECREF(v); - if (likely(!ret)) - return val; - } - #endif - return (uint8_t)-1; - } -} - -static CYTHON_INLINE int64_t __Pyx_PyInt_from_py_int64_t(PyObject* x) { - const int64_t neg_one = (int64_t)-1, const_zero = (int64_t)0; - const int is_unsigned = const_zero < neg_one; - if (sizeof(int64_t) == sizeof(char)) { - if (is_unsigned) - return (int64_t)__Pyx_PyInt_AsUnsignedChar(x); - else - return (int64_t)__Pyx_PyInt_AsSignedChar(x); - } else if (sizeof(int64_t) == sizeof(short)) { - if (is_unsigned) - return (int64_t)__Pyx_PyInt_AsUnsignedShort(x); - else - return (int64_t)__Pyx_PyInt_AsSignedShort(x); - } else if (sizeof(int64_t) == sizeof(int)) { - if (is_unsigned) - return (int64_t)__Pyx_PyInt_AsUnsignedInt(x); - else - return (int64_t)__Pyx_PyInt_AsSignedInt(x); - } else if (sizeof(int64_t) == sizeof(long)) { - if (is_unsigned) - return (int64_t)__Pyx_PyInt_AsUnsignedLong(x); - else - return (int64_t)__Pyx_PyInt_AsSignedLong(x); - } else if (sizeof(int64_t) == sizeof(PY_LONG_LONG)) { - if (is_unsigned) - return (int64_t)__Pyx_PyInt_AsUnsignedLongLong(x); - else - return (int64_t)__Pyx_PyInt_AsSignedLongLong(x); - } else { - #if CYTHON_COMPILING_IN_PYPY && !defined(_PyLong_AsByteArray) - PyErr_SetString(PyExc_RuntimeError, - "_PyLong_AsByteArray() not available in PyPy, cannot convert large numbers"); - #else - int64_t val; - PyObject *v = __Pyx_PyNumber_Int(x); - #if PY_MAJOR_VERSION < 3 - if (likely(v) && !PyLong_Check(v)) { - PyObject *tmp = v; - v = PyNumber_Long(tmp); - Py_DECREF(tmp); - } - #endif - if (likely(v)) { - int one = 1; int is_little = (int)*(unsigned char *)&one; - unsigned char *bytes = (unsigned char *)&val; - int ret = _PyLong_AsByteArray((PyLongObject *)v, - bytes, sizeof(val), - is_little, !is_unsigned); - Py_DECREF(v); - if (likely(!ret)) - return val; - } - #endif - return (int64_t)-1; - } -} - -static CYTHON_INLINE uint64_t __Pyx_PyInt_from_py_uint64_t(PyObject* x) { - const uint64_t neg_one = (uint64_t)-1, const_zero = (uint64_t)0; - const int is_unsigned = const_zero < neg_one; - if (sizeof(uint64_t) == sizeof(char)) { - if (is_unsigned) - return (uint64_t)__Pyx_PyInt_AsUnsignedChar(x); - else - return (uint64_t)__Pyx_PyInt_AsSignedChar(x); - } else if (sizeof(uint64_t) == sizeof(short)) { - if (is_unsigned) - return (uint64_t)__Pyx_PyInt_AsUnsignedShort(x); - else - return (uint64_t)__Pyx_PyInt_AsSignedShort(x); - } else if (sizeof(uint64_t) == sizeof(int)) { - if (is_unsigned) - return (uint64_t)__Pyx_PyInt_AsUnsignedInt(x); - else - return (uint64_t)__Pyx_PyInt_AsSignedInt(x); - } else if (sizeof(uint64_t) == sizeof(long)) { - if (is_unsigned) - return (uint64_t)__Pyx_PyInt_AsUnsignedLong(x); - else - return (uint64_t)__Pyx_PyInt_AsSignedLong(x); - } else if (sizeof(uint64_t) == sizeof(PY_LONG_LONG)) { - if (is_unsigned) - return (uint64_t)__Pyx_PyInt_AsUnsignedLongLong(x); - else - return (uint64_t)__Pyx_PyInt_AsSignedLongLong(x); - } else { - #if CYTHON_COMPILING_IN_PYPY && !defined(_PyLong_AsByteArray) - PyErr_SetString(PyExc_RuntimeError, - "_PyLong_AsByteArray() not available in PyPy, cannot convert large numbers"); - #else - uint64_t val; - PyObject *v = __Pyx_PyNumber_Int(x); - #if PY_MAJOR_VERSION < 3 - if (likely(v) && !PyLong_Check(v)) { - PyObject *tmp = v; - v = PyNumber_Long(tmp); - Py_DECREF(tmp); - } - #endif - if (likely(v)) { - int one = 1; int is_little = (int)*(unsigned char *)&one; - unsigned char *bytes = (unsigned char *)&val; - int ret = _PyLong_AsByteArray((PyLongObject *)v, - bytes, sizeof(val), - is_little, !is_unsigned); - Py_DECREF(v); - if (likely(!ret)) - return val; - } - #endif - return (uint64_t)-1; - } -} - -static CYTHON_INLINE unsigned char __Pyx_PyInt_AsUnsignedChar(PyObject* x) { - const unsigned char neg_one = (unsigned char)-1, const_zero = 0; - const int is_unsigned = neg_one > const_zero; - if (sizeof(unsigned char) < sizeof(long)) { - long val = __Pyx_PyInt_AsLong(x); - if (unlikely(val != (long)(unsigned char)val)) { - if (!unlikely(val == -1 && PyErr_Occurred())) { - PyErr_SetString(PyExc_OverflowError, - (is_unsigned && unlikely(val < 0)) ? - "can't convert negative value to unsigned char" : - "value too large to convert to unsigned char"); - } - return (unsigned char)-1; - } - return (unsigned char)val; - } - return (unsigned char)__Pyx_PyInt_AsUnsignedLong(x); -} - -static CYTHON_INLINE unsigned short __Pyx_PyInt_AsUnsignedShort(PyObject* x) { - const unsigned short neg_one = (unsigned short)-1, const_zero = 0; - const int is_unsigned = neg_one > const_zero; - if (sizeof(unsigned short) < sizeof(long)) { - long val = __Pyx_PyInt_AsLong(x); - if (unlikely(val != (long)(unsigned short)val)) { - if (!unlikely(val == -1 && PyErr_Occurred())) { - PyErr_SetString(PyExc_OverflowError, - (is_unsigned && unlikely(val < 0)) ? - "can't convert negative value to unsigned short" : - "value too large to convert to unsigned short"); - } - return (unsigned short)-1; - } - return (unsigned short)val; - } - return (unsigned short)__Pyx_PyInt_AsUnsignedLong(x); -} - -static CYTHON_INLINE unsigned int __Pyx_PyInt_AsUnsignedInt(PyObject* x) { - const unsigned int neg_one = (unsigned int)-1, const_zero = 0; - const int is_unsigned = neg_one > const_zero; - if (sizeof(unsigned int) < sizeof(long)) { - long val = __Pyx_PyInt_AsLong(x); - if (unlikely(val != (long)(unsigned int)val)) { - if (!unlikely(val == -1 && PyErr_Occurred())) { - PyErr_SetString(PyExc_OverflowError, - (is_unsigned && unlikely(val < 0)) ? - "can't convert negative value to unsigned int" : - "value too large to convert to unsigned int"); - } - return (unsigned int)-1; - } - return (unsigned int)val; - } - return (unsigned int)__Pyx_PyInt_AsUnsignedLong(x); -} - -static CYTHON_INLINE char __Pyx_PyInt_AsChar(PyObject* x) { - const char neg_one = (char)-1, const_zero = 0; - const int is_unsigned = neg_one > const_zero; - if (sizeof(char) < sizeof(long)) { - long val = __Pyx_PyInt_AsLong(x); - if (unlikely(val != (long)(char)val)) { - if (!unlikely(val == -1 && PyErr_Occurred())) { - PyErr_SetString(PyExc_OverflowError, - (is_unsigned && unlikely(val < 0)) ? - "can't convert negative value to char" : - "value too large to convert to char"); - } - return (char)-1; - } - return (char)val; - } - return (char)__Pyx_PyInt_AsLong(x); -} - -static CYTHON_INLINE short __Pyx_PyInt_AsShort(PyObject* x) { - const short neg_one = (short)-1, const_zero = 0; - const int is_unsigned = neg_one > const_zero; - if (sizeof(short) < sizeof(long)) { - long val = __Pyx_PyInt_AsLong(x); - if (unlikely(val != (long)(short)val)) { - if (!unlikely(val == -1 && PyErr_Occurred())) { - PyErr_SetString(PyExc_OverflowError, - (is_unsigned && unlikely(val < 0)) ? - "can't convert negative value to short" : - "value too large to convert to short"); - } - return (short)-1; - } - return (short)val; - } - return (short)__Pyx_PyInt_AsLong(x); -} - -static CYTHON_INLINE int __Pyx_PyInt_AsInt(PyObject* x) { - const int neg_one = (int)-1, const_zero = 0; - const int is_unsigned = neg_one > const_zero; - if (sizeof(int) < sizeof(long)) { - long val = __Pyx_PyInt_AsLong(x); - if (unlikely(val != (long)(int)val)) { - if (!unlikely(val == -1 && PyErr_Occurred())) { - PyErr_SetString(PyExc_OverflowError, - (is_unsigned && unlikely(val < 0)) ? - "can't convert negative value to int" : - "value too large to convert to int"); - } - return (int)-1; - } - return (int)val; - } - return (int)__Pyx_PyInt_AsLong(x); -} - -static CYTHON_INLINE signed char __Pyx_PyInt_AsSignedChar(PyObject* x) { - const signed char neg_one = (signed char)-1, const_zero = 0; - const int is_unsigned = neg_one > const_zero; - if (sizeof(signed char) < sizeof(long)) { - long val = __Pyx_PyInt_AsLong(x); - if (unlikely(val != (long)(signed char)val)) { - if (!unlikely(val == -1 && PyErr_Occurred())) { - PyErr_SetString(PyExc_OverflowError, - (is_unsigned && unlikely(val < 0)) ? - "can't convert negative value to signed char" : - "value too large to convert to signed char"); - } - return (signed char)-1; - } - return (signed char)val; - } - return (signed char)__Pyx_PyInt_AsSignedLong(x); -} - -static CYTHON_INLINE signed short __Pyx_PyInt_AsSignedShort(PyObject* x) { - const signed short neg_one = (signed short)-1, const_zero = 0; - const int is_unsigned = neg_one > const_zero; - if (sizeof(signed short) < sizeof(long)) { - long val = __Pyx_PyInt_AsLong(x); - if (unlikely(val != (long)(signed short)val)) { - if (!unlikely(val == -1 && PyErr_Occurred())) { - PyErr_SetString(PyExc_OverflowError, - (is_unsigned && unlikely(val < 0)) ? - "can't convert negative value to signed short" : - "value too large to convert to signed short"); - } - return (signed short)-1; - } - return (signed short)val; - } - return (signed short)__Pyx_PyInt_AsSignedLong(x); -} - -static CYTHON_INLINE signed int __Pyx_PyInt_AsSignedInt(PyObject* x) { - const signed int neg_one = (signed int)-1, const_zero = 0; - const int is_unsigned = neg_one > const_zero; - if (sizeof(signed int) < sizeof(long)) { - long val = __Pyx_PyInt_AsLong(x); - if (unlikely(val != (long)(signed int)val)) { - if (!unlikely(val == -1 && PyErr_Occurred())) { - PyErr_SetString(PyExc_OverflowError, - (is_unsigned && unlikely(val < 0)) ? - "can't convert negative value to signed int" : - "value too large to convert to signed int"); - } - return (signed int)-1; - } - return (signed int)val; - } - return (signed int)__Pyx_PyInt_AsSignedLong(x); -} - -static CYTHON_INLINE int __Pyx_PyInt_AsLongDouble(PyObject* x) { - const int neg_one = (int)-1, const_zero = 0; - const int is_unsigned = neg_one > const_zero; - if (sizeof(int) < sizeof(long)) { - long val = __Pyx_PyInt_AsLong(x); - if (unlikely(val != (long)(int)val)) { - if (!unlikely(val == -1 && PyErr_Occurred())) { - PyErr_SetString(PyExc_OverflowError, - (is_unsigned && unlikely(val < 0)) ? - "can't convert negative value to int" : - "value too large to convert to int"); - } - return (int)-1; - } - return (int)val; - } - return (int)__Pyx_PyInt_AsLong(x); -} - -#if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3 -#if CYTHON_USE_PYLONG_INTERNALS -#include "longintrepr.h" -#endif -#endif -static CYTHON_INLINE unsigned long __Pyx_PyInt_AsUnsignedLong(PyObject* x) { - const unsigned long neg_one = (unsigned long)-1, const_zero = 0; - const int is_unsigned = neg_one > const_zero; -#if PY_MAJOR_VERSION < 3 - if (likely(PyInt_Check(x))) { - long val = PyInt_AS_LONG(x); - if (is_unsigned && unlikely(val < 0)) { - PyErr_SetString(PyExc_OverflowError, - "can't convert negative value to unsigned long"); - return (unsigned long)-1; - } - return (unsigned long)val; - } else -#endif - if (likely(PyLong_Check(x))) { - if (is_unsigned) { -#if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3 -#if CYTHON_USE_PYLONG_INTERNALS - if (sizeof(digit) <= sizeof(unsigned long)) { - switch (Py_SIZE(x)) { - case 0: return 0; - case 1: return (unsigned long) ((PyLongObject*)x)->ob_digit[0]; - } - } -#endif -#endif - if (unlikely(Py_SIZE(x) < 0)) { - PyErr_SetString(PyExc_OverflowError, - "can't convert negative value to unsigned long"); - return (unsigned long)-1; - } - return (unsigned long)PyLong_AsUnsignedLong(x); - } else { -#if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3 -#if CYTHON_USE_PYLONG_INTERNALS - if (sizeof(digit) <= sizeof(unsigned long)) { - switch (Py_SIZE(x)) { - case 0: return 0; - case 1: return +(unsigned long) ((PyLongObject*)x)->ob_digit[0]; - case -1: return -(unsigned long) ((PyLongObject*)x)->ob_digit[0]; - } - } -#endif -#endif - return (unsigned long)PyLong_AsLong(x); - } - } else { - unsigned long val; - PyObject *tmp = __Pyx_PyNumber_Int(x); - if (!tmp) return (unsigned long)-1; - val = __Pyx_PyInt_AsUnsignedLong(tmp); - Py_DECREF(tmp); - return val; - } -} - -#if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3 -#if CYTHON_USE_PYLONG_INTERNALS -#include "longintrepr.h" -#endif -#endif -static CYTHON_INLINE unsigned PY_LONG_LONG __Pyx_PyInt_AsUnsignedLongLong(PyObject* x) { - const unsigned PY_LONG_LONG neg_one = (unsigned PY_LONG_LONG)-1, const_zero = 0; - const int is_unsigned = neg_one > const_zero; -#if PY_MAJOR_VERSION < 3 - if (likely(PyInt_Check(x))) { - long val = PyInt_AS_LONG(x); - if (is_unsigned && unlikely(val < 0)) { - PyErr_SetString(PyExc_OverflowError, - "can't convert negative value to unsigned PY_LONG_LONG"); - return (unsigned PY_LONG_LONG)-1; - } - return (unsigned PY_LONG_LONG)val; - } else -#endif - if (likely(PyLong_Check(x))) { - if (is_unsigned) { -#if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3 -#if CYTHON_USE_PYLONG_INTERNALS - if (sizeof(digit) <= sizeof(unsigned PY_LONG_LONG)) { - switch (Py_SIZE(x)) { - case 0: return 0; - case 1: return (unsigned PY_LONG_LONG) ((PyLongObject*)x)->ob_digit[0]; - } - } -#endif -#endif - if (unlikely(Py_SIZE(x) < 0)) { - PyErr_SetString(PyExc_OverflowError, - "can't convert negative value to unsigned PY_LONG_LONG"); - return (unsigned PY_LONG_LONG)-1; - } - return (unsigned PY_LONG_LONG)PyLong_AsUnsignedLongLong(x); - } else { -#if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3 -#if CYTHON_USE_PYLONG_INTERNALS - if (sizeof(digit) <= sizeof(unsigned PY_LONG_LONG)) { - switch (Py_SIZE(x)) { - case 0: return 0; - case 1: return +(unsigned PY_LONG_LONG) ((PyLongObject*)x)->ob_digit[0]; - case -1: return -(unsigned PY_LONG_LONG) ((PyLongObject*)x)->ob_digit[0]; - } - } -#endif -#endif - return (unsigned PY_LONG_LONG)PyLong_AsLongLong(x); - } - } else { - unsigned PY_LONG_LONG val; - PyObject *tmp = __Pyx_PyNumber_Int(x); - if (!tmp) return (unsigned PY_LONG_LONG)-1; - val = __Pyx_PyInt_AsUnsignedLongLong(tmp); - Py_DECREF(tmp); - return val; - } -} - -#if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3 -#if CYTHON_USE_PYLONG_INTERNALS -#include "longintrepr.h" -#endif -#endif -static CYTHON_INLINE long __Pyx_PyInt_AsLong(PyObject* x) { - const long neg_one = (long)-1, const_zero = 0; - const int is_unsigned = neg_one > const_zero; -#if PY_MAJOR_VERSION < 3 - if (likely(PyInt_Check(x))) { - long val = PyInt_AS_LONG(x); - if (is_unsigned && unlikely(val < 0)) { - PyErr_SetString(PyExc_OverflowError, - "can't convert negative value to long"); - return (long)-1; - } - return (long)val; - } else -#endif - if (likely(PyLong_Check(x))) { - if (is_unsigned) { -#if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3 -#if CYTHON_USE_PYLONG_INTERNALS - if (sizeof(digit) <= sizeof(long)) { - switch (Py_SIZE(x)) { - case 0: return 0; - case 1: return (long) ((PyLongObject*)x)->ob_digit[0]; - } - } -#endif -#endif - if (unlikely(Py_SIZE(x) < 0)) { - PyErr_SetString(PyExc_OverflowError, - "can't convert negative value to long"); - return (long)-1; - } - return (long)PyLong_AsUnsignedLong(x); - } else { -#if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3 -#if CYTHON_USE_PYLONG_INTERNALS - if (sizeof(digit) <= sizeof(long)) { - switch (Py_SIZE(x)) { - case 0: return 0; - case 1: return +(long) ((PyLongObject*)x)->ob_digit[0]; - case -1: return -(long) ((PyLongObject*)x)->ob_digit[0]; - } - } -#endif -#endif - return (long)PyLong_AsLong(x); - } - } else { - long val; - PyObject *tmp = __Pyx_PyNumber_Int(x); - if (!tmp) return (long)-1; - val = __Pyx_PyInt_AsLong(tmp); - Py_DECREF(tmp); - return val; - } -} - -#if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3 -#if CYTHON_USE_PYLONG_INTERNALS -#include "longintrepr.h" -#endif -#endif -static CYTHON_INLINE PY_LONG_LONG __Pyx_PyInt_AsLongLong(PyObject* x) { - const PY_LONG_LONG neg_one = (PY_LONG_LONG)-1, const_zero = 0; - const int is_unsigned = neg_one > const_zero; -#if PY_MAJOR_VERSION < 3 - if (likely(PyInt_Check(x))) { - long val = PyInt_AS_LONG(x); - if (is_unsigned && unlikely(val < 0)) { - PyErr_SetString(PyExc_OverflowError, - "can't convert negative value to PY_LONG_LONG"); - return (PY_LONG_LONG)-1; - } - return (PY_LONG_LONG)val; - } else -#endif - if (likely(PyLong_Check(x))) { - if (is_unsigned) { -#if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3 -#if CYTHON_USE_PYLONG_INTERNALS - if (sizeof(digit) <= sizeof(PY_LONG_LONG)) { - switch (Py_SIZE(x)) { - case 0: return 0; - case 1: return (PY_LONG_LONG) ((PyLongObject*)x)->ob_digit[0]; - } - } -#endif -#endif - if (unlikely(Py_SIZE(x) < 0)) { - PyErr_SetString(PyExc_OverflowError, - "can't convert negative value to PY_LONG_LONG"); - return (PY_LONG_LONG)-1; - } - return (PY_LONG_LONG)PyLong_AsUnsignedLongLong(x); - } else { -#if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3 -#if CYTHON_USE_PYLONG_INTERNALS - if (sizeof(digit) <= sizeof(PY_LONG_LONG)) { - switch (Py_SIZE(x)) { - case 0: return 0; - case 1: return +(PY_LONG_LONG) ((PyLongObject*)x)->ob_digit[0]; - case -1: return -(PY_LONG_LONG) ((PyLongObject*)x)->ob_digit[0]; - } - } -#endif -#endif - return (PY_LONG_LONG)PyLong_AsLongLong(x); - } - } else { - PY_LONG_LONG val; - PyObject *tmp = __Pyx_PyNumber_Int(x); - if (!tmp) return (PY_LONG_LONG)-1; - val = __Pyx_PyInt_AsLongLong(tmp); - Py_DECREF(tmp); - return val; - } -} - -#if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3 -#if CYTHON_USE_PYLONG_INTERNALS -#include "longintrepr.h" -#endif -#endif -static CYTHON_INLINE signed long __Pyx_PyInt_AsSignedLong(PyObject* x) { - const signed long neg_one = (signed long)-1, const_zero = 0; - const int is_unsigned = neg_one > const_zero; -#if PY_MAJOR_VERSION < 3 - if (likely(PyInt_Check(x))) { - long val = PyInt_AS_LONG(x); - if (is_unsigned && unlikely(val < 0)) { - PyErr_SetString(PyExc_OverflowError, - "can't convert negative value to signed long"); - return (signed long)-1; - } - return (signed long)val; - } else -#endif - if (likely(PyLong_Check(x))) { - if (is_unsigned) { -#if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3 -#if CYTHON_USE_PYLONG_INTERNALS - if (sizeof(digit) <= sizeof(signed long)) { - switch (Py_SIZE(x)) { - case 0: return 0; - case 1: return (signed long) ((PyLongObject*)x)->ob_digit[0]; - } - } -#endif -#endif - if (unlikely(Py_SIZE(x) < 0)) { - PyErr_SetString(PyExc_OverflowError, - "can't convert negative value to signed long"); - return (signed long)-1; - } - return (signed long)PyLong_AsUnsignedLong(x); - } else { -#if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3 -#if CYTHON_USE_PYLONG_INTERNALS - if (sizeof(digit) <= sizeof(signed long)) { - switch (Py_SIZE(x)) { - case 0: return 0; - case 1: return +(signed long) ((PyLongObject*)x)->ob_digit[0]; - case -1: return -(signed long) ((PyLongObject*)x)->ob_digit[0]; - } - } -#endif -#endif - return (signed long)PyLong_AsLong(x); - } - } else { - signed long val; - PyObject *tmp = __Pyx_PyNumber_Int(x); - if (!tmp) return (signed long)-1; - val = __Pyx_PyInt_AsSignedLong(tmp); - Py_DECREF(tmp); - return val; - } -} - -#if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3 -#if CYTHON_USE_PYLONG_INTERNALS -#include "longintrepr.h" -#endif -#endif -static CYTHON_INLINE signed PY_LONG_LONG __Pyx_PyInt_AsSignedLongLong(PyObject* x) { - const signed PY_LONG_LONG neg_one = (signed PY_LONG_LONG)-1, const_zero = 0; - const int is_unsigned = neg_one > const_zero; -#if PY_MAJOR_VERSION < 3 - if (likely(PyInt_Check(x))) { - long val = PyInt_AS_LONG(x); - if (is_unsigned && unlikely(val < 0)) { - PyErr_SetString(PyExc_OverflowError, - "can't convert negative value to signed PY_LONG_LONG"); - return (signed PY_LONG_LONG)-1; - } - return (signed PY_LONG_LONG)val; - } else -#endif - if (likely(PyLong_Check(x))) { - if (is_unsigned) { -#if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3 -#if CYTHON_USE_PYLONG_INTERNALS - if (sizeof(digit) <= sizeof(signed PY_LONG_LONG)) { - switch (Py_SIZE(x)) { - case 0: return 0; - case 1: return (signed PY_LONG_LONG) ((PyLongObject*)x)->ob_digit[0]; - } - } -#endif -#endif - if (unlikely(Py_SIZE(x) < 0)) { - PyErr_SetString(PyExc_OverflowError, - "can't convert negative value to signed PY_LONG_LONG"); - return (signed PY_LONG_LONG)-1; - } - return (signed PY_LONG_LONG)PyLong_AsUnsignedLongLong(x); - } else { -#if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3 -#if CYTHON_USE_PYLONG_INTERNALS - if (sizeof(digit) <= sizeof(signed PY_LONG_LONG)) { - switch (Py_SIZE(x)) { - case 0: return 0; - case 1: return +(signed PY_LONG_LONG) ((PyLongObject*)x)->ob_digit[0]; - case -1: return -(signed PY_LONG_LONG) ((PyLongObject*)x)->ob_digit[0]; - } - } -#endif -#endif - return (signed PY_LONG_LONG)PyLong_AsLongLong(x); - } - } else { - signed PY_LONG_LONG val; - PyObject *tmp = __Pyx_PyNumber_Int(x); - if (!tmp) return (signed PY_LONG_LONG)-1; - val = __Pyx_PyInt_AsSignedLongLong(tmp); - Py_DECREF(tmp); - return val; - } -} - -static CYTHON_INLINE void __Pyx_ExceptionSwap(PyObject **type, PyObject **value, PyObject **tb) { - PyObject *tmp_type, *tmp_value, *tmp_tb; -#if CYTHON_COMPILING_IN_CPYTHON - PyThreadState *tstate = PyThreadState_GET(); - tmp_type = tstate->exc_type; - tmp_value = tstate->exc_value; - tmp_tb = tstate->exc_traceback; - tstate->exc_type = *type; - tstate->exc_value = *value; - tstate->exc_traceback = *tb; -#else - PyErr_GetExcInfo(&tmp_type, &tmp_value, &tmp_tb); - PyErr_SetExcInfo(*type, *value, *tb); -#endif - *type = tmp_type; - *value = tmp_value; - *tb = tmp_tb; -} - -static PyObject *__Pyx_Generator_Next(PyObject *self); -static PyObject *__Pyx_Generator_Send(PyObject *self, PyObject *value); -static PyObject *__Pyx_Generator_Close(PyObject *self); -static PyObject *__Pyx_Generator_Throw(PyObject *gen, PyObject *args); -static PyTypeObject *__pyx_GeneratorType = 0; -#define __Pyx_Generator_CheckExact(obj) (Py_TYPE(obj) == __pyx_GeneratorType) -#define __Pyx_Generator_Undelegate(gen) Py_CLEAR((gen)->yieldfrom) -#if 1 || PY_VERSION_HEX < 0x030300B0 -static int __Pyx_PyGen_FetchStopIterationValue(PyObject **pvalue) { - PyObject *et, *ev, *tb; - PyObject *value = NULL; - __Pyx_ErrFetch(&et, &ev, &tb); - if (!et) { - Py_XDECREF(tb); - Py_XDECREF(ev); - Py_INCREF(Py_None); - *pvalue = Py_None; - return 0; - } - if (unlikely(et != PyExc_StopIteration) && - unlikely(!PyErr_GivenExceptionMatches(et, PyExc_StopIteration))) { - __Pyx_ErrRestore(et, ev, tb); - return -1; - } - if (likely(et == PyExc_StopIteration)) { - if (likely(!ev) || !PyObject_IsInstance(ev, PyExc_StopIteration)) { - if (!ev) { - Py_INCREF(Py_None); - ev = Py_None; - } - Py_XDECREF(tb); - Py_DECREF(et); - *pvalue = ev; - return 0; - } - } - PyErr_NormalizeException(&et, &ev, &tb); - if (unlikely(!PyObject_IsInstance(ev, PyExc_StopIteration))) { - __Pyx_ErrRestore(et, ev, tb); - return -1; - } - Py_XDECREF(tb); - Py_DECREF(et); -#if PY_VERSION_HEX >= 0x030300A0 - value = ((PyStopIterationObject *)ev)->value; - Py_INCREF(value); - Py_DECREF(ev); -#else - { - PyObject* args = PyObject_GetAttr(ev, __pyx_n_s__args); - Py_DECREF(ev); - if (likely(args)) { - value = PyObject_GetItem(args, 0); - Py_DECREF(args); - } - if (unlikely(!value)) { - __Pyx_ErrRestore(NULL, NULL, NULL); - Py_INCREF(Py_None); - value = Py_None; - } - } -#endif - *pvalue = value; - return 0; -} -#endif -static CYTHON_INLINE -void __Pyx_Generator_ExceptionClear(__pyx_GeneratorObject *self) { - PyObject *exc_type = self->exc_type; - PyObject *exc_value = self->exc_value; - PyObject *exc_traceback = self->exc_traceback; - self->exc_type = NULL; - self->exc_value = NULL; - self->exc_traceback = NULL; - Py_XDECREF(exc_type); - Py_XDECREF(exc_value); - Py_XDECREF(exc_traceback); -} -static CYTHON_INLINE -int __Pyx_Generator_CheckRunning(__pyx_GeneratorObject *gen) { - if (unlikely(gen->is_running)) { - PyErr_SetString(PyExc_ValueError, - "generator already executing"); - return 1; - } - return 0; -} -static CYTHON_INLINE -PyObject *__Pyx_Generator_SendEx(__pyx_GeneratorObject *self, PyObject *value) { - PyObject *retval; - assert(!self->is_running); - if (unlikely(self->resume_label == 0)) { - if (unlikely(value && value != Py_None)) { - PyErr_SetString(PyExc_TypeError, - "can't send non-None value to a " - "just-started generator"); - return NULL; - } - } - if (unlikely(self->resume_label == -1)) { - PyErr_SetNone(PyExc_StopIteration); - return NULL; - } - if (value) { -#if CYTHON_COMPILING_IN_PYPY -#else - /* Generators always return to their most recent caller, not - * necessarily their creator. */ - if (self->exc_traceback) { - PyThreadState *tstate = PyThreadState_GET(); - PyTracebackObject *tb = (PyTracebackObject *) self->exc_traceback; - PyFrameObject *f = tb->tb_frame; - Py_XINCREF(tstate->frame); - assert(f->f_back == NULL); - f->f_back = tstate->frame; - } -#endif - __Pyx_ExceptionSwap(&self->exc_type, &self->exc_value, - &self->exc_traceback); - } else { - __Pyx_Generator_ExceptionClear(self); - } - self->is_running = 1; - retval = self->body((PyObject *) self, value); - self->is_running = 0; - if (retval) { - __Pyx_ExceptionSwap(&self->exc_type, &self->exc_value, - &self->exc_traceback); -#if CYTHON_COMPILING_IN_PYPY -#else - /* Don't keep the reference to f_back any longer than necessary. It - * may keep a chain of frames alive or it could create a reference - * cycle. */ - if (self->exc_traceback) { - PyTracebackObject *tb = (PyTracebackObject *) self->exc_traceback; - PyFrameObject *f = tb->tb_frame; - Py_CLEAR(f->f_back); - } -#endif - } else { - __Pyx_Generator_ExceptionClear(self); - } - return retval; -} -static CYTHON_INLINE -PyObject *__Pyx_Generator_FinishDelegation(__pyx_GeneratorObject *gen) { - PyObject *ret; - PyObject *val = NULL; - __Pyx_Generator_Undelegate(gen); - __Pyx_PyGen_FetchStopIterationValue(&val); - ret = __Pyx_Generator_SendEx(gen, val); - Py_XDECREF(val); - return ret; -} -static PyObject *__Pyx_Generator_Next(PyObject *self) { - __pyx_GeneratorObject *gen = (__pyx_GeneratorObject*) self; - PyObject *yf = gen->yieldfrom; - if (unlikely(__Pyx_Generator_CheckRunning(gen))) - return NULL; - if (yf) { - PyObject *ret; - gen->is_running = 1; - ret = Py_TYPE(yf)->tp_iternext(yf); - gen->is_running = 0; - if (likely(ret)) { - return ret; - } - return __Pyx_Generator_FinishDelegation(gen); - } - return __Pyx_Generator_SendEx(gen, Py_None); -} -static PyObject *__Pyx_Generator_Send(PyObject *self, PyObject *value) { - __pyx_GeneratorObject *gen = (__pyx_GeneratorObject*) self; - PyObject *yf = gen->yieldfrom; - if (unlikely(__Pyx_Generator_CheckRunning(gen))) - return NULL; - if (yf) { - PyObject *ret; - gen->is_running = 1; - if (__Pyx_Generator_CheckExact(yf)) { - ret = __Pyx_Generator_Send(yf, value); - } else { - if (value == Py_None) - ret = PyIter_Next(yf); - else - ret = __Pyx_PyObject_CallMethod1(yf, __pyx_n_s__send, value); - } - gen->is_running = 0; - if (likely(ret)) { - return ret; - } - return __Pyx_Generator_FinishDelegation(gen); - } - return __Pyx_Generator_SendEx(gen, value); -} -static int __Pyx_Generator_CloseIter(__pyx_GeneratorObject *gen, PyObject *yf) { - PyObject *retval = NULL; - int err = 0; - if (__Pyx_Generator_CheckExact(yf)) { - retval = __Pyx_Generator_Close(yf); - if (!retval) - return -1; - } else { - PyObject *meth; - gen->is_running = 1; - meth = PyObject_GetAttr(yf, __pyx_n_s__close); - if (unlikely(!meth)) { - if (!PyErr_ExceptionMatches(PyExc_AttributeError)) { - PyErr_WriteUnraisable(yf); - } - PyErr_Clear(); - } else { - retval = PyObject_CallFunction(meth, NULL); - Py_DECREF(meth); - if (!retval) - err = -1; - } - gen->is_running = 0; - } - Py_XDECREF(retval); - return err; -} -static PyObject *__Pyx_Generator_Close(PyObject *self) { - __pyx_GeneratorObject *gen = (__pyx_GeneratorObject *) self; - PyObject *retval, *raised_exception; - PyObject *yf = gen->yieldfrom; - int err = 0; - if (unlikely(__Pyx_Generator_CheckRunning(gen))) - return NULL; - if (yf) { - Py_INCREF(yf); - err = __Pyx_Generator_CloseIter(gen, yf); - __Pyx_Generator_Undelegate(gen); - Py_DECREF(yf); - } - if (err == 0) -#if PY_VERSION_HEX < 0x02050000 - PyErr_SetNone(PyExc_StopIteration); -#else - PyErr_SetNone(PyExc_GeneratorExit); -#endif - retval = __Pyx_Generator_SendEx(gen, NULL); - if (retval) { - Py_DECREF(retval); - PyErr_SetString(PyExc_RuntimeError, - "generator ignored GeneratorExit"); - return NULL; - } - raised_exception = PyErr_Occurred(); - if (!raised_exception - || raised_exception == PyExc_StopIteration -#if PY_VERSION_HEX >= 0x02050000 - || raised_exception == PyExc_GeneratorExit - || PyErr_GivenExceptionMatches(raised_exception, PyExc_GeneratorExit) -#endif - || PyErr_GivenExceptionMatches(raised_exception, PyExc_StopIteration)) - { - if (raised_exception) PyErr_Clear(); /* ignore these errors */ - Py_INCREF(Py_None); - return Py_None; - } - return NULL; -} -static PyObject *__Pyx_Generator_Throw(PyObject *self, PyObject *args) { - __pyx_GeneratorObject *gen = (__pyx_GeneratorObject *) self; - PyObject *typ; - PyObject *tb = NULL; - PyObject *val = NULL; - PyObject *yf = gen->yieldfrom; - if (!PyArg_UnpackTuple(args, (char *)"throw", 1, 3, &typ, &val, &tb)) - return NULL; - if (unlikely(__Pyx_Generator_CheckRunning(gen))) - return NULL; - if (yf) { - PyObject *ret; - Py_INCREF(yf); -#if PY_VERSION_HEX >= 0x02050000 - if (PyErr_GivenExceptionMatches(typ, PyExc_GeneratorExit)) { - int err = __Pyx_Generator_CloseIter(gen, yf); - Py_DECREF(yf); - __Pyx_Generator_Undelegate(gen); - if (err < 0) - return __Pyx_Generator_SendEx(gen, NULL); - goto throw_here; - } -#endif - gen->is_running = 1; - if (__Pyx_Generator_CheckExact(yf)) { - ret = __Pyx_Generator_Throw(yf, args); - } else { - PyObject *meth = PyObject_GetAttr(yf, __pyx_n_s__throw); - if (unlikely(!meth)) { - Py_DECREF(yf); - if (!PyErr_ExceptionMatches(PyExc_AttributeError)) { - gen->is_running = 0; - return NULL; - } - PyErr_Clear(); - __Pyx_Generator_Undelegate(gen); - gen->is_running = 0; - goto throw_here; - } - ret = PyObject_CallObject(meth, args); - Py_DECREF(meth); - } - gen->is_running = 0; - Py_DECREF(yf); - if (!ret) { - ret = __Pyx_Generator_FinishDelegation(gen); - } - return ret; - } -throw_here: - __Pyx_Raise(typ, val, tb, NULL); - return __Pyx_Generator_SendEx(gen, NULL); -} -static int __Pyx_Generator_traverse(PyObject *self, visitproc visit, void *arg) { - __pyx_GeneratorObject *gen = (__pyx_GeneratorObject *) self; - Py_VISIT(gen->closure); - Py_VISIT(gen->classobj); - Py_VISIT(gen->yieldfrom); - Py_VISIT(gen->exc_type); - Py_VISIT(gen->exc_value); - Py_VISIT(gen->exc_traceback); - return 0; -} -static int __Pyx_Generator_clear(PyObject *self) { - __pyx_GeneratorObject *gen = (__pyx_GeneratorObject *) self; - Py_CLEAR(gen->closure); - Py_CLEAR(gen->classobj); - Py_CLEAR(gen->yieldfrom); - Py_CLEAR(gen->exc_type); - Py_CLEAR(gen->exc_value); - Py_CLEAR(gen->exc_traceback); - return 0; -} -static void __Pyx_Generator_dealloc(PyObject *self) { - __pyx_GeneratorObject *gen = (__pyx_GeneratorObject *) self; - PyObject_GC_UnTrack(gen); - if (gen->gi_weakreflist != NULL) - PyObject_ClearWeakRefs(self); - PyObject_GC_Track(self); - if (gen->resume_label > 0) { - Py_TYPE(gen)->tp_del(self); - if (self->ob_refcnt > 0) - return; /* resurrected. :( */ - } - PyObject_GC_UnTrack(self); - __Pyx_Generator_clear(self); - PyObject_GC_Del(gen); -} -static void __Pyx_Generator_del(PyObject *self) { - PyObject *res; - PyObject *error_type, *error_value, *error_traceback; - __pyx_GeneratorObject *gen = (__pyx_GeneratorObject *) self; - if (gen->resume_label <= 0) - return ; - assert(self->ob_refcnt == 0); - self->ob_refcnt = 1; - __Pyx_ErrFetch(&error_type, &error_value, &error_traceback); - res = __Pyx_Generator_Close(self); - if (res == NULL) - PyErr_WriteUnraisable(self); - else - Py_DECREF(res); - __Pyx_ErrRestore(error_type, error_value, error_traceback); - /* Undo the temporary resurrection; can't use DECREF here, it would - * cause a recursive call. - */ - assert(self->ob_refcnt > 0); - if (--self->ob_refcnt == 0) - return; /* this is the normal path out */ - /* close() resurrected it! Make it look like the original Py_DECREF - * never happened. - */ - { - Py_ssize_t refcnt = self->ob_refcnt; - _Py_NewReference(self); - self->ob_refcnt = refcnt; - } -#if CYTHON_COMPILING_IN_CPYTHON - assert(PyType_IS_GC(self->ob_type) && - _Py_AS_GC(self)->gc.gc_refs != _PyGC_REFS_UNTRACKED); - /* If Py_REF_DEBUG, _Py_NewReference bumped _Py_RefTotal, so - * we need to undo that. */ - _Py_DEC_REFTOTAL; -#endif - /* If Py_TRACE_REFS, _Py_NewReference re-added self to the object - * chain, so no more to do there. - * If COUNT_ALLOCS, the original decref bumped tp_frees, and - * _Py_NewReference bumped tp_allocs: both of those need to be - * undone. - */ -#ifdef COUNT_ALLOCS - --Py_TYPE(self)->tp_frees; - --Py_TYPE(self)->tp_allocs; -#endif -} -static PyMemberDef __pyx_Generator_memberlist[] = { - {(char *) "gi_running", -#if PY_VERSION_HEX >= 0x02060000 - T_BOOL, -#else - T_BYTE, -#endif - offsetof(__pyx_GeneratorObject, is_running), - READONLY, - NULL}, - {0, 0, 0, 0, 0} -}; -static PyMethodDef __pyx_Generator_methods[] = { - {__Pyx_NAMESTR("send"), (PyCFunction) __Pyx_Generator_Send, METH_O, 0}, - {__Pyx_NAMESTR("throw"), (PyCFunction) __Pyx_Generator_Throw, METH_VARARGS, 0}, - {__Pyx_NAMESTR("close"), (PyCFunction) __Pyx_Generator_Close, METH_NOARGS, 0}, - {0, 0, 0, 0} -}; -static PyTypeObject __pyx_GeneratorType_type = { - PyVarObject_HEAD_INIT(0, 0) - __Pyx_NAMESTR("generator"), /*tp_name*/ - sizeof(__pyx_GeneratorObject), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - (destructor) __Pyx_Generator_dealloc,/*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ -#if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ -#else - 0, /*reserved*/ -#endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC, /* tp_flags*/ - 0, /*tp_doc*/ - (traverseproc) __Pyx_Generator_traverse, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - offsetof(__pyx_GeneratorObject, gi_weakreflist), /* tp_weaklistoffse */ - 0, /*tp_iter*/ - (iternextfunc) __Pyx_Generator_Next, /*tp_iternext*/ - __pyx_Generator_methods, /*tp_methods*/ - __pyx_Generator_memberlist, /*tp_members*/ - 0, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - 0, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - __Pyx_Generator_del, /*tp_del*/ -#if PY_VERSION_HEX >= 0x02060000 - 0, /*tp_version_tag*/ -#endif -}; -static __pyx_GeneratorObject *__Pyx_Generator_New(__pyx_generator_body_t body, - PyObject *closure) { - __pyx_GeneratorObject *gen = - PyObject_GC_New(__pyx_GeneratorObject, &__pyx_GeneratorType_type); - if (gen == NULL) - return NULL; - gen->body = body; - gen->closure = closure; - Py_XINCREF(closure); - gen->is_running = 0; - gen->resume_label = 0; - gen->classobj = NULL; - gen->yieldfrom = NULL; - gen->exc_type = NULL; - gen->exc_value = NULL; - gen->exc_traceback = NULL; - gen->gi_weakreflist = NULL; - PyObject_GC_Track(gen); - return gen; -} -static int __pyx_Generator_init(void) { - __pyx_GeneratorType_type.tp_getattro = PyObject_GenericGetAttr; - __pyx_GeneratorType_type.tp_iter = PyObject_SelfIter; - if (PyType_Ready(&__pyx_GeneratorType_type)) { - return -1; - } - __pyx_GeneratorType = &__pyx_GeneratorType_type; - return 0; -} - -static int __Pyx_check_binary_version(void) { - char ctversion[4], rtversion[4]; - PyOS_snprintf(ctversion, 4, "%d.%d", PY_MAJOR_VERSION, PY_MINOR_VERSION); - PyOS_snprintf(rtversion, 4, "%s", Py_GetVersion()); - if (ctversion[0] != rtversion[0] || ctversion[2] != rtversion[2]) { - char message[200]; - PyOS_snprintf(message, sizeof(message), - "compiletime version %s of module '%.100s' " - "does not match runtime version %s", - ctversion, __Pyx_MODULE_NAME, rtversion); - #if PY_VERSION_HEX < 0x02050000 - return PyErr_Warn(NULL, message); - #else - return PyErr_WarnEx(NULL, message, 1); - #endif - } - return 0; -} - -static int __pyx_bisect_code_objects(__Pyx_CodeObjectCacheEntry* entries, int count, int code_line) { - int start = 0, mid = 0, end = count - 1; - if (end >= 0 && code_line > entries[end].code_line) { - return count; - } - while (start < end) { - mid = (start + end) / 2; - if (code_line < entries[mid].code_line) { - end = mid; - } else if (code_line > entries[mid].code_line) { - start = mid + 1; - } else { - return mid; - } - } - if (code_line <= entries[mid].code_line) { - return mid; - } else { - return mid + 1; - } -} -static PyCodeObject *__pyx_find_code_object(int code_line) { - PyCodeObject* code_object; - int pos; - if (unlikely(!code_line) || unlikely(!__pyx_code_cache.entries)) { - return NULL; - } - pos = __pyx_bisect_code_objects(__pyx_code_cache.entries, __pyx_code_cache.count, code_line); - if (unlikely(pos >= __pyx_code_cache.count) || unlikely(__pyx_code_cache.entries[pos].code_line != code_line)) { - return NULL; - } - code_object = __pyx_code_cache.entries[pos].code_object; - Py_INCREF(code_object); - return code_object; -} -static void __pyx_insert_code_object(int code_line, PyCodeObject* code_object) { - int pos, i; - __Pyx_CodeObjectCacheEntry* entries = __pyx_code_cache.entries; - if (unlikely(!code_line)) { - return; - } - if (unlikely(!entries)) { - entries = (__Pyx_CodeObjectCacheEntry*)PyMem_Malloc(64*sizeof(__Pyx_CodeObjectCacheEntry)); - if (likely(entries)) { - __pyx_code_cache.entries = entries; - __pyx_code_cache.max_count = 64; - __pyx_code_cache.count = 1; - entries[0].code_line = code_line; - entries[0].code_object = code_object; - Py_INCREF(code_object); - } - return; - } - pos = __pyx_bisect_code_objects(__pyx_code_cache.entries, __pyx_code_cache.count, code_line); - if ((pos < __pyx_code_cache.count) && unlikely(__pyx_code_cache.entries[pos].code_line == code_line)) { - PyCodeObject* tmp = entries[pos].code_object; - entries[pos].code_object = code_object; - Py_DECREF(tmp); - return; - } - if (__pyx_code_cache.count == __pyx_code_cache.max_count) { - int new_max = __pyx_code_cache.max_count + 64; - entries = (__Pyx_CodeObjectCacheEntry*)PyMem_Realloc( - __pyx_code_cache.entries, new_max*sizeof(__Pyx_CodeObjectCacheEntry)); - if (unlikely(!entries)) { - return; - } - __pyx_code_cache.entries = entries; - __pyx_code_cache.max_count = new_max; - } - for (i=__pyx_code_cache.count; i>pos; i--) { - entries[i] = entries[i-1]; - } - entries[pos].code_line = code_line; - entries[pos].code_object = code_object; - __pyx_code_cache.count++; - Py_INCREF(code_object); -} - -#include "compile.h" -#include "frameobject.h" -#include "traceback.h" -static PyCodeObject* __Pyx_CreateCodeObjectForTraceback( - const char *funcname, int c_line, - int py_line, const char *filename) { - PyCodeObject *py_code = 0; - PyObject *py_srcfile = 0; - PyObject *py_funcname = 0; - #if PY_MAJOR_VERSION < 3 - py_srcfile = PyString_FromString(filename); - #else - py_srcfile = PyUnicode_FromString(filename); - #endif - if (!py_srcfile) goto bad; - if (c_line) { - #if PY_MAJOR_VERSION < 3 - py_funcname = PyString_FromFormat( "%s (%s:%d)", funcname, __pyx_cfilenm, c_line); - #else - py_funcname = PyUnicode_FromFormat( "%s (%s:%d)", funcname, __pyx_cfilenm, c_line); - #endif - } - else { - #if PY_MAJOR_VERSION < 3 - py_funcname = PyString_FromString(funcname); - #else - py_funcname = PyUnicode_FromString(funcname); - #endif - } - if (!py_funcname) goto bad; - py_code = __Pyx_PyCode_New( - 0, /*int argcount,*/ - 0, /*int kwonlyargcount,*/ - 0, /*int nlocals,*/ - 0, /*int stacksize,*/ - 0, /*int flags,*/ - __pyx_empty_bytes, /*PyObject *code,*/ - __pyx_empty_tuple, /*PyObject *consts,*/ - __pyx_empty_tuple, /*PyObject *names,*/ - __pyx_empty_tuple, /*PyObject *varnames,*/ - __pyx_empty_tuple, /*PyObject *freevars,*/ - __pyx_empty_tuple, /*PyObject *cellvars,*/ - py_srcfile, /*PyObject *filename,*/ - py_funcname, /*PyObject *name,*/ - py_line, /*int firstlineno,*/ - __pyx_empty_bytes /*PyObject *lnotab*/ - ); - Py_DECREF(py_srcfile); - Py_DECREF(py_funcname); - return py_code; -bad: - Py_XDECREF(py_srcfile); - Py_XDECREF(py_funcname); - return NULL; -} -static void __Pyx_AddTraceback(const char *funcname, int c_line, - int py_line, const char *filename) { - PyCodeObject *py_code = 0; - PyObject *py_globals = 0; - PyFrameObject *py_frame = 0; - py_code = __pyx_find_code_object(c_line ? c_line : py_line); - if (!py_code) { - py_code = __Pyx_CreateCodeObjectForTraceback( - funcname, c_line, py_line, filename); - if (!py_code) goto bad; - __pyx_insert_code_object(c_line ? c_line : py_line, py_code); - } - py_globals = PyModule_GetDict(__pyx_m); - if (!py_globals) goto bad; - py_frame = PyFrame_New( - PyThreadState_GET(), /*PyThreadState *tstate,*/ - py_code, /*PyCodeObject *code,*/ - py_globals, /*PyObject *globals,*/ - 0 /*PyObject *locals*/ - ); - if (!py_frame) goto bad; - py_frame->f_lineno = py_line; - PyTraceBack_Here(py_frame); -bad: - Py_XDECREF(py_code); - Py_XDECREF(py_frame); -} - -static int __Pyx_InitStrings(__Pyx_StringTabEntry *t) { - while (t->p) { - #if PY_MAJOR_VERSION < 3 - if (t->is_unicode) { - *t->p = PyUnicode_DecodeUTF8(t->s, t->n - 1, NULL); - } else if (t->intern) { - *t->p = PyString_InternFromString(t->s); - } else { - *t->p = PyString_FromStringAndSize(t->s, t->n - 1); - } - #else /* Python 3+ has unicode identifiers */ - if (t->is_unicode | t->is_str) { - if (t->intern) { - *t->p = PyUnicode_InternFromString(t->s); - } else if (t->encoding) { - *t->p = PyUnicode_Decode(t->s, t->n - 1, t->encoding, NULL); - } else { - *t->p = PyUnicode_FromStringAndSize(t->s, t->n - 1); - } - } else { - *t->p = PyBytes_FromStringAndSize(t->s, t->n - 1); - } - #endif - if (!*t->p) - return -1; - ++t; - } - return 0; -} - -static CYTHON_INLINE PyObject* __Pyx_PyUnicode_FromString(char* c_str) { - return __Pyx_PyUnicode_FromStringAndSize(c_str, strlen(c_str)); -} -static CYTHON_INLINE char* __Pyx_PyObject_AsString(PyObject* o) { - Py_ssize_t ignore; - return __Pyx_PyObject_AsStringAndSize(o, &ignore); -} -static CYTHON_INLINE char* __Pyx_PyObject_AsStringAndSize(PyObject* o, Py_ssize_t *length) { -#if __PYX_DEFAULT_STRING_ENCODING_IS_ASCII || __PYX_DEFAULT_STRING_ENCODING_IS_DEFAULT - if ( -#if PY_MAJOR_VERSION < 3 && __PYX_DEFAULT_STRING_ENCODING_IS_ASCII - __Pyx_sys_getdefaultencoding_not_ascii && -#endif - PyUnicode_Check(o)) { -#if PY_VERSION_HEX < 0x03030000 - char* defenc_c; - PyObject* defenc = _PyUnicode_AsDefaultEncodedString(o, NULL); - if (!defenc) return NULL; - defenc_c = PyBytes_AS_STRING(defenc); -#if __PYX_DEFAULT_STRING_ENCODING_IS_ASCII - { - char* end = defenc_c + PyBytes_GET_SIZE(defenc); - char* c; - for (c = defenc_c; c < end; c++) { - if ((unsigned char) (*c) >= 128) { - PyUnicode_AsASCIIString(o); - return NULL; - } - } - } -#endif /*__PYX_DEFAULT_STRING_ENCODING_IS_ASCII*/ - *length = PyBytes_GET_SIZE(defenc); - return defenc_c; -#else /* PY_VERSION_HEX < 0x03030000 */ - if (PyUnicode_READY(o) == -1) return NULL; -#if __PYX_DEFAULT_STRING_ENCODING_IS_ASCII - if (PyUnicode_IS_ASCII(o)) { - *length = PyUnicode_GET_DATA_SIZE(o); - return PyUnicode_AsUTF8(o); - } else { - PyUnicode_AsASCIIString(o); - return NULL; - } -#else /* __PYX_DEFAULT_STRING_ENCODING_IS_ASCII */ - return PyUnicode_AsUTF8AndSize(o, length); -#endif /* __PYX_DEFAULT_STRING_ENCODING_IS_ASCII */ -#endif /* PY_VERSION_HEX < 0x03030000 */ - } else -#endif /* __PYX_DEFAULT_STRING_ENCODING_IS_ASCII || __PYX_DEFAULT_STRING_ENCODING_IS_DEFAULT */ - { - char* result; - int r = PyBytes_AsStringAndSize(o, &result, length); - if (r < 0) { - return NULL; - } else { - return result; - } - } -} -static CYTHON_INLINE int __Pyx_PyObject_IsTrue(PyObject* x) { - int is_true = x == Py_True; - if (is_true | (x == Py_False) | (x == Py_None)) return is_true; - else return PyObject_IsTrue(x); -} -static CYTHON_INLINE PyObject* __Pyx_PyNumber_Int(PyObject* x) { - PyNumberMethods *m; - const char *name = NULL; - PyObject *res = NULL; -#if PY_MAJOR_VERSION < 3 - if (PyInt_Check(x) || PyLong_Check(x)) -#else - if (PyLong_Check(x)) -#endif - return Py_INCREF(x), x; - m = Py_TYPE(x)->tp_as_number; -#if PY_MAJOR_VERSION < 3 - if (m && m->nb_int) { - name = "int"; - res = PyNumber_Int(x); - } - else if (m && m->nb_long) { - name = "long"; - res = PyNumber_Long(x); - } -#else - if (m && m->nb_int) { - name = "int"; - res = PyNumber_Long(x); - } -#endif - if (res) { -#if PY_MAJOR_VERSION < 3 - if (!PyInt_Check(res) && !PyLong_Check(res)) { -#else - if (!PyLong_Check(res)) { -#endif - PyErr_Format(PyExc_TypeError, - "__%s__ returned non-%s (type %.200s)", - name, name, Py_TYPE(res)->tp_name); - Py_DECREF(res); - return NULL; - } - } - else if (!PyErr_Occurred()) { - PyErr_SetString(PyExc_TypeError, - "an integer is required"); - } - return res; -} -static CYTHON_INLINE Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject* b) { - Py_ssize_t ival; - PyObject* x = PyNumber_Index(b); - if (!x) return -1; - ival = PyInt_AsSsize_t(x); - Py_DECREF(x); - return ival; -} -static CYTHON_INLINE PyObject * __Pyx_PyInt_FromSize_t(size_t ival) { -#if PY_VERSION_HEX < 0x02050000 - if (ival <= LONG_MAX) - return PyInt_FromLong((long)ival); - else { - unsigned char *bytes = (unsigned char *) &ival; - int one = 1; int little = (int)*(unsigned char*)&one; - return _PyLong_FromByteArray(bytes, sizeof(size_t), little, 0); - } -#else - return PyInt_FromSize_t(ival); -#endif -} -static CYTHON_INLINE size_t __Pyx_PyInt_AsSize_t(PyObject* x) { - unsigned PY_LONG_LONG val = __Pyx_PyInt_AsUnsignedLongLong(x); - if (unlikely(val != (unsigned PY_LONG_LONG)(size_t)val)) { - if ((val != (unsigned PY_LONG_LONG)-1) || !PyErr_Occurred()) - PyErr_SetString(PyExc_OverflowError, - "value too large to convert to size_t"); - return (size_t)-1; - } - return (size_t)val; -} - - -#endif /* Py_PYTHON_H */ diff --git a/schema_cpp.pxd b/schema_cpp.pxd index c116068..2d9f236 100644 --- a/schema_cpp.pxd +++ b/schema_cpp.pxd @@ -18,6 +18,20 @@ ctypedef char * Object ctypedef bint Bool ctypedef float Float32 ctypedef double Float64 + +cdef extern from "capnp/dynamic.h" namespace "::capnp": + cdef cppclass DynamicValue: + cppclass Reader: + pass + cdef cppclass DynamicStruct: + cppclass Reader: + pass + +cdef extern from "capnp/schema.h" namespace "::capnp": + cdef cppclass Schema: + pass + cdef cppclass StructSchema(Schema): + pass cdef extern from "capnp/blob.h" namespace "::capnp": cdef cppclass Data: @@ -41,7 +55,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": enum : _ElementSize_inlineComposite "::capnp::schema::ElementSize::INLINE_COMPOSITE" _ElementSize_eightBytes "::capnp::schema::ElementSize::EIGHT_BYTES" @@ -643,6 +657,8 @@ cdef extern from "capnp/message.h" namespace "::capnp": EnumNode.Reader getRootEnumNode'getRoot<::capnp::schema::EnumNode>'() StructNode.Reader getRootStructNode'getRoot<::capnp::schema::StructNode>'() Annotation.Reader getRootAnnotation'getRoot<::capnp::schema::Annotation>'() + + DynamicStruct.Reader getRootDynamicStruct'getRoot<::capnp::DynamicStruct>'(StructSchema) cdef cppclass MallocMessageBuilder(MessageBuilder): MallocMessageBuilder() diff --git a/setup.py b/setup.py index 7fa8fb1..c297202 100644 --- a/setup.py +++ b/setup.py @@ -1,8 +1,7 @@ #!/usr/bin/env python from distutils.core import setup from Cython.Build import cythonize - setup( name = "capnp", - ext_modules = cythonize('schema.pyx'), + ext_modules = cythonize('capnp.pyx'), ) \ No newline at end of file