rename fatal:u functions & add ThrowFatal
This commit is contained in:
parent
536cfb13e6
commit
abe79b2724
|
@ -8,8 +8,9 @@ namespace Service::Fatal {
|
||||||
|
|
||||||
Fatal_U::Fatal_U(std::shared_ptr<Module> module) : Module::Interface(std::move(module), "fatal:u") {
|
Fatal_U::Fatal_U(std::shared_ptr<Module> module) : Module::Interface(std::move(module), "fatal:u") {
|
||||||
static const FunctionInfo functions[] = {
|
static const FunctionInfo functions[] = {
|
||||||
{1, &Fatal_U::FatalSimple, "FatalSimple"},
|
{0, nullptr, "ThrowFatal"},
|
||||||
{2, &Fatal_U::TransitionToFatalError, "TransitionToFatalError"},
|
{1, &Fatal_U::ThrowFatalWithPolicy, "ThrowFatalWithPolicy"},
|
||||||
|
{2, &Fatal_U::ThrowFatalWithCpuContext, "ThrowFatalWithCpuContext"},
|
||||||
};
|
};
|
||||||
RegisterHandlers(functions);
|
RegisterHandlers(functions);
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue