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

Function SwigPyPacked_str

swig/python/export_wrap.cpp:2027–2036  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2025}
2026
2027SWIGRUNTIME PyObject *
2028SwigPyPacked_str(SwigPyPacked *v)
2029{
2030 char result[SWIG_BUFFER_SIZE];
2031 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
2032 return SWIG_Python_str_FromFormat("%s%s", result, v->ty->name);
2033 } else {
2034 return SWIG_Python_str_FromChar(v->ty->name);
2035 }
2036}
2037
2038SWIGRUNTIME int
2039SwigPyPacked_compare(SwigPyPacked *v, SwigPyPacked *w)

Callers

nothing calls this directly

Calls 2

SWIG_PackDataNameFunction · 0.85
SWIG_Python_str_FromCharFunction · 0.85

Tested by

no test coverage detected