-
Notifications
You must be signed in to change notification settings - Fork 10
/
BridgeSupport.dtd
115 lines (100 loc) · 3.92 KB
/
BridgeSupport.dtd
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
<!-- Entities. -->
<!ENTITY % boolean "(true|false)">
<!ENTITY % type_modifier "(n|o|N)">
<!-- Root element. -->
<!ELEMENT signatures (depends_on|struct|cftype|opaque|constant|string_constant|enum|function|function_alias|informal_protocol|class)*>
<!ATTLIST signatures version CDATA "1.0">
<!-- Dependencies. -->
<!ELEMENT depends_on EMPTY>
<!ATTLIST depends_on path CDATA #REQUIRED>
<!-- Structures. -->
<!ELEMENT struct EMPTY>
<!ATTLIST struct name CDATA #REQUIRED>
<!ATTLIST struct type CDATA #REQUIRED>
<!ATTLIST struct type64 CDATA #IMPLIED>
<!ATTLIST struct opaque %boolean; #IMPLIED>
<!-- Opaques. -->
<!ELEMENT opaque EMPTY>
<!ATTLIST opaque name CDATA #REQUIRED>
<!ATTLIST opaque type CDATA #IMPLIED>
<!ATTLIST opaque type64 CDATA #IMPLIED>
<!-- CFTypes. -->
<!ELEMENT cftype EMPTY>
<!ATTLIST cftype name CDATA #REQUIRED>
<!ATTLIST cftype type CDATA #REQUIRED>
<!ATTLIST cftype type64 CDATA #IMPLIED>
<!ATTLIST cftype gettypeid_func CDATA #IMPLIED>
<!ATTLIST cftype tollfree CDATA #IMPLIED>
<!-- Constants. -->
<!ELEMENT constant EMPTY>
<!ATTLIST constant name CDATA #REQUIRED>
<!ATTLIST constant type CDATA #REQUIRED>
<!ATTLIST constant type64 CDATA #IMPLIED>
<!ATTLIST constant magic_cookie %boolean; #IMPLIED>
<!-- String constants. -->
<!ELEMENT string_constant EMPTY>
<!ATTLIST string_constant name CDATA #REQUIRED>
<!ATTLIST string_constant value CDATA #IMPLIED>
<!ATTLIST string_constant value64 CDATA #IMPLIED>
<!ATTLIST string_constant nsstring %boolean; #IMPLIED>
<!-- Enums. -->
<!ELEMENT enum EMPTY>
<!ATTLIST enum name CDATA #REQUIRED>
<!ATTLIST enum value CDATA #IMPLIED>
<!ATTLIST enum value64 CDATA #IMPLIED>
<!ATTLIST enum le_value CDATA #IMPLIED>
<!ATTLIST enum be_value CDATA #IMPLIED>
<!ATTLIST enum ignore %boolean; #IMPLIED>
<!ATTLIST enum suggestion CDATA #IMPLIED>
<!-- Arguments. -->
<!ELEMENT arg (arg*,retval?)>
<!ATTLIST arg index CDATA #IMPLIED>
<!ATTLIST arg type_modifier %type_modifier; #IMPLIED>
<!ATTLIST arg c_array_length_in_arg CDATA #IMPLIED>
<!ATTLIST arg c_array_length_in_retval CDATA #IMPLIED>
<!ATTLIST arg c_array_of_fixed_length CDATA #IMPLIED>
<!ATTLIST arg c_array_delimited_by_null %boolean; #IMPLIED>
<!ATTLIST arg c_array_of_variable_length %boolean; #IMPLIED>
<!ATTLIST arg null_accepted %boolean; #IMPLIED>
<!ATTLIST arg type CDATA #IMPLIED>
<!ATTLIST arg type64 CDATA #IMPLIED>
<!ATTLIST arg function_pointer %boolean; #IMPLIED>
<!ATTLIST arg printf_format %boolean; #IMPLIED>
<!ATTLIST arg sel_of_type CDATA #IMPLIED>
<!ATTLIST arg sel_of_type64 CDATA #IMPLIED>
<!-- Return values. -->
<!ELEMENT retval (arg*, retval?)>
<!ATTLIST retval c_array_length_in_arg CDATA #IMPLIED>
<!ATTLIST retval c_array_of_fixed_length CDATA #IMPLIED>
<!ATTLIST retval c_array_delimited_by_null %boolean; #IMPLIED>
<!ATTLIST retval c_array_of_variable_length %boolean; #IMPLIED>
<!ATTLIST retval already_retained CDATA #IMPLIED>
<!ATTLIST retval type CDATA #IMPLIED>
<!ATTLIST retval type64 CDATA #IMPLIED>
<!ATTLIST retval function_pointer %boolean; #IMPLIED>
<!-- Functions. -->
<!ELEMENT function (arg*,retval?)>
<!ATTLIST function name CDATA #REQUIRED>
<!ATTLIST function variadic %boolean; #IMPLIED>
<!ATTLIST function inline %boolean; #IMPLIED>
<!ATTLIST function sentinel CDATA #IMPLIED>
<!-- Function aliases. -->
<!ELEMENT function_alias EMPTY>
<!ATTLIST function_alias name CDATA #REQUIRED>
<!ATTLIST function_alias original CDATA #REQUIRED>
<!-- Informal protocols. -->
<!ELEMENT informal_protocol (method*)>
<!ATTLIST informal_protocol name CDATA #REQUIRED>
<!-- Classes. -->
<!ELEMENT class (method*)>
<!ATTLIST class name CDATA #REQUIRED>
<!-- Methods. -->
<!ELEMENT method (arg*,retval?)>
<!ATTLIST method selector CDATA #REQUIRED>
<!ATTLIST method type CDATA #IMPLIED>
<!ATTLIST method type64 CDATA #IMPLIED>
<!ATTLIST method class_method %boolean; #IMPLIED>
<!ATTLIST method ignore %boolean; #IMPLIED>
<!ATTLIST method suggestion CDATA #IMPLIED>
<!ATTLIST method variadic %boolean; #IMPLIED>
<!ATTLIST method sentinel CDATA #IMPLIED>