summaryrefslogtreecommitdiff
path: root/Zend/zend_object_handlers.h
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2005-04-08 11:35:11 +0000
committerMarcus Boerger <helly@php.net>2005-04-08 11:35:11 +0000
commit698d301c1c51f214b257314b92d23aacc33e45e8 (patch)
tree37b74f64ddf809fd2e4752511b64f34577b6f602 /Zend/zend_object_handlers.h
parent5921e6c0398dabaa429c549fb851cb9369f8ba54 (diff)
downloadphp-git-698d301c1c51f214b257314b92d23aacc33e45e8.tar.gz
- Simplify getting property info and make it an api function
Diffstat (limited to 'Zend/zend_object_handlers.h')
-rw-r--r--Zend/zend_object_handlers.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Zend/zend_object_handlers.h b/Zend/zend_object_handlers.h
index 92016789b0..1cd6c0a8ad 100644
--- a/Zend/zend_object_handlers.h
+++ b/Zend/zend_object_handlers.h
@@ -23,6 +23,7 @@
#define ZEND_OBJECT_HANDLERS_H
union _zend_function;
+struct _zend_property_info;
/* The following rule applies to read_property() and read_dimension() implementations:
If you return a zval which is not otherwise referenced by the extension or the engine's
@@ -130,6 +131,7 @@ 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);
ZEND_API zend_bool zend_std_unset_static_property(zend_class_entry *ce, char *property_name, int property_name_len TSRMLS_DC);
+ZEND_API struct _zend_property_info *zend_get_property_info(zend_class_entry *ce, zval *member, int silent TSRMLS_DC);
ZEND_API int zend_std_cast_object_tostring(zval *readobj, zval *writeobj, int type, int should_free TSRMLS_DC);