pub type GTypeValuePeekPointerFunc = Option<unsafe extern "C" fn(value: *const GValue) -> gpointer>;
Expand description
GTypeValuePeekPointerFunc: @value: the value to peek
If the value contents fit into a pointer, such as objects or strings, return this pointer, so the caller can peek at the current contents.
To extend on our above string example:
|[ return value->data[0].v_pointer; ]|
Returns: (transfer none): a pointer to the value contents
Since: 2.78
Aliased Type§
pub enum GTypeValuePeekPointerFunc {
None,
Some(unsafe extern "C" fn(*const _GValue) -> *mut c_void),
}