taisei/src/arch_switch.h
2023-11-29 13:21:47 +01:00

21 lines
479 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);
int nxGetInitialScreenWidth(void);
int nxGetInitialScreenHeight(void);