OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
TryCatchSignalSEH.hpp File Reference
#include <functional>
#include <csignal>
Include dependency graph for TryCatchSignalSEH.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Slic3r
 |/ Copyright (c) Prusa Research 2020 - 2023 Enrico Turri @enricoturri1966 |/ |/ PrusaSlicer is released under the terms of the AGPLv3 or higher |/
namespace  Slic3r::detail

Typedefs

using Slic3r::SignalT = decltype (SIGSEGV)

Functions

void Slic3r::detail::try_catch_signal_seh (int sigcnt, const SignalT *sigs, std::function< void()> &&fn, std::function< void()> &&cfn)
template<class TryFn, class CatchFn, int N>
void Slic3r::try_catch_signal (const SignalT(&sigs)[N], TryFn &&fn, CatchFn &&cfn)