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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
// Generated by gir (https://github.com/gtk-rs/gir @ 23d7c100187c)
// from
// from gir-files (https://github.com/gtk-rs/gir-files.git @ 6415239ef435)
// DO NOT EDIT

#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
#![allow(
    clippy::approx_constant,
    clippy::type_complexity,
    clippy::unreadable_literal,
    clippy::upper_case_acronyms
)]
#![cfg_attr(docsrs, feature(doc_cfg))]

#[allow(unused_imports)]
use libc::{
    c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void,
    intptr_t, size_t, ssize_t, uintptr_t, FILE,
};

#[allow(unused_imports)]
use glib::{gboolean, gconstpointer, gpointer, GType};

// Enums
pub type GspellCheckerError = c_int;
pub const GSPELL_CHECKER_ERROR_DICTIONARY: GspellCheckerError = 0;
pub const GSPELL_CHECKER_ERROR_NO_LANGUAGE_SET: GspellCheckerError = 1;

// Records
#[derive(Copy, Clone)]
#[repr(C)]
pub struct GspellCheckerClass {
    pub parent_class: gobject::GObjectClass,
    pub word_added_to_personal: Option<unsafe extern "C" fn(*mut GspellChecker, *const c_char)>,
    pub word_added_to_session: Option<unsafe extern "C" fn(*mut GspellChecker, *const c_char)>,
    pub session_cleared: Option<unsafe extern "C" fn(*mut GspellChecker)>,
    pub padding: [gpointer; 12],
}

impl ::std::fmt::Debug for GspellCheckerClass {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("GspellCheckerClass @ {self:p}"))
            .field("parent_class", &self.parent_class)
            .field("word_added_to_personal", &self.word_added_to_personal)
            .field("word_added_to_session", &self.word_added_to_session)
            .field("session_cleared", &self.session_cleared)
            .field("padding", &self.padding)
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct GspellCheckerDialogClass {
    pub parent_class: gtk::GtkDialogClass,
    pub padding: [gpointer; 8],
}

impl ::std::fmt::Debug for GspellCheckerDialogClass {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("GspellCheckerDialogClass @ {self:p}"))
            .field("parent_class", &self.parent_class)
            .field("padding", &self.padding)
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct GspellEntryBufferClass {
    pub parent_class: gobject::GObjectClass,
}

impl ::std::fmt::Debug for GspellEntryBufferClass {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("GspellEntryBufferClass @ {self:p}"))
            .field("parent_class", &self.parent_class)
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct GspellEntryClass {
    pub parent_class: gobject::GObjectClass,
}

impl ::std::fmt::Debug for GspellEntryClass {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("GspellEntryClass @ {self:p}"))
            .field("parent_class", &self.parent_class)
            .finish()
    }
}

#[repr(C)]
pub struct GspellLanguage {
    _data: [u8; 0],
    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}

impl ::std::fmt::Debug for GspellLanguage {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("GspellLanguage @ {self:p}"))
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct GspellLanguageChooserButtonClass {
    pub parent_class: gtk::GtkButtonClass,
    pub padding: [gpointer; 8],
}

impl ::std::fmt::Debug for GspellLanguageChooserButtonClass {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("GspellLanguageChooserButtonClass @ {self:p}"))
            .field("parent_class", &self.parent_class)
            .field("padding", &self.padding)
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct GspellLanguageChooserDialogClass {
    pub parent_class: gtk::GtkDialogClass,
    pub padding: [gpointer; 8],
}

impl ::std::fmt::Debug for GspellLanguageChooserDialogClass {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("GspellLanguageChooserDialogClass @ {self:p}"))
            .field("parent_class", &self.parent_class)
            .field("padding", &self.padding)
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct GspellLanguageChooserInterface {
    pub parent_interface: gobject::GTypeInterface,
    pub get_language_full: Option<
        unsafe extern "C" fn(*mut GspellLanguageChooser, *mut gboolean) -> *const GspellLanguage,
    >,
    pub set_language:
        Option<unsafe extern "C" fn(*mut GspellLanguageChooser, *const GspellLanguage)>,
}

