mirror of
https://github.com/wiiu-env/libwuhbutils.git
synced 2024-11-28 05:44:13 +01:00
Rename WUHBUtils_Init to WUHBUtils_InitLibrary
This commit is contained in:
parent
f7276eb7f9
commit
b07815fc42
@ -55,7 +55,7 @@ typedef enum {
|
|||||||
* WUHB_UTILS_RESULT_MODULE_MISSING_EXPORT: The module is missing an expected export.
|
* WUHB_UTILS_RESULT_MODULE_MISSING_EXPORT: The module is missing an expected export.
|
||||||
* WUHB_UTILS_RESULT_UNSUPPORTED_VERSION: The version of the loaded module is not compatible with this version of the lib.
|
* WUHB_UTILS_RESULT_UNSUPPORTED_VERSION: The version of the loaded module is not compatible with this version of the lib.
|
||||||
*/
|
*/
|
||||||
WUHBUtilsStatus WUHBUtils_Init();
|
WUHBUtilsStatus WUHBUtils_InitLibrary();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the API Version of the WUHBUtils Module.
|
* Returns the API Version of the WUHBUtils Module.
|
||||||
|
@ -15,7 +15,7 @@ static WUHBUtilsApiErrorType (*sWUUFileClose)(WUHBFileHandle)
|
|||||||
static WUHBUtilsApiErrorType (*sWUUFileExists)(const char *, int32_t *) = nullptr;
|
static WUHBUtilsApiErrorType (*sWUUFileExists)(const char *, int32_t *) = nullptr;
|
||||||
static WUHBUtilsApiErrorType (*sWUUGetRPXInfo)(const char *, BundleSource, WUHBRPXInfo *) = nullptr;
|
static WUHBUtilsApiErrorType (*sWUUGetRPXInfo)(const char *, BundleSource, WUHBRPXInfo *) = nullptr;
|
||||||
|
|
||||||
WUHBUtilsStatus WUHBUtils_Init() {
|
WUHBUtilsStatus WUHBUtils_InitLibrary() {
|
||||||
if (OSDynLoad_Acquire("homebrew_wuhb_utils", &sModuleHandle) != OS_DYNLOAD_OK) {
|
if (OSDynLoad_Acquire("homebrew_wuhb_utils", &sModuleHandle) != OS_DYNLOAD_OK) {
|
||||||
OSReport("WUHBUtils_Init: OSDynLoad_Acquire failed.\n");
|
OSReport("WUHBUtils_Init: OSDynLoad_Acquire failed.\n");
|
||||||
return WUHB_UTILS_RESULT_MODULE_NOT_FOUND;
|
return WUHB_UTILS_RESULT_MODULE_NOT_FOUND;
|
||||||
|
Loading…
Reference in New Issue
Block a user