| 236 | }; |
| 237 | |
| 238 | int get_language_id(const char *path) { |
| 239 | for (int i = 0; i < 10; ++i) { |
| 240 | const char *language = LanguageShortList[i]; |
| 241 | |
| 242 | if (stricmp(path, language) == 0) { |
| 243 | return i; |
| 244 | } |
| 245 | } |
| 246 | return -1; |
| 247 | } |
| 248 | |
| 249 | const char *get_language_string(int id) { |
| 250 | return LanguageShortList[id]; |
no outgoing calls
no test coverage detected