| 412 | |
| 413 | |
| 414 | static PJ_CONSTRUCTOR locate_constructor (const char *name) { |
| 415 | int i; |
| 416 | const char *s; |
| 417 | const PJ_OPERATIONS *operations; |
| 418 | operations = proj_list_operations(); |
| 419 | for (i = 0; (s = operations[i].id) && strcmp(name, s) ; ++i) ; |
| 420 | if (nullptr==s) |
| 421 | return nullptr; |
| 422 | return (PJ_CONSTRUCTOR) operations[i].proj; |
| 423 | } |
| 424 | |
| 425 | |
| 426 | PJ * |
no test coverage detected