mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-01-26 10:03:34 +03:00
xlink: Deprecate xlinkGetDefault*
These functions read an otherwise unused global and seem useless.
This commit is contained in:
parent
046663bc54
commit
1c1794964e
@ -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
|
||||
|
4
xlink.c
4
xlink.c
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user