Re: [patch] calling convention and def file

Cory Nelson <[email protected]>
Newsgroups gmane.comp.web.html-tidy.devel
Message-ID <[email protected]>
Forgot to mention, this is valid for the "11 February, 2005" release
currently on the webpage.


On Mon, 14 Feb 2005 06:38:39 -0800, Cory Nelson <[email protected]> wrote:
> 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
> 
> 
> 


-- 
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.