From f7f49e4584ebed812fb37945c0b2d3f0ad4efbcc Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Sat, 30 Aug 2003 11:40:37 +0000 Subject: - The compiler can't detect all abstract function calls so we need to check. # In this case throwing a dedicated exception is better than the error we # show when the compiler can detect the abstract call because its run-time. --- Zend/zend_exceptions.h | 1 + 1 file changed, 1 insertion(+) (limited to 'Zend/zend_exceptions.h') diff --git a/Zend/zend_exceptions.h b/Zend/zend_exceptions.h index 9b6e17661c..c3e592df9f 100644 --- a/Zend/zend_exceptions.h +++ b/Zend/zend_exceptions.h @@ -25,6 +25,7 @@ BEGIN_EXTERN_C() ZEND_API zend_class_entry *zend_exception_get_default(void); +ZEND_API zend_class_entry *zend_exception_get_abstract(void); ZEND_API void zend_register_default_classes(TSRMLS_D); /* exception_ce NULL or zend_exception_get_default() or a derived class -- cgit v1.2.1