MCPcopy Create free account
hub / github.com/OSGeo/PROJ / pj_vgridshift_destructor

Function pj_vgridshift_destructor

src/transformations/vgridshift.cpp:157–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

155}
156
157static PJ *pj_vgridshift_destructor(PJ *P, int errlev) {
158 if (nullptr == P)
159 return nullptr;
160
161 delete static_cast<struct vgridshiftData *>(P->opaque);
162 P->opaque = nullptr;
163
164 return pj_default_destructor(P, errlev);
165}
166
167static void pj_vgridshift_reassign_context(PJ *P, PJ_CONTEXT *ctx) {
168 auto Q = (struct vgridshiftData *)P->opaque;

Callers 1

vgridshift.cppFile · 0.85

Calls 1

pj_default_destructorFunction · 0.85

Tested by

no test coverage detected