mem.Raw_* alias runtime.Raw_*
This commit is contained in:
1 parent
868c923770
commit
6fa3c992b5
2 files changed
+16
-29
No files matched your search
+7
-29
@@ -1,35 +1,13 @@
|
|||||||
package mem
|
package mem
|
||||||
|
|
||||||
Raw_Any :: struct {
|
import "core:runtime"
|
||||||
data: rawptr,
|
|
||||||
id: typeid,
|
|
||||||
}
|
|
||||||
|
|
||||||
Raw_String :: struct {
|
Raw_Any :: runtime.Raw_Any
|
||||||
data: ^byte,
|
Raw_String :: runtime.Raw_String
|
||||||
len: int,
|
Raw_Cstring :: runtime.Raw_Cstring
|
||||||
}
|
Raw_Slice :: runtime.Raw_Slice
|
||||||
|
Raw_Dynamic_Array :: runtime.Raw_Dynamic_Array
|
||||||
Raw_Cstring :: struct {
|
Raw_Map :: runtime.Raw_Map
|
||||||
data: ^byte,
|
|
||||||
}
|
|
||||||
|
|
||||||
Raw_Slice :: struct {
|
|
||||||
data: rawptr,
|
|
||||||
len: int,
|
|
||||||
}
|
|
||||||
|
|
||||||
Raw_Dynamic_Array :: struct {
|
|
||||||
data: rawptr,
|
|
||||||
len: int,
|
|
||||||
cap: int,
|
|
||||||
allocator: Allocator,
|
|
||||||
}
|
|
||||||
|
|
||||||
Raw_Map :: struct {
|
|
||||||
hashes: []int,
|
|
||||||
entries: Raw_Dynamic_Array,
|
|
||||||
}
|
|
||||||
|
|
||||||
Raw_Complex64 :: struct {real, imag: f32}
|
Raw_Complex64 :: struct {real, imag: f32}
|
||||||
Raw_Complex128 :: struct {real, imag: f64}
|
Raw_Complex128 :: struct {real, imag: f64}
|
||||||
|
|||||||
@@ -366,6 +366,15 @@ Raw_Map :: struct {
|
|||||||
entries: Raw_Dynamic_Array,
|
entries: Raw_Dynamic_Array,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Raw_Any :: struct {
|
||||||
|
data: rawptr,
|
||||||
|
id: typeid,
|
||||||
|
}
|
||||||
|
|
||||||
|
Raw_Cstring :: struct {
|
||||||
|
data: [^]byte,
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/////////////////////////////
|
/////////////////////////////
|
||||||
// Init Startup Procedures //
|
// Init Startup Procedures //
|
||||||
|
|||||||
Reference in new issue
Block a user