diff options
Diffstat (limited to 'fitz/doc_document.c')
-rw-r--r-- | fitz/doc_document.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/fitz/doc_document.c b/fitz/doc_document.c index 22229892..83dbe53f 100644 --- a/fitz/doc_document.c +++ b/fitz/doc_document.c @@ -129,3 +129,10 @@ fz_meta(fz_document *doc, int key, void *ptr, int size) return doc->meta(doc, key, ptr, size); return FZ_META_UNKNOWN_KEY; } + +void +fz_write(fz_document *doc, char *filename, fz_write_opts *opts) +{ + if (doc && doc->write) + doc->write(doc, filename, opts); +}
\ No newline at end of file |