mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-02-05 05:47:00 +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.
|
* detection callbacks.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
XML_DEPRECATED
|
||||||
XMLPUBFUN xlinkNodeDetectFunc
|
XMLPUBFUN xlinkNodeDetectFunc
|
||||||
xlinkGetDefaultDetect (void);
|
xlinkGetDefaultDetect (void);
|
||||||
XML_DEPRECATED
|
XML_DEPRECATED
|
||||||
@ -169,6 +170,7 @@ XMLPUBFUN void
|
|||||||
/*
|
/*
|
||||||
* Routines to set/get the default handlers.
|
* Routines to set/get the default handlers.
|
||||||
*/
|
*/
|
||||||
|
XML_DEPRECATED
|
||||||
XMLPUBFUN xlinkHandlerPtr
|
XMLPUBFUN xlinkHandlerPtr
|
||||||
xlinkGetDefaultHandler (void);
|
xlinkGetDefaultHandler (void);
|
||||||
XML_DEPRECATED
|
XML_DEPRECATED
|
||||||
|
4
xlink.c
4
xlink.c
@ -64,6 +64,8 @@ xlinkSetDefaultHandler(xlinkHandlerPtr handler) {
|
|||||||
/**
|
/**
|
||||||
* xlinkGetDefaultDetect:
|
* xlinkGetDefaultDetect:
|
||||||
*
|
*
|
||||||
|
* DEPRECATED: Don't use.
|
||||||
|
*
|
||||||
* Get the default xlink detection routine
|
* Get the default xlink detection routine
|
||||||
*
|
*
|
||||||
* Returns the current function or NULL;
|
* Returns the current function or NULL;
|
||||||
@ -77,6 +79,8 @@ xlinkGetDefaultDetect (void) {
|
|||||||
* xlinkSetDefaultDetect:
|
* xlinkSetDefaultDetect:
|
||||||
* @func: pointer to the new detection routine.
|
* @func: pointer to the new detection routine.
|
||||||
*
|
*
|
||||||
|
* DEPRECATED: Don't use.
|
||||||
|
*
|
||||||
* Set the default xlink detection routine
|
* Set the default xlink detection routine
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
|
Loading…
x
Reference in New Issue
Block a user