Re: [patch] calling convention and def file

"Arnaud Desitter" <[email protected]>
Newsgroups gmane.comp.web.html-tidy.devel
Message-ID <[email protected]>
Could you upload your patch at
http://sourceforge.net/tracker/?group_id=27659&atid=390965 
to make sure it does not get lost ?

Regards,

----- Original Message ----- 
From: "Cory Nelson" <[email protected]>
Newsgroups: gmane.comp.web.html-tidy.devel
Sent: Monday, February 14, 2005 2:38 PM
Subject: [patch] calling convention and def file


> Here's a patch that adds the define TIDYCALL in platform.h and to each
> exported function.  This lets apps compiling with a different calling
> convention (__cdecl, __stdcall, or __fastcall) find the exports in the
> tidy .lib. (Note: it defaults to __stdcall for WIN32 and is blank for
> everything else)
> 
> It also adds a .def file in src/ so any compiler can generate a native
> import library for a dll.  As long as new exported functions are
> appended to the .def with a new number (and no other pairs are
> changed), dlls will keep binary compatibility.  I don't have VC6 so
> I'm unable to change the project files (they'll still compile, but the
> .def wont be valid for any dlls made).
> 
> -- 
> Cory Nelson
> http://www.int64.org
>


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.