cvs: ZendEngine2(PHP_5_0) / zend_exceptions.c
| From: | Marcus Boerger | Date: | Mon, 27 Sep 2004 22:28:20 +0000 |
| Subject: | cvs: ZendEngine2(PHP_5_0) / zend_exceptions.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-3050@lists.php.net to get a copy of this message | ||
helly Mon Sep 27 18:28:20 2004 EDT
Modified files: (Branch: PHP_5_0)
/ZendEngine2 zend_exceptions.c
Log:
MFH parameter description
http://cvs.php.net/diff.php/ZendEngine2/zend_exceptions.c?r1=1.65&r2=1.65.2.1&ty=u
Index: ZendEngine2/zend_exceptions.c
diff -u ZendEngine2/zend_exceptions.c:1.65 ZendEngine2/zend_exceptions.c:1.65.2.1
--- ZendEngine2/zend_exceptions.c:1.65 Thu May 20 13:59:27 2004
+++ ZendEngine2/zend_exceptions.c Mon Sep 27 18:28:19 2004
@@ -19,7 +19,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_exceptions.c,v 1.65 2004/05/20 17:59:27 wez Exp $ */
+/* $Id: zend_exceptions.c,v 1.65.2.1 2004/09/27 22:28:19 helly Exp $ */
#include "zend.h"
#include "zend_API.h"
@@ -427,9 +427,15 @@
* And never try to change the state of exceptions and never implement anything
* that gives the user anything to accomplish this.
*/
+static
+ZEND_BEGIN_ARG_INFO(arginfo_exception___construct, 0)
+ ZEND_ARG_INFO(0, message)
+ ZEND_ARG_INFO(0, code)
+ZEND_END_ARG_INFO();
+
static zend_function_entry default_exception_functions[] = {
ZEND_ME(exception, __clone, NULL, ZEND_ACC_PRIVATE|ZEND_ACC_FINAL)
- ZEND_ME(exception, __construct, NULL, 0)
+ ZEND_ME(exception, __construct, arginfo_exception___construct, ZEND_ACC_PUBLIC)
ZEND_ME(exception, getMessage, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_FINAL)
ZEND_ME(exception, getCode, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_FINAL)
ZEND_ME(exception, getFile, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_FINAL)