mirror of
https://github.com/opnsense/src.git
synced 2026-06-13 10:40:19 -04: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
(cherry picked from commit 60e199d9fd)
This commit is contained in:
parent
73fac51c57
commit
ab3aa90b70
3 changed files with 15 additions and 0 deletions
|
|
@ -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 a new issue