summaryrefslogtreecommitdiff
path: root/ext/com/php_COM.h
diff options
context:
space:
mode:
authorHarald Radi <phanto@php.net>2001-01-28 03:41:43 +0000
committerHarald Radi <phanto@php.net>2001-01-28 03:41:43 +0000
commit7478783b208a72843d747549422e8544f2f1175a (patch)
treedd756cf09914d00e48fcafef0f3e553dcf30e12e /ext/com/php_COM.h
parentdac7ab13da334669403076c423ffceae37b15cee (diff)
downloadphp-git-7478783b208a72843d747549422e8544f2f1175a.tar.gz
fixed unicodeconversion and parameter passing bugs in com and dotnet modules
Diffstat (limited to 'ext/com/php_COM.h')
-rw-r--r--ext/com/php_COM.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/ext/com/php_COM.h b/ext/com/php_COM.h
index addb22e7a3..c2d871fac6 100644
--- a/ext/com/php_COM.h
+++ b/ext/com/php_COM.h
@@ -3,6 +3,10 @@
#if WIN32|WINNT
+#ifdef __cplusplus
+extern "C" {
+#endif
+
extern PHP_MINIT_FUNCTION(COM);
extern PHP_MSHUTDOWN_FUNCTION(COM);
PHP_FUNCTION(COM_load);
@@ -11,6 +15,11 @@ PHP_FUNCTION(COM_invoke);
PHP_FUNCTION(com_propget);
PHP_FUNCTION(com_propput);
extern zend_module_entry COM_module_entry;
+
+#ifdef __cplusplus
+}
+#endif
+
#define COM_module_ptr &COM_module_entry
#else