libmetal
lib
compiler
iar
compiler.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2018, ST Microelectronics. All rights reserved.
3
*
4
* SPDX-License-Identifier: BSD-3-Clause
5
*/
6
7
/*
8
* @file iar/compiler.h
9
* @brief IAR specific primitives for libmetal.
10
*/
11
12
#ifndef __METAL_IAR_COMPILER__H__
13
#define __METAL_IAR_COMPILER__H__
14
15
#ifdef __cplusplus
16
extern
"C"
{
17
#endif
18
19
#define restrict __restrict__
20
#define metal_align(n) __attribute__((aligned(n)))
21
#define metal_weak __attribute__((weak))
22
23
#ifdef __cplusplus
24
}
25
#endif
26
27
#endif
/* __METAL_IAR_COMPILER__H__ */
Generated on Fri Feb 1 2019 16:46:45 for libmetal by
1.8.15