mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -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. */
|
/* Returns the name used for identifying the node type. */
|
||||||
struct dom_string *get_dom_node_type_name(enum dom_node_type type);
|
struct dom_string *get_dom_node_type_name(enum dom_node_type type);
|
||||||
|
|
||||||
/* Returns a pointer to a node list containing attributes. */
|
/* Based on the type of the parent and the node return a proper list
|
||||||
#define get_dom_node_attributes(node) \
|
* or NULL. This is useful when adding a node to a parent node. */
|
||||||
((node)->type == DOM_NODE_ELEMENT ? &(node)->data.element.map \
|
|
||||||
: NULL)
|
|
||||||
|
|
||||||
static inline struct dom_node_list **
|
static inline struct dom_node_list **
|
||||||
get_dom_node_list(struct dom_node *parent, struct dom_node *node)
|
get_dom_node_list(struct dom_node *parent, struct dom_node *node)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user