Merge pull request #1417 from mtheall/master

Add printf attrtibute to Draw_DrawFormattedString
This commit is contained in:
TuxSH
2020-05-08 16:52:52 +01:00
committed by GitHub

View File

@@ -81,6 +81,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);