summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/classbase.h4
-rw-r--r--include/serializable.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/include/classbase.h b/include/classbase.h
index cc69a91..b4312dd 100644
--- a/include/classbase.h
+++ b/include/classbase.h
@@ -442,8 +442,8 @@ private:
* @param data Structure describing the serialize/unserialize data
* @return int
*/
- static int serialize(struct _zval_struct *object, unsigned char **buffer, zend_uint *buf_len, struct _zend_serialize_data *data);
- static int unserialize(struct _zval_struct **object, struct _zend_class_entry *entry, const unsigned char *buffer, zend_uint buf_len, struct _zend_unserialize_data *data);
+ static int serialize(struct _zval_struct *object, unsigned char **buffer, unsigned int *buf_len, struct _zend_serialize_data *data);
+ static int unserialize(struct _zval_struct **object, struct _zend_class_entry *entry, const unsigned char *buffer, unsigned int buf_len, struct _zend_unserialize_data *data);
/**
* Name of the class
diff --git a/include/serializable.h b/include/serializable.h
index 67934a9..ce60d91 100644
--- a/include/serializable.h
+++ b/include/serializable.h
@@ -25,9 +25,9 @@ public:
* This method should return a string representation of the object that
* can be passed to the serialize() method and that will revive the object
*
- * @return Php::Value
+ * @return std::string
*/
- virtual Php::Value serialize() = 0;
+ virtual std::string serialize() = 0;
/**
* Unserialize the object