Browse Source

zend_default_classes.h -> zend_exceptions.h

PEAR_1_4DEV
Zeev Suraski 23 years ago
parent
commit
30171a7590
  1. 49
      Zend/zend_default_classes.h
  2. 2
      ext/com_dotnet/com_com.c
  3. 2
      ext/com_dotnet/com_dotnet.c
  4. 2
      ext/com_dotnet/com_extension.c
  5. 2
      ext/com_dotnet/com_handlers.c
  6. 2
      ext/com_dotnet/com_iterator.c
  7. 2
      ext/com_dotnet/com_misc.c
  8. 2
      ext/com_dotnet/com_saproxy.c
  9. 2
      ext/dom/php_dom.h
  10. 2
      ext/mysql/php_mysql.c
  11. 2
      ext/mysqli/mysqli.c
  12. 2
      ext/pgsql/pgsql.c
  13. 2
      ext/simplexml/simplexml.c
  14. 2
      ext/soap/soap.c
  15. 2
      ext/spl/spl_directory.c
  16. 2
      ext/spl/spl_iterators.c
  17. 2
      ext/sqlite/sqlite.c
  18. 2
      ext/tidy/tidy.c
  19. 2
      main/main.c

49
Zend/zend_default_classes.h

@ -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:
*/

2
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)

2
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 {

2
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;

2
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)
{

2
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;

2
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)
{

2
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 */

2
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

2
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

2
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

2
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

2
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"

2
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;

2
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"

2
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"

2
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))

2
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)

2
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>

Loading…
Cancel
Save