2023-08-23 11:24:28 +00:00
|
|
|
/**
|
|
|
|
* @file Attributes.h
|
|
|
|
* @author apio (cloudapio.eu)
|
|
|
|
* @brief Macro wrappers around GCC attributes.
|
|
|
|
*
|
|
|
|
* @copyright Copyright (c) 2022-2023, the Luna authors.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2022-11-19 16:18:51 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#define _weak __attribute__((weak))
|
|
|
|
#define _format(n, m) __attribute__((format(printf, n, m)))
|
2023-01-02 12:07:29 +00:00
|
|
|
#define _align(x) __attribute__((aligned(x)))
|