Date: 01/26/01
- Next message: rasmus <email protected>: "[PHP-DEV] PHP 4.0 Bug #8878 Updated: symbol not defined (load php4-module)"
- Previous message: Ferdinand, Dieter: "[PHP-DEV] AW: PHP 4.0 Bug #8878 Updated: symbol not defined (load php4-modu le)"
- In reply to: Sam Liddicott: "[PHP-DEV] le_ why static?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: rasmus <email protected>: "[PHP-DEV] PHP 4.0 Bug #8878 Updated: symbol not defined (load php4-module)"
- Previous message: Ferdinand, Dieter: "[PHP-DEV] AW: PHP 4.0 Bug #8878 Updated: symbol not defined (load php4-modu le)"
- In reply to: Sam Liddicott: "[PHP-DEV] le_ why static?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

