Function glib::translate::const_override[][src]

pub fn const_override<T>(ptr: *mut T) -> *const T

Overrides pointer constness.

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