diff options
author | Wez Furlong <wez@php.net> | 2004-01-07 21:00:07 +0000 |
---|---|---|
committer | Wez Furlong <wez@php.net> | 2004-01-07 21:00:07 +0000 |
commit | e10c206dac0fbd43e20f9ae9b704e76c5c564d2f (patch) | |
tree | 9675f1c8d2760ce9e7d3f6bf766d5ad434dc96c0 /ext/com_dotnet/php_com_dotnet.h | |
parent | 48b96c10d2c9efbe4ff11876c6cd9f9361073bc3 (diff) | |
download | php-git-e10c206dac0fbd43e20f9ae9b704e76c5c564d2f.tar.gz |
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?
Diffstat (limited to 'ext/com_dotnet/php_com_dotnet.h')
-rw-r--r-- | ext/com_dotnet/php_com_dotnet.h | 5 |
1 files changed, 2 insertions, 3 deletions
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 |