Re: cvs: php4 /ext/swf/ swf.c
| From: | Zeev Suraski | Date: | Sun, 11 Jun 2000 22:35:02 +0000 |
| Subject: | Re: cvs: php4 /ext/swf/ swf.c | ||
| References: | 1 2 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-178@lists.php.net to get a copy of this message | ||
I guess we need to wrap most of Zend's and PHP's API functions with these, so that it'll be possible to call them from C++...
Zeev
At 23:29 11/06/2000, Evan Klinger wrote:
I remember a while back someone was talking about using C++ to make a PHP extension, what are the basic steps necessary (with re to c/c++ compat of course). Remember to wrap all your code: #ifdef __cplusplus extern "C" { #endif code here.. #ifdef __cplusplus } #endif And also be sure to name your source files with the correct extension: .cc or .cpp. -- ---------------------------------------- Zeev Suraski <zeev@zend.com> http://www.zend.com/Evan Klinger evan@domainclerk.com President DomainClerkwww.domainclerk.com - $13 domain names -- 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