| 691 | } |
| 692 | |
| 693 | static zend_object_value mapscript_style_object_clone(zval *zobj TSRMLS_DC) |
| 694 | { |
| 695 | php_style_object *php_style_old, *php_style_new; |
| 696 | zend_object_value new_ov; |
| 697 | |
| 698 | php_style_old = (php_style_object *) zend_object_store_get_object(zobj TSRMLS_CC); |
| 699 | |
| 700 | new_ov = mapscript_style_object_new_ex(mapscript_ce_style, &php_style_new TSRMLS_CC); |
| 701 | zend_objects_clone_members(&php_style_new->std, new_ov, &php_style_old->std, Z_OBJ_HANDLE_P(zobj) TSRMLS_CC); |
| 702 | |
| 703 | php_style_new->style = styleObj_clone(php_style_old->style); |
| 704 | |
| 705 | return new_ov; |
| 706 | } |
| 707 | |
| 708 | PHP_MINIT_FUNCTION(style) |
| 709 | { |
nothing calls this directly
no test coverage detected