Re: PHP 4.1.x Win32 Extension Compile Error with oject_init()

From: Date: Thu, 17 Jan 2002 00:14:57 +0000
Subject: Re: PHP 4.1.x Win32 Extension Compile Error with oject_init()
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-77307@lists.php.net to get a copy of this message
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.

« previous php.dev (#77307) next »