Re: cvs: php4 /ext/swf/ swf.c
| From: | Evan Klinger | Date: | Sun, 11 Jun 2000 21:29:31 +0000 |
| Subject: | Re: cvs: php4 /ext/swf/ swf.c | ||
| References: | 1 2 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-177@lists.php.net to get a copy of this message | ||
> 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.
--
--------------------------------------
Evan Klinger evan@domainclerk.com
President DomainClerk
www.domainclerk.com - $13 domain names