1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2026-01-26 21:41:34 +03:00

xlink: Deprecate remaining public function

This was never finished.
This commit is contained in:
Nick Wellnhofer
2025-05-03 00:17:39 +02:00
parent 05d0f59221
commit 075283d49d
2 changed files with 4 additions and 1 deletions

View File

@@ -3,7 +3,7 @@
*
* @brief unfinished XLink detection module
*
* unfinished XLink detection module
* This module is deprecated, don't use.
*
* @copyright See Copyright for the status of this software.
*
@@ -179,6 +179,7 @@ XMLPUBFUN void
/*
* Link detection module itself.
*/
XML_DEPRECATED
XMLPUBFUN xlinkType
xlinkIsLink (xmlDocPtr doc,
xmlNodePtr node);

View File

@@ -93,6 +93,8 @@ xlinkSetDefaultDetect (xlinkNodeDetectFunc func) {
* @param doc the document containing the node
* @param node the node pointer itself
*
* @deprecated The XLink code was never finished.
*
* Check whether the given node carries the attributes needed
* to be a link element (or is one of the linking elements issued
* from the (X)HTML DtDs).