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

Function SwigPyObject_hash

src/MeCab/MeCab_wrap.cpp:2640–2645  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2638#endif
2639
2640SWIGINTERN Py_hash_t
2641SwigPyObject_hash(PyObject *obj) {
2642 SwigPyObject *sobj = (SwigPyObject *)obj;
2643 void *ptr = sobj->ptr;
2644 return (Py_hash_t)ptr;
2645}
2646
2647SWIGINTERN Py_hash_t
2648SWIG_PyNumber_AsPyHash(PyObject *obj) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected