Ver Fonte

Merge pull request #389 from thareh/task/inline

Added "Inline" keyword
Brucey há 3 semanas atrás
pai
commit
4419aad503
1 ficheiros alterados com 5 adições e 0 exclusões
  1. 5 0
      blitz.mod/blitz.bmx

+ 5 - 0
blitz.mod/blitz.bmx

@@ -1438,3 +1438,8 @@ Rem
 bbdoc: Denotes an array as a static array, with its content allocated on the stack.
 bbdoc: Denotes an array as a static array, with its content allocated on the stack.
 keyword: "StaticArray"
 keyword: "StaticArray"
 End Rem
 End Rem
+
+Rem
+bbdoc: Marks a global function as inline which replaces the function call with the acual code of the function for less overhead.
+keyword: "Inline"
+End Rem