Browse Source

add pragma inline

xdrie 5 years ago
parent
commit
d01879b552
1 changed files with 2 additions and 1 deletions
  1. 2 1
      source/easings.d

+ 2 - 1
source/easings.d

@@ -79,7 +79,8 @@
 *
 **********************************************************************************************/
 
-extern (C): // NOTE: By default, compile functions as static inline
+extern (C):
+pragma(inline, true): // NOTE: By default, compile functions as static inline
 
 import core.stdc.math; // Required for: sinf(), cosf(), sqrt(), pow()