Re: cvs: php4 /ext/com COM.c php_COM.h
| From: | Andi Gutmans | Date: | Sun, 28 Jan 2001 17:07:37 +0000 |
| Subject: | Re: cvs: php4 /ext/com COM.c php_COM.h | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-3798@lists.php.net to get a copy of this message | ||
Damn, cvs.php.net is down so I can't commit changes.
Best to change the #if WIN32|WINNT to #ifdef PHP_WIN32
Also you should use BEGIN_EXTERN_C() and END_EXTERN_C()
I know it's picky, but it's good for consistency.
Andi
At 03:41 AM 1/28/2001 +0000, Harald Radi wrote:
phanto Sat Jan 27 19:41:43 2001 EDTRemoved files:/php4/ext/com COM.cModified files:/php4/ext/com php_COM.hLog: fixed unicodeconversion and parameter passing bugs in com and dotnet modules Index: php4/ext/com/php_COM.h diff -u php4/ext/com/php_COM.h:1.2 php4/ext/com/php_COM.h:1.3 --- php4/ext/com/php_COM.h:1.2 Sun Jul 2 16:46:38 2000+++ php4/ext/com/php_COM.h Sat Jan 27 19:41:43 2001@@ -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_propget); PHP_FUNCTION(com_propput); extern zend_module_entry COM_module_entry; + +#ifdef __cplusplus +} +#endif + #define COM_module_ptr &COM_module_entry #else -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-cvs-unsubscribe@lists.php.net For additional commands, e-mail: php-cvs-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net