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";