update windows build to Python 3.7
This commit is contained in:
parent
73105fa71e
commit
ddc59ab92d
5761 changed files with 750298 additions and 213405 deletions
102
Lib/site-packages/lxml/includes/libexslt/exslt.h
Normal file
102
Lib/site-packages/lxml/includes/libexslt/exslt.h
Normal file
|
|
@ -0,0 +1,102 @@
|
|||
|
||||
#ifndef __EXSLT_H__
|
||||
#define __EXSLT_H__
|
||||
|
||||
#include <libxml/tree.h>
|
||||
#include <libxml/xpath.h>
|
||||
#include "exsltexports.h"
|
||||
#include <libexslt/exsltconfig.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
EXSLTPUBVAR const char *exsltLibraryVersion;
|
||||
EXSLTPUBVAR const int exsltLibexsltVersion;
|
||||
EXSLTPUBVAR const int exsltLibxsltVersion;
|
||||
EXSLTPUBVAR const int exsltLibxmlVersion;
|
||||
|
||||
/**
|
||||
* EXSLT_COMMON_NAMESPACE:
|
||||
*
|
||||
* Namespace for EXSLT common functions
|
||||
*/
|
||||
#define EXSLT_COMMON_NAMESPACE ((const xmlChar *) "http://exslt.org/common")
|
||||
/**
|
||||
* EXSLT_CRYPTO_NAMESPACE:
|
||||
*
|
||||
* Namespace for EXSLT crypto functions
|
||||
*/
|
||||
#define EXSLT_CRYPTO_NAMESPACE ((const xmlChar *) "http://exslt.org/crypto")
|
||||
/**
|
||||
* EXSLT_MATH_NAMESPACE:
|
||||
*
|
||||
* Namespace for EXSLT math functions
|
||||
*/
|
||||
#define EXSLT_MATH_NAMESPACE ((const xmlChar *) "http://exslt.org/math")
|
||||
/**
|
||||
* EXSLT_SETS_NAMESPACE:
|
||||
*
|
||||
* Namespace for EXSLT set functions
|
||||
*/
|
||||
#define EXSLT_SETS_NAMESPACE ((const xmlChar *) "http://exslt.org/sets")
|
||||
/**
|
||||
* EXSLT_FUNCTIONS_NAMESPACE:
|
||||
*
|
||||
* Namespace for EXSLT functions extension functions
|
||||
*/
|
||||
#define EXSLT_FUNCTIONS_NAMESPACE ((const xmlChar *) "http://exslt.org/functions")
|
||||
/**
|
||||
* EXSLT_STRINGS_NAMESPACE:
|
||||
*
|
||||
* Namespace for EXSLT strings functions
|
||||
*/
|
||||
#define EXSLT_STRINGS_NAMESPACE ((const xmlChar *) "http://exslt.org/strings")
|
||||
/**
|
||||
* EXSLT_DATE_NAMESPACE:
|
||||
*
|
||||
* Namespace for EXSLT date functions
|
||||
*/
|
||||
#define EXSLT_DATE_NAMESPACE ((const xmlChar *) "http://exslt.org/dates-and-times")
|
||||
/**
|
||||
* EXSLT_DYNAMIC_NAMESPACE:
|
||||
*
|
||||
* Namespace for EXSLT dynamic functions
|
||||
*/
|
||||
#define EXSLT_DYNAMIC_NAMESPACE ((const xmlChar *) "http://exslt.org/dynamic")
|
||||
|
||||
/**
|
||||
* SAXON_NAMESPACE:
|
||||
*
|
||||
* Namespace for SAXON extensions functions
|
||||
*/
|
||||
#define SAXON_NAMESPACE ((const xmlChar *) "http://icl.com/saxon")
|
||||
|
||||
EXSLTPUBFUN void EXSLTCALL exsltCommonRegister (void);
|
||||
#ifdef EXSLT_CRYPTO_ENABLED
|
||||
EXSLTPUBFUN void EXSLTCALL exsltCryptoRegister (void);
|
||||
#endif
|
||||
EXSLTPUBFUN void EXSLTCALL exsltMathRegister (void);
|
||||
EXSLTPUBFUN void EXSLTCALL exsltSetsRegister (void);
|
||||
EXSLTPUBFUN void EXSLTCALL exsltFuncRegister (void);
|
||||
EXSLTPUBFUN void EXSLTCALL exsltStrRegister (void);
|
||||
EXSLTPUBFUN void EXSLTCALL exsltDateRegister (void);
|
||||
EXSLTPUBFUN void EXSLTCALL exsltSaxonRegister (void);
|
||||
EXSLTPUBFUN void EXSLTCALL exsltDynRegister(void);
|
||||
|
||||
EXSLTPUBFUN void EXSLTCALL exsltRegisterAll (void);
|
||||
|
||||
EXSLTPUBFUN int EXSLTCALL exsltDateXpathCtxtRegister (xmlXPathContextPtr ctxt,
|
||||
const xmlChar *prefix);
|
||||
EXSLTPUBFUN int EXSLTCALL exsltMathXpathCtxtRegister (xmlXPathContextPtr ctxt,
|
||||
const xmlChar *prefix);
|
||||
EXSLTPUBFUN int EXSLTCALL exsltSetsXpathCtxtRegister (xmlXPathContextPtr ctxt,
|
||||
const xmlChar *prefix);
|
||||
EXSLTPUBFUN int EXSLTCALL exsltStrXpathCtxtRegister (xmlXPathContextPtr ctxt,
|
||||
const xmlChar *prefix);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif /* __EXSLT_H__ */
|
||||
|
||||
73
Lib/site-packages/lxml/includes/libexslt/exsltconfig.h
Normal file
73
Lib/site-packages/lxml/includes/libexslt/exsltconfig.h
Normal file
|
|
@ -0,0 +1,73 @@
|
|||
/*
|
||||
* exsltconfig.h: compile-time version informations for the EXSLT library
|
||||
*
|
||||
* See Copyright for the status of this software.
|
||||
*
|
||||
* daniel@veillard.com
|
||||
*/
|
||||
|
||||
#ifndef __XML_EXSLTCONFIG_H__
|
||||
#define __XML_EXSLTCONFIG_H__
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* LIBEXSLT_DOTTED_VERSION:
|
||||
*
|
||||
* the version string like "1.2.3"
|
||||
*/
|
||||
#define LIBEXSLT_DOTTED_VERSION "0.8.18"
|
||||
|
||||
/**
|
||||
* LIBEXSLT_VERSION:
|
||||
*
|
||||
* the version number: 1.2.3 value is 10203
|
||||
*/
|
||||
#define LIBEXSLT_VERSION 818
|
||||
|
||||
/**
|
||||
* LIBEXSLT_VERSION_STRING:
|
||||
*
|
||||
* the version number string, 1.2.3 value is "10203"
|
||||
*/
|
||||
#define LIBEXSLT_VERSION_STRING "818"
|
||||
|
||||
/**
|
||||
* LIBEXSLT_VERSION_EXTRA:
|
||||
*
|
||||
* extra version information, used to show a CVS compilation
|
||||
*/
|
||||
#define LIBEXSLT_VERSION_EXTRA ""
|
||||
|
||||
/**
|
||||
* WITH_CRYPTO:
|
||||
*
|
||||
* Whether crypto support is configured into exslt
|
||||
*/
|
||||
#if 1
|
||||
#define EXSLT_CRYPTO_ENABLED
|
||||
#endif
|
||||
|
||||
/**
|
||||
* ATTRIBUTE_UNUSED:
|
||||
*
|
||||
* This macro is used to flag unused function parameters to GCC
|
||||
*/
|
||||
#ifdef __GNUC__
|
||||
#ifdef HAVE_ANSIDECL_H
|
||||
#include <ansidecl.h>
|
||||
#endif
|
||||
#ifndef ATTRIBUTE_UNUSED
|
||||
#define ATTRIBUTE_UNUSED __attribute__((unused))
|
||||
#endif
|
||||
#else
|
||||
#define ATTRIBUTE_UNUSED
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __XML_EXSLTCONFIG_H__ */
|
||||
140
Lib/site-packages/lxml/includes/libexslt/exsltexports.h
Normal file
140
Lib/site-packages/lxml/includes/libexslt/exsltexports.h
Normal file
|
|
@ -0,0 +1,140 @@
|
|||
/*
|
||||
* exsltexports.h : macros for marking symbols as exportable/importable.
|
||||
*
|
||||
* See Copyright for the status of this software.
|
||||
*
|
||||
* igor@zlatkovic.com
|
||||
*/
|
||||
|
||||
#ifndef __EXSLT_EXPORTS_H__
|
||||
#define __EXSLT_EXPORTS_H__
|
||||
|
||||
/**
|
||||
* EXSLTPUBFUN, EXSLTPUBVAR, EXSLTCALL
|
||||
*
|
||||
* Macros which declare an exportable function, an exportable variable and
|
||||
* the calling convention used for functions.
|
||||
*
|
||||
* Please use an extra block for every platform/compiler combination when
|
||||
* modifying this, rather than overlong #ifdef lines. This helps
|
||||
* readability as well as the fact that different compilers on the same
|
||||
* platform might need different definitions.
|
||||
*/
|
||||
|
||||
/**
|
||||
* EXSLTPUBFUN:
|
||||
*
|
||||
* Macros which declare an exportable function
|
||||
*/
|
||||
#define EXSLTPUBFUN
|
||||
/**
|
||||
* EXSLTPUBVAR:
|
||||
*
|
||||
* Macros which declare an exportable variable
|
||||
*/
|
||||
#define EXSLTPUBVAR extern
|
||||
/**
|
||||
* EXSLTCALL:
|
||||
*
|
||||
* Macros which declare the called convention for exported functions
|
||||
*/
|
||||
#define EXSLTCALL
|
||||
|
||||
/** DOC_DISABLE */
|
||||
|
||||
/* Windows platform with MS compiler */
|
||||
#if defined(_WIN32) && defined(_MSC_VER)
|
||||
#undef EXSLTPUBFUN
|
||||
#undef EXSLTPUBVAR
|
||||
#undef EXSLTCALL
|
||||
#if defined(IN_LIBEXSLT) && !defined(LIBEXSLT_STATIC)
|
||||
#define EXSLTPUBFUN __declspec(dllexport)
|
||||
#define EXSLTPUBVAR __declspec(dllexport)
|
||||
#else
|
||||
#define EXSLTPUBFUN
|
||||
#if !defined(LIBEXSLT_STATIC)
|
||||
#define EXSLTPUBVAR __declspec(dllimport) extern
|
||||
#else
|
||||
#define EXSLTPUBVAR extern
|
||||
#endif
|
||||
#endif
|
||||
#define EXSLTCALL __cdecl
|
||||
#if !defined _REENTRANT
|
||||
#define _REENTRANT
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* Windows platform with Borland compiler */
|
||||
#if defined(_WIN32) && defined(__BORLANDC__)
|
||||
#undef EXSLTPUBFUN
|
||||
#undef EXSLTPUBVAR
|
||||
#undef EXSLTCALL
|
||||
#if defined(IN_LIBEXSLT) && !defined(LIBEXSLT_STATIC)
|
||||
#define EXSLTPUBFUN __declspec(dllexport)
|
||||
#define EXSLTPUBVAR __declspec(dllexport) extern
|
||||
#else
|
||||
#define EXSLTPUBFUN
|
||||
#if !defined(LIBEXSLT_STATIC)
|
||||
#define EXSLTPUBVAR __declspec(dllimport) extern
|
||||
#else
|
||||
#define EXSLTPUBVAR extern
|
||||
#endif
|
||||
#endif
|
||||
#define EXSLTCALL __cdecl
|
||||
#if !defined _REENTRANT
|
||||
#define _REENTRANT
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* Windows platform with GNU compiler (Mingw) */
|
||||
#if defined(_WIN32) && defined(__MINGW32__)
|
||||
#undef EXSLTPUBFUN
|
||||
#undef EXSLTPUBVAR
|
||||
#undef EXSLTCALL
|
||||
/*
|
||||
#if defined(IN_LIBEXSLT) && !defined(LIBEXSLT_STATIC)
|
||||
*/
|
||||
#if !defined(LIBEXSLT_STATIC)
|
||||
#define EXSLTPUBFUN __declspec(dllexport)
|
||||
#define EXSLTPUBVAR __declspec(dllexport) extern
|
||||
#else
|
||||
#define EXSLTPUBFUN
|
||||
#if !defined(LIBEXSLT_STATIC)
|
||||
#define EXSLTPUBVAR __declspec(dllimport) extern
|
||||
#else
|
||||
#define EXSLTPUBVAR extern
|
||||
#endif
|
||||
#endif
|
||||
#define EXSLTCALL __cdecl
|
||||
#if !defined _REENTRANT
|
||||
#define _REENTRANT
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* Cygwin platform, GNU compiler */
|
||||
#if defined(_WIN32) && defined(__CYGWIN__)
|
||||
#undef EXSLTPUBFUN
|
||||
#undef EXSLTPUBVAR
|
||||
#undef EXSLTCALL
|
||||
#if defined(IN_LIBEXSLT) && !defined(LIBEXSLT_STATIC)
|
||||
#define EXSLTPUBFUN __declspec(dllexport)
|
||||
#define EXSLTPUBVAR __declspec(dllexport)
|
||||
#else
|
||||
#define EXSLTPUBFUN
|
||||
#if !defined(LIBEXSLT_STATIC)
|
||||
#define EXSLTPUBVAR __declspec(dllimport) extern
|
||||
#else
|
||||
#define EXSLTPUBVAR
|
||||
#endif
|
||||
#endif
|
||||
#define EXSLTCALL __cdecl
|
||||
#endif
|
||||
|
||||
/* Compatibility */
|
||||
#if !defined(LIBEXSLT_PUBLIC)
|
||||
#define LIBEXSLT_PUBLIC EXSLTPUBVAR
|
||||
#endif
|
||||
|
||||
#endif /* __EXSLT_EXPORTS_H__ */
|
||||
|
||||
|
||||
29
Lib/site-packages/lxml/includes/libexslt/libexslt.h
Normal file
29
Lib/site-packages/lxml/includes/libexslt/libexslt.h
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
/*
|
||||
* libexslt.h: internal header only used during the compilation of libexslt
|
||||
*
|
||||
* See COPYRIGHT for the status of this software
|
||||
*
|
||||
* Author: daniel@veillard.com
|
||||
*/
|
||||
|
||||
#ifndef __XSLT_LIBEXSLT_H__
|
||||
#define __XSLT_LIBEXSLT_H__
|
||||
|
||||
#if defined(WIN32) && !defined (__CYGWIN__) && !defined (__MINGW32__)
|
||||
#include <win32config.h>
|
||||
#else
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include <libxslt/xsltconfig.h>
|
||||
#include <libxml/xmlversion.h>
|
||||
|
||||
#if !defined LIBEXSLT_PUBLIC
|
||||
#if (defined (__CYGWIN__) || defined _MSC_VER) && !defined IN_LIBEXSLT && !defined LIBEXSLT_STATIC
|
||||
#define LIBEXSLT_PUBLIC __declspec(dllimport)
|
||||
#else
|
||||
#define LIBEXSLT_PUBLIC
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif /* ! __XSLT_LIBEXSLT_H__ */
|
||||
Loading…
Add table
Add a link
Reference in a new issue