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 | |
parent | 07e3413e99b89e35417a1cf7d6aacb5a009dd7d7 (diff) | |
download | php-git-30171a75909f69cb22590a0e74fccd6eeb4b1681.tar.gz |
zend_default_classes.h -> zend_exceptions.h
-rw-r--r-- | Zend/zend_default_classes.h | 49 | ||||
-rw-r--r-- | ext/com_dotnet/com_com.c | 2 | ||||
-rw-r--r-- | ext/com_dotnet/com_dotnet.c | 2 | ||||
-rw-r--r-- | ext/com_dotnet/com_extension.c | 2 | ||||
-rw-r--r-- | ext/com_dotnet/com_handlers.c | 2 | ||||
-rw-r--r-- | ext/com_dotnet/com_iterator.c | 2 | ||||
-rw-r--r-- | ext/com_dotnet/com_misc.c | 2 | ||||
-rw-r--r-- | ext/com_dotnet/com_saproxy.c | 2 | ||||
-rw-r--r-- | ext/dom/php_dom.h | 2 | ||||
-rw-r--r-- | ext/mysql/php_mysql.c | 2 | ||||
-rw-r--r-- | ext/mysqli/mysqli.c | 2 | ||||
-rw-r--r-- | ext/pgsql/pgsql.c | 2 | ||||
-rw-r--r-- | ext/simplexml/simplexml.c | 2 | ||||
-rw-r--r-- | ext/soap/soap.c | 2 | ||||
-rwxr-xr-x | ext/spl/spl_directory.c | 2 | ||||
-rwxr-xr-x | ext/spl/spl_iterators.c | 2 | ||||
-rw-r--r-- | ext/sqlite/sqlite.c | 2 | ||||
-rw-r--r-- | ext/tidy/tidy.c | 2 | ||||
-rw-r--r-- | main/main.c | 2 |
19 files changed, 18 insertions, 67 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: - */ diff --git a/ext/com_dotnet/com_com.c b/ext/com_dotnet/com_com.c index b63458481f..cfce3b9374 100644 --- a/ext/com_dotnet/com_com.c +++ b/ext/com_dotnet/com_com.c @@ -27,7 +27,7 @@ #include "ext/standard/info.h" #include "php_com_dotnet.h" #include "php_com_dotnet_internal.h" -#include "Zend/zend_default_classes.h" +#include "Zend/zend_exceptions.h" /* {{{ com_create_instance - ctor for COM class */ PHP_FUNCTION(com_create_instance) diff --git a/ext/com_dotnet/com_dotnet.c b/ext/com_dotnet/com_dotnet.c index cbcc7bbbe4..84137cfd87 100644 --- a/ext/com_dotnet/com_dotnet.c +++ b/ext/com_dotnet/com_dotnet.c @@ -29,7 +29,7 @@ # include "ext/standard/info.h" # include "php_com_dotnet.h" # include "php_com_dotnet_internal.h" -# include "Zend/zend_default_classes.h" +# include "Zend/zend_exceptions.h" # include <mscoree.h> struct dotnet_runtime_stuff { diff --git a/ext/com_dotnet/com_extension.c b/ext/com_dotnet/com_extension.c index 50c665dbba..438536645d 100644 --- a/ext/com_dotnet/com_extension.c +++ b/ext/com_dotnet/com_extension.c @@ -27,7 +27,7 @@ #include "ext/standard/info.h" #include "php_com_dotnet.h" #include "php_com_dotnet_internal.h" -#include "Zend/zend_default_classes.h" +#include "Zend/zend_exceptions.h" ZEND_DECLARE_MODULE_GLOBALS(com_dotnet) TsHashTable php_com_typelibraries; diff --git a/ext/com_dotnet/com_handlers.c b/ext/com_dotnet/com_handlers.c index 0811fddec2..2c247d7c80 100644 --- a/ext/com_dotnet/com_handlers.c +++ b/ext/com_dotnet/com_handlers.c @@ -27,7 +27,7 @@ #include "ext/standard/info.h" #include "php_com_dotnet.h" #include "php_com_dotnet_internal.h" -#include "Zend/zend_default_classes.h" +#include "Zend/zend_exceptions.h" static zval *com_property_read(zval *object, zval *member, zend_bool silent TSRMLS_DC) { diff --git a/ext/com_dotnet/com_iterator.c b/ext/com_dotnet/com_iterator.c index 8df049601f..945eea1ea5 100644 --- a/ext/com_dotnet/com_iterator.c +++ b/ext/com_dotnet/com_iterator.c @@ -27,7 +27,7 @@ #include "ext/standard/info.h" #include "php_com_dotnet.h" #include "php_com_dotnet_internal.h" -#include "Zend/zend_default_classes.h" +#include "Zend/zend_exceptions.h" struct php_com_iterator { zend_object_iterator iter; diff --git a/ext/com_dotnet/com_misc.c b/ext/com_dotnet/com_misc.c index f4e54cd722..641935ff25 100644 --- a/ext/com_dotnet/com_misc.c +++ b/ext/com_dotnet/com_misc.c @@ -27,7 +27,7 @@ #include "ext/standard/info.h" #include "php_com_dotnet.h" #include "php_com_dotnet_internal.h" -#include "Zend/zend_default_classes.h" +#include "Zend/zend_exceptions.h" void php_com_throw_exception(HRESULT code, char *message TSRMLS_DC) { diff --git a/ext/com_dotnet/com_saproxy.c b/ext/com_dotnet/com_saproxy.c index a8485b688c..67fa18bea1 100644 --- a/ext/com_dotnet/com_saproxy.c +++ b/ext/com_dotnet/com_saproxy.c @@ -32,7 +32,7 @@ #include "ext/standard/info.h" #include "php_com_dotnet.h" #include "php_com_dotnet_internal.h" -#include "Zend/zend_default_classes.h" +#include "Zend/zend_exceptions.h" typedef struct { /* the object we a proxying for; we hold a refcount to it */ diff --git a/ext/dom/php_dom.h b/ext/dom/php_dom.h index 64ea2c9e64..b30a144fd2 100644 --- a/ext/dom/php_dom.h +++ b/ext/dom/php_dom.h @@ -56,7 +56,7 @@ extern zend_module_entry dom_module_entry; #include "xml_common.h" #include "ext/libxml/php_libxml.h" -#include "zend_default_classes.h" +#include "zend_exceptions.h" #include "dom_ce.h" /* DOM API_VERSION, please bump it up, if you change anything in the API therefore it's easier for the script-programmers to check, what's working how diff --git a/ext/mysql/php_mysql.c b/ext/mysql/php_mysql.c index 8a46e8e006..0eafacb5e6 100644 --- a/ext/mysql/php_mysql.c +++ b/ext/mysql/php_mysql.c @@ -33,7 +33,7 @@ #include "php_globals.h" #include "ext/standard/info.h" #include "ext/standard/php_string.h" -#include "zend_default_classes.h" +#include "zend_exceptions.h" #if HAVE_MYSQL diff --git a/ext/mysqli/mysqli.c b/ext/mysqli/mysqli.c index a6d39f9af5..9bf75d9bbb 100644 --- a/ext/mysqli/mysqli.c +++ b/ext/mysqli/mysqli.c @@ -29,7 +29,7 @@ #include "ext/standard/info.h" #include "ext/standard/php_string.h" #include "php_mysqli.h" -#include "zend_default_classes.h" +#include "zend_exceptions.h" #define MYSQLI_STORE_RESULT 0 #define MYSQLI_USE_RESULT 1 diff --git a/ext/pgsql/pgsql.c b/ext/pgsql/pgsql.c index c2e3f09cc0..3e2e8a2c5a 100644 --- a/ext/pgsql/pgsql.c +++ b/ext/pgsql/pgsql.c @@ -37,7 +37,7 @@ #include "ext/standard/php_smart_str.h" #include "php_pgsql.h" #include "php_globals.h" -#include "zend_default_classes.h" +#include "zend_exceptions.h" #if HAVE_PGSQL diff --git a/ext/simplexml/simplexml.c b/ext/simplexml/simplexml.c index 3615a82ff5..dd29b368b2 100644 --- a/ext/simplexml/simplexml.c +++ b/ext/simplexml/simplexml.c @@ -32,7 +32,7 @@ #include "ext/standard/php_string.h" #include "php_simplexml.h" #include "php_simplexml_exports.h" -#include "zend_default_classes.h" +#include "zend_exceptions.h" #include "zend_interfaces.h" #if HAVE_SPL && !defined(COMPILE_DL_SPL) #include "ext/spl/spl_sxe.h" diff --git a/ext/soap/soap.c b/ext/soap/soap.c index f63a14584b..6826c6a733 100644 --- a/ext/soap/soap.c +++ b/ext/soap/soap.c @@ -25,7 +25,7 @@ #include "php_soap.h" #include "ext/session/php_session.h" #ifdef ZEND_ENGINE_2 -# include "zend_default_classes.h" +# include "zend_exceptions.h" #endif static int le_sdl = 0; diff --git a/ext/spl/spl_directory.c b/ext/spl/spl_directory.c index 04cd12b46c..e8431e8b4e 100755 --- a/ext/spl/spl_directory.c +++ b/ext/spl/spl_directory.c @@ -26,7 +26,7 @@ #include "php_ini.h" #include "ext/standard/info.h" #include "zend_compile.h" -#include "zend_default_classes.h" +#include "zend_exceptions.h" #include "zend_interfaces.h" #include "php_spl.h" diff --git a/ext/spl/spl_iterators.c b/ext/spl/spl_iterators.c index a35ad872d6..fc22ff4f99 100755 --- a/ext/spl/spl_iterators.c +++ b/ext/spl/spl_iterators.c @@ -25,7 +25,7 @@ #include "php.h" #include "php_ini.h" #include "ext/standard/info.h" -#include "zend_default_classes.h" +#include "zend_exceptions.h" #include "zend_interfaces.h" #include "php_spl.h" diff --git a/ext/sqlite/sqlite.c b/ext/sqlite/sqlite.c index b712ed8c2e..f408495d8b 100644 --- a/ext/sqlite/sqlite.c +++ b/ext/sqlite/sqlite.c @@ -41,7 +41,7 @@ #include <sqlite.h> -#include "zend_default_classes.h" +#include "zend_exceptions.h" #ifndef safe_emalloc # define safe_emalloc(a,b,c) emalloc((a)*(b)+(c)) diff --git a/ext/tidy/tidy.c b/ext/tidy/tidy.c index 30f0688e87..1164b45881 100644 --- a/ext/tidy/tidy.c +++ b/ext/tidy/tidy.c @@ -32,7 +32,7 @@ #include "safe_mode.h" #include "Zend/zend_API.h" #include "Zend/zend_hash.h" -#include "Zend/zend_default_classes.h" +#include "Zend/zend_exceptions.h" #include "Zend/zend_object_handlers.h" ZEND_DECLARE_MODULE_GLOBALS(tidy) diff --git a/main/main.c b/main/main.c index deaf5f865e..c12a659e71 100644 --- a/main/main.c +++ b/main/main.c @@ -71,7 +71,7 @@ #include "win32/php_registry.h" #endif #include "php_syslog.h" -#include "Zend/zend_default_classes.h" +#include "Zend/zend_exceptions.h" #if PHP_SIGCHILD #include <sys/types.h> |