MCPcopy Create free account
hub / github.com/devosoft/avida / ~cASLibrary

Method ~cASLibrary

avida-core/source/script/cASLibrary.cc:25–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23
24
25cASLibrary::~cASLibrary()
26{
27 for (int i = 0; i < m_obj_tbl.GetSize(); i++) delete m_obj_tbl[i];
28
29 Apto::Array<const cASFunction*> fun_objs;
30 m_fun_dict.GetValues(fun_objs);
31 for (int i = 0; i < fun_objs.GetSize(); i++) delete fun_objs[i];
32}
33
34
35bool cASLibrary::RegisterFunction(const cASFunction* func)

Callers

nothing calls this directly

Calls 2

GetSizeMethod · 0.45
GetValuesMethod · 0.45

Tested by

no test coverage detected