diff options
author | Harald Radi <phanto@php.net> | 2001-01-29 21:54:46 +0000 |
---|---|---|
committer | Harald Radi <phanto@php.net> | 2001-01-29 21:54:46 +0000 |
commit | dee2fd1ec42046c27bb07481f30d60bca6e3b889 (patch) | |
tree | 3b787d73f590cb612a347b25f391896cc1263132 /ext/rpc/dotnet/dotnet.cpp | |
parent | 7478783b208a72843d747549422e8544f2f1175a (diff) | |
download | php-git-dee2fd1ec42046c27bb07481f30d60bca6e3b889.tar.gz |
use *_EXTERN_C() and PHP_WIN32
Diffstat (limited to 'ext/rpc/dotnet/dotnet.cpp')
-rw-r--r-- | ext/rpc/dotnet/dotnet.cpp | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/ext/rpc/dotnet/dotnet.cpp b/ext/rpc/dotnet/dotnet.cpp index 12326f1d5e..f20c1f46dd 100644 --- a/ext/rpc/dotnet/dotnet.cpp +++ b/ext/rpc/dotnet/dotnet.cpp @@ -34,20 +34,15 @@ #include <math.h> #include <comdef.h> -extern "C" { +extern "C" { /* this should be included in the includes itself !! */ + #include "php.h" #include "php_ini.h" -OLECHAR *php_char_to_OLECHAR(char *C_str, uint strlen); } -pval php_COM_get_property_handler(zend_property_reference *property_reference); -int php_COM_set_property_handler(zend_property_reference *property_reference, pval *value); -char *php_COM_error_message(HRESULT hr); -void php_COM_call_function_handler(INTERNAL_FUNCTION_PARAMETERS, zend_property_reference *property_reference); -int php_COM_get_le_idispatch(); - #include "../com/conversion.h" +#include "../com/php_COM.h" #include "Mscoree.h" #include "mscorlib.h" @@ -220,8 +215,8 @@ zend_module_entry dotnet_module_entry = { "dotnet", DOTNET_functions, PHP_MINIT(DOTNET), PHP_MSHUTDOWN(DOTNET), NULL, NULL, PHP_MINFO(DOTNET), STANDARD_MODULE_PROPERTIES }; -extern "C" { - ZEND_GET_MODULE(dotnet) -} +BEGIN_EXTERN_C() +ZEND_GET_MODULE(dotnet) +END_EXTERN_C() #endif |