Function glib::translate::const_override

source ·
pub fn const_override<T>(ptr: *mut T) -> *const T
Expand description

Overrides pointer constness.

Use when the C API need const pointer, but function with IsA<T> constraint, that usually don’t have const pointer conversion.