MCPcopy Create free account
hub / github.com/Yaafe/Yaafe / dataflow_getComponentLibraries

Function dataflow_getComponentLibraries

src_cpp/yaafe-python/yaafecoreDataFlow.cpp:211–221  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

209}
210
211const char** dataflow_getComponentLibraries(void* dataflow)
212{
213 DataFlow* df = static_cast<DataFlow*>(dataflow);
214 const set<string>& libs = df->getComponentLibraries();
215 const char** res = (const char**) malloc((libs.size()+1)*sizeof(const char*));
216 const char** ptr = res;
217 for (set<string>::const_iterator it=libs.begin();it!=libs.end();it++)
218 *ptr++ = it->c_str();
219 *ptr = NULL;
220 return res;
221}
222
223void dataflow_freeComponentLibraries(const char** libs)
224{

Callers

nothing calls this directly

Calls 2

getComponentLibrariesMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected