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

Function SwigPyPacked_repr

src/MeCab/MeCab_wrap.cpp:1800–1809  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1798} SwigPyPacked;
1799
1800SWIGRUNTIME PyObject *
1801SwigPyPacked_repr(SwigPyPacked *v)
1802{
1803 char result[SWIG_BUFFER_SIZE];
1804 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1805 return SWIG_Python_str_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
1806 } else {
1807 return SWIG_Python_str_FromFormat("<Swig Packed %s>", v->ty->name);
1808 }
1809}
1810
1811SWIGRUNTIME PyObject *
1812SwigPyPacked_str(SwigPyPacked *v)

Callers

nothing calls this directly

Calls 1

SWIG_PackDataNameFunction · 0.85

Tested by

no test coverage detected