瀏覽代碼

[compiler] Add __always_inline macro

tags/v0.9.6
Michael Brown 17 年之前
父節點
當前提交
9b01a9fd9c
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3
    0
      src/include/compiler.h

+ 3
- 0
src/include/compiler.h 查看文件

325
 /** Declare a data structure to be aligned with 16-byte alignment */
325
 /** Declare a data structure to be aligned with 16-byte alignment */
326
 #define __aligned __attribute__ (( aligned ( 16 ) ))
326
 #define __aligned __attribute__ (( aligned ( 16 ) ))
327
 
327
 
328
+/** Declare a function to be always inline */
329
+#define __always_inline __attribute__ (( always_inline ))
330
+
328
 /**
331
 /**
329
  * Shared data.
332
  * Shared data.
330
  *
333
  *

Loading…
取消
儲存