18 lines
540 B
C
18 lines
540 B
C
#ifndef __JABYENGINE_DEFINES__H__
|
|
#define __JABYENGINE_DEFINES__H__
|
|
#include "jabyengine_config.hpp"
|
|
#include "../stddef.h"
|
|
|
|
#define __used __attribute__((used))
|
|
#define __no_align __attribute__((packed))
|
|
#define __no_inline __attribute__((noinline))
|
|
#define __always_inline __attribute__((always_inline))
|
|
#define __section(name) __attribute__((section(name)))
|
|
#define __collect(...) __VA_ARGS__
|
|
|
|
#ifdef __cplusplus
|
|
#define __constexpr constexpr
|
|
#else
|
|
#define __constexpr
|
|
#endif
|
|
#endif //!__JABYENGINE_DEFINES__H__
|