add def guard

This commit is contained in:
2023-01-20 21:46:28 +01:00
parent 742fa4865b
commit abc59e4fb7
+6 -1
View File
@@ -1,3 +1,6 @@
#ifndef __TEXT_H__
#define __TEXT_H__
#include <SDL/SDL_ttf.h>
#include "renderer.h"
@@ -10,4 +13,6 @@ typedef struct {
int text_renderText(RenderObject_t* renderObject, Position position, SDL_Color color, const char* fontFilename, int fontSize, char* format, ...);
void text_freeFontCache();
void text_freeFontCache();
#endif