libdom
Loading...
Searching...
No Matches
nodelist.h
Go to the documentation of this file.
1/*
2 * This file is part of libdom.
3 * Licensed under the MIT License,
4 * http://www.opensource.org/licenses/mit-license.php
5 * Copyright 2007 John-Mark Bell <jmb@netsurf-browser.org>
6 */
7
8#ifndef dom_core_nodelist_h_
9#define dom_core_nodelist_h_
10
11#include <dom/core/exceptions.h>
12
13struct dom_node;
14
16
19
21 uint32_t *length);
23 uint32_t index, struct dom_node **node);
24
25#define dom_nodelist_item(l, i, n) _dom_nodelist_item((dom_nodelist *) (l), \
26 (uint32_t) (i), (dom_node **) (n))
27
28#endif
dom_exception
Definition exceptions.h:24
dom_exception _dom_nodelist_item(struct dom_nodelist *list, uint32_t index, struct dom_node **node)
Definition nodelist.c:305
void dom_nodelist_ref(struct dom_nodelist *list)
Definition nodelist.c:138
void dom_nodelist_unref(struct dom_nodelist *list)
Definition nodelist.c:152
dom_exception dom_nodelist_get_length(struct dom_nodelist *list, uint32_t *length)
Definition nodelist.c:199
Definition node.h:79
Definition nodelist.c:26
Definition list.h:33