Re: [xml] More windows exports



I can't express how much I hate that .def.src file :-)

Maybe it could be generated from libxml2-api.xml?

Unfortunately, no. That file does not contain information vital for the
.def.src file.

Namely, it does not say what must be #defined to make a certain symbol
available. For example, it says that there is a function xmlXPathEval, but
it doesn't say that its existence depends on LIBXML_XPATH_ENABLED being
#defined.

Additionally, in case thread support is enabled, it contains the wrong list.
Few variables become functions in this case and their names change. For
example, xmlGenericError is a pointer to a function normally, with threads
it becomes becomes a function named __xmlGenericError.

The API file is excellent for reference documentation, but cannot be used
for .def.src generation, unfortunately, unfortunately...

Ciao,
Igor




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