httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Laurie <...@algroup.co.uk>
Subject Re: win32 and <Perl>
Date Mon, 16 Mar 1998 17:46:58 GMT
Alexei Kosut wrote:
> 
> On Sun, 15 Mar 1998, Ben Laurie wrote:
> 
> > Doug MacEachern wrote:
> 
> > > > Yes - coz you must use API_VAR_EXPORT, not MODULE_VAR_EXPORT. The latter
> > > > is for modules that want to export variables. The former is for core
> > > > exports.
> > >
> > > cool, that worked!  I also had to #define IS_MODULE in perl_config.c before
> > > pulling in the apache .h files, so that defined turns into a dllimport.
> >
> > That's expected - in theory, every module should define IS_MODULE, but
> > so far it only matters if you care about an API_VAR_EXPORT.
> 
> Well, not modules included in the core, only modules compiled as DLLs.
> 
> And API_EXPORT should also switch on IS_MODULE to use dllimport instead of
> dllexport (according to the Win32 docs, this results in a slight speedup
> on function calls)

Oh, does it? You live and learn!

> Actually, methinks it might be best to rename IS_MODULE to SHARED_MODULE
> to match the Unix side of things.

Feel free.

Cheers,

Ben.

-- 
Ben Laurie            |Phone: +44 (181) 735 0686|  Apache Group member
Freelance Consultant  |Fax:   +44 (181) 735 0689|http://www.apache.org
and Technical Director|Email: ben@algroup.co.uk |
A.L. Digital Ltd,     |Apache-SSL author    http://www.apache-ssl.org/
London, England.      |"Apache: TDG" http://www.ora.com/catalog/apache

Mime
View raw message