Method FromRaw
FromRaw(void*)
Creates a NullablePersistentFunctionPointer from a raw pointer.
Declaration
public static NullablePersistentFunctionPointer FromRaw(void* raw)
Parameters
| Type | Name | Description |
|---|---|---|
| void* | raw | The raw pointer specifying the target function that the resulting NullablePersistentFunctionPointer will point to. |
Returns
| Type | Description |
|---|---|
| NullablePersistentFunctionPointer | A NullablePersistentFunctionPointer that points to the same target function as the specified |
Implements
Remarks
The raw pointer may be null. If it is, the resulting NullablePersistentFunctionPointer will represent a null pointer.
The resulting NullablePersistentFunctionPointer will point to the same target function as raw.