Selaa lähdekoodia

add pragma inline

xdrie 5 vuotta sitten
vanhempi
commit
d01879b552
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  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()