Operator explicit operator
explicit operator NullableFunctionPointer(NullablePersistentPointerReadOnly)
Converts a NullablePersistentPointerReadOnly to a NullableFunctionPointer.
Declaration
public static explicit operator NullableFunctionPointer(NullablePersistentPointerReadOnly pointer)
Parameters
| Type | Name | Description |
|---|---|---|
| NullablePersistentPointerReadOnly | pointer | The NullablePersistentPointerReadOnly to convert. |
Returns
| Type | Description |
|---|---|
| NullableFunctionPointer | A NullableFunctionPointer pointing to the target function that's the same target as the specified NullablePersistentPointerReadOnly, reinterpreted as an executable function. |
explicit operator NullablePersistentFunctionPointer(NullablePersistentPointerReadOnly)
Converts a NullablePersistentPointerReadOnly to a NullablePersistentFunctionPointer.
Declaration
public static explicit operator NullablePersistentFunctionPointer(NullablePersistentPointerReadOnly pointer)
Parameters
| Type | Name | Description |
|---|---|---|
| NullablePersistentPointerReadOnly | pointer | The NullablePersistentPointerReadOnly to convert. |
Returns
| Type | Description |
|---|---|
| NullablePersistentFunctionPointer | A NullablePersistentFunctionPointer pointing to the target function that's the same target as the specified NullablePersistentPointerReadOnly, reinterpreted as an executable function. |