Browse files

- Fix typos

  • Loading branch information...
1 parent fd03f4f commit e9dbeabd38c2ef25ae776ab5e7ef1546ee07edeb @andigutmans andigutmans committed Mar 19, 2005
Showing with 9 additions and 9 deletions.
  1. +8 −8 Zend/zend_interfaces.c
  2. +1 −1 Zend/zend_interfaces.h
View
16 Zend/zend_interfaces.c
@@ -27,7 +27,7 @@ ZEND_API zend_class_entry *zend_ce_traversable;
ZEND_API zend_class_entry *zend_ce_aggregate;
ZEND_API zend_class_entry *zend_ce_iterator;
ZEND_API zend_class_entry *zend_ce_arrayaccess;
-ZEND_API zend_class_entry *zend_ce_serializeable;
+ZEND_API zend_class_entry *zend_ce_serializable;
/* {{{ zend_call_method
Only returns the returned zval if retval_ptr != NULL */
@@ -452,8 +452,8 @@ int zend_user_unserialize(zval **object, zend_class_entry *ce, const unsigned ch
}
/* }}} */
-/* {{{ zend_implement_serializeable */
-static int zend_implement_serializeable(zend_class_entry *interface, zend_class_entry *class_type TSRMLS_DC)
+/* {{{ zend_implement_serializable */
+static int zend_implement_serializable(zend_class_entry *interface, zend_class_entry *class_type TSRMLS_DC)
{
if ((class_type->serialize && class_type->serialize != zend_user_serialize)
|| (class_type->unserialize && class_type->unserialize != zend_user_unserialize)
@@ -508,13 +508,13 @@ zend_function_entry zend_funcs_arrayaccess[] = {
};
static
-ZEND_BEGIN_ARG_INFO(arginfo_serializeable_serialize, 0)
+ZEND_BEGIN_ARG_INFO(arginfo_serializable_serialize, 0)
ZEND_ARG_INFO(0, serialized)
ZEND_END_ARG_INFO();
-zend_function_entry zend_funcs_serializeable[] = {
- ZEND_ABSTRACT_ME(serializeable, serialize, NULL)
- ZEND_FENTRY(unserialize, NULL, arginfo_serializeable_serialize, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT|ZEND_ACC_CTOR)
+zend_function_entry zend_funcs_serializable[] = {
+ ZEND_ABSTRACT_ME(serializable, serialize, NULL)
+ ZEND_FENTRY(unserialize, NULL, arginfo_serializable_serialize, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT|ZEND_ACC_CTOR)
{NULL, NULL, NULL}
};
/* }}} */
@@ -543,7 +543,7 @@ ZEND_API void zend_register_interfaces(TSRMLS_D)
REGISTER_ITERATOR_INTERFACE(arrayaccess, ArrayAccess);
- REGISTER_ITERATOR_INTERFACE(serializeable, Serializeable)
+ REGISTER_ITERATOR_INTERFACE(serializable, Serializable)
}
/* }}} */
View
2 Zend/zend_interfaces.h
@@ -30,7 +30,7 @@ extern ZEND_API zend_class_entry *zend_ce_traversable;
extern ZEND_API zend_class_entry *zend_ce_aggregate;
extern ZEND_API zend_class_entry *zend_ce_iterator;
extern ZEND_API zend_class_entry *zend_ce_arrayaccess;
-extern ZEND_API zend_class_entry *zend_ce_serializeable;
+extern ZEND_API zend_class_entry *zend_ce_serializable;
typedef struct _zend_user_iterator {
zend_object_iterator it;

0 comments on commit e9dbeab

Please sign in to comment.