Dashboard/Quik.StbImage/quik_stbi.h

19 lines
394 B
C
Raw Normal View History

2023-07-08 13:08:11 +02:00
#ifndef _QUIK_STBI_H_
#define _QUIK_STBI_H_
2023-07-08 12:25:44 +02:00
2023-07-08 13:08:11 +02:00
#include "quik/quik_common.h"
2023-07-08 12:25:44 +02:00
2023-07-08 13:08:11 +02:00
QUIK_DECLARE_LIB(quik_stbi)
2023-07-08 12:25:44 +02:00
/* TODO: Change this declaration so we can export a DLL properly in windows. */
#define STBIDEF QEXTERN
2023-07-08 12:25:44 +02:00
#define STBI_ASSERT(EXPR) do { \
if (!(EXPR)) \
quik_stbi_failed_assert(#EXPR, __FILE__, __LINE__ - 2, __QUIK_FUNCTION__); \
} while(0)
#include "stb/stb_image.h"
2023-07-08 12:25:44 +02:00
#endif