pub type GTranslateFunc = Option<unsafe extern "C" fn(str_: *const gchar, data: gpointer) -> *const gchar>;
Expand description
GTranslateFunc: @str: the untranslated string @data: user data specified when installing the function, e.g. in g_option_group_set_translate_func()
The type of functions which are used to translate user-visible strings, for output.
Returns: a translation of the string for the current locale. The returned string is owned by GLib and must not be freed.
Aliased Type§
pub enum GTranslateFunc {
None,
Some(unsafe extern "C" fn(*const i8, *mut c_void) -> *const i8),
}