#include <stdbool.h>
#include <dom/core/exceptions.h>
#include <dom/core/string.h>
Go to the source code of this file.
|
#define | dom_mutation_name_event_get_prev_namespace(e, n) |
|
#define | dom_mutation_name_event_get_prev_node_name(e, n) |
|
#define | dom_mutation_name_event_init(e, t, b, c, n, p, pn) |
|
#define | dom_mutation_name_event_init_ns(e, n, t, b, c, nv, p, pn) |
|
|
dom_exception | _dom_mutation_name_event_get_prev_namespace (dom_mutation_name_event *evt, dom_string **namespace) |
|
dom_exception | _dom_mutation_name_event_get_prev_node_name (dom_mutation_name_event *evt, dom_string **name) |
|
dom_exception | _dom_mutation_name_event_init (dom_mutation_name_event *evt, dom_string *type, bool bubble, bool cancelable, struct dom_node *node, dom_string *prev_ns, dom_string *prev_name) |
|
dom_exception | _dom_mutation_name_event_init_ns (dom_mutation_name_event *evt, dom_string *namespace, dom_string *type, bool bubble, bool cancelable, struct dom_node *node, dom_string *prev_ns, dom_string *prev_name) |
|
◆ dom_mutation_name_event_get_prev_namespace
#define dom_mutation_name_event_get_prev_namespace |
( |
| e, |
|
|
| n ) |
Value:
dom_exception _dom_mutation_name_event_get_prev_namespace(dom_mutation_name_event *evt, dom_string **namespace)
Definition mutation_name_event.c:77
Definition mutation_name_event.h:18
◆ dom_mutation_name_event_get_prev_node_name
#define dom_mutation_name_event_get_prev_node_name |
( |
| e, |
|
|
| n ) |
Value:
dom_exception _dom_mutation_name_event_get_prev_node_name(dom_mutation_name_event *evt, dom_string **name)
Definition mutation_name_event.c:93
◆ dom_mutation_name_event_init
#define dom_mutation_name_event_init |
( |
| e, |
|
|
| t, |
|
|
| b, |
|
|
| c, |
|
|
| n, |
|
|
| p, |
|
|
| pn ) |
Value:
dom_exception _dom_mutation_name_event_init(dom_mutation_name_event *evt, dom_string *type, bool bubble, bool cancelable, struct dom_node *node, dom_string *prev_ns, dom_string *prev_name)
Definition mutation_name_event.c:114
◆ dom_mutation_name_event_init_ns
#define dom_mutation_name_event_init_ns |
( |
| e, |
|
|
| n, |
|
|
| t, |
|
|
| b, |
|
|
| c, |
|
|
| nv, |
|
|
| p, |
|
|
| pn ) |
Value:
dom_exception _dom_mutation_name_event_init_ns(dom_mutation_name_event *evt, dom_string *namespace, dom_string *type, bool bubble, bool cancelable, struct dom_node *node, dom_string *prev_ns, dom_string *prev_name)
Definition mutation_name_event.c:143
◆ dom_mutation_name_event
typedef struct dom_mutation_name_event dom_mutation_name_event |
◆ _dom_mutation_name_event_get_prev_namespace()
Get the previous namespace
- Parameters
-
evt | The Event object |
namespace | The previous namespace of this event |
- Returns
- DOM_NO_ERR.
◆ _dom_mutation_name_event_get_prev_node_name()
Get the previous node name
- Parameters
-
evt | The Event object |
name | The previous node name |
- Returns
- DOM_NO_ERR.
◆ _dom_mutation_name_event_init()
Initialise the MutationNameEvent
- Parameters
-
evt | The Event object |
type | The type of this UIEvent |
bubble | Whether this event can bubble |
cancelable | Whether this event is cancelable |
node | The node whose name change |
prev_ns | The old namespace |
prev_name | The old name |
- Returns
- DOM_NO_ERR on success, appropriate dom_exception on failure.
◆ _dom_mutation_name_event_init_ns()
Initialise the MutationNameEvent with namespace
- Parameters
-
evt | The Event object |
namespace | The namespace |
type | The type of this UIEvent |
bubble | Whether this event can bubble |
cancelable | Whether this event is cancelable |
node | The node whose name change |
prev_ns | The old namespace |
prev_name | The old name |
- Returns
- DOM_NO_ERR on success, appropriate dom_exception on failure.