diff options
author | Thomas White <taw@bitwiz.org.uk> | 2014-12-26 21:55:56 +0000 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2014-12-26 21:55:56 +0000 |
commit | 0857332781ab119e075c6e5bf1feb25bd5d032fa (patch) | |
tree | 65ba1cb3d039b1de99b195a959ab08f5655d0ba1 /src/sc_interp.h | |
parent | 6ba97ba49e60fb3c2a7586f149891bc8609abf1f (diff) |
Move SCCallbackFunc definition
Diffstat (limited to 'src/sc_interp.h')
-rw-r--r-- | src/sc_interp.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sc_interp.h b/src/sc_interp.h index 017f9ea..c84942f 100644 --- a/src/sc_interp.h +++ b/src/sc_interp.h @@ -32,6 +32,7 @@ struct presentation; typedef struct _scinterp SCInterpreter; typedef struct _sccallbacklist SCCallbackList; +typedef cairo_surface_t *(*SCCallbackFunc)(SCBlock *bl, void *); extern SCInterpreter *sc_interp_new(PangoContext *pc, struct frame *top); extern void sc_interp_destroy(SCInterpreter *scin); @@ -51,7 +52,7 @@ extern void add_macro(SCInterpreter *scin, const char *mname, extern SCCallbackList *sc_callback_list_new(); extern void sc_callback_list_free(SCCallbackList *cbl); extern void sc_callback_list_add_callback(SCCallbackList *cbl, const char *name, - cairo_surface_t *(*func)(SCBlock *bl, void *p)); + SCCallbackFunc func); extern void sc_interp_set_callbacks(SCInterpreter *scin, SCCallbackList *cbl); /* Get the current state of the interpreter */ |