Type Alias FLAC__IOCallback_Tell

Source
pub type FLAC__IOCallback_Tell = Option<unsafe extern "C" fn(handle: FLAC__IOHandle) -> FLAC__int64>;
Expand description

Signature for the tell callback. The signature and semantics mostly match POSIX ftell() WITH ONE IMPORTANT EXCEPTION: the offset is a 64-bit type whereas ftell() is generally ‘long’ and 32-bits wide.

\param handle The handle to the data source. \retval FLAC__int64 The current position on success, \c -1 on error.

Aliased Type§

pub enum FLAC__IOCallback_Tell {
    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.