mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-01-12 09:17:37 +03: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
|
||||
xlinkGetDefaultDetect (void);
|
||||
XML_DEPRECATED
|
||||
XMLPUBFUN void
|
||||
xlinkSetDefaultDetect (xlinkNodeDetectFunc func);
|
||||
|
||||
@ -170,6 +171,7 @@ XMLPUBFUN void
|
||||
*/
|
||||
XMLPUBFUN xlinkHandlerPtr
|
||||
xlinkGetDefaultHandler (void);
|
||||
XML_DEPRECATED
|
||||
XMLPUBFUN void
|
||||
xlinkSetDefaultHandler (xlinkHandlerPtr handler);
|
||||
|
||||
|
4
xlink.c
4
xlink.c
@ -36,6 +36,8 @@ static xlinkNodeDetectFunc xlinkDefaultDetect = NULL;
|
||||
/**
|
||||
* xlinkGetDefaultHandler:
|
||||
*
|
||||
* DEPRECATED: Don't use.
|
||||
*
|
||||
* Get the default xlink handler.
|
||||
*
|
||||
* Returns the current xlinkHandlerPtr value.
|
||||
@ -50,6 +52,8 @@ xlinkGetDefaultHandler(void) {
|
||||
* xlinkSetDefaultHandler:
|
||||
* @handler: the new value for the xlink handler block
|
||||
*
|
||||
* DEPRECATED: Don't use.
|
||||
*
|
||||
* Set the default xlink handlers
|
||||
*/
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user