Add extern "C" to font_renderer_driver.h

This commit is contained in:
twinaphex 2015-04-04 02:47:13 +02:00
parent 24733603ea
commit ece77e4bfa

View File

@ -21,6 +21,10 @@
#include <stdint.h>
#include <boolean.h>
#ifdef __cplusplus
extern "C" {
#endif
/* All coordinates and offsets are top-left oriented.
*
* This is a texture-atlas approach which allows text to
@ -98,5 +102,8 @@ extern font_renderer_driver_t bitmap_font_renderer;
bool font_renderer_create_default(const font_renderer_driver_t **driver,
void **handle, const char *font_path, unsigned font_size);
#ifdef __cplusplus
}
#endif
#endif