fix python bindings

This commit is contained in:
Andreas Gocht-Zech
2023-07-12 20:46:59 +02:00
parent f281ca30d1
commit b581af6990

View File

@@ -9,7 +9,7 @@
namespace py = pybind11; namespace py = pybind11;
//--- for some reason this is a global defined in main.cpp //--- for some reason this is a global defined in main.cpp
std::set<pid_t> pidsToWatch; extern std::set<pid_t> pidsToWatch;
//--- hacky way to get callbacks working and handle signals //--- hacky way to get callbacks working and handle signals
std::function<void(int, NethogsMonitorRecord const *)> empty_callback; std::function<void(int, NethogsMonitorRecord const *)> empty_callback;