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

Function engine_buildStrList

src_cpp/yaafe-python/yaafecoreEngine.cpp:50–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50char** engine_buildStrList(const vector<string>& vec) {
51 char** strList = (char**) malloc((vec.size()+1)*sizeof(char*));
52 for (int i=0;i<vec.size();i++)
53 strList[i] = strdup(vec[i].c_str());
54 strList[vec.size()] = NULL;
55 return strList;
56}
57
58char** engine_getInputList(void* engine) {
59 Engine* e = static_cast<Engine*>(engine);

Callers 2

engine_getInputListFunction · 0.85
engine_getOutputListFunction · 0.85

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected