summaryrefslogtreecommitdiff
path: root/ext/com/php_COM.h
diff options
context:
space:
mode:
authorHarald Radi <phanto@php.net>2001-03-20 22:35:30 +0000
committerHarald Radi <phanto@php.net>2001-03-20 22:35:30 +0000
commit256d7998095c76b46dfcd9b3f555db309de37630 (patch)
treea0cca3ec74cf335c7142be265c4d77ec1fbe2c87 /ext/com/php_COM.h
parent6a27146e726aef9e9cdabedc3b60b4e7802e0f54 (diff)
downloadphp-git-256d7998095c76b46dfcd9b3f555db309de37630.tar.gz
@Using ITypeInfo instead of IDispatch if possible. This makes DCOM calls
@and even COM calls much faster. @All ini settings are now prefixed by 'com.'. @Now you need not provide a path to the file containing the typelib, you can @also provide the GUID of the TypeLib - entry or an IID for preloading @type - information. (phanto) memory leak was reportet, i'm not sure that it is fixed by now, but it should be.
Diffstat (limited to 'ext/com/php_COM.h')
-rw-r--r--ext/com/php_COM.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/ext/com/php_COM.h b/ext/com/php_COM.h
index d2a680faff..8468052393 100644
--- a/ext/com/php_COM.h
+++ b/ext/com/php_COM.h
@@ -3,7 +3,7 @@
#if PHP_WIN32
-BEGIN_EXTERN_C()
+#include "com.h"
extern PHP_MINIT_FUNCTION(COM);
extern PHP_MSHUTDOWN_FUNCTION(COM);
@@ -13,17 +13,11 @@ extern int php_COM_get_le_idispatch();
extern zend_module_entry COM_module_entry;
extern zend_class_entry com_class_entry;
-END_EXTERN_C()
-
-#ifdef __cplusplus
-
extern pval php_COM_get_property_handler(zend_property_reference *property_reference);
extern int php_COM_set_property_handler(zend_property_reference *property_reference, pval *value);
extern char *php_COM_error_message(HRESULT hr);
extern void php_COM_call_function_handler(INTERNAL_FUNCTION_PARAMETERS, zend_property_reference *property_reference);
-#endif
-
#define COM_module_ptr &COM_module_entry
#else