48634 lines
2.1 MiB
48634 lines
2.1 MiB
/* Generated by Cython 0.19.1 on Tue Jun 25 22:41:07 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 <stddef.h> /* 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 <math.h>
|
|
#define __PYX_HAVE__schema
|
|
#define __PYX_HAVE_API__schema
|
|
#include "stdint.h"
|
|
#include "capnp/message.h"
|
|
#include "schema.capnp.h"
|
|
#include "capnp/serialize.h"
|
|
#include "capnp/serialize-packed.h"
|
|
#ifdef _OPENMP
|
|
#include <omp.h>
|
|
#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 * Data
|
|
*/
|
|
typedef int64_t __pyx_t_10schema_cpp_Int64;
|
|
|
|
/* "schema_cpp.pxd":20
|
|
* ctypedef char * Object
|
|
* ctypedef char * Text
|
|
* ctypedef bint Bool # <<<<<<<<<<<<<<
|
|
* ctypedef float Float32
|
|
* ctypedef double Float64
|
|
*/
|
|
typedef int __pyx_t_10schema_cpp_Bool;
|
|
|
|
/* "schema_cpp.pxd":21
|
|
* ctypedef char * Text
|
|
* ctypedef bint Bool
|
|
* ctypedef float Float32 # <<<<<<<<<<<<<<
|
|
* ctypedef double Float64
|
|
*
|
|
*/
|
|
typedef float __pyx_t_10schema_cpp_Float32;
|
|
|
|
/* "schema_cpp.pxd":22
|
|
* ctypedef bint Bool
|
|
* ctypedef float Float32
|
|
* ctypedef double Float64 # <<<<<<<<<<<<<<
|
|
*
|
|
* cdef extern from "capnp/message.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 * Data
|
|
*/
|
|
typedef int64_t __pyx_t_6schema_Int64;
|
|
|
|
/* "schema.pyx":30
|
|
* ctypedef char * Object
|
|
* ctypedef char * Text
|
|
* ctypedef bint Bool # <<<<<<<<<<<<<<
|
|
* ctypedef float Float32
|
|
* ctypedef double Float64
|
|
*/
|
|
typedef int __pyx_t_6schema_Bool;
|
|
|
|
/* "schema.pyx":31
|
|
* ctypedef char * Text
|
|
* ctypedef bint Bool
|
|
* ctypedef float Float32 # <<<<<<<<<<<<<<
|
|
* ctypedef double Float64
|
|
* cdef extern from "capnp/message.h" namespace "::capnp":
|
|
*/
|
|
typedef float __pyx_t_6schema_Float32;
|
|
|
|
/* "schema.pyx":32
|
|
* ctypedef bint Bool
|
|
* ctypedef float Float32
|
|
* ctypedef double Float64 # <<<<<<<<<<<<<<
|
|
* cdef extern from "capnp/message.h" namespace "::capnp":
|
|
* cdef cppclass List[T]:
|
|
*/
|
|
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 * Data # <<<<<<<<<<<<<<
|
|
* ctypedef char * Object
|
|
* ctypedef char * Text
|
|
*/
|
|
typedef char *__pyx_t_10schema_cpp_Data;
|
|
|
|
/* "schema_cpp.pxd":18
|
|
*
|
|
* ctypedef char * Data
|
|
* ctypedef char * Object # <<<<<<<<<<<<<<
|
|
* ctypedef char * Text
|
|
* ctypedef bint Bool
|
|
*/
|
|
typedef char *__pyx_t_10schema_cpp_Object;
|
|
|
|
/* "schema_cpp.pxd":19
|
|
* ctypedef char * Data
|
|
* ctypedef char * Object
|
|
* ctypedef char * Text # <<<<<<<<<<<<<<
|
|
* ctypedef bint Bool
|
|
* ctypedef float Float32
|
|
*/
|
|
typedef char *__pyx_t_10schema_cpp_Text;
|
|
|
|
/* "schema.pyx":27
|
|
* ctypedef int64_t Int64
|
|
*
|
|
* ctypedef char * Data # <<<<<<<<<<<<<<
|
|
* ctypedef char * Object
|
|
* ctypedef char * Text
|
|
*/
|
|
typedef char *__pyx_t_6schema_Data;
|
|
|
|
/* "schema.pyx":28
|
|
*
|
|
* ctypedef char * Data
|
|
* ctypedef char * Object # <<<<<<<<<<<<<<
|
|
* ctypedef char * Text
|
|
* ctypedef bint Bool
|
|
*/
|
|
typedef char *__pyx_t_6schema_Object;
|
|
|
|
/* "schema.pyx":29
|
|
* ctypedef char * Data
|
|
* ctypedef char * Object
|
|
* ctypedef char * Text # <<<<<<<<<<<<<<
|
|
* ctypedef bint Bool
|
|
* ctypedef float Float32
|
|
*/
|
|
typedef char *__pyx_t_6schema_Text;
|
|
|
|
/* "schema.pyx":370
|
|
* 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":1520
|
|
* 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":1541
|
|
* 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":504
|
|
* 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":1084
|
|
* return _FileNodeReader().init(<C_FileNode.Reader>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":1609
|
|
* 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":780
|
|
* 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":1043
|
|
* 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":812
|
|
*
|
|
* _Type_Body_Which = make_enum('_Type_Body_Which',boolType = <int>_Type_Body_boolType,structType = <int>_Type_Body_structType,int32Type = <int>_Type_Body_int32Type,voidType = <int>_Type_Body_voidType,uint16Type = <int>_Type_Body_uint16Type,dataType = <int>_Type_Body_dataType,objectType = <int>_Type_Body_objectType,int64Type = <int>_Type_Body_int64Type,float64Type = <int>_Type_Body_float64Type,interfaceType = <int>_Type_Body_interfaceType,uint32Type = <int>_Type_Body_uint32Type,uint8Type = <int>_Type_Body_uint8Type,listType = <int>_Type_Body_listType,int8Type = <int>_Type_Body_int8Type,float32Type = <int>_Type_Body_float32Type,enumType = <int>_Type_Body_enumType,uint64Type = <int>_Type_Body_uint64Type,textType = <int>_Type_Body_textType,int16Type = <int>_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":46
|
|
* 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":43
|
|
* 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":249
|
|
* 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":565
|
|
* 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":1362
|
|
* 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":330
|
|
* 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":1325
|
|
*
|
|
*
|
|
* 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":303
|
|
* 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":195
|
|
* 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":529
|
|
* 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":208
|
|
* 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":981
|
|
* 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":1341
|
|
* 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":1417
|
|
*
|
|
* _StructNode_Member_Body_Which = make_enum('_StructNode_Member_Body_Which',fieldMember = <int>_StructNode_Member_Body_fieldMember,unionMember = <int>_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":1662
|
|
*
|
|
*
|
|
* 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":1693
|
|
* self.thisptr = new capnp.StreamFdMessageReader(int)
|
|
*
|
|
* cdef class PackedFdMessageReader(MessageReader): # <<<<<<<<<<<<<<
|
|
* def __cinit__(self, int fd):
|
|
* self.thisptr = new capnp.PackedFdMessageReader(int)
|
|
*/
|
|
struct __pyx_obj_6schema_PackedFdMessageReader {
|
|
struct __pyx_obj_6schema_MessageReader __pyx_base;
|
|
};
|
|
|
|
|
|
/* "schema.pyx":73
|
|
* 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":1004
|
|
*
|
|
*
|
|
* 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":1689
|
|
* return _AnnotationReader().init(self.thisptr.getRootAnnotation())
|
|
*
|
|
* cdef class StreamFdMessageReader(MessageReader): # <<<<<<<<<<<<<<
|
|
* def __cinit__(self, int fd):
|
|
* self.thisptr = new capnp.StreamFdMessageReader(int)
|
|
*/
|
|
struct __pyx_obj_6schema_StreamFdMessageReader {
|
|
struct __pyx_obj_6schema_MessageReader __pyx_base;
|
|
};
|
|
|
|
|
|
/* "schema.pyx":459
|
|
*
|
|
*
|
|
* 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":438
|
|
* 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":1177
|
|
* 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":384
|
|
* 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":1385
|
|
*
|
|
*
|
|
* 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":1657
|
|
* 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":991
|
|
* return _Type_BodyReader().init(<C_Type.Body.Reader>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":1592
|
|
* return _ValueReader().init(<C_Value.Reader>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":357
|
|
* 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":1136
|
|
* 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":127
|
|
* 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":1398
|
|
* 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":1057
|
|
*
|
|
* _Node_Body_Which = make_enum('_Node_Body_Which',annotationNode = <int>_Node_Body_annotationNode,interfaceNode = <int>_Node_Body_interfaceNode,enumNode = <int>_Node_Body_enumNode,structNode = <int>_Node_Body_structNode,constNode = <int>_Node_Body_constNode,fileNode = <int>_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":397
|
|
* 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":793
|
|
* return _ValueReader().init(<C_Value.Reader>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":1579
|
|
* 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":758
|
|
* 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":343
|
|
* 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":1432
|
|
* return _StructNode_UnionReader().init(<C_StructNode.Union.Reader>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":1214
|
|
* 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":168
|
|
* 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":425
|
|
* 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":60
|
|
* 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":768
|
|
* return _Value_BodyReader().init(<C_Value.Body.Reader>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":1450
|
|
* 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":1372
|
|
* 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":87
|
|
* 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":1017
|
|
* return None
|
|
*
|
|
* 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":1152
|
|
* 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":878
|
|
* 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":289
|
|
* 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":114
|
|
* 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":478
|
|
* 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":222
|
|
* 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":141
|
|
* 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":655
|
|
* 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":575
|
|
* 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":235
|
|
* 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":1123
|
|
* 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":1472
|
|
* 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":181
|
|
* 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":276
|
|
* 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":262
|
|
* 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":100
|
|
* 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":1257
|
|
* 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":411
|
|
* 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":589
|
|
*
|
|
* _Value_Body_Which = make_enum('_Value_Body_Which',uint32Value = <int>_Value_Body_uint32Value,float64Value = <int>_Value_Body_float64Value,voidValue = <int>_Value_Body_voidValue,dataValue = <int>_Value_Body_dataValue,listValue = <int>_Value_Body_listValue,int32Value = <int>_Value_Body_int32Value,enumValue = <int>_Value_Body_enumValue,int8Value = <int>_Value_Body_int8Value,boolValue = <int>_Value_Body_boolValue,int16Value = <int>_Value_Body_int16Value,float32Value = <int>_Value_Body_float32Value,interfaceValue = <int>_Value_Body_interfaceValue,uint16Value = <int>_Value_Body_uint16Value,uint8Value = <int>_Value_Body_uint8Value,int64Value = <int>_Value_Body_int64Value,structValue = <int>_Value_Body_structValue,textValue = <int>_Value_Body_textValue,uint64Value = <int>_Value_Body_uint64Value,objectValue = <int>_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":1504
|
|
* 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":316
|
|
* 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":154
|
|
* 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":1033
|
|
* 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":41
|
|
* 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":1557
|
|
* 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":991
|
|
* return _Type_BodyReader().init(<C_Type.Body.Reader>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":303
|
|
* 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":1432
|
|
* return _StructNode_UnionReader().init(<C_StructNode.Union.Reader>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":1541
|
|
* 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":1043
|
|
* 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":1177
|
|
* 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":1362
|
|
* 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":141
|
|
* 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":459
|
|
*
|
|
*
|
|
* 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":1609
|
|
* 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":1657
|
|
* 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":1136
|
|
* 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":87
|
|
* 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":1472
|
|
* 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":425
|
|
* 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":1152
|
|
* 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":1417
|
|
*
|
|
* _StructNode_Member_Body_Which = make_enum('_StructNode_Member_Body_Which',fieldMember = <int>_StructNode_Member_Body_fieldMember,unionMember = <int>_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":1214
|
|
* 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":262
|
|
* 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":384
|
|
* 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":504
|
|
* 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":1123
|
|
* 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":478
|
|
* 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":330
|
|
* 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":438
|
|
* 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":60
|
|
* 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":812
|
|
*
|
|
* _Type_Body_Which = make_enum('_Type_Body_Which',boolType = <int>_Type_Body_boolType,structType = <int>_Type_Body_structType,int32Type = <int>_Type_Body_int32Type,voidType = <int>_Type_Body_voidType,uint16Type = <int>_Type_Body_uint16Type,dataType = <int>_Type_Body_dataType,objectType = <int>_Type_Body_objectType,int64Type = <int>_Type_Body_int64Type,float64Type = <int>_Type_Body_float64Type,interfaceType = <int>_Type_Body_interfaceType,uint32Type = <int>_Type_Body_uint32Type,uint8Type = <int>_Type_Body_uint8Type,listType = <int>_Type_Body_listType,int8Type = <int>_Type_Body_int8Type,float32Type = <int>_Type_Body_float32Type,enumType = <int>_Type_Body_enumType,uint64Type = <int>_Type_Body_uint64Type,textType = <int>_Type_Body_textType,int16Type = <int>_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":195
|
|
* 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":127
|
|
* 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":370
|
|
* 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":655
|
|
* 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":357
|
|
* 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":1450
|
|
* 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":1341
|
|
* 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":222
|
|
* 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":1385
|
|
*
|
|
*
|
|
* 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":181
|
|
* 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":793
|
|
* return _ValueReader().init(<C_Value.Reader>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":981
|
|
* 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":1662
|
|
*
|
|
*
|
|
* 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":1693
|
|
* self.thisptr = new capnp.StreamFdMessageReader(int)
|
|
*
|
|
* cdef class PackedFdMessageReader(MessageReader): # <<<<<<<<<<<<<<
|
|
* def __cinit__(self, int fd):
|
|
* self.thisptr = new capnp.PackedFdMessageReader(int)
|
|
*/
|
|
|
|
struct __pyx_vtabstruct_6schema_PackedFdMessageReader {
|
|
struct __pyx_vtabstruct_6schema_MessageReader __pyx_base;
|
|
};
|
|
static struct __pyx_vtabstruct_6schema_PackedFdMessageReader *__pyx_vtabptr_6schema_PackedFdMessageReader;
|
|
|
|
|
|
/* "schema.pyx":589
|
|
*
|
|
* _Value_Body_Which = make_enum('_Value_Body_Which',uint32Value = <int>_Value_Body_uint32Value,float64Value = <int>_Value_Body_float64Value,voidValue = <int>_Value_Body_voidValue,dataValue = <int>_Value_Body_dataValue,listValue = <int>_Value_Body_listValue,int32Value = <int>_Value_Body_int32Value,enumValue = <int>_Value_Body_enumValue,int8Value = <int>_Value_Body_int8Value,boolValue = <int>_Value_Body_boolValue,int16Value = <int>_Value_Body_int16Value,float32Value = <int>_Value_Body_float32Value,interfaceValue = <int>_Value_Body_interfaceValue,uint16Value = <int>_Value_Body_uint16Value,uint8Value = <int>_Value_Body_uint8Value,int64Value = <int>_Value_Body_int64Value,structValue = <int>_Value_Body_structValue,textValue = <int>_Value_Body_textValue,uint64Value = <int>_Value_Body_uint64Value,objectValue = <int>_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":1017
|
|
* return None
|
|
*
|
|
* 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":316
|
|
* 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":575
|
|
* 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":1372
|
|
* 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":343
|
|
* 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":1033
|
|
* 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":276
|
|
* 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":249
|
|
* 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":235
|
|
* 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":1689
|
|
* return _AnnotationReader().init(self.thisptr.getRootAnnotation())
|
|
*
|
|
* cdef class StreamFdMessageReader(MessageReader): # <<<<<<<<<<<<<<
|
|
* def __cinit__(self, int fd):
|
|
* self.thisptr = new capnp.StreamFdMessageReader(int)
|
|
*/
|
|
|
|
struct __pyx_vtabstruct_6schema_StreamFdMessageReader {
|
|
struct __pyx_vtabstruct_6schema_MessageReader __pyx_base;
|
|
};
|
|
static struct __pyx_vtabstruct_6schema_StreamFdMessageReader *__pyx_vtabptr_6schema_StreamFdMessageReader;
|
|
|
|
|
|
/* "schema.pyx":114
|
|
* 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":397
|
|
* 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":878
|
|
* 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":768
|
|
* return _Value_BodyReader().init(<C_Value.Body.Reader>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":1520
|
|
* 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":1592
|
|
* return _ValueReader().init(<C_Value.Reader>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":1004
|
|
*
|
|
*
|
|
* 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":1084
|
|
* return _FileNodeReader().init(<C_FileNode.Reader>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":411
|
|
* 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":208
|
|
* 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":100
|
|
* 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":1504
|
|
* 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":565
|
|
* 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":46
|
|
* 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":289
|
|
* 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":529
|
|
* 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":780
|
|
* 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":1325
|
|
*
|
|
*
|
|
* 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":73
|
|
* 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":1557
|
|
* 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":1398
|
|
* 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":168
|
|
* 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":1257
|
|
* 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":1579
|
|
* 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":154
|
|
* 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":758
|
|
* 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":1057
|
|
*
|
|
* _Node_Body_Which = make_enum('_Node_Body_Which',annotationNode = <int>_Node_Body_annotationNode,interfaceNode = <int>_Node_Body_interfaceNode,enumNode = <int>_Node_Body_enumNode,structNode = <int>_Node_Body_structNode,constNode = <int>_Node_Body_constNode,fileNode = <int>_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 <string.h>
|
|
|
|
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 <new>
|
|
|
|
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 <structmember.h>
|
|
#include <frameobject.h>
|
|
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__(CYTHON_UNUSED 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__(CYTHON_UNUSED 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__(CYTHON_UNUSED 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__(CYTHON_UNUSED 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__(CYTHON_UNUSED 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__(CYTHON_UNUSED 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__(CYTHON_UNUSED 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__(CYTHON_UNUSED 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__(CYTHON_UNUSED 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__(CYTHON_UNUSED 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__(CYTHON_UNUSED 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__(CYTHON_UNUSED 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__(CYTHON_UNUSED 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__(CYTHON_UNUSED 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__(CYTHON_UNUSED 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__(CYTHON_UNUSED 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__(CYTHON_UNUSED 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__(CYTHON_UNUSED 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, CYTHON_UNUSED int __pyx_v_fd); /* proto */
|
|
static int __pyx_pf_6schema_21PackedFdMessageReader___cinit__(struct __pyx_obj_6schema_PackedFdMessageReader *__pyx_v_self, CYTHON_UNUSED 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 = 41; __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 = 41; __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":43
|
|
* 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 = 43; __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 = 43; __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 = 43; __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 = 43; __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 = 43; __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 = 43; __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 = 43; __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 = 43; __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":41
|
|
* 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":42
|
|
* 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 = 42; __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 = 42; __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 = 42; __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 = 42; __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 = 42; __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 = 42; __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 = 42; __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 = 42; __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 = 42; __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":43
|
|
* 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 = 43; __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 = 43; __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 = 43; __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":44
|
|
* 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 = 44; __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 = 44; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
|
|
/* "schema.pyx":45
|
|
* 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 = 45; __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 = 45; __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":48
|
|
* 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":49
|
|
* 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":50
|
|
* 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":51
|
|
* 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":52
|
|
* 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 = 52; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_t_1);
|
|
__pyx_v_size = __pyx_t_1;
|
|
__pyx_t_1 = 0;
|
|
|
|
/* "schema.pyx":53
|
|
* 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 = 53; __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 = 53; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
if (__pyx_t_2) {
|
|
|
|
/* "schema.pyx":54
|
|
* size = self.thisptr.size()
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds') # <<<<<<<<<<<<<<
|
|
* index = index % size
|
|
* return _InterfaceNode_MethodReader().init(<C_InterfaceNode.InterfaceNode.Method.Reader>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 = 54; __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 = 54; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
goto __pyx_L3;
|
|
}
|
|
__pyx_L3:;
|
|
|
|
/* "schema.pyx":55
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds')
|
|
* index = index % size # <<<<<<<<<<<<<<
|
|
* return _InterfaceNode_MethodReader().init(<C_InterfaceNode.InterfaceNode.Method.Reader>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 = 55; __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":56
|
|
* raise IndexError('Out of bounds')
|
|
* index = index % size
|
|
* return _InterfaceNode_MethodReader().init(<C_InterfaceNode.InterfaceNode.Method.Reader>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 = 56; __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 = 56; __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 = 56; __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":58
|
|
* return _InterfaceNode_MethodReader().init(<C_InterfaceNode.InterfaceNode.Method.Reader>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":59
|
|
*
|
|
* 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":62
|
|
* 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":63
|
|
* 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":64
|
|
* 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":65
|
|
* 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":66
|
|
* 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 = 66; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_t_1);
|
|
__pyx_v_size = __pyx_t_1;
|
|
__pyx_t_1 = 0;
|
|
|
|
/* "schema.pyx":67
|
|
* 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 = 67; __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 = 67; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
if (__pyx_t_2) {
|
|
|
|
/* "schema.pyx":68
|
|
* size = self.thisptr.size()
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds') # <<<<<<<<<<<<<<
|
|
* index = index % size
|
|
* return _InterfaceNode_MethodBuilder().init(<C_InterfaceNode.InterfaceNode.Method.Builder>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 = 68; __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 = 68; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
goto __pyx_L3;
|
|
}
|
|
__pyx_L3:;
|
|
|
|
/* "schema.pyx":69
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds')
|
|
* index = index % size # <<<<<<<<<<<<<<
|
|
* return _InterfaceNode_MethodBuilder().init(<C_InterfaceNode.InterfaceNode.Method.Builder>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 = 69; __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":70
|
|
* raise IndexError('Out of bounds')
|
|
* index = index % size
|
|
* return _InterfaceNode_MethodBuilder().init(<C_InterfaceNode.InterfaceNode.Method.Builder>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 = 70; __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 = 70; __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 = 70; __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":71
|
|
* index = index % size
|
|
* return _InterfaceNode_MethodBuilder().init(<C_InterfaceNode.InterfaceNode.Method.Builder>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":72
|
|
* return _InterfaceNode_MethodBuilder().init(<C_InterfaceNode.InterfaceNode.Method.Builder>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":75
|
|
* 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":76
|
|
* 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":77
|
|
* 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":78
|
|
* 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":79
|
|
* 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 = 79; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_t_1);
|
|
__pyx_v_size = __pyx_t_1;
|
|
__pyx_t_1 = 0;
|
|
|
|
/* "schema.pyx":80
|
|
* 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 = 80; __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 = 80; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
if (__pyx_t_2) {
|
|
|
|
/* "schema.pyx":81
|
|
* size = self.thisptr.size()
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds') # <<<<<<<<<<<<<<
|
|
* index = index % size
|
|
* return _EnumNode_EnumerantReader().init(<C_EnumNode.EnumNode.Enumerant.Reader>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 = 81; __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 = 81; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
goto __pyx_L3;
|
|
}
|
|
__pyx_L3:;
|
|
|
|
/* "schema.pyx":82
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds')
|
|
* index = index % size # <<<<<<<<<<<<<<
|
|
* return _EnumNode_EnumerantReader().init(<C_EnumNode.EnumNode.Enumerant.Reader>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 = 82; __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":83
|
|
* raise IndexError('Out of bounds')
|
|
* index = index % size
|
|
* return _EnumNode_EnumerantReader().init(<C_EnumNode.EnumNode.Enumerant.Reader>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 = 83; __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 = 83; __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 = 83; __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":85
|
|
* return _EnumNode_EnumerantReader().init(<C_EnumNode.EnumNode.Enumerant.Reader>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":86
|
|
*
|
|
* 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":89
|
|
* 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":90
|
|
* 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":91
|
|
* 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":92
|
|
* 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":93
|
|
* 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 = 93; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_t_1);
|
|
__pyx_v_size = __pyx_t_1;
|
|
__pyx_t_1 = 0;
|
|
|
|
/* "schema.pyx":94
|
|
* 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 = 94; __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 = 94; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
if (__pyx_t_2) {
|
|
|
|
/* "schema.pyx":95
|
|
* size = self.thisptr.size()
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds') # <<<<<<<<<<<<<<
|
|
* index = index % size
|
|
* return _EnumNode_EnumerantBuilder().init(<C_EnumNode.EnumNode.Enumerant.Builder>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 = 95; __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 = 95; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
goto __pyx_L3;
|
|
}
|
|
__pyx_L3:;
|
|
|
|
/* "schema.pyx":96
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds')
|
|
* index = index % size # <<<<<<<<<<<<<<
|
|
* return _EnumNode_EnumerantBuilder().init(<C_EnumNode.EnumNode.Enumerant.Builder>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 = 96; __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":97
|
|
* raise IndexError('Out of bounds')
|
|
* index = index % size
|
|
* return _EnumNode_EnumerantBuilder().init(<C_EnumNode.EnumNode.Enumerant.Builder>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 = 97; __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 = 97; __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 = 97; __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":98
|
|
* index = index % size
|
|
* return _EnumNode_EnumerantBuilder().init(<C_EnumNode.EnumNode.Enumerant.Builder>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":99
|
|
* return _EnumNode_EnumerantBuilder().init(<C_EnumNode.EnumNode.Enumerant.Builder>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":102
|
|
* 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":103
|
|
* 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":104
|
|
* 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":105
|
|
* 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":106
|
|
* 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 = 106; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_t_1);
|
|
__pyx_v_size = __pyx_t_1;
|
|
__pyx_t_1 = 0;
|
|
|
|
/* "schema.pyx":107
|
|
* 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 = 107; __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 = 107; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
if (__pyx_t_2) {
|
|
|
|
/* "schema.pyx":108
|
|
* size = self.thisptr.size()
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds') # <<<<<<<<<<<<<<
|
|
* index = index % size
|
|
* return _StructNode_MemberReader().init(<C_StructNode.Union.StructNode.Member.Reader>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 = 108; __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 = 108; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
goto __pyx_L3;
|
|
}
|
|
__pyx_L3:;
|
|
|
|
/* "schema.pyx":109
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds')
|
|
* index = index % size # <<<<<<<<<<<<<<
|
|
* return _StructNode_MemberReader().init(<C_StructNode.Union.StructNode.Member.Reader>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 = 109; __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":110
|
|
* raise IndexError('Out of bounds')
|
|
* index = index % size
|
|
* return _StructNode_MemberReader().init(<C_StructNode.Union.StructNode.Member.Reader>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 = 110; __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 = 110; __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 = 110; __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":112
|
|
* return _StructNode_MemberReader().init(<C_StructNode.Union.StructNode.Member.Reader>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":113
|
|
*
|
|
* 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":116
|
|
* 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":117
|
|
* 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":118
|
|
* 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":119
|
|
* 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":120
|
|
* 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 = 120; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_t_1);
|
|
__pyx_v_size = __pyx_t_1;
|
|
__pyx_t_1 = 0;
|
|
|
|
/* "schema.pyx":121
|
|
* 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 = 121; __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 = 121; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
if (__pyx_t_2) {
|
|
|
|
/* "schema.pyx":122
|
|
* size = self.thisptr.size()
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds') # <<<<<<<<<<<<<<
|
|
* index = index % size
|
|
* return _StructNode_MemberBuilder().init(<C_StructNode.Union.StructNode.Member.Builder>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 = 122; __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 = 122; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
goto __pyx_L3;
|
|
}
|
|
__pyx_L3:;
|
|
|
|
/* "schema.pyx":123
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds')
|
|
* index = index % size # <<<<<<<<<<<<<<
|
|
* return _StructNode_MemberBuilder().init(<C_StructNode.Union.StructNode.Member.Builder>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 = 123; __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":124
|
|
* raise IndexError('Out of bounds')
|
|
* index = index % size
|
|
* return _StructNode_MemberBuilder().init(<C_StructNode.Union.StructNode.Member.Builder>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 = 124; __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 = 124; __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 = 124; __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":125
|
|
* index = index % size
|
|
* return _StructNode_MemberBuilder().init(<C_StructNode.Union.StructNode.Member.Builder>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":126
|
|
* return _StructNode_MemberBuilder().init(<C_StructNode.Union.StructNode.Member.Builder>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":129
|
|
* 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":130
|
|
* 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":131
|
|
* 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":132
|
|
* 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":133
|
|
* 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 = 133; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_t_1);
|
|
__pyx_v_size = __pyx_t_1;
|
|
__pyx_t_1 = 0;
|
|
|
|
/* "schema.pyx":134
|
|
* 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 = 134; __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 = 134; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
if (__pyx_t_2) {
|
|
|
|
/* "schema.pyx":135
|
|
* size = self.thisptr.size()
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds') # <<<<<<<<<<<<<<
|
|
* index = index % size
|
|
* return _InterfaceNode_Method_ParamReader().init(<C_InterfaceNode.Method.InterfaceNode.Method.Param.Reader>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 = 135; __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 = 135; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
goto __pyx_L3;
|
|
}
|
|
__pyx_L3:;
|
|
|
|
/* "schema.pyx":136
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds')
|
|
* index = index % size # <<<<<<<<<<<<<<
|
|
* return _InterfaceNode_Method_ParamReader().init(<C_InterfaceNode.Method.InterfaceNode.Method.Param.Reader>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 = 136; __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":137
|
|
* raise IndexError('Out of bounds')
|
|
* index = index % size
|
|
* return _InterfaceNode_Method_ParamReader().init(<C_InterfaceNode.Method.InterfaceNode.Method.Param.Reader>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 = 137; __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 = 137; __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 = 137; __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":139
|
|
* return _InterfaceNode_Method_ParamReader().init(<C_InterfaceNode.Method.InterfaceNode.Method.Param.Reader>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":140
|
|
*
|
|
* 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":143
|
|
* 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":144
|
|
* 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":145
|
|
* 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":146
|
|
* 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":147
|
|
* 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 = 147; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_t_1);
|
|
__pyx_v_size = __pyx_t_1;
|
|
__pyx_t_1 = 0;
|
|
|
|
/* "schema.pyx":148
|
|
* 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 = 148; __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 = 148; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
if (__pyx_t_2) {
|
|
|
|
/* "schema.pyx":149
|
|
* size = self.thisptr.size()
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds') # <<<<<<<<<<<<<<
|
|
* index = index % size
|
|
* return _InterfaceNode_Method_ParamBuilder().init(<C_InterfaceNode.Method.InterfaceNode.Method.Param.Builder>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 = 149; __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 = 149; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
goto __pyx_L3;
|
|
}
|
|
__pyx_L3:;
|
|
|
|
/* "schema.pyx":150
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds')
|
|
* index = index % size # <<<<<<<<<<<<<<
|
|
* return _InterfaceNode_Method_ParamBuilder().init(<C_InterfaceNode.Method.InterfaceNode.Method.Param.Builder>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 = 150; __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":151
|
|
* raise IndexError('Out of bounds')
|
|
* index = index % size
|
|
* return _InterfaceNode_Method_ParamBuilder().init(<C_InterfaceNode.Method.InterfaceNode.Method.Param.Builder>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 = 151; __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 = 151; __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 = 151; __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":152
|
|
* index = index % size
|
|
* return _InterfaceNode_Method_ParamBuilder().init(<C_InterfaceNode.Method.InterfaceNode.Method.Param.Builder>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":153
|
|
* return _InterfaceNode_Method_ParamBuilder().init(<C_InterfaceNode.Method.InterfaceNode.Method.Param.Builder>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":156
|
|
* 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":157
|
|
* 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":158
|
|
* 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":159
|
|
* 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":160
|
|
* 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 = 160; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_t_1);
|
|
__pyx_v_size = __pyx_t_1;
|
|
__pyx_t_1 = 0;
|
|
|
|
/* "schema.pyx":161
|
|
* 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 = 161; __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 = 161; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
if (__pyx_t_2) {
|
|
|
|
/* "schema.pyx":162
|
|
* size = self.thisptr.size()
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds') # <<<<<<<<<<<<<<
|
|
* index = index % size
|
|
* return _AnnotationReader().init(<C_InterfaceNode.Method.Param.Annotation.Reader>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 = 162; __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 = 162; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
goto __pyx_L3;
|
|
}
|
|
__pyx_L3:;
|
|
|
|
/* "schema.pyx":163
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds')
|
|
* index = index % size # <<<<<<<<<<<<<<
|
|
* return _AnnotationReader().init(<C_InterfaceNode.Method.Param.Annotation.Reader>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 = 163; __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":164
|
|
* raise IndexError('Out of bounds')
|
|
* index = index % size
|
|
* return _AnnotationReader().init(<C_InterfaceNode.Method.Param.Annotation.Reader>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 = 164; __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 = 164; __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 = 164; __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":166
|
|
* return _AnnotationReader().init(<C_InterfaceNode.Method.Param.Annotation.Reader>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":167
|
|
*
|
|
* 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":170
|
|
* 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":171
|
|
* 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":172
|
|
* 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":173
|
|
* 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":174
|
|
* 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 = 174; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_t_1);
|
|
__pyx_v_size = __pyx_t_1;
|
|
__pyx_t_1 = 0;
|
|
|
|
/* "schema.pyx":175
|
|
* 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 = 175; __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 = 175; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
if (__pyx_t_2) {
|
|
|
|
/* "schema.pyx":176
|
|
* size = self.thisptr.size()
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds') # <<<<<<<<<<<<<<
|
|
* index = index % size
|
|
* return _AnnotationBuilder().init(<C_InterfaceNode.Method.Param.Annotation.Builder>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 = 176; __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 = 176; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
goto __pyx_L3;
|
|
}
|
|
__pyx_L3:;
|
|
|
|
/* "schema.pyx":177
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds')
|
|
* index = index % size # <<<<<<<<<<<<<<
|
|
* return _AnnotationBuilder().init(<C_InterfaceNode.Method.Param.Annotation.Builder>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 = 177; __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":178
|
|
* raise IndexError('Out of bounds')
|
|
* index = index % size
|
|
* return _AnnotationBuilder().init(<C_InterfaceNode.Method.Param.Annotation.Builder>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 = 178; __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 = 178; __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 = 178; __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":179
|
|
* index = index % size
|
|
* return _AnnotationBuilder().init(<C_InterfaceNode.Method.Param.Annotation.Builder>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":180
|
|
* return _AnnotationBuilder().init(<C_InterfaceNode.Method.Param.Annotation.Builder>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":183
|
|
* 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":184
|
|
* 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":185
|
|
* 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":186
|
|
* 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":187
|
|
* 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 = 187; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_t_1);
|
|
__pyx_v_size = __pyx_t_1;
|
|
__pyx_t_1 = 0;
|
|
|
|
/* "schema.pyx":188
|
|
* 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 = 188; __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 = 188; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
if (__pyx_t_2) {
|
|
|
|
/* "schema.pyx":189
|
|
* 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 = 189; __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 = 189; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
goto __pyx_L3;
|
|
}
|
|
__pyx_L3:;
|
|
|
|
/* "schema.pyx":190
|
|
* 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 = 190; __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":191
|
|
* 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 = 191; __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 = 191; __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":193
|
|
* 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":194
|
|
*
|
|
* 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":197
|
|
* 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":198
|
|
* 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":199
|
|
* 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":200
|
|
* 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":201
|
|
* 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 = 201; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_t_1);
|
|
__pyx_v_size = __pyx_t_1;
|
|
__pyx_t_1 = 0;
|
|
|
|
/* "schema.pyx":202
|
|
* 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 = 202; __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 = 202; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
if (__pyx_t_2) {
|
|
|
|
/* "schema.pyx":203
|
|
* 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 = 203; __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 = 203; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
goto __pyx_L3;
|
|
}
|
|
__pyx_L3:;
|
|
|
|
/* "schema.pyx":204
|
|
* 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 = 204; __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":205
|
|
* 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 = 205; __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 = 205; __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":206
|
|
* 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":207
|
|
* 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":210
|
|
* 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":211
|
|
* 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":212
|
|
* 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":213
|
|
* 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":214
|
|
* 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 = 214; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_t_1);
|
|
__pyx_v_size = __pyx_t_1;
|
|
__pyx_t_1 = 0;
|
|
|
|
/* "schema.pyx":215
|
|
* 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 = 215; __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 = 215; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
if (__pyx_t_2) {
|
|
|
|
/* "schema.pyx":216
|
|
* size = self.thisptr.size()
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds') # <<<<<<<<<<<<<<
|
|
* index = index % size
|
|
* return _Node_NestedNodeReader().init(<C_Node.Node.NestedNode.Reader>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 = 216; __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 = 216; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
goto __pyx_L3;
|
|
}
|
|
__pyx_L3:;
|
|
|
|
/* "schema.pyx":217
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds')
|
|
* index = index % size # <<<<<<<<<<<<<<
|
|
* return _Node_NestedNodeReader().init(<C_Node.Node.NestedNode.Reader>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 = 217; __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":218
|
|
* raise IndexError('Out of bounds')
|
|
* index = index % size
|
|
* return _Node_NestedNodeReader().init(<C_Node.Node.NestedNode.Reader>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 = 218; __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 = 218; __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 = 218; __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":220
|
|
* return _Node_NestedNodeReader().init(<C_Node.Node.NestedNode.Reader>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":221
|
|
*
|
|
* 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":224
|
|
* 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":225
|
|
* 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":226
|
|
* 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":227
|
|
* 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":228
|
|
* 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 = 228; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_t_1);
|
|
__pyx_v_size = __pyx_t_1;
|
|
__pyx_t_1 = 0;
|
|
|
|
/* "schema.pyx":229
|
|
* 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 = 229; __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 = 229; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
if (__pyx_t_2) {
|
|
|
|
/* "schema.pyx":230
|
|
* size = self.thisptr.size()
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds') # <<<<<<<<<<<<<<
|
|
* index = index % size
|
|
* return _Node_NestedNodeBuilder().init(<C_Node.Node.NestedNode.Builder>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 = 230; __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 = 230; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
goto __pyx_L3;
|
|
}
|
|
__pyx_L3:;
|
|
|
|
/* "schema.pyx":231
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds')
|
|
* index = index % size # <<<<<<<<<<<<<<
|
|
* return _Node_NestedNodeBuilder().init(<C_Node.Node.NestedNode.Builder>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 = 231; __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":232
|
|
* raise IndexError('Out of bounds')
|
|
* index = index % size
|
|
* return _Node_NestedNodeBuilder().init(<C_Node.Node.NestedNode.Builder>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 = 232; __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 = 232; __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 = 232; __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":233
|
|
* index = index % size
|
|
* return _Node_NestedNodeBuilder().init(<C_Node.Node.NestedNode.Builder>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":234
|
|
* return _Node_NestedNodeBuilder().init(<C_Node.Node.NestedNode.Builder>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":237
|
|
* 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":238
|
|
* 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":239
|
|
* 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":240
|
|
* 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":241
|
|
* 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 = 241; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_t_1);
|
|
__pyx_v_size = __pyx_t_1;
|
|
__pyx_t_1 = 0;
|
|
|
|
/* "schema.pyx":242
|
|
* 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 = 242; __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 = 242; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
if (__pyx_t_2) {
|
|
|
|
/* "schema.pyx":243
|
|
* size = self.thisptr.size()
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds') # <<<<<<<<<<<<<<
|
|
* index = index % size
|
|
* return _AnnotationReader().init(<C_StructNode.Member.Annotation.Reader>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 = 243; __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 = 243; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
goto __pyx_L3;
|
|
}
|
|
__pyx_L3:;
|
|
|
|
/* "schema.pyx":244
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds')
|
|
* index = index % size # <<<<<<<<<<<<<<
|
|
* return _AnnotationReader().init(<C_StructNode.Member.Annotation.Reader>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 = 244; __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":245
|
|
* raise IndexError('Out of bounds')
|
|
* index = index % size
|
|
* return _AnnotationReader().init(<C_StructNode.Member.Annotation.Reader>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 = 245; __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 = 245; __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 = 245; __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":247
|
|
* return _AnnotationReader().init(<C_StructNode.Member.Annotation.Reader>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":248
|
|
*
|
|
* 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":251
|
|
* 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":252
|
|
* 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":253
|
|
* 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":254
|
|
* 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":255
|
|
* 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 = 255; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_t_1);
|
|
__pyx_v_size = __pyx_t_1;
|
|
__pyx_t_1 = 0;
|
|
|
|
/* "schema.pyx":256
|
|
* 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 = 256; __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 = 256; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
if (__pyx_t_2) {
|
|
|
|
/* "schema.pyx":257
|
|
* size = self.thisptr.size()
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds') # <<<<<<<<<<<<<<
|
|
* index = index % size
|
|
* return _AnnotationBuilder().init(<C_StructNode.Member.Annotation.Builder>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 = 257; __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 = 257; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
goto __pyx_L3;
|
|
}
|
|
__pyx_L3:;
|
|
|
|
/* "schema.pyx":258
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds')
|
|
* index = index % size # <<<<<<<<<<<<<<
|
|
* return _AnnotationBuilder().init(<C_StructNode.Member.Annotation.Builder>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 = 258; __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":259
|
|
* raise IndexError('Out of bounds')
|
|
* index = index % size
|
|
* return _AnnotationBuilder().init(<C_StructNode.Member.Annotation.Builder>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 = 259; __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 = 259; __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 = 259; __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":260
|
|
* index = index % size
|
|
* return _AnnotationBuilder().init(<C_StructNode.Member.Annotation.Builder>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":261
|
|
* return _AnnotationBuilder().init(<C_StructNode.Member.Annotation.Builder>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":264
|
|
* 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":265
|
|
* 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":266
|
|
* 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":267
|
|
* 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":268
|
|
* 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 = 268; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_t_1);
|
|
__pyx_v_size = __pyx_t_1;
|
|
__pyx_t_1 = 0;
|
|
|
|
/* "schema.pyx":269
|
|
* 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 = 269; __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 = 269; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
if (__pyx_t_2) {
|
|
|
|
/* "schema.pyx":270
|
|
* size = self.thisptr.size()
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds') # <<<<<<<<<<<<<<
|
|
* index = index % size
|
|
* return _AnnotationReader().init(<C_InterfaceNode.Method.Annotation.Reader>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 = 270; __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 = 270; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
goto __pyx_L3;
|
|
}
|
|
__pyx_L3:;
|
|
|
|
/* "schema.pyx":271
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds')
|
|
* index = index % size # <<<<<<<<<<<<<<
|
|
* return _AnnotationReader().init(<C_InterfaceNode.Method.Annotation.Reader>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 = 271; __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":272
|
|
* raise IndexError('Out of bounds')
|
|
* index = index % size
|
|
* return _AnnotationReader().init(<C_InterfaceNode.Method.Annotation.Reader>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 = 272; __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 = 272; __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 = 272; __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":274
|
|
* return _AnnotationReader().init(<C_InterfaceNode.Method.Annotation.Reader>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":275
|
|
*
|
|
* 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":278
|
|
* 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":279
|
|
* 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":280
|
|
* 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":281
|
|
* 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":282
|
|
* 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 = 282; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_t_1);
|
|
__pyx_v_size = __pyx_t_1;
|
|
__pyx_t_1 = 0;
|
|
|
|
/* "schema.pyx":283
|
|
* 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 = 283; __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 = 283; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
if (__pyx_t_2) {
|
|
|
|
/* "schema.pyx":284
|
|
* size = self.thisptr.size()
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds') # <<<<<<<<<<<<<<
|
|
* index = index % size
|
|
* return _AnnotationBuilder().init(<C_InterfaceNode.Method.Annotation.Builder>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 = 284; __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 = 284; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
goto __pyx_L3;
|
|
}
|
|
__pyx_L3:;
|
|
|
|
/* "schema.pyx":285
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds')
|
|
* index = index % size # <<<<<<<<<<<<<<
|
|
* return _AnnotationBuilder().init(<C_InterfaceNode.Method.Annotation.Builder>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 = 285; __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":286
|
|
* raise IndexError('Out of bounds')
|
|
* index = index % size
|
|
* return _AnnotationBuilder().init(<C_InterfaceNode.Method.Annotation.Builder>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 = 286; __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 = 286; __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 = 286; __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":287
|
|
* index = index % size
|
|
* return _AnnotationBuilder().init(<C_InterfaceNode.Method.Annotation.Builder>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":288
|
|
* return _AnnotationBuilder().init(<C_InterfaceNode.Method.Annotation.Builder>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":291
|
|
* 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":292
|
|
* 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":293
|
|
* 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":294
|
|
* 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":295
|
|
* 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 = 295; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_t_1);
|
|
__pyx_v_size = __pyx_t_1;
|
|
__pyx_t_1 = 0;
|
|
|
|
/* "schema.pyx":296
|
|
* 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 = 296; __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 = 296; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
if (__pyx_t_2) {
|
|
|
|
/* "schema.pyx":297
|
|
* size = self.thisptr.size()
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds') # <<<<<<<<<<<<<<
|
|
* index = index % size
|
|
* return _StructNode_MemberReader().init(<C_StructNode.StructNode.Member.Reader>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 = 297; __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 = 297; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
goto __pyx_L3;
|
|
}
|
|
__pyx_L3:;
|
|
|
|
/* "schema.pyx":298
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds')
|
|
* index = index % size # <<<<<<<<<<<<<<
|
|
* return _StructNode_MemberReader().init(<C_StructNode.StructNode.Member.Reader>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 = 298; __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":299
|
|
* raise IndexError('Out of bounds')
|
|
* index = index % size
|
|
* return _StructNode_MemberReader().init(<C_StructNode.StructNode.Member.Reader>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 = 299; __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 = 299; __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 = 299; __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":301
|
|
* return _StructNode_MemberReader().init(<C_StructNode.StructNode.Member.Reader>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":302
|
|
*
|
|
* 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":305
|
|
* 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":306
|
|
* 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":307
|
|
* 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":308
|
|
* 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":309
|
|
* 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 = 309; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_t_1);
|
|
__pyx_v_size = __pyx_t_1;
|
|
__pyx_t_1 = 0;
|
|
|
|
/* "schema.pyx":310
|
|
* 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 = 310; __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 = 310; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
if (__pyx_t_2) {
|
|
|
|
/* "schema.pyx":311
|
|
* size = self.thisptr.size()
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds') # <<<<<<<<<<<<<<
|
|
* index = index % size
|
|
* return _StructNode_MemberBuilder().init(<C_StructNode.StructNode.Member.Builder>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 = 311; __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 = 311; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
goto __pyx_L3;
|
|
}
|
|
__pyx_L3:;
|
|
|
|
/* "schema.pyx":312
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds')
|
|
* index = index % size # <<<<<<<<<<<<<<
|
|
* return _StructNode_MemberBuilder().init(<C_StructNode.StructNode.Member.Builder>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 = 312; __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":313
|
|
* raise IndexError('Out of bounds')
|
|
* index = index % size
|
|
* return _StructNode_MemberBuilder().init(<C_StructNode.StructNode.Member.Builder>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 = 313; __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 = 313; __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 = 313; __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":314
|
|
* index = index % size
|
|
* return _StructNode_MemberBuilder().init(<C_StructNode.StructNode.Member.Builder>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":315
|
|
* return _StructNode_MemberBuilder().init(<C_StructNode.StructNode.Member.Builder>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":318
|
|
* 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":319
|
|
* 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":320
|
|
* 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":321
|
|
* 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":322
|
|
* 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 = 322; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_t_1);
|
|
__pyx_v_size = __pyx_t_1;
|
|
__pyx_t_1 = 0;
|
|
|
|
/* "schema.pyx":323
|
|
* 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 = 323; __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 = 323; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
if (__pyx_t_2) {
|
|
|
|
/* "schema.pyx":324
|
|
* size = self.thisptr.size()
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds') # <<<<<<<<<<<<<<
|
|
* index = index % size
|
|
* return _AnnotationReader().init(<C_Node.Annotation.Reader>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 = 324; __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 = 324; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
goto __pyx_L3;
|
|
}
|
|
__pyx_L3:;
|
|
|
|
/* "schema.pyx":325
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds')
|
|
* index = index % size # <<<<<<<<<<<<<<
|
|
* return _AnnotationReader().init(<C_Node.Annotation.Reader>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 = 325; __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":326
|
|
* raise IndexError('Out of bounds')
|
|
* index = index % size
|
|
* return _AnnotationReader().init(<C_Node.Annotation.Reader>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 = 326; __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 = 326; __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 = 326; __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":328
|
|
* return _AnnotationReader().init(<C_Node.Annotation.Reader>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":329
|
|
*
|
|
* 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":332
|
|
* 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":333
|
|
* 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":334
|
|
* 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":335
|
|
* 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":336
|
|
* 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 = 336; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_t_1);
|
|
__pyx_v_size = __pyx_t_1;
|
|
__pyx_t_1 = 0;
|
|
|
|
/* "schema.pyx":337
|
|
* 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 = 337; __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 = 337; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
if (__pyx_t_2) {
|
|
|
|
/* "schema.pyx":338
|
|
* size = self.thisptr.size()
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds') # <<<<<<<<<<<<<<
|
|
* index = index % size
|
|
* return _AnnotationBuilder().init(<C_Node.Annotation.Builder>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 = 338; __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 = 338; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
goto __pyx_L3;
|
|
}
|
|
__pyx_L3:;
|
|
|
|
/* "schema.pyx":339
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds')
|
|
* index = index % size # <<<<<<<<<<<<<<
|
|
* return _AnnotationBuilder().init(<C_Node.Annotation.Builder>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 = 339; __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":340
|
|
* raise IndexError('Out of bounds')
|
|
* index = index % size
|
|
* return _AnnotationBuilder().init(<C_Node.Annotation.Builder>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 = 340; __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 = 340; __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 = 340; __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":341
|
|
* index = index % size
|
|
* return _AnnotationBuilder().init(<C_Node.Annotation.Builder>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":342
|
|
* return _AnnotationBuilder().init(<C_Node.Annotation.Builder>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":345
|
|
* 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":346
|
|
* 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":347
|
|
* 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":348
|
|
* 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":349
|
|
* 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 = 349; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_t_1);
|
|
__pyx_v_size = __pyx_t_1;
|
|
__pyx_t_1 = 0;
|
|
|
|
/* "schema.pyx":350
|
|
* 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 = 350; __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 = 350; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
if (__pyx_t_2) {
|
|
|
|
/* "schema.pyx":351
|
|
* size = self.thisptr.size()
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds') # <<<<<<<<<<<<<<
|
|
* index = index % size
|
|
* return _NodeReader().init(<C_CodeGeneratorRequest.Node.Reader>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 = 351; __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 = 351; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
goto __pyx_L3;
|
|
}
|
|
__pyx_L3:;
|
|
|
|
/* "schema.pyx":352
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds')
|
|
* index = index % size # <<<<<<<<<<<<<<
|
|
* return _NodeReader().init(<C_CodeGeneratorRequest.Node.Reader>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 = 352; __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":353
|
|
* raise IndexError('Out of bounds')
|
|
* index = index % size
|
|
* return _NodeReader().init(<C_CodeGeneratorRequest.Node.Reader>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 = 353; __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 = 353; __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 = 353; __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":355
|
|
* return _NodeReader().init(<C_CodeGeneratorRequest.Node.Reader>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":356
|
|
*
|
|
* 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":359
|
|
* 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":360
|
|
* 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":361
|
|
* 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":362
|
|
* 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":363
|
|
* 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 = 363; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_t_1);
|
|
__pyx_v_size = __pyx_t_1;
|
|
__pyx_t_1 = 0;
|
|
|
|
/* "schema.pyx":364
|
|
* 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 = 364; __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 = 364; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
if (__pyx_t_2) {
|
|
|
|
/* "schema.pyx":365
|
|
* size = self.thisptr.size()
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds') # <<<<<<<<<<<<<<
|
|
* index = index % size
|
|
* return _NodeBuilder().init(<C_CodeGeneratorRequest.Node.Builder>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 = 365; __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 = 365; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
goto __pyx_L3;
|
|
}
|
|
__pyx_L3:;
|
|
|
|
/* "schema.pyx":366
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds')
|
|
* index = index % size # <<<<<<<<<<<<<<
|
|
* return _NodeBuilder().init(<C_CodeGeneratorRequest.Node.Builder>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 = 366; __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":367
|
|
* raise IndexError('Out of bounds')
|
|
* index = index % size
|
|
* return _NodeBuilder().init(<C_CodeGeneratorRequest.Node.Builder>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 = 367; __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 = 367; __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 = 367; __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":368
|
|
* index = index % size
|
|
* return _NodeBuilder().init(<C_CodeGeneratorRequest.Node.Builder>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":369
|
|
* return _NodeBuilder().init(<C_CodeGeneratorRequest.Node.Builder>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":372
|
|
* 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":373
|
|
* 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":374
|
|
* 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":375
|
|
* 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":376
|
|
* 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 = 376; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_t_1);
|
|
__pyx_v_size = __pyx_t_1;
|
|
__pyx_t_1 = 0;
|
|
|
|
/* "schema.pyx":377
|
|
* 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 = 377; __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 = 377; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
if (__pyx_t_2) {
|
|
|
|
/* "schema.pyx":378
|
|
* size = self.thisptr.size()
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds') # <<<<<<<<<<<<<<
|
|
* index = index % size
|
|
* return _FileNode_ImportReader().init(<C_FileNode.FileNode.Import.Reader>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 = 378; __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 = 378; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
goto __pyx_L3;
|
|
}
|
|
__pyx_L3:;
|
|
|
|
/* "schema.pyx":379
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds')
|
|
* index = index % size # <<<<<<<<<<<<<<
|
|
* return _FileNode_ImportReader().init(<C_FileNode.FileNode.Import.Reader>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 = 379; __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":380
|
|
* raise IndexError('Out of bounds')
|
|
* index = index % size
|
|
* return _FileNode_ImportReader().init(<C_FileNode.FileNode.Import.Reader>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 = 380; __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 = 380; __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 = 380; __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":382
|
|
* return _FileNode_ImportReader().init(<C_FileNode.FileNode.Import.Reader>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":383
|
|
*
|
|
* 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":386
|
|
* 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":387
|
|
* 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":388
|
|
* 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":389
|
|
* 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":390
|
|
* 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 = 390; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_t_1);
|
|
__pyx_v_size = __pyx_t_1;
|
|
__pyx_t_1 = 0;
|
|
|
|
/* "schema.pyx":391
|
|
* 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 = 391; __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 = 391; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
if (__pyx_t_2) {
|
|
|
|
/* "schema.pyx":392
|
|
* size = self.thisptr.size()
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds') # <<<<<<<<<<<<<<
|
|
* index = index % size
|
|
* return _FileNode_ImportBuilder().init(<C_FileNode.FileNode.Import.Builder>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 = 392; __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 = 392; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
goto __pyx_L3;
|
|
}
|
|
__pyx_L3:;
|
|
|
|
/* "schema.pyx":393
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds')
|
|
* index = index % size # <<<<<<<<<<<<<<
|
|
* return _FileNode_ImportBuilder().init(<C_FileNode.FileNode.Import.Builder>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 = 393; __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":394
|
|
* raise IndexError('Out of bounds')
|
|
* index = index % size
|
|
* return _FileNode_ImportBuilder().init(<C_FileNode.FileNode.Import.Builder>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 = 394; __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 = 394; __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 = 394; __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":395
|
|
* index = index % size
|
|
* return _FileNode_ImportBuilder().init(<C_FileNode.FileNode.Import.Builder>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":396
|
|
* return _FileNode_ImportBuilder().init(<C_FileNode.FileNode.Import.Builder>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":399
|
|
* 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":400
|
|
* 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":401
|
|
* 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":402
|
|
* 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":403
|
|
* 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 = 403; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_t_1);
|
|
__pyx_v_size = __pyx_t_1;
|
|
__pyx_t_1 = 0;
|
|
|
|
/* "schema.pyx":404
|
|
* 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 = 404; __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 = 404; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
if (__pyx_t_2) {
|
|
|
|
/* "schema.pyx":405
|
|
* size = self.thisptr.size()
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds') # <<<<<<<<<<<<<<
|
|
* index = index % size
|
|
* return _AnnotationReader().init(<C_EnumNode.Enumerant.Annotation.Reader>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 = 405; __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 = 405; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
goto __pyx_L3;
|
|
}
|
|
__pyx_L3:;
|
|
|
|
/* "schema.pyx":406
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds')
|
|
* index = index % size # <<<<<<<<<<<<<<
|
|
* return _AnnotationReader().init(<C_EnumNode.Enumerant.Annotation.Reader>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 = 406; __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":407
|
|
* raise IndexError('Out of bounds')
|
|
* index = index % size
|
|
* return _AnnotationReader().init(<C_EnumNode.Enumerant.Annotation.Reader>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 = 407; __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 = 407; __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 = 407; __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":409
|
|
* return _AnnotationReader().init(<C_EnumNode.Enumerant.Annotation.Reader>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":410
|
|
*
|
|
* 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":413
|
|
* 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":414
|
|
* 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":415
|
|
* 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":416
|
|
* 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":417
|
|
* 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 = 417; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_t_1);
|
|
__pyx_v_size = __pyx_t_1;
|
|
__pyx_t_1 = 0;
|
|
|
|
/* "schema.pyx":418
|
|
* 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 = 418; __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 = 418; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
if (__pyx_t_2) {
|
|
|
|
/* "schema.pyx":419
|
|
* size = self.thisptr.size()
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds') # <<<<<<<<<<<<<<
|
|
* index = index % size
|
|
* return _AnnotationBuilder().init(<C_EnumNode.Enumerant.Annotation.Builder>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 = 419; __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 = 419; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
goto __pyx_L3;
|
|
}
|
|
__pyx_L3:;
|
|
|
|
/* "schema.pyx":420
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds')
|
|
* index = index % size # <<<<<<<<<<<<<<
|
|
* return _AnnotationBuilder().init(<C_EnumNode.Enumerant.Annotation.Builder>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 = 420; __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":421
|
|
* raise IndexError('Out of bounds')
|
|
* index = index % size
|
|
* return _AnnotationBuilder().init(<C_EnumNode.Enumerant.Annotation.Builder>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 = 421; __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 = 421; __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 = 421; __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":422
|
|
* index = index % size
|
|
* return _AnnotationBuilder().init(<C_EnumNode.Enumerant.Annotation.Builder>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":423
|
|
* return _AnnotationBuilder().init(<C_EnumNode.Enumerant.Annotation.Builder>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":427
|
|
* 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":428
|
|
* 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":429
|
|
* 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":432
|
|
*
|
|
* 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":433
|
|
* 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 = 433; __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 = 433; __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":435
|
|
* 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":436
|
|
* 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 = 436; __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 = 436; __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":440
|
|
* 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":441
|
|
* 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":442
|
|
* 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":445
|
|
*
|
|
* 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":446
|
|
* 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 = 446; __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 = 446; __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":447
|
|
* 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 = 447; __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 = 447; __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 = 447; __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 = 447; __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":448
|
|
* 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 = 448; __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 = 448; __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 = 447; __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":447
|
|
* 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 = 447; __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":450
|
|
* 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":451
|
|
* 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 = 451; __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 = 451; __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":452
|
|
* 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 = 452; __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 = 452; __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 = 452; __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 = 452; __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":453
|
|
* 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 = <int>_ElementSize_inlineComposite,eightBytes = <int>_ElementSize_eightBytes,pointer = <int>_ElementSize_pointer,bit = <int>_ElementSize_bit,twoBytes = <int>_ElementSize_twoBytes,fourBytes = <int>_ElementSize_fourBytes,byte = <int>_ElementSize_byte,empty = <int>_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 = 453; __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 = 453; __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 = 452; __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":452
|
|
* 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 = 452; __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":461
|
|
* 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":462
|
|
* 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":463
|
|
* 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":466
|
|
*
|
|
* property defaultValue:
|
|
* def __get__(self): # <<<<<<<<<<<<<<
|
|
* return _ValueReader().init(<C_Value.Reader>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":467
|
|
* property defaultValue:
|
|
* def __get__(self):
|
|
* return _ValueReader().init(<C_Value.Reader>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 = 467; __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 = 467; __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":469
|
|
* return _ValueReader().init(<C_Value.Reader>self.thisptr.getDefaultValue())
|
|
* property type:
|
|
* def __get__(self): # <<<<<<<<<<<<<<
|
|
* return _TypeReader().init(<C_Type.Reader>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":470
|
|
* property type:
|
|
* def __get__(self):
|
|
* return _TypeReader().init(<C_Type.Reader>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 = 470; __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 = 470; __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":472
|
|
* return _TypeReader().init(<C_Type.Reader>self.thisptr.getType())
|
|
* property name:
|
|
* def __get__(self): # <<<<<<<<<<<<<<
|
|
* return None
|
|
* property annotations:
|
|
*/
|
|
|
|
static PyObject *__pyx_pf_6schema_33_InterfaceNode_Method_ParamReader_4name___get__(CYTHON_UNUSED struct __pyx_obj_6schema__InterfaceNode_Method_ParamReader *__pyx_v_self) {
|
|
PyObject *__pyx_r = NULL;
|
|
__Pyx_RefNannyDeclarations
|
|
__Pyx_RefNannySetupContext("__get__", 0);
|
|
|
|
/* "schema.pyx":473
|
|
* property name:
|
|
* def __get__(self):
|
|
* return None # <<<<<<<<<<<<<<
|
|
* property annotations:
|
|
* 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_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":475
|
|
* return None
|
|
* 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":476
|
|
* 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 = 476; __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 = 476; __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":480
|
|
* 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":481
|
|
* 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":482
|
|
* 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":485
|
|
*
|
|
* property defaultValue:
|
|
* def __get__(self): # <<<<<<<<<<<<<<
|
|
* return _ValueBuilder().init(<C_Value.Builder>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":486
|
|
* property defaultValue:
|
|
* def __get__(self):
|
|
* return _ValueBuilder().init(<C_Value.Builder>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 = 486; __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 = 486; __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":487
|
|
* def __get__(self):
|
|
* return _ValueBuilder().init(<C_Value.Builder>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":490
|
|
* pass
|
|
* property type:
|
|
* def __get__(self): # <<<<<<<<<<<<<<
|
|
* return _TypeBuilder().init(<C_Type.Builder>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":491
|
|
* property type:
|
|
* def __get__(self):
|
|
* return _TypeBuilder().init(<C_Type.Builder>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 = 491; __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 = 491; __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":492
|
|
* def __get__(self):
|
|
* return _TypeBuilder().init(<C_Type.Builder>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":495
|
|
* pass
|
|
* property name:
|
|
* def __get__(self): # <<<<<<<<<<<<<<
|
|
* return None
|
|
* def __set__(self, val):
|
|
*/
|
|
|
|
static PyObject *__pyx_pf_6schema_34_InterfaceNode_Method_ParamBuilder_4name___get__(CYTHON_UNUSED struct __pyx_obj_6schema__InterfaceNode_Method_ParamBuilder *__pyx_v_self) {
|
|
PyObject *__pyx_r = NULL;
|
|
__Pyx_RefNannyDeclarations
|
|
__Pyx_RefNannySetupContext("__get__", 0);
|
|
|
|
/* "schema.pyx":496
|
|
* property name:
|
|
* 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_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":497
|
|
* def __get__(self):
|
|
* return None
|
|
* 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":500
|
|
* 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":501
|
|
* 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 = 501; __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 = 501; __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":502
|
|
* 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 = 502; __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 = 502; __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 = 502; __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 = 502; __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":503
|
|
* 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 = 503; __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 = 503; __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 = 502; __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":502
|
|
* 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 = 502; __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":506
|
|
* 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":507
|
|
* 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":508
|
|
* 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":511
|
|
*
|
|
* 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":512
|
|
* 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 = 512; __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":514
|
|
* return self.thisptr.getCodeOrder()
|
|
* property name:
|
|
* def __get__(self): # <<<<<<<<<<<<<<
|
|
* return None
|
|
* property params:
|
|
*/
|
|
|
|
static PyObject *__pyx_pf_6schema_27_InterfaceNode_MethodReader_4name___get__(CYTHON_UNUSED struct __pyx_obj_6schema__InterfaceNode_MethodReader *__pyx_v_self) {
|
|
PyObject *__pyx_r = NULL;
|
|
__Pyx_RefNannyDeclarations
|
|
__Pyx_RefNannySetupContext("__get__", 0);
|
|
|
|
/* "schema.pyx":515
|
|
* property name:
|
|
* def __get__(self):
|
|
* return None # <<<<<<<<<<<<<<
|
|
* property params:
|
|
* 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_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":517
|
|
* return None
|
|
* 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":518
|
|
* 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 = 518; __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 = 518; __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":520
|
|
* 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":521
|
|
* 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 = 521; __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":523
|
|
* return self.thisptr.getRequiredParamCount()
|
|
* property returnType:
|
|
* def __get__(self): # <<<<<<<<<<<<<<
|
|
* return _TypeReader().init(<C_Type.Reader>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":524
|
|
* property returnType:
|
|
* def __get__(self):
|
|
* return _TypeReader().init(<C_Type.Reader>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 = 524; __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 = 524; __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":526
|
|
* return _TypeReader().init(<C_Type.Reader>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":527
|
|
* 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 = 527; __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 = 527; __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":531
|
|
* 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":532
|
|
* 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":533
|
|
* 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":536
|
|
*
|
|
* 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":537
|
|
* 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 = 537; __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":538
|
|
* 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":539
|
|
* 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 = 539; __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":541
|
|
* self.thisptr.setCodeOrder(val)
|
|
* property name:
|
|
* def __get__(self): # <<<<<<<<<<<<<<
|
|
* return None
|
|
* def __set__(self, val):
|
|
*/
|
|
|
|
static PyObject *__pyx_pf_6schema_28_InterfaceNode_MethodBuilder_4name___get__(CYTHON_UNUSED struct __pyx_obj_6schema__InterfaceNode_MethodBuilder *__pyx_v_self) {
|
|
PyObject *__pyx_r = NULL;
|
|
__Pyx_RefNannyDeclarations
|
|
__Pyx_RefNannySetupContext("__get__", 0);
|
|
|
|
/* "schema.pyx":542
|
|
* property name:
|
|
* 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_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":543
|
|
* def __get__(self):
|
|
* return None
|
|
* 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":546
|
|
* 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":547
|
|
* 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 = 547; __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 = 547; __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":548
|
|
* 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 = 548; __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 = 548; __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 = 548; __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 = 548; __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":549
|
|
* 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 = 549; __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 = 549; __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 = 548; __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":548
|
|
* 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 = 548; __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":551
|
|
* 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":552
|
|
* 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 = 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.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":553
|
|
* 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":554
|
|
* 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 = 554; __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":556
|
|
* self.thisptr.setRequiredParamCount(val)
|
|
* property returnType:
|
|
* def __get__(self): # <<<<<<<<<<<<<<
|
|
* return _TypeBuilder().init(<C_Type.Builder>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":557
|
|
* property returnType:
|
|
* def __get__(self):
|
|
* return _TypeBuilder().init(<C_Type.Builder>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 = 557; __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 = 557; __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":558
|
|
* def __get__(self):
|
|
* return _TypeBuilder().init(<C_Type.Builder>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":561
|
|
* 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":562
|
|
* 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 = 562; __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 = 562; __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":563
|
|
* 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 = 563; __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 = 563; __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 = 563; __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 = 563; __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":564
|
|
* 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 = 564; __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 = 564; __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 = 563; __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":563
|
|
* 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 = 563; __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":567
|
|
* 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":568
|
|
* 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":569
|
|
* 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":572
|
|
*
|
|
* 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":573
|
|
* 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 = 573; __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 = 573; __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":577
|
|
* 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":578
|
|
* 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":579
|
|
* 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":582
|
|
*
|
|
* 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":583
|
|
* 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 = 583; __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 = 583; __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":584
|
|
* 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 = 584; __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 = 584; __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 = 584; __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 = 584; __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":585
|
|
* 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 = 585; __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 = 585; __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 = 584; __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":584
|
|
* 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 = 584; __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":591
|
|
* 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":592
|
|
* 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":593
|
|
* 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":595
|
|
* 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 = 595; __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 = 595; __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 = 595; __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":596
|
|
*
|
|
* 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":595
|
|
* 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 = 595; __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":598
|
|
* 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":599
|
|
* 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 = 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.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":601
|
|
* 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":602
|
|
* 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 = 602; __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":604
|
|
* 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":605
|
|
* 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":607
|
|
* return None
|
|
* property dataValue:
|
|
* def __get__(self): # <<<<<<<<<<<<<<
|
|
* return None
|
|
* property listValue:
|
|
*/
|
|
|
|
static PyObject *__pyx_pf_6schema_17_Value_BodyReader_9dataValue___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Value_BodyReader *__pyx_v_self) {
|
|
PyObject *__pyx_r = NULL;
|
|
__Pyx_RefNannyDeclarations
|
|
__Pyx_RefNannySetupContext("__get__", 0);
|
|
|
|
/* "schema.pyx":608
|
|
* property dataValue:
|
|
* def __get__(self):
|
|
* return None # <<<<<<<<<<<<<<
|
|
* property listValue:
|
|
* 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_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":610
|
|
* return None
|
|
* 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":611
|
|
* 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":613
|
|
* 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":614
|
|
* 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 = 614; __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":616
|
|
* 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":617
|
|
* 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 = 617; __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":619
|
|
* 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":620
|
|
* 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 = 620; __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":622
|
|
* 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":623
|
|
* 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 = 623; __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":625
|
|
* 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":626
|
|
* 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 = 626; __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":628
|
|
* 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":629
|
|
* 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 = 629; __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":631
|
|
* 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":632
|
|
* 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":634
|
|
* 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":635
|
|
* 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 = 635; __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":637
|
|
* 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":638
|
|
* 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 = 638; __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":640
|
|
* 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":641
|
|
* 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 = 641; __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":643
|
|
* 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":644
|
|
* 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":646
|
|
* return None
|
|
* property textValue:
|
|
* def __get__(self): # <<<<<<<<<<<<<<
|
|
* return None
|
|
* property uint64Value:
|
|
*/
|
|
|
|
static PyObject *__pyx_pf_6schema_17_Value_BodyReader_9textValue___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Value_BodyReader *__pyx_v_self) {
|
|
PyObject *__pyx_r = NULL;
|
|
__Pyx_RefNannyDeclarations
|
|
__Pyx_RefNannySetupContext("__get__", 0);
|
|
|
|
/* "schema.pyx":647
|
|
* property textValue:
|
|
* def __get__(self):
|
|
* return None # <<<<<<<<<<<<<<
|
|
* property uint64Value:
|
|
* 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_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":649
|
|
* return None
|
|
* 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":650
|
|
* 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 = 650; __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":652
|
|
* 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":653
|
|
* 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":657
|
|
* 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":658
|
|
* 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":659
|
|
* 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":661
|
|
* 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 = 661; __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 = 661; __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 = 661; __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":662
|
|
*
|
|
* 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":661
|
|
* 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 = 661; __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":664
|
|
* 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":665
|
|
* 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 = 665; __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":666
|
|
* 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":667
|
|
* 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 = 667; __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":669
|
|
* 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":670
|
|
* 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 = 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.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":671
|
|
* 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":672
|
|
* 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 = 672; __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":674
|
|
* 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":675
|
|
* 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":676
|
|
* 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":679
|
|
* pass
|
|
* property dataValue:
|
|
* def __get__(self): # <<<<<<<<<<<<<<
|
|
* return None
|
|
* def __set__(self, val):
|
|
*/
|
|
|
|
static PyObject *__pyx_pf_6schema_18_Value_BodyBuilder_9dataValue___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 dataValue:
|
|
* 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_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":681
|
|
* def __get__(self):
|
|
* return None
|
|
* 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":684
|
|
* 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":685
|
|
* 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":686
|
|
* 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":689
|
|
* 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":690
|
|
* 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 = 690; __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":691
|
|
* 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":692
|
|
* 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 = 692; __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":694
|
|
* 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":695
|
|
* 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 = 695; __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":696
|
|
* 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":697
|
|
* 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 = 697; __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":699
|
|
* 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":700
|
|
* 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 = 700; __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":701
|
|
* 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":702
|
|
* 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 = 702; __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":704
|
|
* 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":705
|
|
* 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 = 705; __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":706
|
|
* 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":707
|
|
* 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 = 707; __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":709
|
|
* 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":710
|
|
* 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 = 710; __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":711
|
|
* 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":712
|
|
* 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 = 712; __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":714
|
|
* 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":715
|
|
* 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 = 715; __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":716
|
|
* 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":717
|
|
* 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 = 717; __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":719
|
|
* 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":720
|
|
* 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":721
|
|
* 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":724
|
|
* 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":725
|
|
* 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 = 725; __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":726
|
|
* 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":727
|
|
* 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 = 727; __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":729
|
|
* 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":730
|
|
* 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 = 730; __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":731
|
|
* 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":732
|
|
* 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 = 732; __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":734
|
|
* 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":735
|
|
* 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 = 735; __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":736
|
|
* 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":737
|
|
* 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 = 737; __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":739
|
|
* 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":740
|
|
* 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":741
|
|
* 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":744
|
|
* pass
|
|
* property textValue:
|
|
* def __get__(self): # <<<<<<<<<<<<<<
|
|
* return None
|
|
* def __set__(self, val):
|
|
*/
|
|
|
|
static PyObject *__pyx_pf_6schema_18_Value_BodyBuilder_9textValue___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Value_BodyBuilder *__pyx_v_self) {
|
|
PyObject *__pyx_r = NULL;
|
|
__Pyx_RefNannyDeclarations
|
|
__Pyx_RefNannySetupContext("__get__", 0);
|
|
|
|
/* "schema.pyx":745
|
|
* property textValue:
|
|
* 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_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":746
|
|
* def __get__(self):
|
|
* return None
|
|
* 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":749
|
|
* 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":750
|
|
* 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 = 750; __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":751
|
|
* 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":752
|
|
* 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 = 752; __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":754
|
|
* 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":755
|
|
* 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":756
|
|
* 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":760
|
|
* 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":761
|
|
* 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":762
|
|
* 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":765
|
|
*
|
|
* property body:
|
|
* def __get__(self): # <<<<<<<<<<<<<<
|
|
* return _Value_BodyReader().init(<C_Value.Body.Reader>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":766
|
|
* property body:
|
|
* def __get__(self):
|
|
* return _Value_BodyReader().init(<C_Value.Body.Reader>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 = 766; __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 = 766; __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":770
|
|
* 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":771
|
|
* 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":772
|
|
* 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":775
|
|
*
|
|
* property body:
|
|
* def __get__(self): # <<<<<<<<<<<<<<
|
|
* return _Value_BodyBuilder().init(<C_Value.Body.Builder>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":776
|
|
* property body:
|
|
* def __get__(self):
|
|
* return _Value_BodyBuilder().init(<C_Value.Body.Builder>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 = 776; __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 = 776; __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":777
|
|
* def __get__(self):
|
|
* return _Value_BodyBuilder().init(<C_Value.Body.Builder>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":782
|
|
* 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":783
|
|
* 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":784
|
|
* 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":787
|
|
*
|
|
* property type:
|
|
* def __get__(self): # <<<<<<<<<<<<<<
|
|
* return _TypeReader().init(<C_Type.Reader>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":788
|
|
* property type:
|
|
* def __get__(self):
|
|
* return _TypeReader().init(<C_Type.Reader>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 = 788; __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 = 788; __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":790
|
|
* return _TypeReader().init(<C_Type.Reader>self.thisptr.getType())
|
|
* property value:
|
|
* def __get__(self): # <<<<<<<<<<<<<<
|
|
* return _ValueReader().init(<C_Value.Reader>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":791
|
|
* property value:
|
|
* def __get__(self):
|
|
* return _ValueReader().init(<C_Value.Reader>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 = 791; __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 = 791; __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":795
|
|
* 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":796
|
|
* 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":797
|
|
* 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":800
|
|
*
|
|
* property type:
|
|
* def __get__(self): # <<<<<<<<<<<<<<
|
|
* return _TypeBuilder().init(<C_Type.Builder>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":801
|
|
* property type:
|
|
* def __get__(self):
|
|
* return _TypeBuilder().init(<C_Type.Builder>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 = 801; __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 = 801; __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":802
|
|
* def __get__(self):
|
|
* return _TypeBuilder().init(<C_Type.Builder>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":805
|
|
* pass
|
|
* property value:
|
|
* def __get__(self): # <<<<<<<<<<<<<<
|
|
* return _ValueBuilder().init(<C_Value.Builder>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":806
|
|
* property value:
|
|
* def __get__(self):
|
|
* return _ValueBuilder().init(<C_Value.Builder>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 = 806; __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 = 806; __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":807
|
|
* def __get__(self):
|
|
* return _ValueBuilder().init(<C_Value.Builder>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":814
|
|
* 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":815
|
|
* 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":816
|
|
* 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":818
|
|
* 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 = 818; __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 = 818; __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 = 818; __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":819
|
|
*
|
|
* 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":818
|
|
* 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 = 818; __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":821
|
|
* 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":822
|
|
* 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":824
|
|
* 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":825
|
|
* 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 = 825; __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":827
|
|
* 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":828
|
|
* 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":830
|
|
* 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":831
|
|
* 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":833
|
|
* 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":834
|
|
* 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":836
|
|
* 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":837
|
|
* 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":839
|
|
* 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":840
|
|
* 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":842
|
|
* 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":843
|
|
* 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":845
|
|
* 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":846
|
|
* 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":848
|
|
* 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":849
|
|
* 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 = 849; __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":851
|
|
* 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":852
|
|
* 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":854
|
|
* 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":855
|
|
* 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":857
|
|
* return None
|
|
* property listType:
|
|
* def __get__(self): # <<<<<<<<<<<<<<
|
|
* return _TypeReader().init(<C_Type.Reader>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":858
|
|
* property listType:
|
|
* def __get__(self):
|
|
* return _TypeReader().init(<C_Type.Reader>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 = 858; __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 = 858; __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":860
|
|
* return _TypeReader().init(<C_Type.Reader>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":861
|
|
* 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":863
|
|
* 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":864
|
|
* 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":866
|
|
* 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":867
|
|
* 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 = 867; __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":869
|
|
* 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":870
|
|
* 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":872
|
|
* 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":873
|
|
* 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":875
|
|
* 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":876
|
|
* 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":880
|
|
* 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":881
|
|
* 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":882
|
|
* 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":884
|
|
* 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 = 884; __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 = 884; __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 = 884; __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":885
|
|
*
|
|
* 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":884
|
|
* 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 = 884; __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":887
|
|
* 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":888
|
|
* 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":889
|
|
* 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":892
|
|
* 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":893
|
|
* 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 = 893; __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":894
|
|
* 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":895
|
|
* 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 = 895; __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":897
|
|
* 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":898
|
|
* 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":899
|
|
* 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":902
|
|
* 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":903
|
|
* 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":904
|
|
* 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":907
|
|
* 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":908
|
|
* 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":909
|
|
* 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":912
|
|
* 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":913
|
|
* 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":914
|
|
* 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":917
|
|
* 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":918
|
|
* 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":919
|
|
* 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":922
|
|
* 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":923
|
|
* 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":924
|
|
* 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":927
|
|
* 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":928
|
|
* 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":929
|
|
* 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":932
|
|
* 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":933
|
|
* 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 = 933; __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":934
|
|
* 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":935
|
|
* 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 = 935; __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":937
|
|
* 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":938
|
|
* 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":939
|
|
* 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":942
|
|
* 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":943
|
|
* 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":944
|
|
* 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":947
|
|
* pass
|
|
* property listType:
|
|
* def __get__(self): # <<<<<<<<<<<<<<
|
|
* return _TypeBuilder().init(<C_Type.Builder>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":948
|
|
* property listType:
|
|
* def __get__(self):
|
|
* return _TypeBuilder().init(<C_Type.Builder>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 = 948; __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 = 948; __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":949
|
|
* def __get__(self):
|
|
* return _TypeBuilder().init(<C_Type.Builder>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":952
|
|
* 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":953
|
|
* 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":954
|
|
* 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":957
|
|
* 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":958
|
|
* 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":959
|
|
* 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":962
|
|
* 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":963
|
|
* 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 = 963; __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":964
|
|
* 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":965
|
|
* 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 = 965; __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":967
|
|
* 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":968
|
|
* 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":969
|
|
* 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":972
|
|
* 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":973
|
|
* 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":974
|
|
* 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":977
|
|
* 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":978
|
|
* 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":979
|
|
* 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":983
|
|
* 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":984
|
|
* 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":985
|
|
* 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":988
|
|
*
|
|
* property body:
|
|
* def __get__(self): # <<<<<<<<<<<<<<
|
|
* return _Type_BodyReader().init(<C_Type.Body.Reader>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":989
|
|
* property body:
|
|
* def __get__(self):
|
|
* return _Type_BodyReader().init(<C_Type.Body.Reader>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 = 989; __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 = 989; __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":993
|
|
* 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":994
|
|
* 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":995
|
|
* 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":998
|
|
*
|
|
* property body:
|
|
* def __get__(self): # <<<<<<<<<<<<<<
|
|
* return _Type_BodyBuilder().init(<C_Type.Body.Builder>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":999
|
|
* property body:
|
|
* def __get__(self):
|
|
* return _Type_BodyBuilder().init(<C_Type.Body.Builder>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 = 999; __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 = 999; __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":1000
|
|
* def __get__(self):
|
|
* return _Type_BodyBuilder().init(<C_Type.Body.Builder>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":1006
|
|
* 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":1007
|
|
* 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":1008
|
|
* 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":1011
|
|
*
|
|
* 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":1012
|
|
* 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 = 1012; __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":1014
|
|
* return self.thisptr.getId()
|
|
* property name:
|
|
* def __get__(self): # <<<<<<<<<<<<<<
|
|
* return None
|
|
*
|
|
*/
|
|
|
|
static PyObject *__pyx_pf_6schema_22_FileNode_ImportReader_4name___get__(CYTHON_UNUSED struct __pyx_obj_6schema__FileNode_ImportReader *__pyx_v_self) {
|
|
PyObject *__pyx_r = NULL;
|
|
__Pyx_RefNannyDeclarations
|
|
__Pyx_RefNannySetupContext("__get__", 0);
|
|
|
|
/* "schema.pyx":1015
|
|
* property name:
|
|
* def __get__(self):
|
|
* return None # <<<<<<<<<<<<<<
|
|
*
|
|
* cdef class _FileNode_ImportBuilder:
|
|
*/
|
|
__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":1019
|
|
* 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":1020
|
|
* 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":1021
|
|
* 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":1024
|
|
*
|
|
* 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":1025
|
|
* 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 = 1025; __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":1026
|
|
* 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":1027
|
|
* 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 = 1027; __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":1029
|
|
* self.thisptr.setId(val)
|
|
* property name:
|
|
* def __get__(self): # <<<<<<<<<<<<<<
|
|
* return None
|
|
* def __set__(self, val):
|
|
*/
|
|
|
|
static PyObject *__pyx_pf_6schema_23_FileNode_ImportBuilder_4name___get__(CYTHON_UNUSED struct __pyx_obj_6schema__FileNode_ImportBuilder *__pyx_v_self) {
|
|
PyObject *__pyx_r = NULL;
|
|
__Pyx_RefNannyDeclarations
|
|
__Pyx_RefNannySetupContext("__get__", 0);
|
|
|
|
/* "schema.pyx":1030
|
|
* property name:
|
|
* 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_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":1031
|
|
* def __get__(self):
|
|
* return None
|
|
* 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":1035
|
|
* 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":1036
|
|
* 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":1037
|
|
* 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":1040
|
|
*
|
|
* 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":1041
|
|
* 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 = 1041; __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 = 1041; __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":1045
|
|
* 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":1046
|
|
* 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":1047
|
|
* 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":1050
|
|
*
|
|
* 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":1051
|
|
* 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 = 1051; __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 = 1051; __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":1052
|
|
* 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 = 1052; __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 = 1052; __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 = 1052; __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 = 1052; __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":1053
|
|
* 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 = 1053; __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 = 1053; __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 = 1052; __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":1052
|
|
* 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 = 1052; __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":1059
|
|
* 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":1060
|
|
* 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":1061
|
|
* 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":1063
|
|
* 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 = 1063; __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 = 1063; __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 = 1063; __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":1064
|
|
*
|
|
* 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":1063
|
|
* 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 = 1063; __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":1066
|
|
* return self.thisptr.which()
|
|
* property annotationNode:
|
|
* def __get__(self): # <<<<<<<<<<<<<<
|
|
* return _AnnotationNodeReader().init(<C_AnnotationNode.Reader>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":1067
|
|
* property annotationNode:
|
|
* def __get__(self):
|
|
* return _AnnotationNodeReader().init(<C_AnnotationNode.Reader>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 = 1067; __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 = 1067; __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":1069
|
|
* return _AnnotationNodeReader().init(<C_AnnotationNode.Reader>self.thisptr.getAnnotationNode())
|
|
* property interfaceNode:
|
|
* def __get__(self): # <<<<<<<<<<<<<<
|
|
* return _InterfaceNodeReader().init(<C_InterfaceNode.Reader>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":1070
|
|
* property interfaceNode:
|
|
* def __get__(self):
|
|
* return _InterfaceNodeReader().init(<C_InterfaceNode.Reader>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 = 1070; __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 = 1070; __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":1072
|
|
* return _InterfaceNodeReader().init(<C_InterfaceNode.Reader>self.thisptr.getInterfaceNode())
|
|
* property enumNode:
|
|
* def __get__(self): # <<<<<<<<<<<<<<
|
|
* return _EnumNodeReader().init(<C_EnumNode.Reader>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":1073
|
|
* property enumNode:
|
|
* def __get__(self):
|
|
* return _EnumNodeReader().init(<C_EnumNode.Reader>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 = 1073; __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 = 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.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":1075
|
|
* return _EnumNodeReader().init(<C_EnumNode.Reader>self.thisptr.getEnumNode())
|
|
* property structNode:
|
|
* def __get__(self): # <<<<<<<<<<<<<<
|
|
* return _StructNodeReader().init(<C_StructNode.Reader>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":1076
|
|
* property structNode:
|
|
* def __get__(self):
|
|
* return _StructNodeReader().init(<C_StructNode.Reader>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 = 1076; __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 = 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.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":1078
|
|
* return _StructNodeReader().init(<C_StructNode.Reader>self.thisptr.getStructNode())
|
|
* property constNode:
|
|
* def __get__(self): # <<<<<<<<<<<<<<
|
|
* return _ConstNodeReader().init(<C_ConstNode.Reader>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":1079
|
|
* property constNode:
|
|
* def __get__(self):
|
|
* return _ConstNodeReader().init(<C_ConstNode.Reader>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 = 1079; __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 = 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.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":1081
|
|
* return _ConstNodeReader().init(<C_ConstNode.Reader>self.thisptr.getConstNode())
|
|
* property fileNode:
|
|
* def __get__(self): # <<<<<<<<<<<<<<
|
|
* return _FileNodeReader().init(<C_FileNode.Reader>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":1082
|
|
* property fileNode:
|
|
* def __get__(self):
|
|
* return _FileNodeReader().init(<C_FileNode.Reader>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 = 1082; __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 = 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.fileNode.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
__pyx_r = NULL;
|
|
__pyx_L0:;
|
|
__Pyx_XGIVEREF(__pyx_r);
|
|
__Pyx_RefNannyFinishContext();
|
|
return __pyx_r;
|
|
}
|
|
|
|
/* "schema.pyx":1086
|
|
* 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":1087
|
|
* 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":1088
|
|
* 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":1090
|
|
* 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 = 1090; __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 = 1090; __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 = 1090; __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":1091
|
|
*
|
|
* 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":1090
|
|
* 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 = 1090; __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":1093
|
|
* return self.thisptr.which()
|
|
* property annotationNode:
|
|
* def __get__(self): # <<<<<<<<<<<<<<
|
|
* return _AnnotationNodeBuilder().init(<C_AnnotationNode.Builder>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":1094
|
|
* property annotationNode:
|
|
* def __get__(self):
|
|
* return _AnnotationNodeBuilder().init(<C_AnnotationNode.Builder>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 = 1094; __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 = 1094; __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":1095
|
|
* def __get__(self):
|
|
* return _AnnotationNodeBuilder().init(<C_AnnotationNode.Builder>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":1098
|
|
* pass
|
|
* property interfaceNode:
|
|
* def __get__(self): # <<<<<<<<<<<<<<
|
|
* return _InterfaceNodeBuilder().init(<C_InterfaceNode.Builder>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":1099
|
|
* property interfaceNode:
|
|
* def __get__(self):
|
|
* return _InterfaceNodeBuilder().init(<C_InterfaceNode.Builder>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 = 1099; __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 = 1099; __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":1100
|
|
* def __get__(self):
|
|
* return _InterfaceNodeBuilder().init(<C_InterfaceNode.Builder>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":1103
|
|
* pass
|
|
* property enumNode:
|
|
* def __get__(self): # <<<<<<<<<<<<<<
|
|
* return _EnumNodeBuilder().init(<C_EnumNode.Builder>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":1104
|
|
* property enumNode:
|
|
* def __get__(self):
|
|
* return _EnumNodeBuilder().init(<C_EnumNode.Builder>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 = 1104; __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 = 1104; __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":1105
|
|
* def __get__(self):
|
|
* return _EnumNodeBuilder().init(<C_EnumNode.Builder>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":1108
|
|
* pass
|
|
* property structNode:
|
|
* def __get__(self): # <<<<<<<<<<<<<<
|
|
* return _StructNodeBuilder().init(<C_StructNode.Builder>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":1109
|
|
* property structNode:
|
|
* def __get__(self):
|
|
* return _StructNodeBuilder().init(<C_StructNode.Builder>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 = 1109; __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 = 1109; __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":1110
|
|
* def __get__(self):
|
|
* return _StructNodeBuilder().init(<C_StructNode.Builder>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":1113
|
|
* pass
|
|
* property constNode:
|
|
* def __get__(self): # <<<<<<<<<<<<<<
|
|
* return _ConstNodeBuilder().init(<C_ConstNode.Builder>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":1114
|
|
* property constNode:
|
|
* def __get__(self):
|
|
* return _ConstNodeBuilder().init(<C_ConstNode.Builder>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 = 1114; __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 = 1114; __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":1115
|
|
* def __get__(self):
|
|
* return _ConstNodeBuilder().init(<C_ConstNode.Builder>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":1118
|
|
* pass
|
|
* property fileNode:
|
|
* def __get__(self): # <<<<<<<<<<<<<<
|
|
* return _FileNodeBuilder().init(<C_FileNode.Builder>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":1119
|
|
* property fileNode:
|
|
* def __get__(self):
|
|
* return _FileNodeBuilder().init(<C_FileNode.Builder>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 = 1119; __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 = 1119; __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":1120
|
|
* def __get__(self):
|
|
* return _FileNodeBuilder().init(<C_FileNode.Builder>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":1125
|
|
* 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":1126
|
|
* 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":1127
|
|
* 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":1130
|
|
*
|
|
* property name:
|
|
* def __get__(self): # <<<<<<<<<<<<<<
|
|
* return None
|
|
* property id:
|
|
*/
|
|
|
|
static PyObject *__pyx_pf_6schema_22_Node_NestedNodeReader_4name___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Node_NestedNodeReader *__pyx_v_self) {
|
|
PyObject *__pyx_r = NULL;
|
|
__Pyx_RefNannyDeclarations
|
|
__Pyx_RefNannySetupContext("__get__", 0);
|
|
|
|
/* "schema.pyx":1131
|
|
* property name:
|
|
* def __get__(self):
|
|
* return None # <<<<<<<<<<<<<<
|
|
* property id:
|
|
* 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_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":1133
|
|
* return None
|
|
* 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":1134
|
|
* 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 = 1134; __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":1138
|
|
* 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":1139
|
|
* 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":1140
|
|
* 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":1143
|
|
*
|
|
* property name:
|
|
* def __get__(self): # <<<<<<<<<<<<<<
|
|
* return None
|
|
* def __set__(self, val):
|
|
*/
|
|
|
|
static PyObject *__pyx_pf_6schema_23_Node_NestedNodeBuilder_4name___get__(CYTHON_UNUSED struct __pyx_obj_6schema__Node_NestedNodeBuilder *__pyx_v_self) {
|
|
PyObject *__pyx_r = NULL;
|
|
__Pyx_RefNannyDeclarations
|
|
__Pyx_RefNannySetupContext("__get__", 0);
|
|
|
|
/* "schema.pyx":1144
|
|
* property name:
|
|
* 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_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":1145
|
|
* def __get__(self):
|
|
* return None
|
|
* 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":1148
|
|
* 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":1149
|
|
* 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 = 1149; __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":1150
|
|
* 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":1151
|
|
* 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 = 1151; __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":1154
|
|
* 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":1155
|
|
* 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":1156
|
|
* 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":1159
|
|
*
|
|
* property body:
|
|
* def __get__(self): # <<<<<<<<<<<<<<
|
|
* return _Node_BodyReader().init(<C_Node.Body.Reader>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":1160
|
|
* property body:
|
|
* def __get__(self):
|
|
* return _Node_BodyReader().init(<C_Node.Body.Reader>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 = 1160; __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 = 1160; __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":1162
|
|
* return _Node_BodyReader().init(<C_Node.Body.Reader>self.thisptr.getBody())
|
|
* property displayName:
|
|
* def __get__(self): # <<<<<<<<<<<<<<
|
|
* return None
|
|
* property annotations:
|
|
*/
|
|
|
|
static PyObject *__pyx_pf_6schema_11_NodeReader_11displayName___get__(CYTHON_UNUSED struct __pyx_obj_6schema__NodeReader *__pyx_v_self) {
|
|
PyObject *__pyx_r = NULL;
|
|
__Pyx_RefNannyDeclarations
|
|
__Pyx_RefNannySetupContext("__get__", 0);
|
|
|
|
/* "schema.pyx":1163
|
|
* property displayName:
|
|
* def __get__(self):
|
|
* return None # <<<<<<<<<<<<<<
|
|
* property annotations:
|
|
* 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_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":1165
|
|
* return None
|
|
* 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":1166
|
|
* 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 = 1166; __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 = 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.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":1168
|
|
* 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":1169
|
|
* 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 = 1169; __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":1171
|
|
* 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":1172
|
|
* 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 = 1172; __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 = 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.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":1174
|
|
* 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":1175
|
|
* 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 = 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.id.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
__pyx_r = NULL;
|
|
__pyx_L0:;
|
|
__Pyx_XGIVEREF(__pyx_r);
|
|
__Pyx_RefNannyFinishContext();
|
|
return __pyx_r;
|
|
}
|
|
|
|
/* "schema.pyx":1179
|
|
* 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":1180
|
|
* 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":1181
|
|
* 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":1184
|
|
*
|
|
* property body:
|
|
* def __get__(self): # <<<<<<<<<<<<<<
|
|
* return _Node_BodyBuilder().init(<C_Node.Body.Builder>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":1185
|
|
* property body:
|
|
* def __get__(self):
|
|
* return _Node_BodyBuilder().init(<C_Node.Body.Builder>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 = 1185; __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 = 1185; __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":1186
|
|
* def __get__(self):
|
|
* return _Node_BodyBuilder().init(<C_Node.Body.Builder>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":1189
|
|
* pass
|
|
* property displayName:
|
|
* def __get__(self): # <<<<<<<<<<<<<<
|
|
* return None
|
|
* def __set__(self, val):
|
|
*/
|
|
|
|
static PyObject *__pyx_pf_6schema_12_NodeBuilder_11displayName___get__(CYTHON_UNUSED struct __pyx_obj_6schema__NodeBuilder *__pyx_v_self) {
|
|
PyObject *__pyx_r = NULL;
|
|
__Pyx_RefNannyDeclarations
|
|
__Pyx_RefNannySetupContext("__get__", 0);
|
|
|
|
/* "schema.pyx":1190
|
|
* property displayName:
|
|
* 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_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":1191
|
|
* def __get__(self):
|
|
* return None
|
|
* 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":1194
|
|
* 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":1195
|
|
* 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 = 1195; __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 = 1195; __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":1196
|
|
* 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 = 1196; __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 = 1196; __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 = 1196; __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 = 1196; __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":1197
|
|
* 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 = 1197; __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 = 1197; __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 = 1196; __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":1196
|
|
* 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 = 1196; __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":1199
|
|
* 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":1200
|
|
* 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 = 1200; __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":1201
|
|
* 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":1202
|
|
* 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 = 1202; __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":1204
|
|
* 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":1205
|
|
* 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 = 1205; __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 = 1205; __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":1206
|
|
* 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 = 1206; __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 = 1206; __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 = 1206; __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 = 1206; __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":1207
|
|
* 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 = 1207; __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 = 1207; __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 = 1206; __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":1206
|
|
* 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 = 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.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":1209
|
|
* 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":1210
|
|
* 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 = 1210; __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":1211
|
|
* 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":1212
|
|
* 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 = 1212; __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":1216
|
|
* 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":1217
|
|
* 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":1218
|
|
* 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":1221
|
|
*
|
|
* 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":1222
|
|
* 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 = 1222; __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":1224
|
|
* 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":1225
|
|
* 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 = 1225; __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":1227
|
|
* 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":1228
|
|
* 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 = 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.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":1230
|
|
* 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":1231
|
|
* 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 = 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.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":1233
|
|
* 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":1234
|
|
* 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 = 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.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":1236
|
|
* 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":1237
|
|
* 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 = 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.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":1239
|
|
* 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":1240
|
|
* 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 = 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.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":1242
|
|
* 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":1243
|
|
* 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 = 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.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":1245
|
|
* return self.thisptr.getTargetsEnumerant()
|
|
* property type:
|
|
* def __get__(self): # <<<<<<<<<<<<<<
|
|
* return _TypeReader().init(<C_Type.Reader>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":1246
|
|
* property type:
|
|
* def __get__(self):
|
|
* return _TypeReader().init(<C_Type.Reader>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 = 1246; __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 = 1246; __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":1248
|
|
* return _TypeReader().init(<C_Type.Reader>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":1249
|
|
* 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 = 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.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":1251
|
|
* 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":1252
|
|
* 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 = 1252; __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":1254
|
|
* 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":1255
|
|
* 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 = 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.targetsMethod.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
__pyx_r = NULL;
|
|
__pyx_L0:;
|
|
__Pyx_XGIVEREF(__pyx_r);
|
|
__Pyx_RefNannyFinishContext();
|
|
return __pyx_r;
|
|
}
|
|
|
|
/* "schema.pyx":1259
|
|
* 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":1260
|
|
* 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":1261
|
|
* 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":1264
|
|
*
|
|
* 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":1265
|
|
* 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 = 1265; __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":1266
|
|
* 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":1267
|
|
* 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 = 1267; __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":1269
|
|
* 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":1270
|
|
* 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 = 1270; __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":1271
|
|
* 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":1272
|
|
* 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 = 1272; __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":1274
|
|
* 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":1275
|
|
* 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 = 1275; __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":1276
|
|
* 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":1277
|
|
* 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 = 1277; __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":1279
|
|
* 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":1280
|
|
* 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 = 1280; __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":1281
|
|
* 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":1282
|
|
* 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 = 1282; __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":1284
|
|
* 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":1285
|
|
* 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 = 1285; __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":1286
|
|
* 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":1287
|
|
* 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 = 1287; __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":1289
|
|
* 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":1290
|
|
* 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 = 1290; __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":1291
|
|
* 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":1292
|
|
* 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 = 1292; __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":1294
|
|
* 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":1295
|
|
* 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 = 1295; __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":1296
|
|
* 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":1297
|
|
* 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 = 1297; __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":1299
|
|
* 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":1300
|
|
* 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 = 1300; __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":1301
|
|
* 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":1302
|
|
* 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 = 1302; __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":1304
|
|
* self.thisptr.setTargetsEnumerant(val)
|
|
* property type:
|
|
* def __get__(self): # <<<<<<<<<<<<<<
|
|
* return _TypeBuilder().init(<C_Type.Builder>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":1305
|
|
* property type:
|
|
* def __get__(self):
|
|
* return _TypeBuilder().init(<C_Type.Builder>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 = 1305; __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 = 1305; __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":1306
|
|
* def __get__(self):
|
|
* return _TypeBuilder().init(<C_Type.Builder>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":1309
|
|
* 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":1310
|
|
* 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 = 1310; __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":1311
|
|
* 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":1312
|
|
* 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 = 1312; __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":1314
|
|
* 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":1315
|
|
* 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 = 1315; __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":1316
|
|
* 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":1317
|
|
* 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 = 1317; __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":1319
|
|
* 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":1320
|
|
* 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 = 1320; __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":1321
|
|
* 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":1322
|
|
* 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 = 1322; __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":1327
|
|
* 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":1328
|
|
* 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":1329
|
|
* 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":1332
|
|
*
|
|
* 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":1333
|
|
* 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 = 1333; __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":1335
|
|
* return self.thisptr.getCodeOrder()
|
|
* property name:
|
|
* def __get__(self): # <<<<<<<<<<<<<<
|
|
* return None
|
|
* property annotations:
|
|
*/
|
|
|
|
static PyObject *__pyx_pf_6schema_25_EnumNode_EnumerantReader_4name___get__(CYTHON_UNUSED struct __pyx_obj_6schema__EnumNode_EnumerantReader *__pyx_v_self) {
|
|
PyObject *__pyx_r = NULL;
|
|
__Pyx_RefNannyDeclarations
|
|
__Pyx_RefNannySetupContext("__get__", 0);
|
|
|
|
/* "schema.pyx":1336
|
|
* property name:
|
|
* def __get__(self):
|
|
* return None # <<<<<<<<<<<<<<
|
|
* property annotations:
|
|
* 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_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":1338
|
|
* return None
|
|
* 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":1339
|
|
* 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 = 1339; __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 = 1339; __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":1343
|
|
* 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":1344
|
|
* 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":1345
|
|
* 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":1348
|
|
*
|
|
* 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":1349
|
|
* 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 = 1349; __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":1350
|
|
* 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":1351
|
|
* 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 = 1351; __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":1353
|
|
* self.thisptr.setCodeOrder(val)
|
|
* property name:
|
|
* def __get__(self): # <<<<<<<<<<<<<<
|
|
* return None
|
|
* def __set__(self, val):
|
|
*/
|
|
|
|
static PyObject *__pyx_pf_6schema_26_EnumNode_EnumerantBuilder_4name___get__(CYTHON_UNUSED struct __pyx_obj_6schema__EnumNode_EnumerantBuilder *__pyx_v_self) {
|
|
PyObject *__pyx_r = NULL;
|
|
__Pyx_RefNannyDeclarations
|
|
__Pyx_RefNannySetupContext("__get__", 0);
|
|
|
|
/* "schema.pyx":1354
|
|
* property name:
|
|
* 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_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":1355
|
|
* def __get__(self):
|
|
* return None
|
|
* 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":1358
|
|
* 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":1359
|
|
* 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 = 1359; __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 = 1359; __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":1360
|
|
* 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 = 1360; __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 = 1360; __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 = 1360; __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 = 1360; __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":1361
|
|
* 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 = 1361; __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 = 1361; __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 = 1360; __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":1360
|
|
* 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 = 1360; __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":1364
|
|
* 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":1365
|
|
* 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":1366
|
|
* 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":1369
|
|
*
|
|
* 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":1370
|
|
* 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 = 1370; __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 = 1370; __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":1374
|
|
* 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":1375
|
|
* 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":1376
|
|
* 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":1379
|
|
*
|
|
* 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":1380
|
|
* 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 = 1380; __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 = 1380; __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":1381
|
|
* 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 = 1381; __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 = 1381; __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 = 1381; __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 = 1381; __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":1382
|
|
* 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 = 1382; __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 = 1382; __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 = 1381; __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":1381
|
|
* 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 = 1381; __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":1387
|
|
* 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":1388
|
|
* 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":1389
|
|
* 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":1392
|
|
*
|
|
* 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":1393
|
|
* 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 = 1393; __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":1395
|
|
* 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":1396
|
|
* 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 = 1396; __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 = 1396; __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":1400
|
|
* 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":1401
|
|
* 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":1402
|
|
* 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":1405
|
|
*
|
|
* 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":1406
|
|
* 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 = 1406; __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":1407
|
|
* 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":1408
|
|
* 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 = 1408; __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":1410
|
|
* 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":1411
|
|
* 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 = 1411; __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 = 1411; __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":1412
|
|
* 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 = 1412; __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 = 1412; __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 = 1412; __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 = 1412; __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":1413
|
|
* 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 = 1413; __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 = 1413; __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 = 1412; __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":1412
|
|
* 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 = 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.initMembers", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
__pyx_r = NULL;
|
|
__pyx_L0:;
|
|
__Pyx_XGIVEREF(__pyx_r);
|
|
__Pyx_RefNannyFinishContext();
|
|
return __pyx_r;
|
|
}
|
|
|
|
/* "schema.pyx":1419
|
|
* 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":1420
|
|
* 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":1421
|
|
* 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":1423
|
|
* 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 = 1423; __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 = 1423; __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 = 1423; __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":1424
|
|
*
|
|
* 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":1423
|
|
* 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 = 1423; __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":1426
|
|
* return self.thisptr.which()
|
|
* property fieldMember:
|
|
* def __get__(self): # <<<<<<<<<<<<<<
|
|
* return _StructNode_FieldReader().init(<C_StructNode.Field.Reader>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":1427
|
|
* property fieldMember:
|
|
* def __get__(self):
|
|
* return _StructNode_FieldReader().init(<C_StructNode.Field.Reader>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 = 1427; __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 = 1427; __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":1429
|
|
* return _StructNode_FieldReader().init(<C_StructNode.Field.Reader>self.thisptr.getFieldMember())
|
|
* property unionMember:
|
|
* def __get__(self): # <<<<<<<<<<<<<<
|
|
* return _StructNode_UnionReader().init(<C_StructNode.Union.Reader>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":1430
|
|
* property unionMember:
|
|
* def __get__(self):
|
|
* return _StructNode_UnionReader().init(<C_StructNode.Union.Reader>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 = 1430; __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 = 1430; __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":1434
|
|
* 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":1435
|
|
* 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":1436
|
|
* 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":1438
|
|
* 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 = 1438; __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 = 1438; __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 = 1438; __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":1439
|
|
*
|
|
* 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":1438
|
|
* 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 = 1438; __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":1441
|
|
* return self.thisptr.which()
|
|
* property fieldMember:
|
|
* def __get__(self): # <<<<<<<<<<<<<<
|
|
* return _StructNode_FieldBuilder().init(<C_StructNode.Field.Builder>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":1442
|
|
* property fieldMember:
|
|
* def __get__(self):
|
|
* return _StructNode_FieldBuilder().init(<C_StructNode.Field.Builder>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 = 1442; __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 = 1442; __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":1443
|
|
* def __get__(self):
|
|
* return _StructNode_FieldBuilder().init(<C_StructNode.Field.Builder>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":1446
|
|
* pass
|
|
* property unionMember:
|
|
* def __get__(self): # <<<<<<<<<<<<<<
|
|
* return _StructNode_UnionBuilder().init(<C_StructNode.Union.Builder>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":1447
|
|
* property unionMember:
|
|
* def __get__(self):
|
|
* return _StructNode_UnionBuilder().init(<C_StructNode.Union.Builder>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 = 1447; __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 = 1447; __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":1448
|
|
* def __get__(self):
|
|
* return _StructNode_UnionBuilder().init(<C_StructNode.Union.Builder>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":1452
|
|
* 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":1453
|
|
* 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":1454
|
|
* 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":1457
|
|
*
|
|
* 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":1458
|
|
* 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 = 1458; __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":1460
|
|
* return self.thisptr.getOrdinal()
|
|
* property body:
|
|
* def __get__(self): # <<<<<<<<<<<<<<
|
|
* return _StructNode_Member_BodyReader().init(<C_StructNode.Member.Body.Reader>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":1461
|
|
* property body:
|
|
* def __get__(self):
|
|
* return _StructNode_Member_BodyReader().init(<C_StructNode.Member.Body.Reader>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 = 1461; __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 = 1461; __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":1463
|
|
* return _StructNode_Member_BodyReader().init(<C_StructNode.Member.Body.Reader>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":1464
|
|
* 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 = 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.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":1466
|
|
* return self.thisptr.getCodeOrder()
|
|
* property name:
|
|
* def __get__(self): # <<<<<<<<<<<<<<
|
|
* return None
|
|
* property annotations:
|
|
*/
|
|
|
|
static PyObject *__pyx_pf_6schema_24_StructNode_MemberReader_4name___get__(CYTHON_UNUSED struct __pyx_obj_6schema__StructNode_MemberReader *__pyx_v_self) {
|
|
PyObject *__pyx_r = NULL;
|
|
__Pyx_RefNannyDeclarations
|
|
__Pyx_RefNannySetupContext("__get__", 0);
|
|
|
|
/* "schema.pyx":1467
|
|
* property name:
|
|
* def __get__(self):
|
|
* return None # <<<<<<<<<<<<<<
|
|
* property annotations:
|
|
* 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_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":1469
|
|
* return None
|
|
* 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":1470
|
|
* 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 = 1470; __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 = 1470; __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":1474
|
|
* 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":1475
|
|
* 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":1476
|
|
* 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":1479
|
|
*
|
|
* 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":1480
|
|
* 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 = 1480; __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":1481
|
|
* 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":1482
|
|
* 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 = 1482; __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":1484
|
|
* self.thisptr.setOrdinal(val)
|
|
* property body:
|
|
* def __get__(self): # <<<<<<<<<<<<<<
|
|
* return _StructNode_Member_BodyBuilder().init(<C_StructNode.Member.Body.Builder>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":1485
|
|
* property body:
|
|
* def __get__(self):
|
|
* return _StructNode_Member_BodyBuilder().init(<C_StructNode.Member.Body.Builder>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 = 1485; __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 = 1485; __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":1486
|
|
* def __get__(self):
|
|
* return _StructNode_Member_BodyBuilder().init(<C_StructNode.Member.Body.Builder>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":1489
|
|
* 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":1490
|
|
* 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 = 1490; __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":1491
|
|
* 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":1492
|
|
* 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 = 1492; __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":1494
|
|
* self.thisptr.setCodeOrder(val)
|
|
* property name:
|
|
* def __get__(self): # <<<<<<<<<<<<<<
|
|
* return None
|
|
* def __set__(self, val):
|
|
*/
|
|
|
|
static PyObject *__pyx_pf_6schema_25_StructNode_MemberBuilder_4name___get__(CYTHON_UNUSED struct __pyx_obj_6schema__StructNode_MemberBuilder *__pyx_v_self) {
|
|
PyObject *__pyx_r = NULL;
|
|
__Pyx_RefNannyDeclarations
|
|
__Pyx_RefNannySetupContext("__get__", 0);
|
|
|
|
/* "schema.pyx":1495
|
|
* property name:
|
|
* 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_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":1496
|
|
* def __get__(self):
|
|
* return None
|
|
* 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":1499
|
|
* 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":1500
|
|
* 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 = 1500; __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 = 1500; __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":1501
|
|
* 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 = 1501; __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 = 1501; __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 = 1501; __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 = 1501; __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":1502
|
|
* 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 = 1502; __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 = 1502; __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 = 1501; __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":1501
|
|
* 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 = 1501; __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":1506
|
|
* 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":1507
|
|
* 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":1508
|
|
* 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":1511
|
|
*
|
|
* property defaultValue:
|
|
* def __get__(self): # <<<<<<<<<<<<<<
|
|
* return _ValueReader().init(<C_Value.Reader>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":1512
|
|
* property defaultValue:
|
|
* def __get__(self):
|
|
* return _ValueReader().init(<C_Value.Reader>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 = 1512; __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 = 1512; __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":1514
|
|
* return _ValueReader().init(<C_Value.Reader>self.thisptr.getDefaultValue())
|
|
* property type:
|
|
* def __get__(self): # <<<<<<<<<<<<<<
|
|
* return _TypeReader().init(<C_Type.Reader>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":1515
|
|
* property type:
|
|
* def __get__(self):
|
|
* return _TypeReader().init(<C_Type.Reader>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 = 1515; __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 = 1515; __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":1517
|
|
* return _TypeReader().init(<C_Type.Reader>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":1518
|
|
* 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 = 1518; __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":1522
|
|
* 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":1523
|
|
* 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":1524
|
|
* 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":1527
|
|
*
|
|
* property defaultValue:
|
|
* def __get__(self): # <<<<<<<<<<<<<<
|
|
* return _ValueBuilder().init(<C_Value.Builder>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":1528
|
|
* property defaultValue:
|
|
* def __get__(self):
|
|
* return _ValueBuilder().init(<C_Value.Builder>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 = 1528; __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 = 1528; __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":1529
|
|
* def __get__(self):
|
|
* return _ValueBuilder().init(<C_Value.Builder>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":1532
|
|
* pass
|
|
* property type:
|
|
* def __get__(self): # <<<<<<<<<<<<<<
|
|
* return _TypeBuilder().init(<C_Type.Builder>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":1533
|
|
* property type:
|
|
* def __get__(self):
|
|
* return _TypeBuilder().init(<C_Type.Builder>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 = 1533; __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 = 1533; __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":1534
|
|
* def __get__(self):
|
|
* return _TypeBuilder().init(<C_Type.Builder>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":1537
|
|
* 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":1538
|
|
* 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 = 1538; __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":1539
|
|
* 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":1540
|
|
* 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 = 1540; __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":1543
|
|
* 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":1544
|
|
* 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":1545
|
|
* 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":1548
|
|
*
|
|
* 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":1549
|
|
* 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 = 1549; __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":1551
|
|
* 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":1552
|
|
* 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 = 1552; __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 = 1552; __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":1554
|
|
* 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":1555
|
|
* 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 = 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.pointerSectionSize.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
__pyx_r = NULL;
|
|
__pyx_L0:;
|
|
__Pyx_XGIVEREF(__pyx_r);
|
|
__Pyx_RefNannyFinishContext();
|
|
return __pyx_r;
|
|
}
|
|
|
|
/* "schema.pyx":1559
|
|
* 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":1560
|
|
* 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":1561
|
|
* 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":1564
|
|
*
|
|
* 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":1565
|
|
* 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 = 1565; __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":1566
|
|
* 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":1567
|
|
* 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 = 1567; __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":1569
|
|
* 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":1570
|
|
* 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 = 1570; __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 = 1570; __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":1571
|
|
* 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 = 1571; __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 = 1571; __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 = 1571; __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 = 1571; __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":1572
|
|
* 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 = 1572; __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 = 1572; __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 = 1571; __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":1571
|
|
* 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 = 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.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":1574
|
|
* 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":1575
|
|
* 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 = 1575; __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":1576
|
|
* 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":1577
|
|
* 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 = 1577; __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":1581
|
|
* 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":1582
|
|
* 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":1583
|
|
* 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":1586
|
|
*
|
|
* 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":1587
|
|
* 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 = 1587; __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":1589
|
|
* return self.thisptr.getId()
|
|
* property value:
|
|
* def __get__(self): # <<<<<<<<<<<<<<
|
|
* return _ValueReader().init(<C_Value.Reader>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":1590
|
|
* property value:
|
|
* def __get__(self):
|
|
* return _ValueReader().init(<C_Value.Reader>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 = 1590; __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 = 1590; __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":1594
|
|
* 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":1595
|
|
* 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":1596
|
|
* 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":1599
|
|
*
|
|
* 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":1600
|
|
* 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 = 1600; __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":1601
|
|
* 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":1602
|
|
* 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 = 1602; __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":1604
|
|
* self.thisptr.setId(val)
|
|
* property value:
|
|
* def __get__(self): # <<<<<<<<<<<<<<
|
|
* return _ValueBuilder().init(<C_Value.Builder>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":1605
|
|
* property value:
|
|
* def __get__(self):
|
|
* return _ValueBuilder().init(<C_Value.Builder>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 = 1605; __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 = 1605; __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":1606
|
|
* def __get__(self):
|
|
* return _ValueBuilder().init(<C_Value.Builder>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":1611
|
|
* 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":1612
|
|
* 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":1613
|
|
* 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 = 1613; __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 = 1613; __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":1614
|
|
* 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 = 1614; __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 = 1614; __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":1613
|
|
* 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 = 1613; __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":1615
|
|
* 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 = 1615; __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 = 1615; __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":1616
|
|
* 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 = 1616; __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 = 1616; __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":1615
|
|
* 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 = 1615; __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":1617
|
|
* 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 = 1617; __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 = 1617; __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":1618
|
|
* 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 = 1618; __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 = 1618; __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":1617
|
|
* 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 = 1617; __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":1619
|
|
* 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 = 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_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 = 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
|
|
* 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 = 1620; __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 = 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.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":1619
|
|
* 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 = 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.initRootInterfaceNode", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
__pyx_r = NULL;
|
|
__pyx_L0:;
|
|
__Pyx_XGIVEREF(__pyx_r);
|
|
__Pyx_RefNannyFinishContext();
|
|
return __pyx_r;
|
|
}
|
|
|
|
/* "schema.pyx":1621
|
|
* 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 = 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_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 = 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 _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 = 1622; __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 = 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.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":1621
|
|
* 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 = 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.getRootValue", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
__pyx_r = NULL;
|
|
__pyx_L0:;
|
|
__Pyx_XGIVEREF(__pyx_r);
|
|
__Pyx_RefNannyFinishContext();
|
|
return __pyx_r;
|
|
}
|
|
|
|
/* "schema.pyx":1623
|
|
* 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 = 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_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 = 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 _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 = 1624; __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 = 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.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":1623
|
|
* 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 = 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.initRootValue", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
__pyx_r = NULL;
|
|
__pyx_L0:;
|
|
__Pyx_XGIVEREF(__pyx_r);
|
|
__Pyx_RefNannyFinishContext();
|
|
return __pyx_r;
|
|
}
|
|
|
|
/* "schema.pyx":1625
|
|
* 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 = 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_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 = 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 _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 = 1626; __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 = 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.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":1625
|
|
* 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 = 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.getRootConstNode", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
__pyx_r = NULL;
|
|
__pyx_L0:;
|
|
__Pyx_XGIVEREF(__pyx_r);
|
|
__Pyx_RefNannyFinishContext();
|
|
return __pyx_r;
|
|
}
|
|
|
|
/* "schema.pyx":1627
|
|
* 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 = 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_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 = 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 _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 = 1628; __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 = 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.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":1627
|
|
* 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 = 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.initRootConstNode", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
__pyx_r = NULL;
|
|
__pyx_L0:;
|
|
__Pyx_XGIVEREF(__pyx_r);
|
|
__Pyx_RefNannyFinishContext();
|
|
return __pyx_r;
|
|
}
|
|
|
|
/* "schema.pyx":1629
|
|
* 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 = 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_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 = 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 _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 = 1630; __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 = 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.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":1629
|
|
* 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 = 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.getRootType", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
__pyx_r = NULL;
|
|
__pyx_L0:;
|
|
__Pyx_XGIVEREF(__pyx_r);
|
|
__Pyx_RefNannyFinishContext();
|
|
return __pyx_r;
|
|
}
|
|
|
|
/* "schema.pyx":1631
|
|
* 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 = 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_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 = 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 _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 = 1632; __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 = 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.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":1631
|
|
* 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 = 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.initRootType", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
__pyx_r = NULL;
|
|
__pyx_L0:;
|
|
__Pyx_XGIVEREF(__pyx_r);
|
|
__Pyx_RefNannyFinishContext();
|
|
return __pyx_r;
|
|
}
|
|
|
|
/* "schema.pyx":1633
|
|
* 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 = 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_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 = 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 _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 = 1634; __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 = 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.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":1633
|
|
* 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 = 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.getRootFileNode", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
__pyx_r = NULL;
|
|
__pyx_L0:;
|
|
__Pyx_XGIVEREF(__pyx_r);
|
|
__Pyx_RefNannyFinishContext();
|
|
return __pyx_r;
|
|
}
|
|
|
|
/* "schema.pyx":1635
|
|
* 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 = 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_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 = 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 _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 = 1636; __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 = 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.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":1635
|
|
* 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 = 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.initRootFileNode", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
__pyx_r = NULL;
|
|
__pyx_L0:;
|
|
__Pyx_XGIVEREF(__pyx_r);
|
|
__Pyx_RefNannyFinishContext();
|
|
return __pyx_r;
|
|
}
|
|
|
|
/* "schema.pyx":1637
|
|
* 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 = 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_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 = 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 _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 = 1638; __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 = 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.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":1637
|
|
* 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 = 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.getRootNode", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
__pyx_r = NULL;
|
|
__pyx_L0:;
|
|
__Pyx_XGIVEREF(__pyx_r);
|
|
__Pyx_RefNannyFinishContext();
|
|
return __pyx_r;
|
|
}
|
|
|
|
/* "schema.pyx":1639
|
|
* 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 = 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_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 = 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 _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 = 1640; __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 = 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.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":1639
|
|
* 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 = 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.initRootNode", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
__pyx_r = NULL;
|
|
__pyx_L0:;
|
|
__Pyx_XGIVEREF(__pyx_r);
|
|
__Pyx_RefNannyFinishContext();
|
|
return __pyx_r;
|
|
}
|
|
|
|
/* "schema.pyx":1641
|
|
* 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 = 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_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 = 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 _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 = 1642; __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 = 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.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":1641
|
|
* 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 = 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.getRootAnnotationNode", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
__pyx_r = NULL;
|
|
__pyx_L0:;
|
|
__Pyx_XGIVEREF(__pyx_r);
|
|
__Pyx_RefNannyFinishContext();
|
|
return __pyx_r;
|
|
}
|
|
|
|
/* "schema.pyx":1643
|
|
* 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 = 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_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 = 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 _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 = 1644; __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 = 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.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":1643
|
|
* 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 = 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.initRootAnnotationNode", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
__pyx_r = NULL;
|
|
__pyx_L0:;
|
|
__Pyx_XGIVEREF(__pyx_r);
|
|
__Pyx_RefNannyFinishContext();
|
|
return __pyx_r;
|
|
}
|
|
|
|
/* "schema.pyx":1645
|
|
* 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 = 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_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 = 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 _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 = 1646; __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 = 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.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":1645
|
|
* 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 = 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.getRootEnumNode", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
__pyx_r = NULL;
|
|
__pyx_L0:;
|
|
__Pyx_XGIVEREF(__pyx_r);
|
|
__Pyx_RefNannyFinishContext();
|
|
return __pyx_r;
|
|
}
|
|
|
|
/* "schema.pyx":1647
|
|
* 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 = 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_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 = 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 _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 = 1648; __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 = 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.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":1647
|
|
* 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 = 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.initRootEnumNode", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
__pyx_r = NULL;
|
|
__pyx_L0:;
|
|
__Pyx_XGIVEREF(__pyx_r);
|
|
__Pyx_RefNannyFinishContext();
|
|
return __pyx_r;
|
|
}
|
|
|
|
/* "schema.pyx":1649
|
|
* 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 = 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_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 = 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 _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 = 1650; __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 = 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.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":1649
|
|
* 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 = 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.getRootStructNode", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
__pyx_r = NULL;
|
|
__pyx_L0:;
|
|
__Pyx_XGIVEREF(__pyx_r);
|
|
__Pyx_RefNannyFinishContext();
|
|
return __pyx_r;
|
|
}
|
|
|
|
/* "schema.pyx":1651
|
|
* 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 = 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_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 = 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 _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 = 1652; __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 = 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.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":1651
|
|
* 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 = 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.initRootStructNode", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
__pyx_r = NULL;
|
|
__pyx_L0:;
|
|
__Pyx_XGIVEREF(__pyx_r);
|
|
__Pyx_RefNannyFinishContext();
|
|
return __pyx_r;
|
|
}
|
|
|
|
/* "schema.pyx":1653
|
|
* 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 = 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_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 = 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 _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 = 1654; __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 = 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.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":1653
|
|
* 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 = 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.getRootAnnotation", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
__pyx_r = NULL;
|
|
__pyx_L0:;
|
|
__Pyx_XGIVEREF(__pyx_r);
|
|
__Pyx_RefNannyFinishContext();
|
|
return __pyx_r;
|
|
}
|
|
|
|
/* "schema.pyx":1655
|
|
* 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 = 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_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 = 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 _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 = 1656; __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 = 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.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":1655
|
|
* 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 = 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.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":1658
|
|
* 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":1659
|
|
* 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":1664
|
|
* 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":1665
|
|
* 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":1666
|
|
* 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 = 1666; __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 = 1666; __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":1667
|
|
* 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 = 1667; __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 = 1667; __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":1666
|
|
* 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 = 1666; __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":1668
|
|
* 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 = 1668; __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 = 1668; __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":1669
|
|
* 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 = 1669; __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 = 1669; __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":1668
|
|
* 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 = 1668; __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":1670
|
|
* 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 = 1670; __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 = 1670; __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":1671
|
|
* 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 = 1671; __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 = 1671; __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":1670
|
|
* 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 = 1670; __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":1672
|
|
* 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 = 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_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 = 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
|
|
* 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 = 1673; __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 = 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.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":1672
|
|
* 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 = 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.getRootConstNode", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
__pyx_r = NULL;
|
|
__pyx_L0:;
|
|
__Pyx_XGIVEREF(__pyx_r);
|
|
__Pyx_RefNannyFinishContext();
|
|
return __pyx_r;
|
|
}
|
|
|
|
/* "schema.pyx":1674
|
|
* 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 = 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_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 = 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 _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 = 1675; __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 = 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.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":1674
|
|
* 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 = 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.getRootType", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
__pyx_r = NULL;
|
|
__pyx_L0:;
|
|
__Pyx_XGIVEREF(__pyx_r);
|
|
__Pyx_RefNannyFinishContext();
|
|
return __pyx_r;
|
|
}
|
|
|
|
/* "schema.pyx":1676
|
|
* 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 = 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_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 = 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 _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 = 1677; __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 = 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.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":1676
|
|
* 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 = 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.getRootFileNode", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
__pyx_r = NULL;
|
|
__pyx_L0:;
|
|
__Pyx_XGIVEREF(__pyx_r);
|
|
__Pyx_RefNannyFinishContext();
|
|
return __pyx_r;
|
|
}
|
|
|
|
/* "schema.pyx":1678
|
|
* 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 = 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_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 = 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 _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 = 1679; __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 = 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.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":1678
|
|
* 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 = 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.getRootNode", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
__pyx_r = NULL;
|
|
__pyx_L0:;
|
|
__Pyx_XGIVEREF(__pyx_r);
|
|
__Pyx_RefNannyFinishContext();
|
|
return __pyx_r;
|
|
}
|
|
|
|
/* "schema.pyx":1680
|
|
* 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 = 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_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 = 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 _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 = 1681; __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 = 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.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":1680
|
|
* 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 = 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.getRootAnnotationNode", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
__pyx_r = NULL;
|
|
__pyx_L0:;
|
|
__Pyx_XGIVEREF(__pyx_r);
|
|
__Pyx_RefNannyFinishContext();
|
|
return __pyx_r;
|
|
}
|
|
|
|
/* "schema.pyx":1682
|
|
* 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 = 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_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 = 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 _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 = 1683; __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 = 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.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":1682
|
|
* 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 = 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.getRootEnumNode", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
__pyx_r = NULL;
|
|
__pyx_L0:;
|
|
__Pyx_XGIVEREF(__pyx_r);
|
|
__Pyx_RefNannyFinishContext();
|
|
return __pyx_r;
|
|
}
|
|
|
|
/* "schema.pyx":1684
|
|
* 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 = 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_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 = 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 _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 = 1685; __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 = 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.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":1684
|
|
* 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 = 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.getRootStructNode", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
__pyx_r = NULL;
|
|
__pyx_L0:;
|
|
__Pyx_XGIVEREF(__pyx_r);
|
|
__Pyx_RefNannyFinishContext();
|
|
return __pyx_r;
|
|
}
|
|
|
|
/* "schema.pyx":1686
|
|
* 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 = 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_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 = 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 _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 = 1687; __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 = 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.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":1686
|
|
* 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 = 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.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) {
|
|
CYTHON_UNUSED 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 = 1690; __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 = 1690; __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 = 1690; __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":1690
|
|
*
|
|
* cdef class StreamFdMessageReader(MessageReader):
|
|
* def __cinit__(self, int fd): # <<<<<<<<<<<<<<
|
|
* self.thisptr = new capnp.StreamFdMessageReader(int)
|
|
*
|
|
*/
|
|
|
|
static int __pyx_pf_6schema_21StreamFdMessageReader___cinit__(struct __pyx_obj_6schema_StreamFdMessageReader *__pyx_v_self, CYTHON_UNUSED int __pyx_v_fd) {
|
|
int __pyx_r;
|
|
__Pyx_RefNannyDeclarations
|
|
int __pyx_t_1;
|
|
int __pyx_lineno = 0;
|
|
const char *__pyx_filename = NULL;
|
|
int __pyx_clineno = 0;
|
|
__Pyx_RefNannySetupContext("__cinit__", 0);
|
|
|
|
/* "schema.pyx":1691
|
|
* cdef class StreamFdMessageReader(MessageReader):
|
|
* def __cinit__(self, int fd):
|
|
* self.thisptr = new capnp.StreamFdMessageReader(int) # <<<<<<<<<<<<<<
|
|
*
|
|
* cdef class PackedFdMessageReader(MessageReader):
|
|
*/
|
|
__pyx_t_1 = __Pyx_PyInt_AsInt(((PyObject *)((PyObject*)(&PyInt_Type)))); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1691; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__pyx_v_self->__pyx_base.thisptr = new ::capnp::StreamFdMessageReader(__pyx_t_1);
|
|
|
|
__pyx_r = 0;
|
|
goto __pyx_L0;
|
|
__pyx_L1_error:;
|
|
__Pyx_AddTraceback("schema.StreamFdMessageReader.__cinit__", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
__pyx_r = -1;
|
|
__pyx_L0:;
|
|
__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) {
|
|
CYTHON_UNUSED 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 = 1694; __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 = 1694; __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 = 1694; __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":1694
|
|
*
|
|
* cdef class PackedFdMessageReader(MessageReader):
|
|
* def __cinit__(self, int fd): # <<<<<<<<<<<<<<
|
|
* self.thisptr = new capnp.PackedFdMessageReader(int)
|
|
*
|
|
*/
|
|
|
|
static int __pyx_pf_6schema_21PackedFdMessageReader___cinit__(struct __pyx_obj_6schema_PackedFdMessageReader *__pyx_v_self, CYTHON_UNUSED int __pyx_v_fd) {
|
|
int __pyx_r;
|
|
__Pyx_RefNannyDeclarations
|
|
int __pyx_t_1;
|
|
int __pyx_lineno = 0;
|
|
const char *__pyx_filename = NULL;
|
|
int __pyx_clineno = 0;
|
|
__Pyx_RefNannySetupContext("__cinit__", 0);
|
|
|
|
/* "schema.pyx":1695
|
|
* cdef class PackedFdMessageReader(MessageReader):
|
|
* def __cinit__(self, int fd):
|
|
* self.thisptr = new capnp.PackedFdMessageReader(int) # <<<<<<<<<<<<<<
|
|
*
|
|
* def writeMessageToFd(int fd, MessageBuilder m):
|
|
*/
|
|
__pyx_t_1 = __Pyx_PyInt_AsInt(((PyObject *)((PyObject*)(&PyInt_Type)))); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1695; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__pyx_v_self->__pyx_base.thisptr = new ::capnp::PackedFdMessageReader(__pyx_t_1);
|
|
|
|
__pyx_r = 0;
|
|
goto __pyx_L0;
|
|
__pyx_L1_error:;
|
|
__Pyx_AddTraceback("schema.PackedFdMessageReader.__cinit__", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
__pyx_r = -1;
|
|
__pyx_L0:;
|
|
__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 = 1697; __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 = 1697; __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 = 1697; __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 = 1697; __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 = 1697; __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":1697
|
|
* self.thisptr = new capnp.PackedFdMessageReader(int)
|
|
*
|
|
* 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":1698
|
|
*
|
|
* 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 = 1699; __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 = 1699; __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 = 1699; __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 = 1699; __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 = 1699; __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":1699
|
|
* 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":1700
|
|
* 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 = 42; __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 = 42; __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 = 54; __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":54
|
|
* size = self.thisptr.size()
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds') # <<<<<<<<<<<<<<
|
|
* index = index % size
|
|
* return _InterfaceNode_MethodReader().init(<C_InterfaceNode.InterfaceNode.Method.Reader>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 = 54; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_k_tuple_2);
|
|
__Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_2));
|
|
|
|
/* "schema.pyx":68
|
|
* size = self.thisptr.size()
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds') # <<<<<<<<<<<<<<
|
|
* index = index % size
|
|
* return _InterfaceNode_MethodBuilder().init(<C_InterfaceNode.InterfaceNode.Method.Builder>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 = 68; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_k_tuple_3);
|
|
__Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_3));
|
|
|
|
/* "schema.pyx":81
|
|
* size = self.thisptr.size()
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds') # <<<<<<<<<<<<<<
|
|
* index = index % size
|
|
* return _EnumNode_EnumerantReader().init(<C_EnumNode.EnumNode.Enumerant.Reader>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 = 81; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_k_tuple_4);
|
|
__Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_4));
|
|
|
|
/* "schema.pyx":95
|
|
* size = self.thisptr.size()
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds') # <<<<<<<<<<<<<<
|
|
* index = index % size
|
|
* return _EnumNode_EnumerantBuilder().init(<C_EnumNode.EnumNode.Enumerant.Builder>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 = 95; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_k_tuple_5);
|
|
__Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_5));
|
|
|
|
/* "schema.pyx":108
|
|
* size = self.thisptr.size()
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds') # <<<<<<<<<<<<<<
|
|
* index = index % size
|
|
* return _StructNode_MemberReader().init(<C_StructNode.Union.StructNode.Member.Reader>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 = 108; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_k_tuple_6);
|
|
__Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_6));
|
|
|
|
/* "schema.pyx":122
|
|
* size = self.thisptr.size()
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds') # <<<<<<<<<<<<<<
|
|
* index = index % size
|
|
* return _StructNode_MemberBuilder().init(<C_StructNode.Union.StructNode.Member.Builder>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 = 122; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_k_tuple_7);
|
|
__Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_7));
|
|
|
|
/* "schema.pyx":135
|
|
* size = self.thisptr.size()
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds') # <<<<<<<<<<<<<<
|
|
* index = index % size
|
|
* return _InterfaceNode_Method_ParamReader().init(<C_InterfaceNode.Method.InterfaceNode.Method.Param.Reader>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 = 135; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_k_tuple_8);
|
|
__Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_8));
|
|
|
|
/* "schema.pyx":149
|
|
* size = self.thisptr.size()
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds') # <<<<<<<<<<<<<<
|
|
* index = index % size
|
|
* return _InterfaceNode_Method_ParamBuilder().init(<C_InterfaceNode.Method.InterfaceNode.Method.Param.Builder>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 = 149; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_k_tuple_9);
|
|
__Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_9));
|
|
|
|
/* "schema.pyx":162
|
|
* size = self.thisptr.size()
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds') # <<<<<<<<<<<<<<
|
|
* index = index % size
|
|
* return _AnnotationReader().init(<C_InterfaceNode.Method.Param.Annotation.Reader>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 = 162; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_k_tuple_10);
|
|
__Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_10));
|
|
|
|
/* "schema.pyx":176
|
|
* size = self.thisptr.size()
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds') # <<<<<<<<<<<<<<
|
|
* index = index % size
|
|
* return _AnnotationBuilder().init(<C_InterfaceNode.Method.Param.Annotation.Builder>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 = 176; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_k_tuple_11);
|
|
__Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_11));
|
|
|
|
/* "schema.pyx":189
|
|
* 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 = 189; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_k_tuple_12);
|
|
__Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_12));
|
|
|
|
/* "schema.pyx":203
|
|
* 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 = 203; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_k_tuple_13);
|
|
__Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_13));
|
|
|
|
/* "schema.pyx":216
|
|
* size = self.thisptr.size()
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds') # <<<<<<<<<<<<<<
|
|
* index = index % size
|
|
* return _Node_NestedNodeReader().init(<C_Node.Node.NestedNode.Reader>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 = 216; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_k_tuple_14);
|
|
__Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_14));
|
|
|
|
/* "schema.pyx":230
|
|
* size = self.thisptr.size()
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds') # <<<<<<<<<<<<<<
|
|
* index = index % size
|
|
* return _Node_NestedNodeBuilder().init(<C_Node.Node.NestedNode.Builder>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 = 230; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_k_tuple_15);
|
|
__Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_15));
|
|
|
|
/* "schema.pyx":243
|
|
* size = self.thisptr.size()
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds') # <<<<<<<<<<<<<<
|
|
* index = index % size
|
|
* return _AnnotationReader().init(<C_StructNode.Member.Annotation.Reader>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 = 243; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_k_tuple_16);
|
|
__Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_16));
|
|
|
|
/* "schema.pyx":257
|
|
* size = self.thisptr.size()
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds') # <<<<<<<<<<<<<<
|
|
* index = index % size
|
|
* return _AnnotationBuilder().init(<C_StructNode.Member.Annotation.Builder>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 = 257; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_k_tuple_17);
|
|
__Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_17));
|
|
|
|
/* "schema.pyx":270
|
|
* size = self.thisptr.size()
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds') # <<<<<<<<<<<<<<
|
|
* index = index % size
|
|
* return _AnnotationReader().init(<C_InterfaceNode.Method.Annotation.Reader>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 = 270; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_k_tuple_18);
|
|
__Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_18));
|
|
|
|
/* "schema.pyx":284
|
|
* size = self.thisptr.size()
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds') # <<<<<<<<<<<<<<
|
|
* index = index % size
|
|
* return _AnnotationBuilder().init(<C_InterfaceNode.Method.Annotation.Builder>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 = 284; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_k_tuple_19);
|
|
__Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_19));
|
|
|
|
/* "schema.pyx":297
|
|
* size = self.thisptr.size()
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds') # <<<<<<<<<<<<<<
|
|
* index = index % size
|
|
* return _StructNode_MemberReader().init(<C_StructNode.StructNode.Member.Reader>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 = 297; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_k_tuple_20);
|
|
__Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_20));
|
|
|
|
/* "schema.pyx":311
|
|
* size = self.thisptr.size()
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds') # <<<<<<<<<<<<<<
|
|
* index = index % size
|
|
* return _StructNode_MemberBuilder().init(<C_StructNode.StructNode.Member.Builder>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 = 311; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_k_tuple_21);
|
|
__Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_21));
|
|
|
|
/* "schema.pyx":324
|
|
* size = self.thisptr.size()
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds') # <<<<<<<<<<<<<<
|
|
* index = index % size
|
|
* return _AnnotationReader().init(<C_Node.Annotation.Reader>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 = 324; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_k_tuple_22);
|
|
__Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_22));
|
|
|
|
/* "schema.pyx":338
|
|
* size = self.thisptr.size()
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds') # <<<<<<<<<<<<<<
|
|
* index = index % size
|
|
* return _AnnotationBuilder().init(<C_Node.Annotation.Builder>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 = 338; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_k_tuple_23);
|
|
__Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_23));
|
|
|
|
/* "schema.pyx":351
|
|
* size = self.thisptr.size()
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds') # <<<<<<<<<<<<<<
|
|
* index = index % size
|
|
* return _NodeReader().init(<C_CodeGeneratorRequest.Node.Reader>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 = 351; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_k_tuple_24);
|
|
__Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_24));
|
|
|
|
/* "schema.pyx":365
|
|
* size = self.thisptr.size()
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds') # <<<<<<<<<<<<<<
|
|
* index = index % size
|
|
* return _NodeBuilder().init(<C_CodeGeneratorRequest.Node.Builder>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 = 365; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_k_tuple_25);
|
|
__Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_25));
|
|
|
|
/* "schema.pyx":378
|
|
* size = self.thisptr.size()
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds') # <<<<<<<<<<<<<<
|
|
* index = index % size
|
|
* return _FileNode_ImportReader().init(<C_FileNode.FileNode.Import.Reader>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 = 378; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_k_tuple_26);
|
|
__Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_26));
|
|
|
|
/* "schema.pyx":392
|
|
* size = self.thisptr.size()
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds') # <<<<<<<<<<<<<<
|
|
* index = index % size
|
|
* return _FileNode_ImportBuilder().init(<C_FileNode.FileNode.Import.Builder>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 = 392; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_k_tuple_27);
|
|
__Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_27));
|
|
|
|
/* "schema.pyx":405
|
|
* size = self.thisptr.size()
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds') # <<<<<<<<<<<<<<
|
|
* index = index % size
|
|
* return _AnnotationReader().init(<C_EnumNode.Enumerant.Annotation.Reader>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 = 405; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_k_tuple_28);
|
|
__Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_28));
|
|
|
|
/* "schema.pyx":419
|
|
* size = self.thisptr.size()
|
|
* if index >= size:
|
|
* raise IndexError('Out of bounds') # <<<<<<<<<<<<<<
|
|
* index = index % size
|
|
* return _AnnotationBuilder().init(<C_EnumNode.Enumerant.Annotation.Builder>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 = 419; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_k_tuple_29);
|
|
__Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_29));
|
|
|
|
/* "schema.pyx":41
|
|
* 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 = 41; __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, 41, __pyx_empty_bytes); if (unlikely(!__pyx_k_codeobj_37)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 41; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
|
|
/* "schema.pyx":455
|
|
* return _List_UInt64_Builder().init(self.thisptr.initRequestedFiles(num))
|
|
*
|
|
* _ElementSize = make_enum('_ElementSize',inlineComposite = <int>_ElementSize_inlineComposite,eightBytes = <int>_ElementSize_eightBytes,pointer = <int>_ElementSize_pointer,bit = <int>_ElementSize_bit,twoBytes = <int>_ElementSize_twoBytes,fourBytes = <int>_ElementSize_fourBytes,byte = <int>_ElementSize_byte,empty = <int>_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 = 455; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_k_tuple_39);
|
|
__Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_39));
|
|
|
|
/* "schema.pyx":588
|
|
*
|
|
*
|
|
* _Value_Body_Which = make_enum('_Value_Body_Which',uint32Value = <int>_Value_Body_uint32Value,float64Value = <int>_Value_Body_float64Value,voidValue = <int>_Value_Body_voidValue,dataValue = <int>_Value_Body_dataValue,listValue = <int>_Value_Body_listValue,int32Value = <int>_Value_Body_int32Value,enumValue = <int>_Value_Body_enumValue,int8Value = <int>_Value_Body_int8Value,boolValue = <int>_Value_Body_boolValue,int16Value = <int>_Value_Body_int16Value,float32Value = <int>_Value_Body_float32Value,interfaceValue = <int>_Value_Body_interfaceValue,uint16Value = <int>_Value_Body_uint16Value,uint8Value = <int>_Value_Body_uint8Value,int64Value = <int>_Value_Body_int64Value,structValue = <int>_Value_Body_structValue,textValue = <int>_Value_Body_textValue,uint64Value = <int>_Value_Body_uint64Value,objectValue = <int>_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 = 588; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_k_tuple_40);
|
|
__Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_40));
|
|
|
|
/* "schema.pyx":811
|
|
*
|
|
*
|
|
* _Type_Body_Which = make_enum('_Type_Body_Which',boolType = <int>_Type_Body_boolType,structType = <int>_Type_Body_structType,int32Type = <int>_Type_Body_int32Type,voidType = <int>_Type_Body_voidType,uint16Type = <int>_Type_Body_uint16Type,dataType = <int>_Type_Body_dataType,objectType = <int>_Type_Body_objectType,int64Type = <int>_Type_Body_int64Type,float64Type = <int>_Type_Body_float64Type,interfaceType = <int>_Type_Body_interfaceType,uint32Type = <int>_Type_Body_uint32Type,uint8Type = <int>_Type_Body_uint8Type,listType = <int>_Type_Body_listType,int8Type = <int>_Type_Body_int8Type,float32Type = <int>_Type_Body_float32Type,enumType = <int>_Type_Body_enumType,uint64Type = <int>_Type_Body_uint64Type,textType = <int>_Type_Body_textType,int16Type = <int>_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 = 811; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_k_tuple_41);
|
|
__Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_41));
|
|
|
|
/* "schema.pyx":1056
|
|
*
|
|
*
|
|
* _Node_Body_Which = make_enum('_Node_Body_Which',annotationNode = <int>_Node_Body_annotationNode,interfaceNode = <int>_Node_Body_interfaceNode,enumNode = <int>_Node_Body_enumNode,structNode = <int>_Node_Body_structNode,constNode = <int>_Node_Body_constNode,fileNode = <int>_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 = 1056; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_k_tuple_42);
|
|
__Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_42));
|
|
|
|
/* "schema.pyx":1416
|
|
*
|
|
*
|
|
* _StructNode_Member_Body_Which = make_enum('_StructNode_Member_Body_Which',fieldMember = <int>_StructNode_Member_Body_fieldMember,unionMember = <int>_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 = 1416; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_k_tuple_44);
|
|
__Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_44));
|
|
|
|
/* "schema.pyx":1697
|
|
* self.thisptr = new capnp.PackedFdMessageReader(int)
|
|
*
|
|
* 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 = 1697; __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, 1697, __pyx_empty_bytes); if (unlikely(!__pyx_k_codeobj_46)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1697; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
|
|
/* "schema.pyx":1699
|
|
* 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 = 1699; __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, 1699, __pyx_empty_bytes); if (unlikely(!__pyx_k_codeobj_48)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1699; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
|
|
/* "schema.pyx":1704
|
|
* # 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 = 1704; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_k_tuple_51);
|
|
__Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_51));
|
|
|
|
/* "schema.pyx":1708
|
|
* 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 = 1708; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_k_tuple_52);
|
|
__Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_52));
|
|
|
|
/* "schema.pyx":1711
|
|
* 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 = 1711; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_k_tuple_53);
|
|
__Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_53));
|
|
|
|
/* "schema.pyx":1715
|
|
* 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 = 1715; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_k_tuple_55);
|
|
__Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_55));
|
|
|
|
/* "schema.pyx":1719
|
|
* 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 = 1719; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_k_tuple_57);
|
|
__Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_57));
|
|
|
|
/* "schema.pyx":1723
|
|
* 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 = 1723; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_k_tuple_58);
|
|
__Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_58));
|
|
|
|
/* "schema.pyx":1727
|
|
* 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 = 1727; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_k_tuple_60);
|
|
__Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_60));
|
|
|
|
/* "schema.pyx":1731
|
|
* 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 = 1731; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_k_tuple_61);
|
|
__Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_61));
|
|
|
|
/* "schema.pyx":1735
|
|
* 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 = 1735; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_k_tuple_62);
|
|
__Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_62));
|
|
|
|
/* "schema.pyx":1739
|
|
* 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 = 1739; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_k_tuple_64);
|
|
__Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_64));
|
|
|
|
/* "schema.pyx":1743
|
|
* 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 = 1743; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_k_tuple_65);
|
|
__Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_65));
|
|
|
|
/* "schema.pyx":1747
|
|
* 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 = 1747; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_k_tuple_67);
|
|
__Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_67));
|
|
|
|
/* "schema.pyx":1751
|
|
* 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 = 1751; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_k_tuple_68);
|
|
__Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_68));
|
|
|
|
/* "schema.pyx":1755
|
|
* 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 = 1755; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_k_tuple_70);
|
|
__Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_70));
|
|
|
|
/* "schema.pyx":1759
|
|
* 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 = 1759; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_k_tuple_72);
|
|
__Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_72));
|
|
|
|
/* "schema.pyx":1763
|
|
* 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 = 1763; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_k_tuple_73);
|
|
__Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_73));
|
|
|
|
/* "schema.pyx":1767
|
|
* 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 = 1767; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_k_tuple_74);
|
|
__Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_74));
|
|
|
|
/* "schema.pyx":1771
|
|
* 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 = 1771; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_k_tuple_76);
|
|
__Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_76));
|
|
|
|
/* "schema.pyx":1775
|
|
* 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 = 1775; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_k_tuple_77);
|
|
__Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_77));
|
|
|
|
/* "schema.pyx":1779
|
|
* 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 = 1779; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_k_tuple_79);
|
|
__Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_79));
|
|
|
|
/* "schema.pyx":1783
|
|
* 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 = 1783; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_k_tuple_81);
|
|
__Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_81));
|
|
|
|
/* "schema.pyx":1787
|
|
* 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 = 1787; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_k_tuple_83);
|
|
__Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_83));
|
|
|
|
/* "schema.pyx":1791
|
|
* 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 = 1791; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_GOTREF(__pyx_k_tuple_85);
|
|
__Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_85));
|
|
|
|
/* "schema.pyx":1795
|
|
* 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 = 1795; __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 = 370; __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 = 370; __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 = 370; __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 = 1520; __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 = 1520; __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 = 1520; __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 = 1541; __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 = 1541; __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 = 1541; __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 = 504; __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 = 504; __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 = 504; __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 = 1084; __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 = 1084; __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 = 1084; __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 = 1609; __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 = 1609; __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 = 1609; __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 = 780; __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 = 780; __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 = 780; __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 = 1043; __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 = 1043; __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 = 1043; __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 = 812; __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 = 812; __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 = 812; __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 = 46; __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 = 46; __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 = 46; __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 = 43; __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 = 249; __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 = 249; __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 = 249; __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 = 565; __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 = 565; __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 = 565; __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 = 1362; __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 = 1362; __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 = 1362; __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 = 330; __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 = 330; __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 = 330; __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 = 1325; __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 = 1325; __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 = 1325; __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 = 303; __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 = 303; __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 = 303; __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 = 195; __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 = 195; __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 = 195; __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 = 529; __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 = 529; __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 = 529; __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 = 208; __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 = 208; __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 = 208; __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 = 981; __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 = 981; __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 = 981; __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 = 1341; __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 = 1341; __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 = 1341; __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 = 1417; __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 = 1417; __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 = 1417; __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 = 1662; __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 = 1662; __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 = 1662; __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 = 1693; __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 = 1693; __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 = 1693; __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 = 73; __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 = 73; __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 = 73; __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 = 1004; __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 = 1004; __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 = 1004; __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 = 1689; __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 = 1689; __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 = 1689; __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 = 459; __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 = 459; __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 = 459; __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 = 438; __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 = 438; __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 = 438; __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 = 1177; __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 = 1177; __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 = 1177; __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 = 384; __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 = 384; __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 = 384; __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 = 1385; __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 = 1385; __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 = 1385; __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 = 1657; __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 = 1657; __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 = 1657; __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 = 991; __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 = 991; __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 = 991; __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 = 1592; __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 = 1592; __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 = 1592; __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 = 357; __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 = 357; __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 = 357; __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 = 1136; __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 = 1136; __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 = 1136; __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 = 127; __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 = 127; __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 = 127; __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 = 1398; __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 = 1398; __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 = 1398; __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 = 1057; __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 = 1057; __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 = 1057; __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 = 397; __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 = 397; __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 = 397; __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 = 793; __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 = 793; __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 = 793; __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 = 1579; __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 = 1579; __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 = 1579; __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 = 758; __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 = 758; __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 = 758; __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 = 343; __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 = 343; __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 = 343; __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 = 1432; __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 = 1432; __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 = 1432; __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 = 1214; __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 = 1214; __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 = 1214; __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 = 168; __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 = 168; __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 = 168; __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 = 425; __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 = 425; __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 = 425; __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 = 60; __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 = 60; __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 = 60; __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 = 768; __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 = 768; __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 = 768; __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 = 1450; __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 = 1450; __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 = 1450; __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 = 1372; __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 = 1372; __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 = 1372; __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 = 87; __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 = 87; __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 = 87; __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 = 1017; __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 = 1017; __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 = 1017; __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 = 1152; __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 = 1152; __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 = 1152; __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 = 878; __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 = 878; __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 = 878; __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 = 289; __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 = 289; __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 = 289; __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 = 114; __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 = 114; __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 = 114; __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 = 478; __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 = 478; __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 = 478; __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 = 222; __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 = 222; __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 = 222; __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 = 141; __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 = 141; __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 = 141; __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 = 655; __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 = 655; __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 = 655; __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 = 575; __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 = 575; __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 = 575; __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 = 235; __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 = 235; __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 = 235; __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 = 1123; __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 = 1123; __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 = 1123; __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 = 1472; __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 = 1472; __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 = 1472; __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 = 181; __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 = 181; __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 = 181; __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 = 276; __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 = 276; __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 = 276; __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 = 262; __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 = 262; __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 = 262; __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 = 100; __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 = 100; __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 = 100; __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 = 1257; __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 = 1257; __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 = 1257; __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 = 411; __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 = 411; __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 = 411; __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 = 589; __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 = 589; __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 = 589; __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 = 1504; __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 = 1504; __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 = 1504; __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 = 316; __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 = 316; __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 = 316; __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 = 154; __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 = 154; __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 = 154; __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 = 1033; __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 = 1033; __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 = 1033; __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 = 41; __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 = 1557; __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 = 1557; __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 = 1557; __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":41
|
|
* 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 = 41; __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 = 41; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
|
|
/* "schema.pyx":455
|
|
* return _List_UInt64_Builder().init(self.thisptr.initRequestedFiles(num))
|
|
*
|
|
* _ElementSize = make_enum('_ElementSize',inlineComposite = <int>_ElementSize_inlineComposite,eightBytes = <int>_ElementSize_eightBytes,pointer = <int>_ElementSize_pointer,bit = <int>_ElementSize_bit,twoBytes = <int>_ElementSize_twoBytes,fourBytes = <int>_ElementSize_fourBytes,byte = <int>_ElementSize_byte,empty = <int>_ElementSize_empty,) # <<<<<<<<<<<<<<
|
|
*
|
|
*
|
|
*/
|
|
__pyx_t_1 = __Pyx_GetModuleGlobalName(__pyx_n_s__make_enum); 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 = PyDict_New(); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 455; __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 = 455; __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 = 455; __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 = 455; __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 = 455; __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 = 455; __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 = 455; __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 = 455; __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 = 455; __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 = 455; __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 = 455; __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 = 455; __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 = 455; __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 = 455; __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 = 455; __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 = 455; __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 = 455; __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 = 455; __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 = 455; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
|
|
|
|
/* "schema.pyx":588
|
|
*
|
|
*
|
|
* _Value_Body_Which = make_enum('_Value_Body_Which',uint32Value = <int>_Value_Body_uint32Value,float64Value = <int>_Value_Body_float64Value,voidValue = <int>_Value_Body_voidValue,dataValue = <int>_Value_Body_dataValue,listValue = <int>_Value_Body_listValue,int32Value = <int>_Value_Body_int32Value,enumValue = <int>_Value_Body_enumValue,int8Value = <int>_Value_Body_int8Value,boolValue = <int>_Value_Body_boolValue,int16Value = <int>_Value_Body_int16Value,float32Value = <int>_Value_Body_float32Value,interfaceValue = <int>_Value_Body_interfaceValue,uint16Value = <int>_Value_Body_uint16Value,uint8Value = <int>_Value_Body_uint8Value,int64Value = <int>_Value_Body_int64Value,structValue = <int>_Value_Body_structValue,textValue = <int>_Value_Body_textValue,uint64Value = <int>_Value_Body_uint64Value,objectValue = <int>_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 = 588; __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 = 588; __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 = 588; __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 = 588; __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 = 588; __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 = 588; __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 = 588; __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 = 588; __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 = 588; __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 = 588; __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 = 588; __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 = 588; __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 = 588; __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 = 588; __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 = 588; __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 = 588; __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 = 588; __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 = 588; __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 = 588; __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 = 588; __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 = 588; __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 = 588; __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 = 588; __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 = 588; __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 = 588; __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 = 588; __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 = 588; __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 = 588; __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 = 588; __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 = 588; __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 = 588; __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 = 588; __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 = 588; __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 = 588; __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 = 588; __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 = 588; __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 = 588; __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 = 588; __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 = 588; __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 = 588; __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 = 588; __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 = 588; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
|
|
/* "schema.pyx":811
|
|
*
|
|
*
|
|
* _Type_Body_Which = make_enum('_Type_Body_Which',boolType = <int>_Type_Body_boolType,structType = <int>_Type_Body_structType,int32Type = <int>_Type_Body_int32Type,voidType = <int>_Type_Body_voidType,uint16Type = <int>_Type_Body_uint16Type,dataType = <int>_Type_Body_dataType,objectType = <int>_Type_Body_objectType,int64Type = <int>_Type_Body_int64Type,float64Type = <int>_Type_Body_float64Type,interfaceType = <int>_Type_Body_interfaceType,uint32Type = <int>_Type_Body_uint32Type,uint8Type = <int>_Type_Body_uint8Type,listType = <int>_Type_Body_listType,int8Type = <int>_Type_Body_int8Type,float32Type = <int>_Type_Body_float32Type,enumType = <int>_Type_Body_enumType,uint64Type = <int>_Type_Body_uint64Type,textType = <int>_Type_Body_textType,int16Type = <int>_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 = 811; __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 = 811; __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 = 811; __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 = 811; __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 = 811; __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 = 811; __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 = 811; __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 = 811; __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 = 811; __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 = 811; __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 = 811; __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 = 811; __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 = 811; __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 = 811; __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 = 811; __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 = 811; __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 = 811; __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 = 811; __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 = 811; __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 = 811; __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 = 811; __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 = 811; __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 = 811; __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 = 811; __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 = 811; __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 = 811; __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 = 811; __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 = 811; __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 = 811; __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 = 811; __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 = 811; __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 = 811; __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 = 811; __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 = 811; __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 = 811; __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 = 811; __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 = 811; __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 = 811; __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 = 811; __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 = 811; __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 = 811; __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 = 811; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
|
|
|
|
/* "schema.pyx":1056
|
|
*
|
|
*
|
|
* _Node_Body_Which = make_enum('_Node_Body_Which',annotationNode = <int>_Node_Body_annotationNode,interfaceNode = <int>_Node_Body_interfaceNode,enumNode = <int>_Node_Body_enumNode,structNode = <int>_Node_Body_structNode,constNode = <int>_Node_Body_constNode,fileNode = <int>_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 = 1056; __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 = 1056; __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 = 1056; __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 = 1056; __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 = 1056; __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 = 1056; __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 = 1056; __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 = 1056; __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 = 1056; __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 = 1056; __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 = 1056; __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 = 1056; __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 = 1056; __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 = 1056; __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 = 1056; __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 = 1056; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
|
|
/* "schema.pyx":1416
|
|
*
|
|
*
|
|
* _StructNode_Member_Body_Which = make_enum('_StructNode_Member_Body_Which',fieldMember = <int>_StructNode_Member_Body_fieldMember,unionMember = <int>_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 = 1416; __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 = 1416; __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 = 1416; __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 = 1416; __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 = 1416; __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 = 1416; __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 = 1416; __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 = 1416; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
|
|
|
|
/* "schema.pyx":1697
|
|
* self.thisptr = new capnp.PackedFdMessageReader(int)
|
|
*
|
|
* 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 = 1697; __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 = 1697; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
|
|
|
|
/* "schema.pyx":1699
|
|
* 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 = 1699; __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 = 1699; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
|
|
|
|
/* "schema.pyx":1703
|
|
*
|
|
* # 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 = 1703; __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 = 1703; __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 = 1703; __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 = 1703; __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":1704
|
|
* # 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 = 1704; __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 = 1704; __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 = 1704; __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 = 1704; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
|
|
|
|
/* "schema.pyx":1705
|
|
* 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 = 1705; __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 = 1705; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
|
|
|
|
/* "schema.pyx":1706
|
|
* 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 = 1706; __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 = 1706; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
|
|
|
|
/* "schema.pyx":1708
|
|
* 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 = 1708; __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 = 1708; __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 = 1708; __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 = 1708; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
|
|
|
|
/* "schema.pyx":1709
|
|
*
|
|
* 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 = 1709; __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 = 1709; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
|
|
|
|
/* "schema.pyx":1711
|
|
* 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 = 1711; __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 = 1711; __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 = 1711; __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 = 1711; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
|
|
|
|
/* "schema.pyx":1712
|
|
*
|
|
* 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 = 1712; __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 = 1712; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
|
|
|
|
/* "schema.pyx":1713
|
|
* 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 = 1713; __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 = 1713; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
|
|
|
|
/* "schema.pyx":1715
|
|
* 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 = 1715; __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 = 1715; __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 = 1715; __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 = 1715; __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 = 1715; __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":1716
|
|
*
|
|
* 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 = 1716; __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 = 1716; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
|
|
|
|
/* "schema.pyx":1717
|
|
* 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 = 1717; __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 = 1717; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
|
|
|
|
/* "schema.pyx":1719
|
|
* 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 = 1719; __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 = 1719; __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 = 1719; __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 = 1719; __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 = 1719; __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 = 1719; __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":1720
|
|
*
|
|
* 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 = 1720; __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 = 1720; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
|
|
|
|
/* "schema.pyx":1721
|
|
* 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 = 1721; __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 = 1721; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
|
|
|
|
/* "schema.pyx":1723
|
|
* 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 = 1723; __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 = 1723; __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 = 1723; __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 = 1723; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
|
|
/* "schema.pyx":1724
|
|
*
|
|
* 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 = 1724; __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 = 1724; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
|
|
/* "schema.pyx":1725
|
|
* 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 = 1725; __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 = 1725; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
|
|
/* "schema.pyx":1727
|
|
* 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 = 1727; __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 = 1727; __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 = 1727; __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 = 1727; __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 = 1727; __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":1728
|
|
*
|
|
* 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 = 1728; __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 = 1728; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
|
|
|
|
/* "schema.pyx":1729
|
|
* 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 = 1729; __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 = 1729; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
|
|
|
|
/* "schema.pyx":1731
|
|
* 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 = 1731; __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 = 1731; __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 = 1731; __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 = 1731; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
|
|
/* "schema.pyx":1732
|
|
*
|
|
* 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 = 1732; __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 = 1732; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
|
|
/* "schema.pyx":1733
|
|
* 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 = 1733; __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 = 1733; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
|
|
/* "schema.pyx":1735
|
|
* 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 = 1735; __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 = 1735; __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 = 1735; __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 = 1735; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
|
|
|
|
/* "schema.pyx":1736
|
|
*
|
|
* 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 = 1736; __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 = 1736; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
|
|
|
|
/* "schema.pyx":1737
|
|
* 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 = 1737; __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 = 1737; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
|
|
|
|
/* "schema.pyx":1739
|
|
* 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 = 1739; __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 = 1739; __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 = 1739; __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 = 1739; __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 = 1739; __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":1740
|
|
*
|
|
* 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 = 1740; __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 = 1740; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
|
|
/* "schema.pyx":1741
|
|
* 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 = 1741; __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 = 1741; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
|
|
/* "schema.pyx":1743
|
|
* 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 = 1743; __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 = 1743; __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 = 1743; __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 = 1743; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
|
|
|
|
/* "schema.pyx":1744
|
|
*
|
|
* 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 = 1744; __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 = 1744; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
|
|
|
|
/* "schema.pyx":1745
|
|
* 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 = 1745; __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 = 1745; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
|
|
|
|
/* "schema.pyx":1747
|
|
* 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 = 1747; __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 = 1747; __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 = 1747; __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 = 1747; __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 = 1747; __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":1748
|
|
*
|
|
* 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 = 1748; __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 = 1748; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
|
|
/* "schema.pyx":1749
|
|
* 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 = 1749; __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 = 1749; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
|
|
/* "schema.pyx":1751
|
|
* 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 = 1751; __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 = 1751; __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 = 1751; __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 = 1751; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
|
|
|
|
/* "schema.pyx":1752
|
|
*
|
|
* 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 = 1752; __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 = 1752; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
|
|
|
|
/* "schema.pyx":1753
|
|
* 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 = 1753; __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 = 1753; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
|
|
|
|
/* "schema.pyx":1755
|
|
* 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 = 1755; __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 = 1755; __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 = 1755; __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 = 1755; __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 = 1755; __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":1756
|
|
*
|
|
* 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 = 1756; __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 = 1756; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
|
|
/* "schema.pyx":1757
|
|
* 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 = 1757; __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 = 1757; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
|
|
/* "schema.pyx":1759
|
|
* 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 = 1759; __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 = 1759; __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 = 1759; __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 = 1759; __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 = 1759; __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":1760
|
|
*
|
|
* 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 = 1760; __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 = 1760; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
|
|
|
|
/* "schema.pyx":1761
|
|
* 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 = 1761; __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 = 1761; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
|
|
|
|
/* "schema.pyx":1763
|
|
* 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 = 1763; __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 = 1763; __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 = 1763; __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 = 1763; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
|
|
/* "schema.pyx":1764
|
|
*
|
|
* 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 = 1764; __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 = 1764; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
|
|
/* "schema.pyx":1765
|
|
* 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 = 1765; __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 = 1765; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
|
|
/* "schema.pyx":1767
|
|
* 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 = 1767; __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 = 1767; __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 = 1767; __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 = 1767; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
|
|
|
|
/* "schema.pyx":1768
|
|
*
|
|
* 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 = 1768; __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 = 1768; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
|
|
|
|
/* "schema.pyx":1769
|
|
* 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 = 1769; __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 = 1769; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
|
|
|
|
/* "schema.pyx":1771
|
|
* 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 = 1771; __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 = 1771; __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 = 1771; __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 = 1771; __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 = 1771; __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":1772
|
|
*
|
|
* 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 = 1772; __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 = 1772; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
|
|
/* "schema.pyx":1773
|
|
* 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 = 1773; __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 = 1773; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
|
|
/* "schema.pyx":1775
|
|
* 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 = 1775; __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 = 1775; __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 = 1775; __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 = 1775; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
|
|
|
|
/* "schema.pyx":1776
|
|
*
|
|
* 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 = 1776; __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 = 1776; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
|
|
|
|
/* "schema.pyx":1777
|
|
* 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 = 1777; __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 = 1777; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
|
|
|
|
/* "schema.pyx":1779
|
|
* 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 = 1779; __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 = 1779; __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 = 1779; __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 = 1779; __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 = 1779; __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":1780
|
|
*
|
|
* 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 = 1780; __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 = 1780; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
|
|
/* "schema.pyx":1781
|
|
* 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 = 1781; __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 = 1781; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
|
|
/* "schema.pyx":1783
|
|
* 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 = 1783; __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 = 1783; __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 = 1783; __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 = 1783; __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 = 1783; __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":1784
|
|
*
|
|
* 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 = 1784; __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 = 1784; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
|
|
|
|
/* "schema.pyx":1785
|
|
* 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 = 1785; __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 = 1785; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
|
|
|
|
/* "schema.pyx":1787
|
|
* 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 = 1787; __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 = 1787; __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 = 1787; __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 = 1787; __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 = 1787; __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 = 1787; __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":1788
|
|
*
|
|
* 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 = 1788; __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 = 1788; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
|
|
/* "schema.pyx":1789
|
|
* 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 = 1789; __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 = 1789; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
|
|
/* "schema.pyx":1791
|
|
* 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 = 1791; __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 = 1791; __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 = 1791; __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 = 1791; __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 = 1791; __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":1792
|
|
*
|
|
* 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 = 1792; __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 = 1792; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
|
|
|
|
/* "schema.pyx":1793
|
|
* 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 = 1793; __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 = 1793; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
|
|
|
|
/* "schema.pyx":1795
|
|
* 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 = 1795; __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 = 1795; __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 = 1795; __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 = 1795; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
|
|
/* "schema.pyx":1796
|
|
*
|
|
* 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 = 1796; __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 = 1796; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
|
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
|
|
/* "schema.pyx":1797
|
|
* 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 = 1797; __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 = 1797; __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 */
|