summaryrefslogtreecommitdiff
path: root/gfx/gfx.h
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-08-27 00:12:05 -0300
committerWerner Almesberger <werner@almesberger.net>2016-08-27 00:21:57 -0300
commit0509840b201526851e33182b98fcf61edf70b626 (patch)
tree6f42654d0e87f7c665b21c560fb03404d29e0e57 /gfx/gfx.h
parent369c95f88d33f708777b82711ef6d7db3066857a (diff)
downloadeeshow-0509840b201526851e33182b98fcf61edf70b626.tar.gz
eeshow-0509840b201526851e33182b98fcf61edf70b626.tar.bz2
eeshow-0509840b201526851e33182b98fcf61edf70b626.zip
gfx/gfx.c (gfx_end): let "end" function return an integer
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 85fdc32..bcc0a3e 100644
--- a/gfx/gfx.h
+++ b/gfx/gfx.h
@@ -45,7 +45,7 @@ struct gfx_ops {
bool (*args)(void *ctx, int argc, char *const *argv);
void (*sheet_name)(void *ctx, const char *name);
void (*new_sheet)(void *ctx);
- void (*end)(void *ctx);
+ int (*end)(void *ctx);
};
@@ -78,6 +78,6 @@ void gfx_sheet_name(struct gfx *gfx, const char *name);
void gfx_new_sheet(struct gfx *gfx);
bool gfx_multi_sheet(struct gfx *gfx);
void *gfx_user(struct gfx *gfx); /* transitional kludge */
-void gfx_end(struct gfx *gfx);
+int gfx_end(struct gfx *gfx);
#endif /* !GFX_GFX_H */