Prefix type and let to replace immutable

This commit is contained in:
Ginger Bill
2017-06-12 12:56:47 +01:00
parent 33eeb58521
commit 0c05fc1432
22 changed files with 244 additions and 184 deletions
+2 -2
View File
@@ -1,11 +1,11 @@
#import "atomics.odin";
#import "os.odin";
const Semaphore = struct {
type Semaphore struct {
// _handle: win32.Handle,
}
const Mutex = struct {
type Mutex struct {
_semaphore: Semaphore,
_counter: i32,
_owner: i32,