Panther Search Documentation Tutorials Devlogs Downloads Source Code

Documentation > Panther Documentation > Intrinsics > @makeInitPtr

@makeInitPtr

Panther
Documentation


Note

Information on this page may be incorrect / out-of-date. An updated version of the site (powered by Panther!) is coming soon, which will include all fixes.

1: func @makeInitPtr = (uninit_ptr: $T*uninit) -> T*mut;

  Converts an uninitialized-qualified pointer to a pointer. Paramter uninit_ptr must be concrete, a local variable, and the pointee must be known by the compiler to be initialized (otherwise it is a compile error).

Parameters

  uninit_ptr: The pointer to convert

Return Value

  Returns the converted pointer

Example

(TODO)