| 17 | } |
| 18 | |
| 19 | func_t2 getFunction2(const QString& s) { |
| 20 | const QString functionName(s); |
| 21 | for (int i = 0; i < _number_functions; i++) { |
| 22 | if (functionName == QLatin1String(_functions[i].name)) { |
| 23 | if (_functions[i].argc == 2) |
| 24 | return std::get<func_t2>(_functions[i].fnct); |
| 25 | } |
| 26 | } |
| 27 | return nullptr; |
| 28 | } |
| 29 | |
| 30 | func_t3 getFunction3(const QString& s) { |
| 31 | const QString functionName(s); |
no outgoing calls
no test coverage detected