D Bare Bones II: Difference between revisions
Jump to navigation
Jump to search
[unchecked revision] | [unchecked revision] |
Content deleted Content added
Fix D Bare bones: you can't pass non-standard arguments to void main() |
Fix D Bare bones: now you should import core.volatile module for volatile |
||
Line 83: | Line 83: | ||
<source lang="d"> |
<source lang="d"> |
||
module kernel.main; |
module kernel.main; |
||
import core. |
import core.volatile; |
||
extern(C): // We denote that all functions in our file will have the extern(C) flag |
extern(C): // We denote that all functions in our file will have the extern(C) flag |