From 22c3da8f9c30dd6116ba733ba6653ed60a83cd80 Mon Sep 17 00:00:00 2001 From: Hartmut Holzgraefe Date: Wed, 23 Jan 2002 09:52:28 +0000 Subject: [PATCH] added info about FETCH macros (written over a year ago but somehow never commited) --- apidoc-zend.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apidoc-zend.txt b/apidoc-zend.txt index 6cd4999dca..0add45301b 100644 --- a/apidoc-zend.txt +++ b/apidoc-zend.txt @@ -150,6 +150,10 @@ LS stands for 'Local Storage', _C stands for Call and _CC stands for Call Comma, _D stands for Declaration and _DC stands for Declaration Comma. Note that there's NO comma between the last argument and ???LS_DC or ???LS_CC. +If you do not pass the structure as an argument you can always fetch it by +using the appropriate ???LS_FETCH() macros within a functions variable +declarations. + In general, every module that makes use of globals should use this approach if it plans to be thread safe. -- 2.40.0