Re: Re: export symbols patch

From: Date: Sat, 12 Jan 2008 15:33:26 +0000
Subject: Re: Re: export symbols patch
References: 1 2 3 4 5  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-5061@lists.php.net to get a copy of this message
Derick Rethans wrote: > On Sat, 12 Jan 2008, Gregory Beaver wrote: > > >> Johannes Schlüter wrote: >> >>> On Sat, 2008-01-12 at 01:57 +0100, Pierre wrote: >>> >>> >>>>> Turns out, the only thing missing was the extern declaration in zipint.h >>>>> >>>>> >>>> Don't we need to export the functions on windows? That's what we do >>>> for the other functions (PHP_API, ZEND_API or xml equivalents). >>>> >>> Won't it make sense to prefix exported symbols with php_ or something to >>> prevent conflicts with other Apache modules having a zip_open symbol? >>> >> I could of course do this relatively easily with a search/replace, but >> it would be a very extensive modification to the source of libzip as >> well as to both pecl/phar and pecl/zip, so I would want further opinions >> before taking the leap. >> > > For another lib (can't find which one quickly) we solve this > renaming by including a file with macros to redefine the names. Then > no extensive modifications are required. ooooh sexy, I like. I'll do this then. Greg

« previous php.pecl.dev (#5061) next »