httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Laurie <...@algroup.co.uk>
Subject Re: API_EXPORT grrrr
Date Sun, 20 Jul 1997 07:55:00 GMT
Dean Gaudet wrote:

> Grr, API_EXPORT messes up ctags.
>
> How many people's ctags(1) has the "-I ignorelist" option?  Under
> Linux I
> can work around API_EXPORT with this:
>
>     ctags -I API_EXPORT -I API_EXPORT_NONSTD *.c
>
> BTW I think you only need the dll crap on a prototype of the function
> rather than on the function declaration.

Wrong, I'm afraid.

>  For example, note that rprintf()
> is declared API_EXPORT_NONSTD in http_protocol.h, but only API_EXPORT
> at
> its actual definition in http_protocol.c.

That's because the __stdcall is suppressed by the "..." -
API_EXPORT_NONSTD just documents this automatic behaviour.

Cheers,

Ben.

--
Ben Laurie                Phone: +44 (181) 994 6435  Email:
ben@algroup.co.uk
Freelance Consultant and  Fax:   +44 (181) 994 6472
Technical Director        URL: http://www.algroup.co.uk/Apache-SSL
A.L. Digital Ltd,         Apache Group member (http://www.apache.org)
London, England.          Apache-SSL author



Mime
View raw message