On Wed, Jan 16, 2002 at 02:44:09PM -0500, Joseph Lauer wrote :
> swsms.c(264) : error C2065: 'tsrm_ls' : undeclared identifier
> swsms.c(264) : warning C4022: '_object_init' : pointer mismatch for actual
> parameter 2
object_init() is just a macro and needs the thread context.
Just fetch it manually with TSRMLS_FETCH() after the variable
declaration but before your first code line.
You find this easily by looking up object_init() at
lxr.php.net:
159 #define object_init(arg) _object_init((arg) ZEND_FILE_LINE_CC TSRMLS_CC)
--
Please always Cc to me when replying to me on the lists.
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]