Quellcode durchsuchen

add pragma inline

xdrie vor 5 Jahren
Ursprung
Commit
d01879b552
1 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
  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()