MCPcopy Create free account
hub / github.com/CVCUDA/CV-CUDA / RegisterCleanup

Function RegisterCleanup

python/common/PyUtil.cpp:77–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75} // namespace
76
77void RegisterCleanup(py::module &m, std::function<void()> fn)
78{
79 static Cleanup cleanup;
80 cleanup.addHandler(std::move(fn));
81}
82
83std::string GetFullyQualifiedName(py::handle h)
84{

Callers 2

ExportMethod · 0.85
ExportMethod · 0.85

Calls 1

addHandlerMethod · 0.80

Tested by

no test coverage detected