Files
Brandyn / Techy fcc1b09210 init
2026-04-04 15:40:51 -05:00

33 lines
552 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#if (defined(__AUTORTFM) && __AUTORTFM)
#include "LongJump.h"
namespace AutoRTFM
{
class FContext;
class FCallNest final
{
public:
FCallNest(FContext* Context)
: Context(Context)
{}
FCallNest* Parent{ nullptr };
FContext* Context;
FLongJump AbortJump;
// Whether this succeeded or not is reflected in Context::GetStatus().
template<typename TTryFunctor>
void Try(const TTryFunctor& TryFunctor);
};
} // namespace AutoRTFM
#endif // (defined(__AUTORTFM) && __AUTORTFM)