1
0
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:
Jonas Fonseca 2005-12-22 23:42:23 +01:00 committed by Jonas Fonseca
parent faa85adf73
commit 262856273e

View File

@ -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)
{