mirror of
https://gitlab.gnome.org/GNOME/libxml2
synced 2025-03-28 21:33:13 +00:00
xlink: Deprecate xlinkSetDefault*
These functions set an otherwise unused global and seem useless.
This commit is contained in:
parent
669bd34993
commit
046663bc54
@ -162,6 +162,7 @@ struct _xlinkHandler {
|
|||||||
|
|
||||||
XMLPUBFUN xlinkNodeDetectFunc
|
XMLPUBFUN xlinkNodeDetectFunc
|
||||||
xlinkGetDefaultDetect (void);
|
xlinkGetDefaultDetect (void);
|
||||||
|
XML_DEPRECATED
|
||||||
XMLPUBFUN void
|
XMLPUBFUN void
|
||||||
xlinkSetDefaultDetect (xlinkNodeDetectFunc func);
|
xlinkSetDefaultDetect (xlinkNodeDetectFunc func);
|
||||||
|
|
||||||
@ -170,6 +171,7 @@ XMLPUBFUN void
|
|||||||
*/
|
*/
|
||||||
XMLPUBFUN xlinkHandlerPtr
|
XMLPUBFUN xlinkHandlerPtr
|
||||||
xlinkGetDefaultHandler (void);
|
xlinkGetDefaultHandler (void);
|
||||||
|
XML_DEPRECATED
|
||||||
XMLPUBFUN void
|
XMLPUBFUN void
|
||||||
xlinkSetDefaultHandler (xlinkHandlerPtr handler);
|
xlinkSetDefaultHandler (xlinkHandlerPtr handler);
|
||||||
|
|
||||||
|
4
xlink.c
4
xlink.c
@ -36,6 +36,8 @@ static xlinkNodeDetectFunc xlinkDefaultDetect = NULL;
|
|||||||
/**
|
/**
|
||||||
* xlinkGetDefaultHandler:
|
* xlinkGetDefaultHandler:
|
||||||
*
|
*
|
||||||
|
* DEPRECATED: Don't use.
|
||||||
|
*
|
||||||
* Get the default xlink handler.
|
* Get the default xlink handler.
|
||||||
*
|
*
|
||||||
* Returns the current xlinkHandlerPtr value.
|
* Returns the current xlinkHandlerPtr value.
|
||||||
@ -50,6 +52,8 @@ xlinkGetDefaultHandler(void) {
|
|||||||
* xlinkSetDefaultHandler:
|
* xlinkSetDefaultHandler:
|
||||||
* @handler: the new value for the xlink handler block
|
* @handler: the new value for the xlink handler block
|
||||||
*
|
*
|
||||||
|
* DEPRECATED: Don't use.
|
||||||
|
*
|
||||||
* Set the default xlink handlers
|
* Set the default xlink handlers
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
|
Loading…
x
Reference in New Issue
Block a user