From: Wez Furlong Date: Thu, 20 May 2004 17:41:09 +0000 (+0000) Subject: Export this, so extensions may throw their own exception objects that X-Git-Tag: RELEASE_0_1~66 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=892ec5f535c89b845bb242446a6f81e4bf46a056;p=php Export this, so extensions may throw their own exception objects that they have already instantiated. --- diff --git a/Zend/zend_exceptions.c b/Zend/zend_exceptions.c index ff0f313700..5baa061002 100644 --- a/Zend/zend_exceptions.c +++ b/Zend/zend_exceptions.c @@ -33,7 +33,7 @@ ZEND_API void zend_throw_exception(zend_class_entry *exception_ce, char *message ZEND_API void (*zend_throw_exception_hook)(zval *ex TSRMLS_DC); -void zend_throw_exception_internal(zval *exception TSRMLS_DC) +ZEND_API void zend_throw_exception_internal(zval *exception TSRMLS_DC) { if (exception != NULL) { if (EG(exception)) { diff --git a/Zend/zend_exceptions.h b/Zend/zend_exceptions.h index e704d61e5e..65705fb068 100644 --- a/Zend/zend_exceptions.h +++ b/Zend/zend_exceptions.h @@ -26,7 +26,7 @@ BEGIN_EXTERN_C() -void zend_throw_exception_internal(zval *exception TSRMLS_DC); +ZEND_API void zend_throw_exception_internal(zval *exception TSRMLS_DC); void zend_register_default_exception(TSRMLS_D);