mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 07:38:48 +00:00
Slight change to un definition
This commit is contained in:
+10
-3
@@ -2,8 +2,16 @@ package vendor_kb_text_shape
|
|||||||
|
|
||||||
import "core:c"
|
import "core:c"
|
||||||
|
|
||||||
un :: distinct uintptr
|
un :: distinct (
|
||||||
// sn :: distinct (i32 when size_of(uintptr) == 4 else i64)
|
uint when (size_of(uintptr) == size_of(uint)) else
|
||||||
|
u32 when size_of(uintptr) == 4 else
|
||||||
|
u64
|
||||||
|
)
|
||||||
|
// sn :: distinct (
|
||||||
|
// int when (size_of(uintptr) == size_of(int)) else
|
||||||
|
// i32 when size_of(uintptr) == 4 else
|
||||||
|
// i64
|
||||||
|
// )
|
||||||
|
|
||||||
joining_feature :: enum u8 {
|
joining_feature :: enum u8 {
|
||||||
NONE,
|
NONE,
|
||||||
@@ -745,7 +753,6 @@ language :: enum u32 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
break_flags :: distinct bit_set[break_flag; u32]
|
break_flags :: distinct bit_set[break_flag; u32]
|
||||||
|
|
||||||
break_flag :: enum u32 {
|
break_flag :: enum u32 {
|
||||||
// Direction changes from left-to-right to right-to-left, or vice versa.
|
// Direction changes from left-to-right to right-to-left, or vice versa.
|
||||||
DIRECTION = 0,
|
DIRECTION = 0,
|
||||||
|
|||||||
Reference in New Issue
Block a user