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

Function SWIG_Python_ArgFail

swig/python/export_wrap.cpp:2801–2812  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2799}
2800
2801SWIGRUNTIME int
2802SWIG_Python_ArgFail(int argnum)
2803{
2804 if (PyErr_Occurred()) {
2805 /* add information about failing argument */
2806 char mesg[256];
2807 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
2808 return SWIG_Python_AddErrMesg(mesg, 1);
2809 } else {
2810 return 0;
2811 }
2812}
2813
2814SWIGRUNTIMEINLINE const char *
2815SwigPyObject_GetDesc(PyObject *self)

Callers 1

SWIG_Python_MustGetPtrFunction · 0.85

Calls 1

SWIG_Python_AddErrMesgFunction · 0.85

Tested by

no test coverage detected