From b07815fc42d24c7e1b4687e26fdc05b2663d6e00 Mon Sep 17 00:00:00 2001 From: Maschell Date: Sat, 3 Sep 2022 13:12:46 +0200 Subject: [PATCH] Rename WUHBUtils_Init to WUHBUtils_InitLibrary --- include/wuhb_utils/utils.h | 2 +- source/utils.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/wuhb_utils/utils.h b/include/wuhb_utils/utils.h index e84b547..10c7f81 100644 --- a/include/wuhb_utils/utils.h +++ b/include/wuhb_utils/utils.h @@ -55,7 +55,7 @@ typedef enum { * 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. */ -WUHBUtilsStatus WUHBUtils_Init(); +WUHBUtilsStatus WUHBUtils_InitLibrary(); /** * Returns the API Version of the WUHBUtils Module. diff --git a/source/utils.cpp b/source/utils.cpp index 6eccf40..861b99d 100644 --- a/source/utils.cpp +++ b/source/utils.cpp @@ -15,7 +15,7 @@ static WUHBUtilsApiErrorType (*sWUUFileClose)(WUHBFileHandle) static WUHBUtilsApiErrorType (*sWUUFileExists)(const char *, int32_t *) = 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) { OSReport("WUHBUtils_Init: OSDynLoad_Acquire failed.\n"); return WUHB_UTILS_RESULT_MODULE_NOT_FOUND;