taisei/src/arch_switch.h
2021-08-31 23:34:46 +03:00

18 lines
407 B
C

/*
* This software is licensed under the terms of the MIT License.
* See COPYING for further information.
* ---
* Copyright (c) 2019, p-sam <p-sam@d3vs.net>.
*/
#pragma once
#include "taisei.h"
typedef void (*nxAtExitFn)(void);
void userAppInit(void);
void userAppExit(void);
int nxAtExit(nxAtExitFn fn);
void noreturn nxExit(int rc);
void noreturn nxAbort(void);
const char* nxGetProgramDir(void);