From d7fdf15a413de33953a2060b22c58b87f2f06abb Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Thu, 18 Sep 2003 11:38:33 +0000 Subject: - Allow partial type conversion support for objects. - Add support for object to string conversion from userspace by method __toString() and add a test. --- Zend/zend_object_handlers.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Zend/zend_object_handlers.h') diff --git a/Zend/zend_object_handlers.h b/Zend/zend_object_handlers.h index eb8538e495..503f153e2f 100644 --- a/Zend/zend_object_handlers.h +++ b/Zend/zend_object_handlers.h @@ -82,7 +82,7 @@ typedef zend_object_value (*zend_object_clone_obj_t)(zval *object TSRMLS_DC); typedef zend_class_entry *(*zend_object_get_class_entry_t)(zval *object TSRMLS_DC); typedef int (*zend_object_get_class_name_t)(zval *object, char **class_name, zend_uint *class_name_len, int parent TSRMLS_DC); typedef int (*zend_object_compare_t)(zval *object1, zval *object2 TSRMLS_DC); -typedef void (*zend_object_cast_t)(zval *readobj, zval *writeobj, int type, int should_free TSRMLS_DC); +typedef int (*zend_object_cast_t)(zval *readobj, zval *writeobj, int type, int should_free TSRMLS_DC); typedef struct _zend_object_handlers { -- cgit v1.2.1