18 lines
464 B
C
18 lines
464 B
C
#ifndef INCLUDED_C_COMPILER_CLANG_H
|
|
#define INCLUDED_C_COMPILER_CLANG_H
|
|
|
|
#define C_INLINE inline __attribute__((always_inline))
|
|
#define C_NOINLINE __attribute__((noinline))
|
|
|
|
#define C_STATIC_FORCE_INLINE static C_INLINE
|
|
|
|
#define C_PACKED_STRUCT_START
|
|
#define C_PACKED_STRUCT_END
|
|
#define C_PACKED __attribute__((packed))
|
|
|
|
#define C_ALIGN(bytes) __attribute__((aligned(bytes)))
|
|
|
|
#define C_RESTRICT __restrict__
|
|
|
|
#endif /*INCLUDED_C_COMPILER_CLANG_H*/
|