Re: TSRM macros
| From: | derick@php.net | Date: | Mon, 08 Jul 2002 07:40:15 +0000 |
| Subject: | Re: TSRM macros | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-85836@lists.php.net to get a copy of this message | ||
On Mon, 8 Jul 2002, Jon Parise wrote:
> Is there a reference somewhere that describes how the TSRM macros
> should be used? I understand the differences between the various
> macros, but I'd like to read some detail concerning when the context
> should be passed into a function and when calling TSRM_FETCH() would
> be acceptable.
As I understood you should use TSRM_FETCH() only when you can not do it
without, as it involves calling the function 'ts_resource_ex' instead of
just passing the TSRM id around.
Derick
---------------------------------------------------------------------------
Did I help you? http://www.derickrethans.nl/link.php?url=giftlist
Frequent ranting: http://www.derickrethans.nl/
---------------------------------------------------------------------------
PHP: Scripting the Web - derick@php.net
All your branches are belong to me!
SRM: Script Running Machine - www.vl-srm.net
---------------------------------------------------------------------------