add def guard
This commit is contained in:
@@ -1,3 +1,6 @@
|
|||||||
|
#ifndef __TEXT_H__
|
||||||
|
#define __TEXT_H__
|
||||||
|
|
||||||
#include <SDL/SDL_ttf.h>
|
#include <SDL/SDL_ttf.h>
|
||||||
#include "renderer.h"
|
#include "renderer.h"
|
||||||
|
|
||||||
@@ -11,3 +14,5 @@ typedef struct {
|
|||||||
int text_renderText(RenderObject_t* renderObject, Position position, SDL_Color color, const char* fontFilename, int fontSize, char* format, ...);
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user