[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [serf-dev] Re: serf 0.7.0 released

From: Greg Stein <gstein_at_gmail.com>
Date: Wed, 25 Aug 2010 23:21:00 -0400

On Wed, Aug 25, 2010 at 21:53, Branko Čibej <brane_at_xbc.nu> wrote:
> On 26.08.2010 01:46, Greg Stein wrote:
>> On Wed, Aug 25, 2010 at 19:39, Justin Erenkrantz <justin_at_erenkrantz.com> wrote:
>>
>>> ...
>>> I'm not sure there is any API/ABI changes between 0.6.1 and 0.7.0.
>>> Greg?  Lieven?  -- justin
>>>
>> 0.6.1 and 0.7.0 are effectively compatible. I think an unused function
>> was removed, and the unused SERF_DECLARE stuff was removed.
>>
>
> IIRC replacing the #declspec with a .DEF file will change the ABI for
> DLLs on Windows. Shouldn't affect MacPorts or any other Unix-like system
> though.

Ah. Thanks for the info. The macros didn't do anything though (never
got that far), so the declarations/implementations were the default
callspec. Not sure if that matters, and I don't really care :-P ... as
long as Blair is set, then we're good.

Background: serf used a set of DECLARE macros, much like Apache httpd
and APR. But Subversion showed that it was unnecessary since you could
just use a .def file instead of funky magic. And that it was easy to
create that .def as long as your header files were regularized in
their declaration formatting. So 0.7.0 drops the complexity and
switched to a simple .def generation instead. Lesson learned: it
doesn't pay to stick with old, tired idioms.

Cheers,
-g
Received on 2010-08-26 05:21:36 CEST

This is an archived mail posted to the Subversion Dev mailing list.