summaryrefslogtreecommitdiff
path: root/gfx/gfx.h
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-09-29 22:11:04 -0300
committerWerner Almesberger <werner@almesberger.net>2016-09-29 22:22:03 -0300
commit9fa6e29c6bbd1cb2f1c3b988267c12522baae08a (patch)
treefb88db19f6b9f08c9bdb459bd669ece67324e454 /gfx/gfx.h
parent5c7199fb2fced0064092c621107f4ff30f82f940 (diff)
downloadeeshow-9fa6e29c6bbd1cb2f1c3b988267c12522baae08a.tar.gz
eeshow-9fa6e29c6bbd1cb2f1c3b988267c12522baae08a.tar.bz2
eeshow-9fa6e29c6bbd1cb2f1c3b988267c12522baae08a.zip
add "extra" filtering at gfx_end (this fixed -e for all Cairo formats)
Diffstat (limited to 'gfx/gfx.h')
-rw-r--r--gfx/gfx.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gfx/gfx.h b/gfx/gfx.h
index 5aa1e82..0e73ba8 100644
--- a/gfx/gfx.h
+++ b/gfx/gfx.h
@@ -56,7 +56,7 @@ struct gfx_ops {
bool (*args)(void *ctx, int argc, char *const *argv, const char *opts);
void (*sheet_name)(void *ctx, const char *name);
void (*new_sheet)(void *ctx);
- int (*end)(void *ctx);
+ int (*end)(void *ctx, enum gfx_extra extra);
};
@@ -94,6 +94,6 @@ bool gfx_multi_sheet(struct gfx *gfx);
void *gfx_user(struct gfx *gfx); /* transitional kludge */
void gfx_destroy(struct gfx *gfx);
-int gfx_end(struct gfx *gfx);
+int gfx_end(struct gfx *gfx, enum gfx_extra extra);
#endif /* !GFX_GFX_H */