--- embedaddon/php/ext/com_dotnet/com_wrapper.c 2012/05/29 12:34:36 1.1.1.2 +++ embedaddon/php/ext/com_dotnet/com_wrapper.c 2013/07/22 01:31:38 1.1.1.3 @@ -2,7 +2,7 @@ +----------------------------------------------------------------------+ | PHP Version 5 | +----------------------------------------------------------------------+ - | Copyright (c) 1997-2012 The PHP Group | + | Copyright (c) 1997-2013 The PHP Group | +----------------------------------------------------------------------+ | This source file is subject to version 3.01 of the PHP license, | | that is bundled with this package in the file LICENSE, and is | @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: com_wrapper.c,v 1.1.1.2 2012/05/29 12:34:36 misho Exp $ */ +/* $Id: com_wrapper.c,v 1.1.1.3 2013/07/22 01:31:38 misho Exp $ */ /* This module exports a PHP object as a COM object by wrapping it * using IDispatchEx */ @@ -578,7 +578,7 @@ static void disp_destructor(php_dispatchex *disp TSRML CoTaskMemFree(disp); } -PHPAPI IDispatch *php_com_wrapper_export_as_sink(zval *val, GUID *sinkid, +PHP_COM_DOTNET_API IDispatch *php_com_wrapper_export_as_sink(zval *val, GUID *sinkid, HashTable *id_to_name TSRMLS_DC) { php_dispatchex *disp = disp_constructor(val TSRMLS_CC); @@ -617,7 +617,7 @@ PHPAPI IDispatch *php_com_wrapper_export_as_sink(zval return (IDispatch*)disp; } -PHPAPI IDispatch *php_com_wrapper_export(zval *val TSRMLS_DC) +PHP_COM_DOTNET_API IDispatch *php_com_wrapper_export(zval *val TSRMLS_DC) { php_dispatchex *disp = NULL;