From e10c206dac0fbd43e20f9ae9b704e76c5c564d2f Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Wed, 7 Jan 2004 21:00:07 +0000 Subject: Port other major parts of PHP 4 COM extension into PHP 5 com_dotnet extension. This enables: - iteration of SafeArray types via foreach() - proxying of multi-dimensional SafeArray types so that multi-dimension array accesses work (untested!) - Fix COM exceptions, and expose them as their own class of exception "com_exception" - auto typelib file import (com.typelib_file ini option) - event sinking - wrapper to map PHP objects to COM - fix mapping of variant values to PHP values # Could someone please add com_saproxy.c and com_wrapper.c to the .dsp # file? --- ext/com_dotnet/php_com_dotnet.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'ext/com_dotnet/php_com_dotnet.h') diff --git a/ext/com_dotnet/php_com_dotnet.h b/ext/com_dotnet/php_com_dotnet.h index 831c7ad3c0..cfb2340726 100644 --- a/ext/com_dotnet/php_com_dotnet.h +++ b/ext/com_dotnet/php_com_dotnet.h @@ -1,6 +1,6 @@ /* +----------------------------------------------------------------------+ - | PHP Version 4 | + | PHP Version 5 | +----------------------------------------------------------------------+ | Copyright (c) 1997-2003 The PHP Group | +----------------------------------------------------------------------+ @@ -40,14 +40,13 @@ PHP_RINIT_FUNCTION(com_dotnet); PHP_RSHUTDOWN_FUNCTION(com_dotnet); PHP_MINFO_FUNCTION(com_dotnet); -PHP_FUNCTION(com_create_guid); - ZEND_BEGIN_MODULE_GLOBALS(com_dotnet) zend_bool allow_dcom; zend_bool autoreg_verbose; zend_bool autoreg_on; zend_bool autoreg_case_sensitive; void *dotnet_runtime_stuff; /* opaque to avoid cluttering up other modules */ + int code_page; /* default code_page if left unspecified */ ZEND_END_MODULE_GLOBALS(com_dotnet) #ifdef ZTS -- cgit v1.2.1