On Fri, 26 Jan 2001, Sam Liddicott wrote:

> Why are le_* garbage destructor handles declared static?
>
> As far as I can tell this means other c files in the same module can't
> "extern" it but as it is static in file scope it has none of the other
> benefits of being static?
>
> Is it to do with threading?  What?

    Usually, other source files do not need access to those
    symbols.  Hence, exporting them without a reason would only
    pollute the global symbol space.  If you need to access such
    a symbol in more than one source file, I suggest prefixing
    the symbol correctly.

    - Sascha


-- 
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]

Reply via email to