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​

comptime LegacyOpaquePointer = LegacyUnsafePointer[NoneType]

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

Structs​

  • ​LegacyUnsafePointer: LegacyUnsafePointer is a deprecated pointer type that is replaced by the new UnsafePointer. It is kept for backwards compatibility and will be removed in a future version of Mojo.

Was this page helpful?