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

Method addHandler

python/common/PyUtil.cpp:51–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49 }
50
51 void addHandler(std::function<void()> fn)
52 {
53 m_handlers.emplace_back(std::move(fn));
54 }
55
56private:
57 static Cleanup *m_instance;

Callers 1

RegisterCleanupFunction · 0.80

Calls 1

emplace_backMethod · 0.45

Tested by

no test coverage detected