| 742 | } |
| 743 | |
| 744 | static zend_object_value mapscript_class_object_new_ex(zend_class_entry *ce, php_class_object **ptr TSRMLS_DC) |
| 745 | { |
| 746 | zend_object_value retval; |
| 747 | php_class_object *php_class; |
| 748 | |
| 749 | MAPSCRIPT_ALLOC_OBJECT(php_class, php_class_object); |
| 750 | |
| 751 | retval = mapscript_object_new_ex(&php_class->std, ce, |
| 752 | &mapscript_class_object_destroy, |
| 753 | &mapscript_class_object_handlers TSRMLS_CC); |
| 754 | |
| 755 | if (ptr) |
| 756 | *ptr = php_class; |
| 757 | |
| 758 | MAPSCRIPT_INIT_PARENT(php_class->parent); |
| 759 | |
| 760 | php_class->label = NULL; |
| 761 | php_class->metadata = NULL; |
| 762 | |
| 763 | return retval; |
| 764 | } |
| 765 | |
| 766 | static zend_object_value mapscript_class_object_new(zend_class_entry *ce TSRMLS_DC) |
| 767 | { |
no test coverage detected