summaryrefslogtreecommitdiff
path: root/ext/com/php_COM.h
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>1999-10-20 18:09:44 +0000
committerAndi Gutmans <andi@php.net>1999-10-20 18:09:44 +0000
commit5212b2fe5b4e8675bd1472fac8f77627a5b07426 (patch)
tree732b5821d5eb6868bfaede7fab657089c2ccd2d8 /ext/com/php_COM.h
parent33ebd5238741a224d67e75f6f7e47ba9c2341ffd (diff)
downloadphp-git-5212b2fe5b4e8675bd1472fac8f77627a5b07426.tar.gz
- Make CVS compile on Win32.
- Rename php3_COM.h -> php_COM.h
Diffstat (limited to 'ext/com/php_COM.h')
-rw-r--r--ext/com/php_COM.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/ext/com/php_COM.h b/ext/com/php_COM.h
new file mode 100644
index 0000000000..64d9c16548
--- /dev/null
+++ b/ext/com/php_COM.h
@@ -0,0 +1,24 @@
+#ifndef _PHP_COM_H
+#define _PHP_COM_H
+
+#if WIN32|WINNT
+
+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 zend_module_entry COM_module_entry;
+#define COM_module_ptr &COM_module_entry
+
+#else
+
+#define COM_module_ptr NULL
+
+#endif /* Win32|WINNT */
+
+#define phpext_COM_ptr COM_module_ptr
+
+#endif /* _PHP_COM_H */