[][src]Function mupdf_sys::fz_new_document_of_size

pub unsafe extern "C" fn fz_new_document_of_size(
    ctx: *mut fz_context,
    size: c_int
) -> *mut c_void

New documents are typically created by calls like foo_new_document(fz_context *ctx, ...). These work by deriving a new document type from fz_document, for instance: typedef struct { fz_document base; ...extras... } foo_document; These are allocated by calling fz_new_derived_document(ctx, foo_document)