Index: third_party/libxml/elfgcchack.h |
diff --git a/third_party/libxml/elfgcchack.h b/third_party/libxml/elfgcchack.h |
index e1d21bb2336ea0dd6a06e17674640bc7229bf19c..84e81516a5583b38d03f73a0c5ce71be0ce0d599 100644 |
--- a/third_party/libxml/elfgcchack.h |
+++ b/third_party/libxml/elfgcchack.h |
@@ -1991,6 +1991,18 @@ extern __typeof (xmlCheckVersion) xmlCheckVersion__internal_alias __attribute((v |
#endif |
#endif |
+#if defined(LIBXML_TREE_ENABLED) |
+#ifdef bottom_tree |
+#undef xmlChildElementCount |
+extern __typeof (xmlChildElementCount) xmlChildElementCount __attribute((alias("xmlChildElementCount__internal_alias"))); |
+#else |
+#ifndef xmlChildElementCount |
+extern __typeof (xmlChildElementCount) xmlChildElementCount__internal_alias __attribute((visibility("hidden"))); |
+#define xmlChildElementCount xmlChildElementCount__internal_alias |
+#endif |
+#endif |
+#endif |
+ |
#ifdef bottom_encoding |
#undef xmlCleanupCharEncodingHandlers |
extern __typeof (xmlCleanupCharEncodingHandlers) xmlCleanupCharEncodingHandlers __attribute((alias("xmlCleanupCharEncodingHandlers__internal_alias"))); |
@@ -3419,6 +3431,18 @@ extern __typeof (xmlFindCharEncodingHandler) xmlFindCharEncodingHandler__interna |
#endif |
#endif |
+#if defined(LIBXML_TREE_ENABLED) |
+#ifdef bottom_tree |
+#undef xmlFirstElementChild |
+extern __typeof (xmlFirstElementChild) xmlFirstElementChild __attribute((alias("xmlFirstElementChild__internal_alias"))); |
+#else |
+#ifndef xmlFirstElementChild |
+extern __typeof (xmlFirstElementChild) xmlFirstElementChild__internal_alias __attribute((visibility("hidden"))); |
+#define xmlFirstElementChild xmlFirstElementChild__internal_alias |
+#endif |
+#endif |
+#endif |
+ |
#ifdef bottom_valid |
#undef xmlFreeAttributeTable |
extern __typeof (xmlFreeAttributeTable) xmlFreeAttributeTable __attribute((alias("xmlFreeAttributeTable__internal_alias"))); |
@@ -4759,6 +4783,18 @@ extern __typeof (xmlKeepBlanksDefault) xmlKeepBlanksDefault__internal_alias __at |
#endif |
#endif |
+#if defined(LIBXML_TREE_ENABLED) |
+#ifdef bottom_tree |
+#undef xmlLastElementChild |
+extern __typeof (xmlLastElementChild) xmlLastElementChild __attribute((alias("xmlLastElementChild__internal_alias"))); |
+#else |
+#ifndef xmlLastElementChild |
+extern __typeof (xmlLastElementChild) xmlLastElementChild__internal_alias __attribute((visibility("hidden"))); |
+#define xmlLastElementChild xmlLastElementChild__internal_alias |
+#endif |
+#endif |
+#endif |
+ |
#ifdef bottom_parserInternals |
#undef xmlLineNumbersDefault |
extern __typeof (xmlLineNumbersDefault) xmlLineNumbersDefault __attribute((alias("xmlLineNumbersDefault__internal_alias"))); |
@@ -5162,6 +5198,16 @@ extern __typeof (xmlMemDisplay) xmlMemDisplay__internal_alias __attribute((visib |
#endif |
#ifdef bottom_xmlmemory |
+#undef xmlMemDisplayLast |
+extern __typeof (xmlMemDisplayLast) xmlMemDisplayLast __attribute((alias("xmlMemDisplayLast__internal_alias"))); |
+#else |
+#ifndef xmlMemDisplayLast |
+extern __typeof (xmlMemDisplayLast) xmlMemDisplayLast__internal_alias __attribute((visibility("hidden"))); |
+#define xmlMemDisplayLast xmlMemDisplayLast__internal_alias |
+#endif |
+#endif |
+ |
+#ifdef bottom_xmlmemory |
#undef xmlMemFree |
extern __typeof (xmlMemFree) xmlMemFree __attribute((alias("xmlMemFree__internal_alias"))); |
#else |
@@ -6043,6 +6089,16 @@ extern __typeof (xmlNewElementContent) xmlNewElementContent__internal_alias __at |
#endif |
#endif |
+#ifdef bottom_entities |
+#undef xmlNewEntity |
+extern __typeof (xmlNewEntity) xmlNewEntity __attribute((alias("xmlNewEntity__internal_alias"))); |
+#else |
+#ifndef xmlNewEntity |
+extern __typeof (xmlNewEntity) xmlNewEntity__internal_alias __attribute((visibility("hidden"))); |
+#define xmlNewEntity xmlNewEntity__internal_alias |
+#endif |
+#endif |
+ |
#ifdef bottom_parserInternals |
#undef xmlNewEntityInputStream |
extern __typeof (xmlNewEntityInputStream) xmlNewEntityInputStream __attribute((alias("xmlNewEntityInputStream__internal_alias"))); |
@@ -6367,6 +6423,18 @@ extern __typeof (xmlNextChar) xmlNextChar__internal_alias __attribute((visibilit |
#endif |
#endif |
+#if defined(LIBXML_TREE_ENABLED) |
+#ifdef bottom_tree |
+#undef xmlNextElementSibling |
+extern __typeof (xmlNextElementSibling) xmlNextElementSibling __attribute((alias("xmlNextElementSibling__internal_alias"))); |
+#else |
+#ifndef xmlNextElementSibling |
+extern __typeof (xmlNextElementSibling) xmlNextElementSibling__internal_alias __attribute((visibility("hidden"))); |
+#define xmlNextElementSibling xmlNextElementSibling__internal_alias |
+#endif |
+#endif |
+#endif |
+ |
#ifdef bottom_xmlIO |
#undef xmlNoNetExternalEntityLoader |
extern __typeof (xmlNoNetExternalEntityLoader) xmlNoNetExternalEntityLoader __attribute((alias("xmlNoNetExternalEntityLoader__internal_alias"))); |
@@ -7769,6 +7837,18 @@ extern __typeof (xmlPopInputCallbacks) xmlPopInputCallbacks__internal_alias __at |
#endif |
#endif |
+#if defined(LIBXML_TREE_ENABLED) |
+#ifdef bottom_tree |
+#undef xmlPreviousElementSibling |
+extern __typeof (xmlPreviousElementSibling) xmlPreviousElementSibling __attribute((alias("xmlPreviousElementSibling__internal_alias"))); |
+#else |
+#ifndef xmlPreviousElementSibling |
+extern __typeof (xmlPreviousElementSibling) xmlPreviousElementSibling__internal_alias __attribute((visibility("hidden"))); |
+#define xmlPreviousElementSibling xmlPreviousElementSibling__internal_alias |
+#endif |
+#endif |
+#endif |
+ |
#ifdef bottom_uri |
#undef xmlPrintURI |
extern __typeof (xmlPrintURI) xmlPrintURI __attribute((alias("xmlPrintURI__internal_alias"))); |
@@ -9843,6 +9923,18 @@ extern __typeof (xmlSchemaValidCtxtGetOptions) xmlSchemaValidCtxtGetOptions__int |
#if defined(LIBXML_SCHEMAS_ENABLED) |
#ifdef bottom_xmlschemas |
+#undef xmlSchemaValidCtxtGetParserCtxt |
+extern __typeof (xmlSchemaValidCtxtGetParserCtxt) xmlSchemaValidCtxtGetParserCtxt __attribute((alias("xmlSchemaValidCtxtGetParserCtxt__internal_alias"))); |
+#else |
+#ifndef xmlSchemaValidCtxtGetParserCtxt |
+extern __typeof (xmlSchemaValidCtxtGetParserCtxt) xmlSchemaValidCtxtGetParserCtxt__internal_alias __attribute((visibility("hidden"))); |
+#define xmlSchemaValidCtxtGetParserCtxt xmlSchemaValidCtxtGetParserCtxt__internal_alias |
+#endif |
+#endif |
+#endif |
+ |
+#if defined(LIBXML_SCHEMAS_ENABLED) |
+#ifdef bottom_xmlschemas |
#undef xmlSchemaValidateDoc |
extern __typeof (xmlSchemaValidateDoc) xmlSchemaValidateDoc __attribute((alias("xmlSchemaValidateDoc__internal_alias"))); |
#else |
@@ -15399,6 +15491,18 @@ extern __typeof (xmlXIncludeProcessTreeFlags) xmlXIncludeProcessTreeFlags__inter |
#if defined(LIBXML_XINCLUDE_ENABLED) |
#ifdef bottom_xinclude |
+#undef xmlXIncludeProcessTreeFlagsData |
+extern __typeof (xmlXIncludeProcessTreeFlagsData) xmlXIncludeProcessTreeFlagsData __attribute((alias("xmlXIncludeProcessTreeFlagsData__internal_alias"))); |
+#else |
+#ifndef xmlXIncludeProcessTreeFlagsData |
+extern __typeof (xmlXIncludeProcessTreeFlagsData) xmlXIncludeProcessTreeFlagsData__internal_alias __attribute((visibility("hidden"))); |
+#define xmlXIncludeProcessTreeFlagsData xmlXIncludeProcessTreeFlagsData__internal_alias |
+#endif |
+#endif |
+#endif |
+ |
+#if defined(LIBXML_XINCLUDE_ENABLED) |
+#ifdef bottom_xinclude |
#undef xmlXIncludeSetFlags |
extern __typeof (xmlXIncludeSetFlags) xmlXIncludeSetFlags __attribute((alias("xmlXIncludeSetFlags__internal_alias"))); |
#else |