From a770a93fb200a5e9a9abd5cb80206906802b6c90 Mon Sep 17 00:00:00 2001 From: raysan5 Date: Tue, 12 Oct 2021 14:52:04 +0200 Subject: [PATCH] Remove some warnings --- src/raygui.h | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/src/raygui.h b/src/raygui.h index e15c437..bf9504b 100644 --- a/src/raygui.h +++ b/src/raygui.h @@ -187,11 +187,6 @@ #include "raylib.h" #endif -// Function specifiers definition -#ifndef RAYGUIAPI - #define RAYGUIAPI // Functions defined as 'extern' by default (implicit specifiers) -#endif - // Function specifiers in case library is build/used as a shared library (Windows) // NOTE: Microsoft specifiers to tell compiler that symbols are imported/exported from a .dll #if defined(_WIN32) @@ -202,6 +197,15 @@ #endif #endif +// Function specifiers definition +#ifndef RAYGUIAPI + #define RAYGUIAPI // Functions defined as 'extern' by default (implicit specifiers) +#endif + +//---------------------------------------------------------------------------------- +// Defines and Macros +//---------------------------------------------------------------------------------- + // Allow custom memory allocators #ifndef RAYGUI_MALLOC #define RAYGUI_MALLOC(sz) malloc(sz) @@ -213,6 +217,8 @@ #define RAYGUI_FREE(p) free(p) #endif +// TODO: Implement custom TraceLog() +#define TRACELOG(level, ...) (void)0 //---------------------------------------------------------------------------------- // Types and Structures Definition