#define __INLINE __inline
时间: 2023-10-19 17:05:36 浏览: 164
const #define inline
这个问题是关于#define __INLINE __inline的含义。引用中提到了CMSIS目前支持的三大主流工具链,其中有一句#define __INLINE __inline,这是一种宏定义,用于将__INLINE替换为__inline。而引用中提到,内联函数是代码被插入到调用者代码处的函数,通过避免被调用的开销来提高执行效率,并且可以通过编译器优化。因此,可以推断出#define __INLINE __inline是将__INLINE定义为内联函数的一种方式。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [C语言学习(二):define和inline](https://blog.csdn.net/cainiao000001/article/details/78628052)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
- *2* [MDK5 宏定义CC_ARM](https://download.csdn.net/download/unforgettable2010/10550084)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文