From d6de8b7504ba414ffb0af48cfb04fad53d32374f Mon Sep 17 00:00:00 2001 From: Maschell Date: Sat, 3 Sep 2022 17:58:17 +0200 Subject: [PATCH] Add ContentRedirection_DeInitLibrary --- include/content_redirection/redirection.h | 2 ++ source/utils.cpp | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/include/content_redirection/redirection.h b/include/content_redirection/redirection.h index e5acdc0..34a289e 100644 --- a/include/content_redirection/redirection.h +++ b/include/content_redirection/redirection.h @@ -74,6 +74,8 @@ const char *ContentRedirection_GetStatusStr(ContentRedirectionStatus status); */ ContentRedirectionStatus ContentRedirection_InitLibrary(); +ContentRedirectionStatus ContentRedirection_DeInitLibrary(); + /** * Retrieves the API Version of the loaded ContentRedirectionModule.
*
diff --git a/source/utils.cpp b/source/utils.cpp index aab630b..7488b4f 100644 --- a/source/utils.cpp +++ b/source/utils.cpp @@ -83,6 +83,10 @@ ContentRedirectionStatus ContentRedirection_InitLibrary() { return CONTENT_REDIRECTION_RESULT_SUCCESS; } +ContentRedirectionStatus ContentRedirection_DeInitLibrary() { + return CONTENT_REDIRECTION_RESULT_SUCCESS; +} + ContentRedirectionApiErrorType GetVersion(ContentRedirectionVersion *); ContentRedirectionStatus ContentRedirection_GetVersion(ContentRedirectionVersion *outVariable) { if (sCRGetVersion == nullptr) {