1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
//! This file has been automatically generated by `objc2`'s `header-translator`.
//! DO NOT EDIT
use core::ffi::*;
use objc2::__framework_prelude::*;
use crate::*;
/// [Apple's documentation](https://developer.apple.com/documentation/webkit/dom_filter_accept?language=objc)
#[deprecated]
pub const DOM_FILTER_ACCEPT: c_uint = 1;
/// [Apple's documentation](https://developer.apple.com/documentation/webkit/dom_filter_reject?language=objc)
#[deprecated]
pub const DOM_FILTER_REJECT: c_uint = 2;
/// [Apple's documentation](https://developer.apple.com/documentation/webkit/dom_filter_skip?language=objc)
#[deprecated]
pub const DOM_FILTER_SKIP: c_uint = 3;
/// [Apple's documentation](https://developer.apple.com/documentation/webkit/dom_show_all?language=objc)
#[deprecated]
pub const DOM_SHOW_ALL: c_uint = 0xFFFFFFFF;
/// [Apple's documentation](https://developer.apple.com/documentation/webkit/dom_show_element?language=objc)
#[deprecated]
pub const DOM_SHOW_ELEMENT: c_uint = 0x00000001;
/// [Apple's documentation](https://developer.apple.com/documentation/webkit/dom_show_attribute?language=objc)
#[deprecated]
pub const DOM_SHOW_ATTRIBUTE: c_uint = 0x00000002;
/// [Apple's documentation](https://developer.apple.com/documentation/webkit/dom_show_text?language=objc)
#[deprecated]
pub const DOM_SHOW_TEXT: c_uint = 0x00000004;
/// [Apple's documentation](https://developer.apple.com/documentation/webkit/dom_show_cdata_section?language=objc)
#[deprecated]
pub const DOM_SHOW_CDATA_SECTION: c_uint = 0x00000008;
/// [Apple's documentation](https://developer.apple.com/documentation/webkit/dom_show_entity_reference?language=objc)
#[deprecated]
pub const DOM_SHOW_ENTITY_REFERENCE: c_uint = 0x00000010;
/// [Apple's documentation](https://developer.apple.com/documentation/webkit/dom_show_entity?language=objc)
#[deprecated]
pub const DOM_SHOW_ENTITY: c_uint = 0x00000020;
/// [Apple's documentation](https://developer.apple.com/documentation/webkit/dom_show_processing_instruction?language=objc)
#[deprecated]
pub const DOM_SHOW_PROCESSING_INSTRUCTION: c_uint = 0x00000040;
/// [Apple's documentation](https://developer.apple.com/documentation/webkit/dom_show_comment?language=objc)
#[deprecated]
pub const DOM_SHOW_COMMENT: c_uint = 0x00000080;
/// [Apple's documentation](https://developer.apple.com/documentation/webkit/dom_show_document?language=objc)
#[deprecated]
pub const DOM_SHOW_DOCUMENT: c_uint = 0x00000100;
/// [Apple's documentation](https://developer.apple.com/documentation/webkit/dom_show_document_type?language=objc)
#[deprecated]
pub const DOM_SHOW_DOCUMENT_TYPE: c_uint = 0x00000200;
/// [Apple's documentation](https://developer.apple.com/documentation/webkit/dom_show_document_fragment?language=objc)
#[deprecated]
pub const DOM_SHOW_DOCUMENT_FRAGMENT: c_uint = 0x00000400;
/// [Apple's documentation](https://developer.apple.com/documentation/webkit/dom_show_notation?language=objc)
#[deprecated]
pub const DOM_SHOW_NOTATION: c_uint = 0x00000800;
extern_protocol!(
/// [Apple's documentation](https://developer.apple.com/documentation/webkit/domnodefilter?language=objc)
#[deprecated]
pub unsafe trait DOMNodeFilter: NSObjectProtocol {
#[cfg(all(
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
/// # Safety
///
/// `n` might not allow `None`.
#[deprecated]
#[unsafe(method(acceptNode:))]
#[unsafe(method_family = none)]
unsafe fn acceptNode(&self, n: Option<&DOMNode>) -> c_short;
}
);