improve C header compatibility

Signed-off-by: Folling <mail@folling.io>
This commit is contained in:
folling 2025-01-05 18:48:24 +01:00 committed by Folling
parent a029b95a10
commit 71b2fee6a6
Signed by: folling
SSH key fingerprint: SHA256:S9qEx5WCFFLK49tE/LKnKuJYM5sw+++Dn6qJbbyxnCY
9 changed files with 151 additions and 165 deletions

View file

@ -4,6 +4,7 @@
/// \author Folling <mail@folling.io>
#include <ikarus/macros.h>
#include <ikarus/stdtypes.h>
/// \addtogroup errors Errors
/// \brief Error handling within libikarus
@ -116,11 +117,11 @@ IKA_API char const * ikarus_error_info_get_name(enum IkarusErrorInfo info);
/// \brief Checks if an error data is a success.
/// \param data The error data to check.
/// \return True if the error data is a success, false otherwise.
IKA_API bool ikarus_error_data_is_success(IkarusErrorData const * data);
IKA_API bool ikarus_error_data_is_success(struct IkarusErrorData const * data);
/// \brief Checks if an error data is an error.
/// \param data The error data to check.
/// \return True if the error data is an error, false otherwise.
IKA_API bool ikarus_error_data_is_error(IkarusErrorData const * data);
IKA_API bool ikarus_error_data_is_error(struct IkarusErrorData const * data);
IKARUS_END_HEADER