![]() | ![]() | ![]() | Gnome XML Library Reference Manual | ![]() |
---|
xmlwin32version —
void xmlCheckVersion (int version); #define LIBXML_DOTTED_VERSION #define LIBXML_VERSION #define LIBXML_VERSION_STRING #define LIBXML_TEST_VERSION #define WITH_TRIO #define WITHOUT_TRIO #define LIBXML_THREAD_ENABLED #define LIBXML_FTP_ENABLED #define LIBXML_HTTP_ENABLED #define LIBXML_HTML_ENABLED #define LIBXML_CATALOG_ENABLED #define LIBXML_DOCB_ENABLED #define LIBXML_XPATH_ENABLED #define LIBXML_XPTR_ENABLED #define LIBXML_C14N_ENABLED #define LIBXML_XINCLUDE_ENABLED #define LIBXML_ICONV_ENABLED #define LIBXML_DEBUG_ENABLED #define DEBUG_MEMORY_LOCATION #define LIBXML_DLL_IMPORT #define ATTRIBUTE_UNUSED
void xmlCheckVersion (int version);
check the compiled lib version against the include one. This can warn or immediately kill the application
version: | the include version number |
#define LIBXML_VERSION_STRING
the version number string, 1.2.3 value is "1002003"
#define LIBXML_TEST_VERSION
Macro to check that the libxml version in use is compatible with the version the software has been compiled against
#define LIBXML_C14N_ENABLED
Whether the Canonicalization support is configured in
#define LIBXML_DLL_IMPORT
Used on Windows (MS C compiler only) to declare a variable as imported from the library. This macro should be empty when compiling libxml itself. It should expand to __declspec(dllimport) when the client code includes this header, and that only if the client links dynamically against libxml. For this to work, we need three macros. One tells us which compiler is being used and luckily the compiler defines such a thing: _MSC_VER. The second macro tells us if we are compiling libxml or the client code and we define the macro IN_LIBXML on the compiler's command line for this purpose. The third macro, LIBXML_STATIC, must be defined by any client code which links against libxml statically.
<< xmlerror | DOCBparser >> |