fixup missing ikarus_ prefix for error_info_name

Signed-off-by: Folling <mail@folling.io>
This commit is contained in:
Folling 2024-02-12 15:21:25 +01:00 committed by Folling
parent e0d1d8bb6f
commit ecc176caf2
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -107,7 +107,7 @@ struct IkarusErrorData {
/// \param info The error info to get the name of. /// \param info The error info to get the name of.
/// \return The name of the error info. /// \return The name of the error info.
/// \remark The returned pointer is valid for the lifetime of the program and must not be freed. /// \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. /// \brief Checks if an error data is a success.
/// \param data The error data to check. /// \param data The error data to check.

View file

@ -8,7 +8,7 @@
#include <cppbase/functional.hpp> #include <cppbase/functional.hpp>
char const * get_error_info_name(IkarusErrorInfo info) { char const * ikarus_get_error_info_name(IkarusErrorInfo info) {
switch (info) { switch (info) {
case IkarusErrorInfo_None: return "None"; case IkarusErrorInfo_None: return "None";