Function mupdf_sys::fz_new_document_writer_of_size[][src]

pub unsafe extern "C" fn fz_new_document_writer_of_size(
    ctx: *mut fz_context,
    size: usize,
    begin_page: fz_document_writer_begin_page_fn,
    end_page: fz_document_writer_end_page_fn,
    close: fz_document_writer_close_writer_fn,
    drop: fz_document_writer_drop_writer_fn
) -> *mut fz_document_writer

Internal function to allocate a block for a derived document_writer structure, with the base structure’s function pointers populated correctly, and the extra space zero initialised.