glib::translate

Function mut_override

Source
pub fn mut_override<T>(ptr: *const T) -> *mut T
Expand description

Overrides pointer mutability.

Use when the C API should be specifying a const pointer but doesn’t.