From be5682499204c28ac165ba43fef170f3acfea6b6 Mon Sep 17 00:00:00 2001 From: nullifiedcat Date: Tue, 23 Jan 2018 09:33:38 +0300 Subject: [PATCH] __cplusplus guard --- include/glez.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/include/glez.h b/include/glez.h index fb60432..65645b5 100644 --- a/include/glez.h +++ b/include/glez.h @@ -7,6 +7,11 @@ #pragma once +#ifdef __cplusplus +extern "C" +{ +#endif + /* Types */ typedef struct glez_vec4_s @@ -106,3 +111,7 @@ void glez_string_with_outline(float x, float y, const char *string, void glez_circle(float x, float y, float radius, glez_rgba_t color, float thickness, int steps); + +#ifdef __cplusplus +} +#endif