1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-10-26 12:25:09 +03:00

xlink: Deprecate xlinkGetDefault*

These functions read an otherwise unused global and seem useless.
This commit is contained in:
Nick Wellnhofer 2024-06-12 19:55:47 +02:00
parent 046663bc54
commit 1c1794964e
2 changed files with 6 additions and 0 deletions

View File

@ -160,6 +160,7 @@ struct _xlinkHandler {
* detection callbacks.
*/
XML_DEPRECATED
XMLPUBFUN xlinkNodeDetectFunc
xlinkGetDefaultDetect (void);
XML_DEPRECATED
@ -169,6 +170,7 @@ XMLPUBFUN void
/*
* Routines to set/get the default handlers.
*/
XML_DEPRECATED
XMLPUBFUN xlinkHandlerPtr
xlinkGetDefaultHandler (void);
XML_DEPRECATED

View File

@ -64,6 +64,8 @@ xlinkSetDefaultHandler(xlinkHandlerPtr handler) {
/**
* xlinkGetDefaultDetect:
*
* DEPRECATED: Don't use.
*
* Get the default xlink detection routine
*
* Returns the current function or NULL;
@ -77,6 +79,8 @@ xlinkGetDefaultDetect (void) {
* xlinkSetDefaultDetect:
* @func: pointer to the new detection routine.
*
* DEPRECATED: Don't use.
*
* Set the default xlink detection routine
*/
void