Skip to content

Pointer

graph BT
N1["Pointer"] -->|inherits| N2["Stringable"];
N2["Stringable"] -->|inherits| N3["Any"];

Characteristics

Quality Value
Inherits Stringable
Extends N/A
Decorators #extern;
Is enum false
Is sealed false
Is extern true
Is abstract false
Is generator false
Has value semantics true
Has stored properties false
Should register destructor false
Has atomic memory false
Is copy assignable true
Is zero initializable true

Functions

size

#Gambol.function.alwaysinline
#default
size () -> Int64

Methods

construct

#default
#Gambol.function.alwaysinline
construct (s @Self) -> Self

follow

#Gambol.function.alwaysinline
#default
follow (s @Self) -> Pointer

str

str (s @Self) -> String

atomic_compare_exchange

#Gambol.function.alwaysinline
#default
atomic_compare_exchange (s @Self, expected @Self, new @Self, memory_order Int8 = Memory.kOrderMonotonic, volatile: Bool) -> SelfType, Bool

atomic_load

#Gambol.function.alwaysinline
#default
atomic_load (s @Self, memory_order Int8 = Memory.kOrderMonotonic, volatile: Bool) -> Pointer

atomic_store

#Gambol.function.alwaysinline
#default
atomic_store (s @Self, value Pointer, memory_order Int8 = Memory.kOrderMonotonic, volatile: Bool) -> Nil

atomic_exchange

#Gambol.function.alwaysinline
#default
atomic_exchange (s @Self, value Pointer, memory_order Int8 = Memory.kOrderMonotonic, volatile: Bool) -> Pointer

Binary Operators

=

#Gambol.function.alwaysinline
#default
= (s @Self, o @Self) -> Self

==

#Gambol.function.alwaysinline
#default
== (s @Self, o @Self) -> Bool

+

#Gambol.function.alwaysinline
#default
+ (s @Self, o Int64) -> Pointer

+=

#Gambol.function.alwaysinline
#default
+= (s @Self, o Int64) -> Self

-

#Gambol.function.alwaysinline
#default
- (s @Self, o Int64) -> Pointer

-=

#Gambol.function.alwaysinline
#default
-= (s @Self, o Int64) -> Self

Casts To

  • Bool