From ed1b64877d82af71bc64a48bf914046640e8a270 Mon Sep 17 00:00:00 2001 From: Aaron Piotrowski Date: Fri, 3 Jul 2015 09:45:03 -0500 Subject: Switch position of ce in exception ce variable names --- Zend/zend_exceptions.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'Zend/zend_exceptions.h') diff --git a/Zend/zend_exceptions.h b/Zend/zend_exceptions.h index 268109af61..f9bf24b4c2 100644 --- a/Zend/zend_exceptions.h +++ b/Zend/zend_exceptions.h @@ -27,11 +27,11 @@ BEGIN_EXTERN_C() extern ZEND_API zend_class_entry *zend_ce_throwable; -extern ZEND_API zend_class_entry *zend_exception_ce; -extern ZEND_API zend_class_entry *zend_error_exception_ce; -extern ZEND_API zend_class_entry *zend_error_ce; -extern ZEND_API zend_class_entry *zend_parse_error_ce; -extern ZEND_API zend_class_entry *zend_type_error_ce; +extern ZEND_API zend_class_entry *zend_ce_exception; +extern ZEND_API zend_class_entry *zend_ce_error_exception; +extern ZEND_API zend_class_entry *zend_ce_error; +extern ZEND_API zend_class_entry *zend_ce_parse_error; +extern ZEND_API zend_class_entry *zend_ce_type_error; extern ZEND_API zend_class_entry *zend_ce_arithmetic_error; extern ZEND_API zend_class_entry *zend_ce_division_by_zero_error; @@ -45,15 +45,15 @@ void zend_register_default_exception(void); ZEND_API zend_class_entry *zend_get_exception_base(zval *object); -/* Deprecated - Use zend_exception_ce directly instead */ +/* Deprecated - Use zend_ce_exception directly instead */ ZEND_API zend_class_entry *zend_exception_get_default(void); -/* Deprecated - Use zend_error_exception_ce directly instead */ +/* Deprecated - Use zend_ce_error_exception directly instead */ ZEND_API zend_class_entry *zend_get_error_exception(void); ZEND_API void zend_register_default_classes(void); -/* exception_ce NULL, zend_exception_ce, zend_error_ce, or a derived class +/* exception_ce NULL, zend_ce_exception, zend_ce_error, or a derived class * message NULL or the message of the exception */ ZEND_API zend_object *zend_throw_exception(zend_class_entry *exception_ce, const char *message, zend_long code); ZEND_API zend_object *zend_throw_exception_ex(zend_class_entry *exception_ce, zend_long code, const char *format, ...); -- cgit v1.2.1