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

Function makeStrList

src_cpp/yaafe-python/yaafecore.cpp:62–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62char** makeStrList(const vector<string>& vec) {
63 char** out = new char*[vec.size()+1];
64 for (int i=0;i<vec.size();i++)
65 out[i] = strdup(vec[i].c_str());
66 out[vec.size()] = NULL;
67 return out;
68}
69
70char** getComponentList() {
71 const vector<const Component*>& pList = ComponentFactory::instance()->getPrototypeList();

Callers 2

getComponentListFunction · 0.85
getOutputFormatListFunction · 0.85

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected