cvs: ZendEngine2 / zend_exceptions.c zend_exceptions.h

From: Date: Thu, 20 May 2004 17:41:09 +0000
Subject: cvs: ZendEngine2 / zend_exceptions.c zend_exceptions.h
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-2654@lists.php.net to get a copy of this message
wez Thu May 20 13:41:09 2004 EDT Modified files: /ZendEngine2 zend_exceptions.c zend_exceptions.h Log: Export this, so extensions may throw their own exception objects that they have already instantiated. http://cvs.php.net/diff.php/ZendEngine2/zend_exceptions.c?r1=1.63&r2=1.64&ty=u Index: ZendEngine2/zend_exceptions.c diff -u ZendEngine2/zend_exceptions.c:1.63 ZendEngine2/zend_exceptions.c:1.64 --- ZendEngine2/zend_exceptions.c:1.63 Tue Apr 13 16:25:49 2004 +++ ZendEngine2/zend_exceptions.c Thu May 20 13:41:09 2004 @@ -19,7 +19,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_exceptions.c,v 1.63 2004/04/13 20:25:49 helly Exp $ */ +/* $Id: zend_exceptions.c,v 1.64 2004/05/20 17:41:09 wez Exp $ */ #include "zend.h" #include "zend_API.h" @@ -33,7 +33,7 @@ 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)) { http://cvs.php.net/diff.php/ZendEngine2/zend_exceptions.h?r1=1.17&r2=1.18&ty=u Index: ZendEngine2/zend_exceptions.h diff -u ZendEngine2/zend_exceptions.h:1.17 ZendEngine2/zend_exceptions.h:1.18 --- ZendEngine2/zend_exceptions.h:1.17 Wed Apr 28 15:20:28 2004 +++ ZendEngine2/zend_exceptions.h Thu May 20 13:41:09 2004 @@ -19,14 +19,14 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_exceptions.h,v 1.17 2004/04/28 19:20:28 helly Exp $ */ +/* $Id: zend_exceptions.h,v 1.18 2004/05/20 17:41:09 wez Exp $ */ #ifndef ZEND_EXCEPTIONS_H #define ZEND_EXCEPTIONS_H 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);

« previous php.zend-engine.cvs (#2654) next »