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

Search Results for

    Method TryGetNonNull

    TryGetNonNull(out PersistentFunctionPointer)

    Attempts to get a non-null function pointer from the current function pointer.

    Declaration
    public bool TryGetNonNull(out PersistentFunctionPointer nonNullPointer)
    Parameters
    Type Name Description
    PersistentFunctionPointer nonNullPointer

    A non-null function pointer pointing to the same target as the current function pointer, if the current function pointer is non-null; otherwise, the default(PersistentFunctionPointer).

    Returns
    Type Description
    bool

    true, if the current function pointer is non-null; otherwise, false.

    Remarks

    Do not use the resulting nonNullPointer if this method returns false! Doing so might result in undefined behavior.

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