* Unreferences all python callbacks, and deletes the callbacks */
| 96 | * Unreferences all python callbacks, and deletes the callbacks |
| 97 | */ |
| 98 | virtual ~CCecPythonCallbacks(void) |
| 99 | { |
| 100 | for (size_t ptr = 0; ptr < NB_PYTHON_CB; ++ptr) |
| 101 | if (m_callbacks[ptr]) |
| 102 | Py_XDECREF(m_callbacks[ptr]); |
| 103 | delete m_configuration->callbacks; |
| 104 | m_configuration->callbacks = nullptr; |
| 105 | } |
| 106 | |
| 107 | /** |
| 108 | * Call a python callback (if set) |
nothing calls this directly
no outgoing calls
no test coverage detected