[][src]Function gifski::c_api::gifski_write

#[no_mangle]
pub extern "C" fn gifski_write(
    handle: *const GifskiHandle,
    destination: *const c_char
) -> GifskiError

Start writing to the destination and keep waiting for more frames until gifski_end_adding_frames() is called.

This call will block until the entire file is written. You will need to add frames on another thread.

Returns 0 (GIFSKI_OK) on success, and non-0 GIFSKI_* constant on error.