| 314 | /////////////////////////////////////////// |
| 315 | |
| 316 | void log_unsubscribe_data(void (*log_callback)(void* context, log_ level, const char* text), void* context) { |
| 317 | for (int32_t i = 0; i < log_listeners.count; i++) { |
| 318 | if (log_listeners[i].callback == log_callback && |
| 319 | log_listeners[i].context == context) { |
| 320 | log_listeners.remove(i); |
| 321 | break; |
| 322 | } |
| 323 | } |
| 324 | } |
| 325 | |
| 326 | /////////////////////////////////////////// |
| 327 |
no test coverage detected