Mojo module
unsafe_pointer
Implement a generic unsafe pointer type.
These APIs are imported automatically, just like builtins.
Aliases
OpaquePointer
alias OpaquePointer = UnsafePointer[NoneType]
An opaque pointer, equivalent to the C void*
type.
Structs
-
UnsafePointer
: UnsafePointer[T] represents an indirect reference to one or more values of type T consecutively in memory, and can refer to uninitialized memory.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!