Add printf attrtibute to Draw_DrawFormattedString

This commit is contained in:
Michael Theall 2020-05-06 22:34:09 -05:00
parent 0da90f61fc
commit 32c53578e0

View File

@ -77,6 +77,8 @@ void Draw_Unlock(void);
void Draw_DrawCharacter(u32 posX, u32 posY, u32 color, char character); void Draw_DrawCharacter(u32 posX, u32 posY, u32 color, char character);
u32 Draw_DrawString(u32 posX, u32 posY, u32 color, const char *string); u32 Draw_DrawString(u32 posX, u32 posY, u32 color, const char *string);
__attribute__((format(printf,4,5)))
u32 Draw_DrawFormattedString(u32 posX, u32 posY, u32 color, const char *fmt, ...); u32 Draw_DrawFormattedString(u32 posX, u32 posY, u32 color, const char *fmt, ...);
void Draw_FillFramebuffer(u32 value); void Draw_FillFramebuffer(u32 value);