mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-22 04:52:39 +02:00
Changed errorApplicationSetNumber to static inline.
This commit is contained in:
parent
8b5a4d580d
commit
b463693094
@ -288,7 +288,9 @@ Result errorApplicationShow(ErrorApplicationConfig* c);
|
|||||||
* @param c ErrorApplicationConfig struct.
|
* @param c ErrorApplicationConfig struct.
|
||||||
* @param errorNumber Error code number. Raw decimal error number which is displayed in the dialog.
|
* @param errorNumber Error code number. Raw decimal error number which is displayed in the dialog.
|
||||||
*/
|
*/
|
||||||
void errorApplicationSetNumber(ErrorApplicationConfig* c, u32 errorNumber);
|
static inline void errorApplicationSetNumber(ErrorApplicationConfig* c, u32 errorNumber) {
|
||||||
|
c->arg.errorNumber = errorNumber;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Sets the LanguageCode.
|
* @brief Sets the LanguageCode.
|
||||||
|
@ -258,7 +258,3 @@ Result errorApplicationShow(ErrorApplicationConfig* c) {
|
|||||||
return _errorShow(&c->arg, sizeof(c->arg), NULL, 0);
|
return _errorShow(&c->arg, sizeof(c->arg), NULL, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
void errorApplicationSetNumber(ErrorApplicationConfig* c, u32 errorNumber) {
|
|
||||||
c->arg.errorNumber = errorNumber;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user