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

Function SwigPyObject_compare

src/MeCab/MeCab_wrap.cpp:1467–1473  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1465}
1466
1467SWIGRUNTIME int
1468SwigPyObject_compare(SwigPyObject *v, SwigPyObject *w)
1469{
1470 void *i = v->ptr;
1471 void *j = w->ptr;
1472 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1473}
1474
1475/* Added for Python 3.x, would it also be useful for Python 2.x? */
1476SWIGRUNTIME PyObject*

Callers 1

SwigPyObject_richcompareFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected