| 426 | } |
| 427 | |
| 428 | static void mapscript_point_object_destroy(void *object TSRMLS_DC) |
| 429 | { |
| 430 | php_point_object *php_point = (php_point_object *)object; |
| 431 | |
| 432 | MAPSCRIPT_FREE_OBJECT(php_point); |
| 433 | |
| 434 | MAPSCRIPT_FREE_PARENT(php_point->parent); |
| 435 | |
| 436 | if (php_point->point && !php_point->is_ref) { |
| 437 | pointObj_destroy(php_point->point); |
| 438 | } |
| 439 | |
| 440 | efree(object); |
| 441 | } |
| 442 | |
| 443 | static zend_object_value mapscript_point_object_new(zend_class_entry *ce TSRMLS_DC) |
| 444 | { |
nothing calls this directly
no test coverage detected