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
internal_util.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/err.h
>
13
17
#define INITIALIZATION_GUARD(module) if(module ## _initializations <= 0) { return LIBTRANSISTOR_ERR_MODULE_NOT_INITIALIZED; }
18
22
#define INITIALIZATION_GUARD_RETURN_VOID(module) if(module ## _initializations <= 0) { return; }
23
24
#ifdef __cplusplus
25
}
26
#endif
err.h
Error definitions.
Generated on Thu Oct 3 2019 01:41:37 for libtransistor by
1.8.6