summaryrefslogtreecommitdiff
path: root/Zend/zend_interfaces.h
diff options
context:
space:
mode:
authorEtienne Kneuss <colder@php.net>2008-08-24 18:22:33 +0000
committerEtienne Kneuss <colder@php.net>2008-08-24 18:22:33 +0000
commitcc9a8ee528a4d25240a1d3971a34431358c57119 (patch)
tree60520fe9045839ab9f534732e1a96c86ab5b2549 /Zend/zend_interfaces.h
parentce2f9bb0cf96fbb2aad317d8c9b6d947165ab02c (diff)
downloadphp-git-cc9a8ee528a4d25240a1d3971a34431358c57119.tar.gz
MFH:
- Copy custom callback to the child class if any - Prevent overwriting valid parent callbacks when implementing Serializable - Export zend_user_(un)serialize to be available for custom callbacks
Diffstat (limited to 'Zend/zend_interfaces.h')
-rwxr-xr-xZend/zend_interfaces.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Zend/zend_interfaces.h b/Zend/zend_interfaces.h
index c498666d7a..4d9e417791 100755
--- a/Zend/zend_interfaces.h
+++ b/Zend/zend_interfaces.h
@@ -61,6 +61,9 @@ ZEND_API zend_object_iterator *zend_user_it_get_new_iterator(zend_class_entry *c
ZEND_API void zend_register_interfaces(TSRMLS_D);
+ZEND_API int zend_user_serialize(zval *object, unsigned char **buffer, zend_uint *buf_len, zend_serialize_data *data TSRMLS_DC);
+ZEND_API int zend_user_unserialize(zval **object, zend_class_entry *ce, const unsigned char *buf, zend_uint buf_len, zend_unserialize_data *data TSRMLS_DC);
+
END_EXTERN_C()
#endif /* ZEND_INTERFACES_H */