impl ::std::fmt::Debug for GspellLanguageChooserInterface {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("GspellLanguageChooserInterface @ {self:p}"))
            .field("parent_interface", &self.parent_interface)
            .field("get_language_full", &self.get_language_full)
            .field("set_language", &self.set_language)
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct GspellNavigatorInterface {
    pub parent_interface: gobject::GTypeInterface,
    pub goto_next: Option<
        unsafe extern "C" fn(
            *mut GspellNavigator,
            *mut *mut c_char,
            *mut *mut GspellChecker,
            *mut *mut glib::GError,
        ) -> gboolean,
    >,
    pub change: Option<unsafe extern "C" fn(*mut GspellNavigator, *const c_char, *const c_char)>,
    pub change_all:
        Option<unsafe extern "C" fn(*mut GspellNavigator, *const c_char, *const c_char)>,
}

impl ::std::fmt::Debug for GspellNavigatorInterface {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("GspellNavigatorInterface @ {self:p}"))
            .field("parent_interface", &self.parent_interface)
            .field("goto_next", &self.goto_next)
            .field("change", &self.change)
            .field("change_all", &self.change_all)
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct GspellNavigatorTextViewClass {
    pub parent_class: gobject::GInitiallyUnownedClass,
    pub padding: [gpointer; 8],
}

impl ::std::fmt::Debug for GspellNavigatorTextViewClass {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("GspellNavigatorTextViewClass @ {self:p}"))
            .field("parent_class", &self.parent_class)
            .field("padding", &self.padding)
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct GspellTextBufferClass {
    pub parent_class: gobject::GObjectClass,
}

impl ::std::fmt::Debug for GspellTextBufferClass {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("GspellTextBufferClass @ {self:p}"))
            .field("parent_class", &self.parent_class)
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct GspellTextViewClass {
    pub parent_class: gobject::GObjectClass,
    pub padding: [gpointer; 8],
}

impl ::std::fmt::Debug for GspellTextViewClass {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("GspellTextViewClass @ {self:p}"))
            .field("parent_class", &self.parent_class)
            .field("padding", &self.padding)
            .finish()
    }
}

// Classes
#[derive(Copy, Clone)]
#[repr(C)]
pub struct GspellChecker {
    pub parent_instance: gobject::GObject,
}

impl ::std::fmt::Debug for GspellChecker {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("GspellChecker @ {self:p}"))
            .field("parent_instance", &self.parent_instance)
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct GspellCheckerDialog {
    pub parent_instance: gtk::GtkDialog,
}

impl ::std::fmt::Debug for GspellCheckerDialog {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("GspellCheckerDialog @ {self:p}"))
            .field("parent_instance", &self.parent_instance)
            .finish()
    }
}

#[repr(C)]
pub struct GspellEntry {
    _data: [u8; 0],
    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}

impl ::std::fmt::Debug for GspellEntry {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("GspellEntry @ {self:p}")).finish()
    }
}

#[repr(C)]
pub struct GspellEntryBuffer {
    _data: [u8; 0],
    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}

impl ::std::fmt::Debug for GspellEntryBuffer {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("GspellEntryBuffer @ {self:p}"))
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct GspellLanguageChooserButton {
    pub parent_instance: gtk::GtkButton,
}

impl ::std::fmt::Debug for GspellLanguageChooserButton {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("GspellLanguageChooserButton @ {self:p}"))
            .field("parent_instance", &self.parent_instance)
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct GspellLanguageChooserDialog {
    pub parent_instance: gtk::GtkDialog,
}

impl ::std::fmt::Debug for GspellLanguageChooserDialog {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("GspellLanguageChooserDialog @ {self:p}"))
            .field("parent_instance", &self.parent_instance)
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct GspellNavigatorTextView {
    pub parent_instance: gobject::GInitiallyUnowned,
}

impl ::std::fmt::Debug for GspellNavigatorTextView {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("GspellNavigatorTextView @ {self:p}"))
            .field("parent_instance", &self.parent_instance)
            .finish()
    }
}

#[repr(C)]
pub struct GspellTextBuffer {
    _data: [u8; 0],
    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}

impl ::std::fmt::Debug for GspellTextBuffer {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("GspellTextBuffer @ {self:p}"))
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct GspellTextView {
    pub parent_instance: gobject::GObject,
}

impl ::std::fmt::Debug for GspellTextView {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("GspellTextView @ {self:p}"))
            .field("parent_instance", &self.parent_instance)
            .finish()
    }
}

// Interfaces
#[repr(C)]
pub struct GspellLanguageChooser {
    _data: [u8; 0],
    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}

impl ::std::fmt::Debug for GspellLanguageChooser {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        write!(f, "GspellLanguageChooser @ {self:p}")
    }
}

#[repr(C)]
pub struct GspellNavigator {
    _data: [u8; 0],
    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}

impl ::std::fmt::Debug for GspellNavigator {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        write!(f, "GspellNavigator @ {self:p}")
    }
}

