-
-
Save bnoordhuis/724affcf0e0ea7d0b9ca to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#if defined(__GNUC__) | |
#define always_inline(type, name, ...) \ | |
type __attribute__((always_inline)) name(__VA_ARGS__) | |
#elif defined(_MSC_VER) | |
#define always_inline(type, name, ...) \ | |
__forceinline type name(__VA_ARGS__) | |
#else | |
#define always_inline(type, name, ...) \ | |
type name(__VA_ARGS__) | |
#endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment