| 334 | } |
| 335 | |
| 336 | static 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 | |
| 353 | PJ *TRANSFORMATION(deformation,1) { |
no test coverage detected