use *_EXTERN_C() and PHP_WIN32

This commit is contained in:
Harald Radi 2001-01-29 21:54:46 +00:00
parent 7478783b20
commit dee2fd1ec4
14 changed files with 150 additions and 142 deletions

View file

@ -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