Changeset 495f45be1390b876b1b764c2e5c2229db26a965e
- Timestamp:
- 04/26/08 10:17:30 (9 months ago)
- Author:
- krayouva <krayouva@…>
- Parents:
- cb8a790da00aaa16cf016a058dde5415b22e73a5
- Children:
- 08b306ad3b952ec99117ba23c795ddb6c733ae52
- git-committer:
- krayouva <krayouva@gmail.com> / 2008-04-25T20:17:30Z-0400
- Message:
-
* Added FRT_ALWAYS_INLINE and FRT_EXTERNC
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
rcb8a79
|
r495f45
|
|
| 19 | 19 | |
| 20 | 20 | #if defined(__GNUC__) && !defined(__cplusplus) |
| 21 | | # define FRT_INLINE __inline__ |
| | 21 | # define FRT_INLINE __inline__ |
| 22 | 22 | #else |
| 23 | | # define FRT_INLINE |
| | 23 | # define FRT_INLINE |
| | 24 | #endif |
| | 25 | |
| | 26 | /* This version error out if it can't inline the function */ |
| | 27 | #if __GNUC__ >= 3 |
| | 28 | # define FRT_ALWAYS_INLINE inline __attribute__ ((always_inline)) |
| | 29 | #else |
| | 30 | # define FRT_ALWAYS_INLINE |
| | 31 | #endif |
| | 32 | |
| | 33 | #ifdef __cplusplus |
| | 34 | #define FRT_EXTERNC extern "C" |
| | 35 | #else |
| | 36 | #define FRT_EXTERNC |
| 24 | 37 | #endif |
| 25 | 38 | |