MCPcopy Index your code
hub / github.com/MapServer/MapServer / mapscript_class_object_new_ex

Function mapscript_class_object_new_ex

mapscript/php/class.c:744–764  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

742}
743
744static 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
766static zend_object_value mapscript_class_object_new(zend_class_entry *ce TSRMLS_DC)
767{

Callers 2

Calls 1

mapscript_object_new_exFunction · 0.85

Tested by

no test coverage detected