From 806b216e2024a13522eb1e17ae7a2641dfd51a98 Mon Sep 17 00:00:00 2001 From: Dmitry Matveyev Date: Sun, 9 May 2021 14:19:25 +0600 Subject: [PATCH] Move cplusplus curly brace and RAYGUI_H endifs above (#137) --- src/raygui.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/raygui.h b/src/raygui.h index 779e87e..4629e04 100644 --- a/src/raygui.h +++ b/src/raygui.h @@ -496,6 +496,12 @@ RAYGUIDEF bool GuiCheckIconPixel(int iconId, int x, int y); // Check icon pi #endif +#if defined(__cplusplus) +} // Prevents name mangling of functions +#endif + +#endif // RAYGUI_H + /*********************************************************************************** * * RAYGUI IMPLEMENTATION @@ -3673,9 +3679,3 @@ static const char *CodepointToUtf8(int codepoint, int *byteLength) #endif // RAYGUI_STANDALONE #endif // RAYGUI_IMPLEMENTATION - -#if defined(__cplusplus) -} // Prevents name mangling of functions -#endif - -#endif // RAYGUI_H