1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

Rename: add_dom_stack_callbacks() -> add_dom_stack_context()

This commit is contained in:
Jonas Fonseca 2005-12-21 01:04:37 +01:00 committed by Jonas Fonseca
parent 3843be25af
commit a77242738c
4 changed files with 6 additions and 6 deletions

View File

@ -803,7 +803,7 @@ render_dom_document(struct cache_entry *cached, struct document *document,
&renderer, cached->uri);
if (!parser) return;
add_dom_stack_callbacks(&parser->stack, &dom_source_renderer_context_info);
add_dom_stack_context(&parser->stack, &dom_source_renderer_context_info);
root = parse_sgml(parser, buffer);
done_sgml_parser(parser);

View File

@ -831,7 +831,7 @@ select_dom_nodes(struct dom_select *select, struct dom_node *root)
select_data.select = select;;
init_dom_stack(&stack, &select_data, 0, 1);
add_dom_stack_callbacks(&stack, &dom_select_context_info);
add_dom_stack_context(&stack, &dom_select_context_info);
init_dom_stack(&select_data.stack, &select_data, obj_size, 1);

View File

@ -70,8 +70,8 @@ done_dom_stack(struct dom_stack *stack)
}
void
add_dom_stack_callbacks(struct dom_stack *stack,
struct dom_stack_context_info *context_info)
add_dom_stack_context(struct dom_stack *stack,
struct dom_stack_context_info *context_info)
{
struct dom_stack_context_info **list;

View File

@ -120,8 +120,8 @@ void init_dom_stack(struct dom_stack *stack, void *data,
void done_dom_stack(struct dom_stack *stack);
/* Add a callback collection to the stack. */
void add_dom_stack_callbacks(struct dom_stack *stack,
struct dom_stack_context_info *context_info);
void add_dom_stack_context(struct dom_stack *stack,
struct dom_stack_context_info *context_info);
/* Decends down to the given node making it the current parent */
/* If an error occurs the node is free()d and NULL is returned */