MCPcopy Create free account
hub / github.com/Kitware/VTK / locate_constructor

Function locate_constructor

ThirdParty/libproj/vtklibproj/src/init.cpp:414–423  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

412
413
414static 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
426PJ *

Callers 1

Calls 1

proj_list_operationsFunction · 0.85

Tested by

no test coverage detected