mirror of
https://github.com/rkd77/elinks.git
synced 2025-01-03 14:57:44 -05:00
CSS: Document reparent_selector and make it static.
This commit is contained in:
parent
ef815d5e25
commit
5d468daf83
@ -170,7 +170,20 @@ struct selector_pkg {
|
||||
struct css_selector *selector;
|
||||
};
|
||||
|
||||
struct css_selector *
|
||||
/** Move a CSS selector and its leaves into a new list. If a similar
|
||||
* selector already exists in the list, merge them.
|
||||
*
|
||||
* \param sels
|
||||
* The list to which \a selector should be moved. Must not be NULL.
|
||||
* \param selector
|
||||
* The selector that should be moved. Must not be NULL. If it is
|
||||
* already in some list, this function removes it from there.
|
||||
* \param watch
|
||||
* This function updates \a *watch if it merges that selector into
|
||||
* another one. \a watch must not be NULL but \a *watch may be.
|
||||
*
|
||||
* \return \a selector or the one into which it was merged. */
|
||||
static struct css_selector *
|
||||
reparent_selector(struct list_head *sels, struct css_selector *selector,
|
||||
struct css_selector **watch)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user