MCPcopy Create free account
hub / github.com/ZeroIntensity/pointers.py / add_ref

Function add_ref

src/mod.c:44–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42static jmp_buf buf;
43
44static PyObject* add_ref(PyObject* self, PyObject* args) {
45 GETOBJ();
46 Py_INCREF(obj);
47 Py_RETURN_NONE;
48}
49
50static PyObject* remove_ref(PyObject* self, PyObject* args) {
51 GETOBJ();

Callers 9

to_ptrFunction · 0.85
__init__Method · 0.85
to_c_ptrFunction · 0.85
arrayFunction · 0.85
__getattribute__Method · 0.85
__init__Method · 0.85
assignMethod · 0.85
moveMethod · 0.85
__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected