openmpt_stream_tell_func

Type Alias openmpt_stream_tell_func 

Source
pub type openmpt_stream_tell_func = Option<unsafe extern "C" fn(stream: *mut c_void) -> i64>;
Expand description

\brief Tell stream position

Tell position of stream. \param stream Stream to operate on. \return Current position in stream. \retval -1 Failure.

Aliased Type§

pub enum openmpt_stream_tell_func {
    None,
    Some(unsafe extern "C" fn(*mut c_void) -> i64),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut c_void) -> i64)

Some value of type T.