libtransistor
A userland library for the Nintendo Switch
Main Page
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
include
libtransistor
environment.h
Go to the documentation of this file.
1
6
#pragma once
7
8
#ifdef __cplusplus
9
extern
"C"
{
10
#endif
11
12
#include<
libtransistor/types.h
>
13
14
typedef
enum
{
15
KERNEL_VERSION_INVALID,
16
KERNEL_VERSION_100,
17
KERNEL_VERSION_200,
18
KERNEL_VERSION_300,
19
KERNEL_VERSION_400,
20
KERNEL_VERSION_500,
21
KERNEL_VERSION_MAX = KERNEL_VERSION_500,
22
} kernel_version_t;
23
27
kernel_version_t
env_get_kernel_version
();
28
29
33
void
*
env_get_stack_top
();
34
35
#ifdef __cplusplus
36
}
37
#endif
types.h
Various system types.
env_get_stack_top
void * env_get_stack_top()
Gets a pointer to the top of the stack.
env_get_kernel_version
kernel_version_t env_get_kernel_version()
Returns the current kernel version, for feature-detection purposes.
Generated on Thu Oct 3 2019 01:41:37 for libtransistor by
1.8.6