mirror of
https://github.com/wiiu-env/SDHotSwapModule.git
synced 2024-11-24 04:19:17 +01:00
Update SDUtilsGetVersion function
This commit is contained in:
parent
f18b7f6ed9
commit
6ae91cce9d
@ -92,8 +92,12 @@ bool SDUtilsRemoveCleanUpHandlesHandler(SDCleanUpHandlesHandlerFn fn) {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
SDUtilsVersion SDUtilsGetVersion() {
|
SDUtilsStatus SDUtilsGetVersion(SDUtilsVersion *outVersion) {
|
||||||
return SDUTILS_MODULE_VERSION;
|
if (outVersion == nullptr) {
|
||||||
|
return SDUTILS_RESULT_INVALID_ARGUMENT;
|
||||||
|
}
|
||||||
|
*outVersion = 1;
|
||||||
|
return SDUTILS_RESULT_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
WUMS_EXPORT_FUNCTION(SDUtilsGetVersion);
|
WUMS_EXPORT_FUNCTION(SDUtilsGetVersion);
|
||||||
|
Loading…
Reference in New Issue
Block a user