mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-01 04:10:07 +00:00
Prefix type and let to replace immutable
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user