Skip to content
This repository was archived by the owner on Aug 27, 2023. It is now read-only.

Commit 7ff8733

Browse files
Merge pull request #29 from EPashkin/restore_callback_guard
Revert "Regen"
2 parents 4ed5e02 + c0d9d39 commit 7ff8733

File tree

120 files changed

+742
-118
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

120 files changed

+742
-118
lines changed

src/auto/console_message.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
1+
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
22
// from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70)
33
// DO NOT EDIT
44

src/auto/context_menu.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
1+
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
22
// from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70)
33
// DO NOT EDIT
44

src/auto/context_menu_item.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
1+
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
22
// from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70)
33
// DO NOT EDIT
44

src/auto/dom_attr.rs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
1+
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
22
// from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70)
33
// DO NOT EDIT
44

@@ -147,42 +147,49 @@ impl<O: IsA<DOMAttr> + IsA<glib::object::Object>> DOMAttrExt for O {
147147

148148
unsafe extern "C" fn notify_local_name_trampoline<P>(this: *mut ffi::WebKitDOMAttr, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
149149
where P: IsA<DOMAttr> {
150+
callback_guard!();
150151
let f: &&(Fn(&P) + 'static) = transmute(f);
151152
f(&DOMAttr::from_glib_borrow(this).downcast_unchecked())
152153
}
153154

154155
unsafe extern "C" fn notify_name_trampoline<P>(this: *mut ffi::WebKitDOMAttr, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
155156
where P: IsA<DOMAttr> {
157+
callback_guard!();
156158
let f: &&(Fn(&P) + 'static) = transmute(f);
157159
f(&DOMAttr::from_glib_borrow(this).downcast_unchecked())
158160
}
159161

160162
unsafe extern "C" fn notify_namespace_uri_trampoline<P>(this: *mut ffi::WebKitDOMAttr, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
161163
where P: IsA<DOMAttr> {
164+
callback_guard!();
162165
let f: &&(Fn(&P) + 'static) = transmute(f);
163166
f(&DOMAttr::from_glib_borrow(this).downcast_unchecked())
164167
}
165168

166169
unsafe extern "C" fn notify_owner_element_trampoline<P>(this: *mut ffi::WebKitDOMAttr, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
167170
where P: IsA<DOMAttr> {
171+
callback_guard!();
168172
let f: &&(Fn(&P) + 'static) = transmute(f);
169173
f(&DOMAttr::from_glib_borrow(this).downcast_unchecked())
170174
}
171175

172176
unsafe extern "C" fn notify_prefix_trampoline<P>(this: *mut ffi::WebKitDOMAttr, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
173177
where P: IsA<DOMAttr> {
178+
callback_guard!();
174179
let f: &&(Fn(&P) + 'static) = transmute(f);
175180
f(&DOMAttr::from_glib_borrow(this).downcast_unchecked())
176181
}
177182

178183
unsafe extern "C" fn notify_specified_trampoline<P>(this: *mut ffi::WebKitDOMAttr, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
179184
where P: IsA<DOMAttr> {
185+
callback_guard!();
180186
let f: &&(Fn(&P) + 'static) = transmute(f);
181187
f(&DOMAttr::from_glib_borrow(this).downcast_unchecked())
182188
}
183189

184190
unsafe extern "C" fn notify_value_trampoline<P>(this: *mut ffi::WebKitDOMAttr, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
185191
where P: IsA<DOMAttr> {
192+
callback_guard!();
186193
let f: &&(Fn(&P) + 'static) = transmute(f);
187194
f(&DOMAttr::from_glib_borrow(this).downcast_unchecked())
188195
}

src/auto/dom_blob.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
1+
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
22
// from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70)
33
// DO NOT EDIT
44

@@ -49,6 +49,7 @@ impl<O: IsA<DOMBlob> + IsA<glib::object::Object>> DOMBlobExt for O {
4949

5050
unsafe extern "C" fn notify_size_trampoline<P>(this: *mut ffi::WebKitDOMBlob, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
5151
where P: IsA<DOMBlob> {
52+
callback_guard!();
5253
let f: &&(Fn(&P) + 'static) = transmute(f);
5354
f(&DOMBlob::from_glib_borrow(this).downcast_unchecked())
5455
}

src/auto/dom_cdata_section.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
1+
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
22
// from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70)
33
// DO NOT EDIT
44

src/auto/dom_character_data.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
1+
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
22
// from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70)
33
// DO NOT EDIT
44

@@ -131,12 +131,14 @@ impl<O: IsA<DOMCharacterData> + IsA<glib::object::Object>> DOMCharacterDataExt f
131131

132132
unsafe extern "C" fn notify_data_trampoline<P>(this: *mut ffi::WebKitDOMCharacterData, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
133133
where P: IsA<DOMCharacterData> {
134+
callback_guard!();
134135
let f: &&(Fn(&P) + 'static) = transmute(f);
135136
f(&DOMCharacterData::from_glib_borrow(this).downcast_unchecked())
136137
}
137138

138139
unsafe extern "C" fn notify_length_trampoline<P>(this: *mut ffi::WebKitDOMCharacterData, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
139140
where P: IsA<DOMCharacterData> {
141+
callback_guard!();
140142
let f: &&(Fn(&P) + 'static) = transmute(f);
141143
f(&DOMCharacterData::from_glib_borrow(this).downcast_unchecked())
142144
}

src/auto/dom_client_rect.rs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
1+
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
22
// from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70)
33
// DO NOT EDIT
44

@@ -213,36 +213,42 @@ impl<O: IsA<DOMClientRect> + IsA<glib::object::Object>> DOMClientRectExt for O {
213213

214214
unsafe extern "C" fn notify_bottom_trampoline<P>(this: *mut ffi::WebKitDOMClientRect, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
215215
where P: IsA<DOMClientRect> {
216+
callback_guard!();
216217
let f: &&(Fn(&P) + 'static) = transmute(f);
217218
f(&DOMClientRect::from_glib_borrow(this).downcast_unchecked())
218219
}
219220

220221
unsafe extern "C" fn notify_height_trampoline<P>(this: *mut ffi::WebKitDOMClientRect, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
221222
where P: IsA<DOMClientRect> {
223+
callback_guard!();
222224
let f: &&(Fn(&P) + 'static) = transmute(f);
223225
f(&DOMClientRect::from_glib_borrow(this).downcast_unchecked())
224226
}
225227

226228
unsafe extern "C" fn notify_left_trampoline<P>(this: *mut ffi::WebKitDOMClientRect, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
227229
where P: IsA<DOMClientRect> {
230+
callback_guard!();
228231
let f: &&(Fn(&P) + 'static) = transmute(f);
229232
f(&DOMClientRect::from_glib_borrow(this).downcast_unchecked())
230233
}
231234

232235
unsafe extern "C" fn notify_right_trampoline<P>(this: *mut ffi::WebKitDOMClientRect, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
233236
where P: IsA<DOMClientRect> {
237+
callback_guard!();
234238
let f: &&(Fn(&P) + 'static) = transmute(f);
235239
f(&DOMClientRect::from_glib_borrow(this).downcast_unchecked())
236240
}
237241

238242
unsafe extern "C" fn notify_top_trampoline<P>(this: *mut ffi::WebKitDOMClientRect, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
239243
where P: IsA<DOMClientRect> {
244+
callback_guard!();
240245
let f: &&(Fn(&P) + 'static) = transmute(f);
241246
f(&DOMClientRect::from_glib_borrow(this).downcast_unchecked())
242247
}
243248

244249
unsafe extern "C" fn notify_width_trampoline<P>(this: *mut ffi::WebKitDOMClientRect, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
245250
where P: IsA<DOMClientRect> {
251+
callback_guard!();
246252
let f: &&(Fn(&P) + 'static) = transmute(f);
247253
f(&DOMClientRect::from_glib_borrow(this).downcast_unchecked())
248254
}

src/auto/dom_client_rect_list.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
1+
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
22
// from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70)
33
// DO NOT EDIT
44

@@ -76,6 +76,7 @@ impl<O: IsA<DOMClientRectList> + IsA<glib::object::Object>> DOMClientRectListExt
7676

7777
unsafe extern "C" fn notify_length_trampoline<P>(this: *mut ffi::WebKitDOMClientRectList, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
7878
where P: IsA<DOMClientRectList> {
79+
callback_guard!();
7980
let f: &&(Fn(&P) + 'static) = transmute(f);
8081
f(&DOMClientRectList::from_glib_borrow(this).downcast_unchecked())
8182
}

src/auto/dom_comment.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
1+
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
22
// from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70)
33
// DO NOT EDIT
44

src/auto/dom_css_rule.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
1+
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
22
// from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70)
33
// DO NOT EDIT
44

@@ -128,24 +128,28 @@ impl<O: IsA<DOMCSSRule> + IsA<glib::object::Object>> DOMCSSRuleExt for O {
128128

129129
unsafe extern "C" fn notify_css_text_trampoline<P>(this: *mut ffi::WebKitDOMCSSRule, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
130130
where P: IsA<DOMCSSRule> {
131+
callback_guard!();
131132
let f: &&(Fn(&P) + 'static) = transmute(f);
132133
f(&DOMCSSRule::from_glib_borrow(this).downcast_unchecked())
133134
}
134135

135136
unsafe extern "C" fn notify_parent_rule_trampoline<P>(this: *mut ffi::WebKitDOMCSSRule, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
136137
where P: IsA<DOMCSSRule> {
138+
callback_guard!();
137139
let f: &&(Fn(&P) + 'static) = transmute(f);
138140
f(&DOMCSSRule::from_glib_borrow(this).downcast_unchecked())
139141
}
140142

141143
unsafe extern "C" fn notify_parent_style_sheet_trampoline<P>(this: *mut ffi::WebKitDOMCSSRule, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
142144
where P: IsA<DOMCSSRule> {
145+
callback_guard!();
143146
let f: &&(Fn(&P) + 'static) = transmute(f);
144147
f(&DOMCSSRule::from_glib_borrow(this).downcast_unchecked())
145148
}
146149

147150
unsafe extern "C" fn notify_type_trampoline<P>(this: *mut ffi::WebKitDOMCSSRule, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
148151
where P: IsA<DOMCSSRule> {
152+
callback_guard!();
149153
let f: &&(Fn(&P) + 'static) = transmute(f);
150154
f(&DOMCSSRule::from_glib_borrow(this).downcast_unchecked())
151155
}

src/auto/dom_css_rule_list.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
1+
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
22
// from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70)
33
// DO NOT EDIT
44

@@ -59,6 +59,7 @@ impl<O: IsA<DOMCSSRuleList> + IsA<glib::object::Object>> DOMCSSRuleListExt for O
5959

6060
unsafe extern "C" fn notify_length_trampoline<P>(this: *mut ffi::WebKitDOMCSSRuleList, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
6161
where P: IsA<DOMCSSRuleList> {
62+
callback_guard!();
6263
let f: &&(Fn(&P) + 'static) = transmute(f);
6364
f(&DOMCSSRuleList::from_glib_borrow(this).downcast_unchecked())
6465
}

src/auto/dom_css_style_declaration.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
1+
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
22
// from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70)
33
// DO NOT EDIT
44

@@ -158,18 +158,21 @@ impl<O: IsA<DOMCSSStyleDeclaration> + IsA<glib::object::Object>> DOMCSSStyleDecl
158158

159159
unsafe extern "C" fn notify_css_text_trampoline<P>(this: *mut ffi::WebKitDOMCSSStyleDeclaration, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
160160
where P: IsA<DOMCSSStyleDeclaration> {
161+
callback_guard!();
161162
let f: &&(Fn(&P) + 'static) = transmute(f);
162163
f(&DOMCSSStyleDeclaration::from_glib_borrow(this).downcast_unchecked())
163164
}
164165

165166
unsafe extern "C" fn notify_length_trampoline<P>(this: *mut ffi::WebKitDOMCSSStyleDeclaration, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
166167
where P: IsA<DOMCSSStyleDeclaration> {
168+
callback_guard!();
167169
let f: &&(Fn(&P) + 'static) = transmute(f);
168170
f(&DOMCSSStyleDeclaration::from_glib_borrow(this).downcast_unchecked())
169171
}
170172

171173
unsafe extern "C" fn notify_parent_rule_trampoline<P>(this: *mut ffi::WebKitDOMCSSStyleDeclaration, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
172174
where P: IsA<DOMCSSStyleDeclaration> {
175+
callback_guard!();
173176
let f: &&(Fn(&P) + 'static) = transmute(f);
174177
f(&DOMCSSStyleDeclaration::from_glib_borrow(this).downcast_unchecked())
175178
}

src/auto/dom_css_style_sheet.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
1+
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
22
// from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70)
33
// DO NOT EDIT
44

@@ -130,18 +130,21 @@ impl<O: IsA<DOMCSSStyleSheet> + IsA<glib::object::Object>> DOMCSSStyleSheetExt f
130130

131131
unsafe extern "C" fn notify_css_rules_trampoline<P>(this: *mut ffi::WebKitDOMCSSStyleSheet, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
132132
where P: IsA<DOMCSSStyleSheet> {
133+
callback_guard!();
133134
let f: &&(Fn(&P) + 'static) = transmute(f);
134135
f(&DOMCSSStyleSheet::from_glib_borrow(this).downcast_unchecked())
135136
}
136137

137138
unsafe extern "C" fn notify_owner_rule_trampoline<P>(this: *mut ffi::WebKitDOMCSSStyleSheet, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
138139
where P: IsA<DOMCSSStyleSheet> {
140+
callback_guard!();
139141
let f: &&(Fn(&P) + 'static) = transmute(f);
140142
f(&DOMCSSStyleSheet::from_glib_borrow(this).downcast_unchecked())
141143
}
142144

143145
unsafe extern "C" fn notify_rules_trampoline<P>(this: *mut ffi::WebKitDOMCSSStyleSheet, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
144146
where P: IsA<DOMCSSStyleSheet> {
147+
callback_guard!();
145148
let f: &&(Fn(&P) + 'static) = transmute(f);
146149
f(&DOMCSSStyleSheet::from_glib_borrow(this).downcast_unchecked())
147150
}

src/auto/dom_css_value.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
1+
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
22
// from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70)
33
// DO NOT EDIT
44

@@ -79,12 +79,14 @@ impl<O: IsA<DOMCSSValue> + IsA<glib::object::Object>> DOMCSSValueExt for O {
7979

8080
unsafe extern "C" fn notify_css_text_trampoline<P>(this: *mut ffi::WebKitDOMCSSValue, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
8181
where P: IsA<DOMCSSValue> {
82+
callback_guard!();
8283
let f: &&(Fn(&P) + 'static) = transmute(f);
8384
f(&DOMCSSValue::from_glib_borrow(this).downcast_unchecked())
8485
}
8586

8687
unsafe extern "C" fn notify_css_value_type_trampoline<P>(this: *mut ffi::WebKitDOMCSSValue, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
8788
where P: IsA<DOMCSSValue> {
89+
callback_guard!();
8890
let f: &&(Fn(&P) + 'static) = transmute(f);
8991
f(&DOMCSSValue::from_glib_borrow(this).downcast_unchecked())
9092
}

0 commit comments

Comments
 (0)