MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/Falcor / nb_ndarray_dealloc

Function nb_ndarray_dealloc

Source/Falcor/Utils/Scripting/ndarray.cpp:130–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128};
129
130void nb_ndarray_dealloc(PyObject* self)
131{
132 ndarray_dec_ref(((nb_ndarray*)self)->th);
133
134 freefunc tp_free;
135#if defined(Py_LIMITED_API)
136 tp_free = (freefunc)PyType_GetSlot(Py_TYPE(self), Py_tp_free);
137#else
138 tp_free = Py_TYPE(self)->tp_free;
139#endif
140
141 tp_free(self);
142}
143
144int nb_ndarray_getbuffer(PyObject* exporter, Py_buffer* view, int)
145{

Callers

nothing calls this directly

Calls 1

ndarray_dec_refFunction · 0.85

Tested by

no test coverage detected