| 498 | |
| 499 | |
| 500 | void mapscript_create_label(labelObj *label, parent_object parent, zval *return_value TSRMLS_DC) |
| 501 | { |
| 502 | php_label_object * php_label; |
| 503 | object_init_ex(return_value, mapscript_ce_label); |
| 504 | php_label = (php_label_object *)zend_object_store_get_object(return_value TSRMLS_CC); |
| 505 | php_label->label = label; |
| 506 | |
| 507 | php_label->parent = parent; |
| 508 | |
| 509 | MAPSCRIPT_ADDREF(parent.val); |
| 510 | } |
| 511 | |
| 512 | static void mapscript_label_object_destroy(void *object TSRMLS_DC) |
| 513 | { |
no outgoing calls
no test coverage detected