| 664 | } |
| 665 | |
| 666 | static zend_object_value mapscript_style_object_new_ex(zend_class_entry *ce, php_style_object **ptr TSRMLS_DC) |
| 667 | { |
| 668 | zend_object_value retval; |
| 669 | php_style_object *php_style; |
| 670 | |
| 671 | MAPSCRIPT_ALLOC_OBJECT(php_style, php_style_object); |
| 672 | |
| 673 | retval = mapscript_object_new_ex(&php_style->std, ce, |
| 674 | &mapscript_style_object_destroy, |
| 675 | &mapscript_style_object_handlers TSRMLS_CC); |
| 676 | |
| 677 | if (ptr) |
| 678 | *ptr = php_style; |
| 679 | |
| 680 | MAPSCRIPT_INIT_PARENT(php_style->parent); |
| 681 | php_style->color = NULL; |
| 682 | php_style->outlinecolor = NULL; |
| 683 | php_style->backgroundcolor = NULL; |
| 684 | |
| 685 | return retval; |
| 686 | } |
| 687 | |
| 688 | static zend_object_value mapscript_style_object_new(zend_class_entry *ce TSRMLS_DC) |
| 689 | { |
no test coverage detected