mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
Drop unused get_dom_node_attributes(), comment get_dom_node_list()
This commit is contained in:
parent
faa85adf73
commit
262856273e
@ -299,11 +299,8 @@ struct dom_string *get_dom_node_value(struct dom_node *node);
|
||||
/* Returns the name used for identifying the node type. */
|
||||
struct dom_string *get_dom_node_type_name(enum dom_node_type type);
|
||||
|
||||
/* Returns a pointer to a node list containing attributes. */
|
||||
#define get_dom_node_attributes(node) \
|
||||
((node)->type == DOM_NODE_ELEMENT ? &(node)->data.element.map \
|
||||
: NULL)
|
||||
|
||||
/* Based on the type of the parent and the node return a proper list
|
||||
* or NULL. This is useful when adding a node to a parent node. */
|
||||
static inline struct dom_node_list **
|
||||
get_dom_node_list(struct dom_node *parent, struct dom_node *node)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user