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

Function SWIG_Python_InitShadowInstance

swig/python/export_wrap.cpp:2540–2554  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2538
2539
2540SWIGINTERN PyObject *
2541SWIG_Python_InitShadowInstance(PyObject *args) {
2542 PyObject *obj[2];
2543 if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
2544 return NULL;
2545 } else {
2546 SwigPyObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2547 if (sthis) {
2548 SwigPyObject_append((PyObject*) sthis, obj[1]);
2549 } else {
2550 SWIG_Python_SetSwigThis(obj[0], obj[1]);
2551 }
2552 return SWIG_Py_Void();
2553 }
2554}
2555
2556/* Create a new pointer object */
2557

Callers

nothing calls this directly

Calls 4

SWIG_Python_UnpackTupleFunction · 0.85
SwigPyObject_appendFunction · 0.85
SWIG_Python_SetSwigThisFunction · 0.85
SWIG_Py_VoidFunction · 0.85

Tested by

no test coverage detected