libtransistor
A userland library for the Nintendo Switch
|
Various utility functions internal to libtransistor. More...
#include <libtransistor/err.h>
Go to the source code of this file.
Macros | |
#define | INITIALIZATION_GUARD(module) if(module ## _initializations <= 0) { return LIBTRANSISTOR_ERR_MODULE_NOT_INITIALIZED; } |
Asserts that the given module has been initialized, returning an appropriate result_t if it has not. | |
#define | INITIALIZATION_GUARD_RETURN_VOID(module) if(module ## _initializations <= 0) { return; } |
Asserts that the given module has been initialized, returning if it has not. | |
Various utility functions internal to libtransistor.