]> granicus.if.org Git - php/commitdiff
Export this, so extensions may throw their own exception objects that
authorWez Furlong <wez@php.net>
Thu, 20 May 2004 17:41:09 +0000 (17:41 +0000)
committerWez Furlong <wez@php.net>
Thu, 20 May 2004 17:41:09 +0000 (17:41 +0000)
they have already instantiated.

Zend/zend_exceptions.c
Zend/zend_exceptions.h

index ff0f31370067cdfe747c790436579ad27c2d265a..5baa0610024dba863a948a956c78dc6aa53ba18a 100644 (file)
@@ -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)) {
index e704d61e5e82a9b25fd711a649b93d3ab4e01faa..65705fb068c9f410d7e982eca39c6d588322ec85 100644 (file)
@@ -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);