| 140 | }; |
| 141 | |
| 142 | void mapscript_create_result(resultObj *result, parent_object parent, |
| 143 | zval *return_value TSRMLS_DC) |
| 144 | { |
| 145 | php_result_object * php_result; |
| 146 | object_init_ex(return_value, mapscript_ce_result); |
| 147 | php_result = (php_result_object *)zend_object_store_get_object(return_value TSRMLS_CC); |
| 148 | php_result->result = result; |
| 149 | |
| 150 | php_result->parent = parent; |
| 151 | MAPSCRIPT_ADDREF(parent.val); |
| 152 | } |
| 153 | |
| 154 | static void mapscript_result_object_destroy(void *object TSRMLS_DC) |
| 155 | { |
no outgoing calls
no test coverage detected