Memory
graph BT
N1["Memory"] -->|inherits| N2["Any"];
Characteristics
Quality |
Value |
Inherits |
global.Any |
Extends |
N/A |
Decorators |
N/A |
Is enum |
false |
Is sealed |
false |
Is extern |
false |
Is abstract |
false |
Is generator |
false |
Has value semantics |
false |
Has stored properties |
false |
Should register destructor |
false |
Has atomic memory |
true |
Is copy assignable |
false |
Is zero initializable |
true |
Const Expressions
kOrderNotAtomic
const! kOrderNotAtomic = 0 Int8
kOrderUnordered
const! kOrderUnordered = 1 Int8
kOrderMonotonic
const! kOrderMonotonic = 2 Int8
kOrderAcquire
const! kOrderAcquire = 4 Int8
kOrderRelease
const! kOrderRelease = 5 Int8
kOrderAcquireRelease
const! kOrderAcquireRelease = 6 Int8
kOrderSequentiallyConsistent
const! kOrderSequentiallyConsistent = 7 Int8
kOrderLast
const! kOrderLast = 7 Int8
Functions
allocate
allocate (size Len, align Len = 0, atomic: Bool = false, ignore_off_page: Bool = false, uncollectable: Bool = false) -> Pointer
reallocate
reallocate (original Pointer, new_size Len) -> Pointer
copy
#Gambol.function.alwaysinline
#Gambol.function.willreturn
copy (to Pointer, from Pointer, size Len, volatile: Bool = false) -> Nil
move
#Gambol.function.alwaysinline
#Gambol.function.willreturn
move (to Pointer, from Pointer, size Len, volatile: Bool = false) -> Nil
set
#Gambol.function.alwaysinline
#Gambol.function.willreturn
set (ptr Pointer, value Int8, size Len, volatile: Bool = false) -> Nil
fence
#Gambol.function.alwaysinline
#default
fence (order Int8) -> Nil
Methods
construct
#default
#Gambol.function.alwaysinline
construct (s strictly @Self) -> Self