mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-11 09:50:12 +00:00
loader: Add prototype for gfx_interp_md
This function will be used to draw in the graphics bindings when the loader is compiled with graphics (gfx) support. Provide definitions for lua and the simple interpreter. 4th support is forthcoming. Sponsored by: Netflix Reviewed by: kevans, jhb Differential Revision: https://reviews.freebsd.org/D43903
This commit is contained in:
parent
9b16231032
commit
60e199d9fd
@ -281,6 +281,8 @@ void term_image_display(teken_gfx_t *, const teken_rect_t *);
|
||||
|
||||
void reset_font_flags(void);
|
||||
|
||||
void gfx_interp_md(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
@ -198,3 +198,11 @@ interp_include(const char *filename)
|
||||
}
|
||||
return(res);
|
||||
}
|
||||
|
||||
/*
|
||||
* There's no graphics commands for the simple interpreter.
|
||||
*/
|
||||
void
|
||||
gfx_interp_md(void)
|
||||
{
|
||||
}
|
||||
|
@ -240,3 +240,8 @@ luaopen_gfx(lua_State *L)
|
||||
luaL_newlib(L, gfxlib);
|
||||
return 1;
|
||||
}
|
||||
|
||||
void
|
||||
gfx_interp_md(void)
|
||||
{
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user