summaryrefslogtreecommitdiff
path: root/ext/com/php_COM.h
diff options
context:
space:
mode:
authorHarald Radi <phanto@php.net>2001-01-29 21:54:46 +0000
committerHarald Radi <phanto@php.net>2001-01-29 21:54:46 +0000
commitdee2fd1ec42046c27bb07481f30d60bca6e3b889 (patch)
tree3b787d73f590cb612a347b25f391896cc1263132 /ext/com/php_COM.h
parent7478783b208a72843d747549422e8544f2f1175a (diff)
downloadphp-git-dee2fd1ec42046c27bb07481f30d60bca6e3b889.tar.gz
use *_EXTERN_C() and PHP_WIN32
Diffstat (limited to 'ext/com/php_COM.h')
-rw-r--r--ext/com/php_COM.h26
1 files changed, 14 insertions, 12 deletions
diff --git a/ext/com/php_COM.h b/ext/com/php_COM.h
index c2d871fac6..d2a680faff 100644
--- a/ext/com/php_COM.h
+++ b/ext/com/php_COM.h
@@ -1,23 +1,27 @@
#ifndef PHP_COM_H
#define PHP_COM_H
-#if WIN32|WINNT
+#if PHP_WIN32
-#ifdef __cplusplus
-extern "C" {
-#endif
+BEGIN_EXTERN_C()
extern PHP_MINIT_FUNCTION(COM);
extern PHP_MSHUTDOWN_FUNCTION(COM);
-PHP_FUNCTION(COM_load);
-PHP_FUNCTION(COM_invoke);
-PHP_FUNCTION(com_propget);
-PHP_FUNCTION(com_propput);
+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
@@ -26,8 +30,6 @@ extern zend_module_entry COM_module_entry;
#define COM_module_ptr NULL
-#endif /* Win32|WINNT */
-
-#define phpext_COM_ptr COM_module_ptr
+#endif /* PHP_WIN32 */
#endif /* PHP_COM_H */