loader: rename gfx_interp_md to gfx_interp_ref

We have the call to gfx_interp_ref to bring in the .o so that we get the
linker set item to add the language bindings at the right time. Where we
call it is not the right time... So the _ref name is better. Change it
before we have too many others like it.

Sponsored by:		Netflix
This commit is contained in:
Warner Losh 2024-02-23 21:22:08 -07:00
parent 48698ead6f
commit 6faf55c86d
5 changed files with 5 additions and 5 deletions

View File

@ -181,7 +181,7 @@ gfx_framework_init(void)
* Setup font list to have builtin font.
*/
(void) insert_font(NULL, FONT_BUILTIN);
gfx_interp_md(); /* Draw in the gfx interpreter for this thing */
gfx_interp_ref(); /* Draw in the gfx interpreter for this thing */
}
static uint8_t *

View File

@ -281,7 +281,7 @@ void term_image_display(teken_gfx_t *, const teken_rect_t *);
void reset_font_flags(void);
void gfx_interp_md(void);
void gfx_interp_ref(void);
#ifdef __cplusplus
}

View File

@ -202,6 +202,6 @@ interp_include(const char *filename)
* There's no graphics commands for the simple interpreter.
*/
void
gfx_interp_md(void)
gfx_interp_ref(void)
{
}

View File

@ -254,6 +254,6 @@ static void ficlCompileGfx(FICL_SYSTEM *pSys)
FICL_COMPILE_SET(ficlCompileGfx);
void
gfx_interp_md(void)
gfx_interp_ref(void)
{
}

View File

@ -242,7 +242,7 @@ luaopen_gfx(lua_State *L)
}
void
gfx_interp_md(void)
gfx_interp_ref(void)
{
}