1
0
Fork 0
forked from suyu/suyu

rename fatal:u functions & add ThrowFatal

This commit is contained in:
greggameplayer 2018-05-18 23:32:22 +02:00 committed by GitHub
parent 536cfb13e6
commit abe79b2724
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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