Remove some warnings
This commit is contained in:
parent
1a9f0fbe9c
commit
a770a93fb2
16
src/raygui.h
16
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user