| 334 | } |
| 335 | |
| 336 | void PiuSVGImageUnbind(void* it, PiuApplication* application, PiuView* view) |
| 337 | { |
| 338 | PiuSVGImage* self = it; |
| 339 | PiuContentUnbind(it, application, view); |
| 340 | if ((*self)->id) { |
| 341 | if ((*self)->dci) { |
| 342 | gdraw_command_image_destroy((*self)->dci); |
| 343 | (*self)->dci = NULL; |
| 344 | } |
| 345 | if ((*self)->dcs) { |
| 346 | gdraw_command_sequence_destroy((*self)->dcs); |
| 347 | (*self)->dcs = NULL; |
| 348 | (*self)->dcf = NULL; |
| 349 | } |
| 350 | } |
| 351 | if ((*self)->dcl) { |
| 352 | gdraw_command_list_destroy((*self)->dcl); |
| 353 | (*self)->dcl = NULL; |
| 354 | } |
| 355 | } |
| 356 | |
| 357 | void PiuSVGImage_create(xsMachine* the) |
| 358 | { |
nothing calls this directly
no test coverage detected