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

Function mapscript_create_label

mapscript/php/label.c:500–510  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

498
499
500void 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
512static void mapscript_label_object_destroy(void *object TSRMLS_DC)
513{

Callers 1

mapscript_fetch_objectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected