| ... | @@ -370,18 +370,18 @@ TODO | ... | @@ -370,18 +370,18 @@ TODO |
| 370 | Built-in functions are prefixed with `@`. Remember that the `inline` keyword on | 370 | Built-in functions are prefixed with `@`. Remember that the `inline` keyword on |
| 371 | a parameter means that the parameter must be known at compile time. | 371 | a parameter means that the parameter must be known at compile time. |
| 372 | | 372 | |
| 373 | ### @typeof(expression) -> type | 373 | ### @typeOf(expression) -> type |
| 374 | | 374 | |
| 375 | This function returns a compile-time constant, which is the type of the | 375 | This function returns a compile-time constant, which is the type of the |
| 376 | expression passed as an argument. The expression is *not evaluated*. | 376 | expression passed as an argument. The expression is *not evaluated*. |
| 377 | | 377 | |
| 378 | ### @sizeof(inline T: type) -> (number literal) | 378 | ### @sizeOf(inline T: type) -> (number literal) |
| 379 | | 379 | |
| 380 | This function returns the number of bytes it takes to store T in memory. | 380 | This function returns the number of bytes it takes to store T in memory. |
| 381 | | 381 | |
| 382 | The result is a target-specific compile time constant. | 382 | The result is a target-specific compile time constant. |
| 383 | | 383 | |
| 384 | ### @alignof(inline T: type) -> (number literal) | 384 | ### @alignOf(inline T: type) -> (number literal) |
| 385 | | 385 | |
| 386 | This function returns the number of bytes that this type should be aligned to | 386 | This function returns the number of bytes that this type should be aligned to |
| 387 | for the current target. | 387 | for the current target. |