diff options
author | Zeev Suraski <zeev@php.net> | 2004-02-12 10:43:27 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 2004-02-12 10:43:27 +0000 |
commit | 30171a75909f69cb22590a0e74fccd6eeb4b1681 (patch) | |
tree | b0ede371b5fc18dfccb3e73b70a5da3582af797c /Zend/zend_default_classes.h | |
parent | 07e3413e99b89e35417a1cf7d6aacb5a009dd7d7 (diff) | |
download | php-git-30171a75909f69cb22590a0e74fccd6eeb4b1681.tar.gz |
zend_default_classes.h -> zend_exceptions.h
Diffstat (limited to 'Zend/zend_default_classes.h')
-rw-r--r-- | Zend/zend_default_classes.h | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/Zend/zend_default_classes.h b/Zend/zend_default_classes.h deleted file mode 100644 index 68dd208f20..0000000000 --- a/Zend/zend_default_classes.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - +----------------------------------------------------------------------+ - | Zend Engine | - +----------------------------------------------------------------------+ - | Copyright (c) 1998-2004 Zend Technologies Ltd. (http://www.zend.com) | - +----------------------------------------------------------------------+ - | This source file is subject to version 2.00 of the Zend license, | - | that is bundled with this package in the file LICENSE, and is | - | available through the world-wide-web at the following url: | - | http://www.zend.com/license/2_00.txt. | - | If you did not receive a copy of the Zend license and are unable to | - | obtain it through the world-wide-web, please send a note to | - | license@zend.com so we can mail you a copy immediately. | - +----------------------------------------------------------------------+ - | Authors: Sterling Hughes <sterling@php.net> | - | Marcus Boerger <helly@php.net> | - +----------------------------------------------------------------------+ -*/ - -/* $Id$ */ - -#ifndef ZEND_DEFAULT_CLASSES_H -#define ZEND_DEFAULT_CLASSES_H - -BEGIN_EXTERN_C() - -ZEND_API zend_class_entry *zend_exception_get_default(void); -ZEND_API void zend_register_default_classes(TSRMLS_D); - -/* exception_ce NULL or zend_exception_get_default() or a derived class - * message NULL or the message of the exception */ -ZEND_API void zend_throw_exception(zend_class_entry *exception_ce, char *message, long code TSRMLS_DC); -ZEND_API void zend_throw_exception_ex(zend_class_entry *exception_ce, long code TSRMLS_DC, char *format, ...); -ZEND_API void zend_throw_exception_object(zval *exception TSRMLS_DC); - -/* show an exception using zend_error(E_ERROR,...) */ -ZEND_API void zend_exception_error(zval *exception TSRMLS_DC); - -END_EXTERN_C() - -#endif - -/* - * Local variables: - * tab-width: 4 - * c-basic-offset: 4 - * indent-tabs-mode: t - * End: - */ |