MCPcopy Create free account
hub / github.com/SamuraiT/mecab-python3 / SWIG_Python_CheckImplicit

Function SWIG_Python_CheckImplicit

src/MeCab/MeCab_wrap.cpp:1299–1307  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1297} SwigPyClientData;
1298
1299SWIGRUNTIMEINLINE int
1300SWIG_Python_CheckImplicit(swig_type_info *ty)
1301{
1302 SwigPyClientData *data = (SwigPyClientData *)ty->clientdata;
1303 int fail = data ? data->implicitconv : 0;
1304 if (fail)
1305 PyErr_SetString(PyExc_TypeError, "Implicit conversion is prohibited for explicit constructors.");
1306 return fail;
1307}
1308
1309SWIGRUNTIMEINLINE PyObject *
1310SWIG_Python_ExceptionType(swig_type_info *desc) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected