MCPcopy Create free account
hub / github.com/StereoKit/StereoKit / log_unsubscribe_data

Function log_unsubscribe_data

StereoKitC/log.cpp:316–324  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

314///////////////////////////////////////////
315
316void 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

Callers 1

log_unsubscribeFunction · 0.85

Calls 1

removeMethod · 0.45

Tested by

no test coverage detected