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:LegacyUnsafePointeris a deprecated pointer type that is replaced by the newUnsafePointer. It is kept for backwards compatibility and will be removed in a future version of Mojo.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!