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

Function destructor

ThirdParty/libproj/vtklibproj/src/transformations/deformation.cpp:336–350  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

334}
335
336static PJ *destructor(PJ *P, int errlev) {
337 if (nullptr==P)
338 return nullptr;
339
340 auto Q = static_cast<struct deformationData*>(P->opaque);
341 if( Q )
342 {
343 if (Q->cart)
344 Q->cart->destructor (Q->cart, errlev);
345 delete Q;
346 }
347 P->opaque = nullptr;
348
349 return pj_default_destructor(P, errlev);
350}
351
352
353PJ *TRANSFORMATION(deformation,1) {

Callers 1

deformation.cppFile · 0.70

Calls 1

pj_default_destructorFunction · 0.85

Tested by

no test coverage detected