#[link(name = "gspell-1")]
extern "C" {

    //=========================================================================
    // GspellCheckerError
    //=========================================================================
    pub fn gspell_checker_error_get_type() -> GType;
    pub fn gspell_checker_error_quark() -> glib::GQuark;

    //=========================================================================
    // GspellLanguage
    //=========================================================================
    pub fn gspell_language_get_type() -> GType;
    pub fn gspell_language_compare(
        language_a: *const GspellLanguage,
        language_b: *const GspellLanguage,
    ) -> c_int;
    pub fn gspell_language_copy(language: *const GspellLanguage) -> *mut GspellLanguage;
    pub fn gspell_language_free(language: *mut GspellLanguage);
    pub fn gspell_language_get_code(language: *const GspellLanguage) -> *const c_char;
    pub fn gspell_language_get_name(language: *const GspellLanguage) -> *const c_char;
    pub fn gspell_language_get_available() -> *const glib::GList;
    pub fn gspell_language_get_default() -> *const GspellLanguage;
    pub fn gspell_language_lookup(language_code: *const c_char) -> *const GspellLanguage;

    //=========================================================================
    // GspellChecker
    //=========================================================================
    pub fn gspell_checker_get_type() -> GType;
    pub fn gspell_checker_new(language: *const GspellLanguage) -> *mut GspellChecker;
    pub fn gspell_checker_add_word_to_personal(
        checker: *mut GspellChecker,
        word: *const c_char,
        word_length: ssize_t,
    );
    pub fn gspell_checker_add_word_to_session(
        checker: *mut GspellChecker,
        word: *const c_char,
        word_length: ssize_t,
    );
    pub fn gspell_checker_check_word(
        checker: *mut GspellChecker,
        word: *const c_char,
        word_length: ssize_t,
        error: *mut *mut glib::GError,
    ) -> gboolean;
    pub fn gspell_checker_clear_session(checker: *mut GspellChecker);
    pub fn gspell_checker_get_language(checker: *mut GspellChecker) -> *const GspellLanguage;
    pub fn gspell_checker_get_suggestions(
        checker: *mut GspellChecker,
        word: *const c_char,
        word_length: ssize_t,
    ) -> *mut glib::GSList;
    pub fn gspell_checker_set_correction(
        checker: *mut GspellChecker,
        word: *const c_char,
        word_length: ssize_t,
        replacement: *const c_char,
        replacement_length: ssize_t,
    );
    pub fn gspell_checker_set_language(
        checker: *mut GspellChecker,
        language: *const GspellLanguage,
    );

    //=========================================================================
    // GspellCheckerDialog
    //=========================================================================
    pub fn gspell_checker_dialog_get_type() -> GType;
    pub fn gspell_checker_dialog_new(
        parent: *mut gtk::GtkWindow,
        navigator: *mut GspellNavigator,
    ) -> *mut gtk::GtkWidget;
    pub fn gspell_checker_dialog_get_spell_navigator(
        dialog: *mut GspellCheckerDialog,
    ) -> *mut GspellNavigator;

    //=========================================================================
    // GspellEntry
    //=========================================================================
    pub fn gspell_entry_get_type() -> GType;
    pub fn gspell_entry_get_from_gtk_entry(gtk_entry: *mut gtk::GtkEntry) -> *mut GspellEntry;
    pub fn gspell_entry_basic_setup(gspell_entry: *mut GspellEntry);
    pub fn gspell_entry_get_entry(gspell_entry: *mut GspellEntry) -> *mut gtk::GtkEntry;
    pub fn gspell_entry_get_inline_spell_checking(gspell_entry: *mut GspellEntry) -> gboolean;
    pub fn gspell_entry_set_inline_spell_checking(gspell_entry: *mut GspellEntry, enable: gboolean);

    //=========================================================================
    // GspellEntryBuffer
    //=========================================================================
    pub fn gspell_entry_buffer_get_type() -> GType;
    pub fn gspell_entry_buffer_get_from_gtk_entry_buffer(
        gtk_buffer: *mut gtk::GtkEntryBuffer,
    ) -> *mut GspellEntryBuffer;
    pub fn gspell_entry_buffer_get_buffer(
        gspell_buffer: *mut GspellEntryBuffer,
    ) -> *mut gtk::GtkEntryBuffer;
    pub fn gspell_entry_buffer_get_spell_checker(
        gspell_buffer: *mut GspellEntryBuffer,
    ) -> *mut GspellChecker;
    pub fn gspell_entry_buffer_set_spell_checker(
        gspell_buffer: *mut GspellEntryBuffer,
        spell_checker: *mut GspellChecker,
    );

    //=========================================================================
    // GspellLanguageChooserButton
    //=========================================================================
    pub fn gspell_language_chooser_button_get_type() -> GType;
    pub fn gspell_language_chooser_button_new(
        current_language: *const GspellLanguage,
    ) -> *mut gtk::GtkWidget;

    //=========================================================================
    // GspellLanguageChooserDialog
    //=========================================================================
    pub fn gspell_language_chooser_dialog_get_type() -> GType;
    pub fn gspell_language_chooser_dialog_new(
        parent: *mut gtk::GtkWindow,
        current_language: *const GspellLanguage,
        flags: gtk::GtkDialogFlags,
    ) -> *mut gtk::GtkWidget;

    //=========================================================================
    // GspellNavigatorTextView
    //=========================================================================
    pub fn gspell_navigator_text_view_get_type() -> GType;
    pub fn gspell_navigator_text_view_new(view: *mut gtk::GtkTextView) -> *mut GspellNavigator;
    pub fn gspell_navigator_text_view_get_view(
        navigator: *mut GspellNavigatorTextView,
    ) -> *mut gtk::GtkTextView;

    //=========================================================================
    // GspellTextBuffer
    //=========================================================================
    pub fn gspell_text_buffer_get_type() -> GType;
    pub fn gspell_text_buffer_get_from_gtk_text_buffer(
        gtk_buffer: *mut gtk::GtkTextBuffer,
    ) -> *mut GspellTextBuffer;
    pub fn gspell_text_buffer_get_buffer(
        gspell_buffer: *mut GspellTextBuffer,
    ) -> *mut gtk::GtkTextBuffer;
    pub fn gspell_text_buffer_get_spell_checker(
        gspell_buffer: *mut GspellTextBuffer,
    ) -> *mut GspellChecker;
    pub fn gspell_text_buffer_set_spell_checker(
        gspell_buffer: *mut GspellTextBuffer,
        spell_checker: *mut GspellChecker,
    );

    //=========================================================================
    // GspellTextView
    //=========================================================================
    pub fn gspell_text_view_get_type() -> GType;
    pub fn gspell_text_view_get_from_gtk_text_view(
        gtk_view: *mut gtk::GtkTextView,
    ) -> *mut GspellTextView;
    pub fn gspell_text_view_basic_setup(gspell_view: *mut GspellTextView);
    pub fn gspell_text_view_get_enable_language_menu(gspell_view: *mut GspellTextView) -> gboolean;
    pub fn gspell_text_view_get_inline_spell_checking(gspell_view: *mut GspellTextView)
        -> gboolean;
    pub fn gspell_text_view_get_view(gspell_view: *mut GspellTextView) -> *mut gtk::GtkTextView;
    pub fn gspell_text_view_set_enable_language_menu(
        gspell_view: *mut GspellTextView,
        enable_language_menu: gboolean,
    );
    pub fn gspell_text_view_set_inline_spell_checking(
        gspell_view: *mut GspellTextView,
        enable: gboolean,
    );

    //=========================================================================
    // GspellLanguageChooser
    //=========================================================================
    pub fn gspell_language_chooser_get_type() -> GType;
    pub fn gspell_language_chooser_get_language(
        chooser: *mut GspellLanguageChooser,
    ) -> *const GspellLanguage;
    pub fn gspell_language_chooser_get_language_code(
        chooser: *mut GspellLanguageChooser,
    ) -> *const c_char;
    pub fn gspell_language_chooser_set_language(
        chooser: *mut GspellLanguageChooser,
        language: *const GspellLanguage,
    );
    pub fn gspell_language_chooser_set_language_code(
        chooser: *mut GspellLanguageChooser,
        language_code: *const c_char,
    );

    //=========================================================================
    // GspellNavigator
    //=========================================================================
    pub fn gspell_navigator_get_type() -> GType;
    pub fn gspell_navigator_change(
        navigator: *mut GspellNavigator,
        word: *const c_char,
        change_to: *const c_char,
    );
    pub fn gspell_navigator_change_all(
        navigator: *mut GspellNavigator,
        word: *const c_char,
        change_to: *const c_char,
    );
    pub fn gspell_navigator_goto_next(
        navigator: *mut GspellNavigator,
        word: *mut *mut c_char,
        spell_checker: *mut *mut GspellChecker,
        error: *mut *mut glib::GError,
    ) -> gboolean;

}