Re: documentation of php5ts.dll and .NET wrapper
| From: | muquaddim | Date: | Mon, 18 Jun 2007 22:12:29 +0000 |
| Subject: | Re: documentation of php5ts.dll and .NET wrapper | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-30233@lists.php.net to get a copy of this message | ||
I think the configure option "--disable-zts" will work on the following
lines.
#ifdef ZTS
#define TSRMLS_D void ***tsrm_ls
#define TSRMLS_DC , TSRMLS_D
#define TSRMLS_C tsrm_ls
#define TSRMLS_CC , TSRMLS_C
#else
#define TSRMLS_D
#define TSRMLS_DC
#define TSRMLS_C
#define TSRMLS_CC
In that case my function definition will be easily understandable as I don't
understand the TSRMLS_DC part.
I am planning to call the php5nsapi.dll entry points. those were most easy
for me.
Just tell me someone, Is it the right way?