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?

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to