MCPcopy Create free account
hub / github.com/chokkan/crfsuite / SwigPyObject_append

Function SwigPyObject_append

swig/python/export_wrap.cpp:1717–1732  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1715}
1716
1717SWIGRUNTIME PyObject*
1718SwigPyObject_append(PyObject* v, PyObject* next)
1719{
1720 SwigPyObject *sobj = (SwigPyObject *) v;
1721#ifndef METH_O
1722 PyObject *tmp = 0;
1723 if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
1724 next = tmp;
1725#endif
1726 if (!SwigPyObject_Check(next)) {
1727 return NULL;
1728 }
1729 sobj->next = next;
1730 Py_INCREF(next);
1731 return SWIG_Py_Void();
1732}
1733
1734SWIGRUNTIME PyObject*
1735#ifdef METH_NOARGS

Callers 1

Calls 2

SwigPyObject_CheckFunction · 0.85
SWIG_Py_VoidFunction · 0.85

Tested by

no test coverage detected