cvs: ZendEngine2 / zend_default_classes.c

From: Date: Wed, 17 Sep 2003 10:15:00 +0000
Subject: cvs: ZendEngine2 / zend_default_classes.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-1843@lists.php.net to get a copy of this message
helly Wed Sep 17 06:15:00 2003 EDT Modified files: /ZendEngine2 zend_default_classes.c Log: Use studlyCaps in exception class Index: ZendEngine2/zend_default_classes.c diff -u ZendEngine2/zend_default_classes.c:1.38 ZendEngine2/zend_default_classes.c:1.39 --- ZendEngine2/zend_default_classes.c:1.38 Thu Sep 11 06:26:47 2003 +++ ZendEngine2/zend_default_classes.c Wed Sep 17 06:15:00 2003 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_default_classes.c,v 1.38 2003/09/11 10:26:47 helly Exp $ */ +/* $Id: zend_default_classes.c,v 1.39 2003/09/17 10:15:00 helly Exp $ */ #include "zend.h" #include "zend_API.h" @@ -89,35 +89,35 @@ zval_copy_ctor(return_value); } -ZEND_METHOD(exception, getfile) +ZEND_METHOD(exception, getFile) { DEFAULT_0_PARAMS; _default_exception_get_entry(getThis(), "file", sizeof("file")-1, return_value TSRMLS_CC); } -ZEND_METHOD(exception, getline) +ZEND_METHOD(exception, getLine) { DEFAULT_0_PARAMS; _default_exception_get_entry(getThis(), "line", sizeof("line")-1, return_value TSRMLS_CC); } -ZEND_METHOD(exception, getmessage) +ZEND_METHOD(exception, getMessage) { DEFAULT_0_PARAMS; _default_exception_get_entry(getThis(), "message", sizeof("message")-1, return_value TSRMLS_CC); } -ZEND_METHOD(exception, getcode) +ZEND_METHOD(exception, getCode) { DEFAULT_0_PARAMS; _default_exception_get_entry(getThis(), "code", sizeof("code")-1, return_value TSRMLS_CC); } -ZEND_METHOD(exception, gettrace) +ZEND_METHOD(exception, getTrace) { DEFAULT_0_PARAMS; @@ -276,7 +276,7 @@ return ZEND_HASH_APPLY_KEEP; } -ZEND_METHOD(exception, gettraceasstring) +ZEND_METHOD(exception, getTraceAsString) { zval *trace; char *res = estrdup(""), **str = &res, *s_tmp; @@ -295,7 +295,7 @@ } /* }}} */ -ZEND_METHOD(exception, tostring) +ZEND_METHOD(exception, toString) { zval *message, *file, *line, *trace; char *str; @@ -348,13 +348,13 @@ */ static zend_function_entry default_exception_functions[] = { ZEND_ME(exception, __construct, NULL, 0) - 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) - ZEND_ME(exception, getline, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_FINAL) - ZEND_ME(exception, gettrace, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_FINAL) - ZEND_ME(exception, gettraceasstring, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_FINAL) - ZEND_ME(exception, tostring, NULL, 0) + 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) + ZEND_ME(exception, getLine, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_FINAL) + ZEND_ME(exception, getTrace, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_FINAL) + ZEND_ME(exception, getTraceAsString, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_FINAL) + ZEND_ME(exception, toString, NULL, 0) {NULL, NULL, NULL} };

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