Update Standard Library; Fix Type_Info for integers
This commit is contained in:
1 parent
6088cbeddb
commit
5f6b0942f4
12 files changed
+175
-158
No files matched your search
+6
-1
@@ -1,5 +1,10 @@
|
||||
#import "fmt.odin"
|
||||
#import "utf8.odin"
|
||||
#import "hash.odin"
|
||||
|
||||
main :: proc() {
|
||||
fmt.println("Hello")
|
||||
s := "Hello"
|
||||
fmt.println(s,
|
||||
utf8.valid_string(s),
|
||||
hash.murmur64(s.data, s.count))
|
||||
}
|
||||
+2
-1
@@ -1,6 +1,7 @@
|
||||
#import "win32.odin"
|
||||
#import "fmt.odin"
|
||||
#import "math.odin"
|
||||
#import "os.odin"
|
||||
#import "opengl.odin" as gl
|
||||
|
||||
TWO_HEARTS :: #rune "💕"
|
||||
@@ -128,7 +129,7 @@ run :: proc() {
|
||||
|
||||
win32_proc :: proc(hwnd: HWND, msg: u32, wparam: WPARAM, lparam: LPARAM) -> LRESULT #no_inline {
|
||||
if msg == WM_DESTROY || msg == WM_CLOSE || msg == WM_QUIT {
|
||||
ExitProcess(0)
|
||||
os.exit(0)
|
||||
return 0
|
||||
}
|
||||
return DefWindowProcA(hwnd, msg, wparam, lparam)
|
||||
|
||||
Reference in new issue
Block a user