diff options
author | Anatol Belski <ab@php.net> | 2014-09-15 16:32:18 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2014-09-15 19:46:28 +0200 |
commit | e591c78d090f2c175b02f648f6b191ecc2f6d506 (patch) | |
tree | 2086e60e359b2a72361ceb1c4d500e2eb7902065 /Zend/zend.h | |
parent | 0799459e761308c70e47e3f3376315991fe3ed50 (diff) | |
download | php-git-e591c78d090f2c175b02f648f6b191ecc2f6d506.tar.gz |
revamp serialization to work with size_t for Serializable
Diffstat (limited to 'Zend/zend.h')
-rw-r--r-- | Zend/zend.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend.h b/Zend/zend.h index d79920fb1e..635dc9dcff 100644 --- a/Zend/zend.h +++ b/Zend/zend.h @@ -515,8 +515,8 @@ struct _zend_class_entry { union _zend_function *(*get_static_method)(zend_class_entry *ce, zend_string* method TSRMLS_DC); /* serializer callbacks */ - int (*serialize)(zval *object, unsigned char **buffer, uint32_t *buf_len, zend_serialize_data *data TSRMLS_DC); - int (*unserialize)(zval *object, zend_class_entry *ce, const unsigned char *buf, uint32_t buf_len, zend_unserialize_data *data TSRMLS_DC); + int (*serialize)(zval *object, unsigned char **buffer, size_t *buf_len, zend_serialize_data *data TSRMLS_DC); + int (*unserialize)(zval *object, zend_class_entry *ce, const unsigned char *buf, size_t buf_len, zend_unserialize_data *data TSRMLS_DC); uint32_t num_interfaces; uint32_t num_traits; |