SemPtr SemPtr
SemPtr SemPtr
Documentation generated with DocFX
Using SingulinkFX as the template

Search Results for

    Method FromRaw

    FromRaw(void*)

    Creates a PersistentFunctionPointer from a raw pointer.

    Declaration
    public static PersistentFunctionPointer FromRaw(void* raw)
    Parameters
    Type Name Description
    void* raw

    The raw pointer specifying the target function that the resulting PersistentFunctionPointer will point to.

    Returns
    Type Description
    PersistentFunctionPointer

    A PersistentFunctionPointer that points to the same target function as the specified raw pointer.

    Implements
    IPointer<TSelf>.FromRaw(void*)
    Remarks

    The raw pointer must not be null. If it is, an ArgumentNullException will be thrown.

    The resulting PersistentFunctionPointer will point to the same target function as raw.

    Exceptions
    Type Condition
    ArgumentNullException

    raw is null

    © 2026 Felix Rüdiger. SemPtr and its documentation are licensed under the MIT license.