| 251 | } |
| 252 | |
| 253 | const iso639_lang_t * lang_for_index( int index ) |
| 254 | { |
| 255 | if (index == -1) |
| 256 | return &lang_any; |
| 257 | |
| 258 | if (index < 0 || index >= lang_count) |
| 259 | return NULL; |
| 260 | |
| 261 | return &languages[index]; |
| 262 | } |
| 263 | |
| 264 | iso639_lang_t * lang_for_code( int code ) |
| 265 | { |
no outgoing calls
no test coverage detected