Last active
July 9, 2018 08:19
-
-
Save russell-shizhen/2f2948f549d0c583ef67b05392e64ed8 to your computer and use it in GitHub Desktop.
inline a c function for Android NDK clang compiler
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
static inline __attribute__((always_inline)) void foo() { | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
always_inline
is necessary here.