rename fatal:u functions & add ThrowFatal

master
greggameplayer 2018-05-18 23:32:22 +07:00 committed by GitHub
parent 536cfb13e6
commit abe79b2724
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

@ -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);
} }