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

Function proj_destroy

ThirdParty/libproj/vtklibproj/src/malloc.cpp:105–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103/************************************************************************/
104
105PJ *proj_destroy(PJ *P) {
106 if (nullptr==P || !P->destructor)
107 return nullptr;
108 /* free projection parameters - all the hard work is done by */
109 /* pj_default_destructor, which is supposed */
110 /* to be called as the last step of the local destructor */
111 /* pointed to by P->destructor. In most cases, */
112 /* pj_default_destructor actually *is* what is pointed to */
113 P->destructor (P, proj_errno(P));
114 return nullptr;
115}
116
117/*****************************************************************************/
118// cppcheck-suppress uninitMemberVar

Callers 15

ToLonLatRadiansHeightFunction · 0.85
~PJCoordOperationMethod · 0.85
get_initFunction · 0.85
~StepMethod · 0.85
pj_create_internalFunction · 0.85
proj_create_crs_to_crsFunction · 0.85

Calls 1

proj_errnoFunction · 0.85

Tested by

no test coverage detected