mirror of
https://github.com/raysan5/raygui.git
synced 2026-02-01 19:59:17 -05:00
Remove some warnings
This commit is contained in:
16
src/raygui.h
16
src/raygui.h
@ -187,11 +187,6 @@
|
|||||||
#include "raylib.h"
|
#include "raylib.h"
|
||||||
#endif
|
#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)
|
// 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
|
// NOTE: Microsoft specifiers to tell compiler that symbols are imported/exported from a .dll
|
||||||
#if defined(_WIN32)
|
#if defined(_WIN32)
|
||||||
@ -202,6 +197,15 @@
|
|||||||
#endif
|
#endif
|
||||||
#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
|
// Allow custom memory allocators
|
||||||
#ifndef RAYGUI_MALLOC
|
#ifndef RAYGUI_MALLOC
|
||||||
#define RAYGUI_MALLOC(sz) malloc(sz)
|
#define RAYGUI_MALLOC(sz) malloc(sz)
|
||||||
@ -213,6 +217,8 @@
|
|||||||
#define RAYGUI_FREE(p) free(p)
|
#define RAYGUI_FREE(p) free(p)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// TODO: Implement custom TraceLog()
|
||||||
|
#define TRACELOG(level, ...) (void)0
|
||||||
|
|
||||||
//----------------------------------------------------------------------------------
|
//----------------------------------------------------------------------------------
|
||||||
// Types and Structures Definition
|
// Types and Structures Definition
|
||||||
|
|||||||
Reference in New Issue
Block a user