Skip to main content

Mojo module

legacy_unsafe_pointer

Implement a generic unsafe pointer type.

These APIs are imported automatically, just like builtins.

Aliases​

LegacyOpaquePointer​

alias LegacyOpaquePointer = LegacyUnsafePointer[NoneType]

An opaque pointer, equivalent to the C void* type.

Structs​

  • ​LegacyUnsafePointer: 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?