diff options
author | Thomas White <taw@bitwiz.org.uk> | 2014-01-12 22:20:07 +0100 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2014-01-12 22:20:07 +0100 |
commit | e0cfd1748e891548cadab2500447e2e944d08600 (patch) | |
tree | 1d1b1babf4fb5e91dfbf66fc3559b2aefb3ea1cb /src/sc_interp.h | |
parent | d66704db5091ec97d57a6939ecef8f33fb1aac76 (diff) |
Most of the new interpreter structure
Diffstat (limited to 'src/sc_interp.h')
-rw-r--r-- | src/sc_interp.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/sc_interp.h b/src/sc_interp.h index b5fba5e..ad59193 100644 --- a/src/sc_interp.h +++ b/src/sc_interp.h @@ -27,6 +27,17 @@ #include <config.h> #endif + +struct sc_font +{ + PangoFontDescription *fontdesc; + PangoFont *font; + double col[4]; + int ascent; + int height; + int free_font_on_pop; +}; + typedef struct _scinterp SCInterpreter; extern SCInterpreter *sc_interp_new(void); @@ -35,6 +46,6 @@ extern void sc_interp_destroy(SCInterpreter *scin); extern void sc_interp_save(SCInterpreter *scin); extern void sc_interp_restore(SCInterpreter *scin); -extern void sc_interp_run(SCInterpreter *scin, const char *sc); +extern int sc_interp_add_blocks(SCInterpreter *scin, const SCBlock *bl); #endif /* SC_INTERP_H */ |