| 412 | |
| 413 | |
| 414 | void mapscript_create_point(pointObj *point, parent_object parent, zval *return_value TSRMLS_DC) |
| 415 | { |
| 416 | php_point_object * php_point; |
| 417 | object_init_ex(return_value, mapscript_ce_point); |
| 418 | php_point = (php_point_object *)zend_object_store_get_object(return_value TSRMLS_CC); |
| 419 | php_point->point = point; |
| 420 | |
| 421 | if (parent.val) |
| 422 | php_point->is_ref = 1; |
| 423 | |
| 424 | php_point->parent = parent; |
| 425 | MAPSCRIPT_ADDREF(parent.val); |
| 426 | } |
| 427 | |
| 428 | static void mapscript_point_object_destroy(void *object TSRMLS_DC) |
| 429 | { |
no outgoing calls
no test coverage detected