Add ';;' operator, more windows decls
This commit is contained in:
@@ -1,9 +1,15 @@
|
||||
#import "base.kl"
|
||||
os :: #import "os.kl"
|
||||
// #import "base.kl"
|
||||
#load "Windows.kl"
|
||||
|
||||
Vec2I :: struct ;; x: S32; y: S32
|
||||
|
||||
create_bitmap :: (size: Vec2I)
|
||||
pass
|
||||
|
||||
main :: (argc: int, argv: **char): int
|
||||
memory := os.reserve(size = 10000)
|
||||
os.commit(&memory, 1000)
|
||||
os.release(&memory)
|
||||
os.print("Hello world")
|
||||
pass
|
||||
// memory := os.reserve(size = 10000)
|
||||
// os.commit(&memory, 1000)
|
||||
// os.release(&memory)
|
||||
// os.print("Hello world")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user