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

Function SwigPyObject_compare

swig/python/export_wrap.cpp:1623–1629  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1621}
1622
1623SWIGRUNTIME int
1624SwigPyObject_compare(SwigPyObject *v, SwigPyObject *w)
1625{
1626 void *i = v->ptr;
1627 void *j = w->ptr;
1628 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1629}
1630
1631/* Added for Python 3.x, would it also be useful for Python 2.x? */
1632SWIGRUNTIME PyObject*

Callers 1

SwigPyObject_richcompareFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected