Browse Source

add pragma inline

xdrie 5 năm trước cách đây
mục cha
commit
d01879b552
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  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()