From ecc176caf2347d7b3a6b9493de6a23983d0c11fa Mon Sep 17 00:00:00 2001 From: Folling Date: Mon, 12 Feb 2024 15:21:25 +0100 Subject: [PATCH] fixup missing ikarus_ prefix for error_info_name Signed-off-by: Folling --- include/ikarus/errors.h | 2 +- src/ikarus/errors.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/ikarus/errors.h b/include/ikarus/errors.h index ce11788..a7a4fb4 100644 --- a/include/ikarus/errors.h +++ b/include/ikarus/errors.h @@ -107,7 +107,7 @@ struct IkarusErrorData { /// \param info The error info to get the name of. /// \return The name of the error info. /// \remark The returned pointer is valid for the lifetime of the program and must not be freed. -IKA_API char const * get_error_info_name(IkarusErrorInfo info); +IKA_API char const * ikarus_get_error_info_name(IkarusErrorInfo info); /// \brief Checks if an error data is a success. /// \param data The error data to check. diff --git a/src/ikarus/errors.cpp b/src/ikarus/errors.cpp index d98b28c..35014f8 100644 --- a/src/ikarus/errors.cpp +++ b/src/ikarus/errors.cpp @@ -8,7 +8,7 @@ #include -char const * get_error_info_name(IkarusErrorInfo info) { +char const * ikarus_get_error_info_name(IkarusErrorInfo info) { switch (info) { case IkarusErrorInfo_None: return "None";