MCPcopy Create free account
hub / github.com/SoarGroup/Soar / soar_destroy_callback

Function soar_destroy_callback

Core/SoarKernel/src/callback.cpp:245–252  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

243}
244
245void soar_destroy_callback(soar_callback* cb)
246{
247 if (cb->free_function)
248 {
249 cb->free_function(cb->data);
250 }
251 delete cb;
252}
253
254// voigtjr: removed inline in an attempt to quell linker error
255//inline void soar_invoke_callbacks (agent* thisAgent,

Callers 3

soar_pop_callbackFunction · 0.85
soar_remove_callbackFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected