summaryrefslogtreecommitdiff
path: root/Zend/zend_object_handlers.h
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2005-12-20 21:37:52 +0000
committerMarcus Boerger <helly@php.net>2005-12-20 21:37:52 +0000
commiteb99c74567d284c781545b1d80ac6fe4c051c0fb (patch)
tree1b162f2f94b65e6d43f452455a1cd7bb7bb1b9ae /Zend/zend_object_handlers.h
parentaf264f6f0dde7e7790a6163bd9c2bfbadb94ea81 (diff)
downloadphp-git-eb99c74567d284c781545b1d80ac6fe4c051c0fb.tar.gz
- MFH move zend_object_Value definition to zend_types.h
Diffstat (limited to 'Zend/zend_object_handlers.h')
-rw-r--r--Zend/zend_object_handlers.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/Zend/zend_object_handlers.h b/Zend/zend_object_handlers.h
index 5399e2effc..63caf89256 100644
--- a/Zend/zend_object_handlers.h
+++ b/Zend/zend_object_handlers.h
@@ -103,7 +103,7 @@ typedef int (*zend_object_cast_t)(zval *readobj, zval *writeobj, int type, int s
* Returns FAILURE if the object does not have any sense of overloaded dimensions */
typedef int (*zend_object_count_elements_t)(zval *object, long *count TSRMLS_DC);
-typedef struct _zend_object_handlers {
+struct _zend_object_handlers {
/* general object functions */
zend_object_add_ref_t add_ref;
zend_object_del_ref_t del_ref;
@@ -129,9 +129,10 @@ typedef struct _zend_object_handlers {
zend_object_compare_t compare_objects;
zend_object_cast_t cast_object;
zend_object_count_elements_t count_elements;
-} zend_object_handlers;
+};
extern ZEND_API zend_object_handlers std_object_handlers;
+
BEGIN_EXTERN_C()
ZEND_API union _zend_function *zend_std_get_static_method(zend_class_entry *ce, char *function_name_strval, int function_name_strlen TSRMLS_DC);
ZEND_API zval **zend_std_get_static_property(zend_class_entry *ce, char *property_name, int property_name_len, zend_bool silent TSRMLS_DC);