Re: [xml] Win32/MSVC Facelift



On Wed, Jul 25, 2001 at 03:20:14PM -0600, Vakoc, Mark wrote:
If we make a rule that libxml must always be compiled using the /Gd flag
(use __cdecl calling convention) then the macro would only be needed in the
headers.  I don't think anyone would argue with that rule.  This allows
programs importing libxml to know that the call type is __cdecl from the
headers for libxml functions, but the .c source is untouched.  

This way we remove the need for the .def.src and have a consistent way to
import/export both functions and variables.

  Okay, if Igor things it's the Right Way, then provide a patch :-)

Daniel

-- 
Daniel Veillard      | Red Hat Network http://redhat.com/products/network/
veillard redhat com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
Sep 17-18 2001 Brussels Red Hat TechWorld http://www.redhat-techworld.com




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]