Browse Source

[compiler] Add __always_inline macro

tags/v0.9.6
Michael Brown 16 years ago
parent
commit
9b01a9fd9c
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      src/include/compiler.h

+ 3
- 0
src/include/compiler.h View File

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…
Cancel
Save