MCPcopy Create free account
hub / github.com/TactilityProject/Tactility / module_destruct

Function module_destruct

TactilityKernel/source/module.cpp:32–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30}
31
32error_t module_destruct(Module* module) {
33 delete static_cast<ModuleInternal*>(module->internal);
34 module->internal = nullptr;
35 return ERROR_NONE;
36}
37
38error_t module_add(Module* module) {
39 mutex_lock(&ledger.mutex);

Callers 1

ModuleTest.cppFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected