Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

Constructor

.ctor

init(pointer: *T) -> void

Declaring type: Ptr<T>
Module: System.Runtime.InteropServices
Assembly: System.Runtime.dll
Source file: Ptr.rvn

Wraps an unmanaged pointer without copying memory or acquiring ownership. The caller remains responsible for the pointed-to storage and its matching release operation.

Parameters

Name Type Description
pointer T*