improve C header compatibility
This commit is contained in:
parent
24335a0a1f
commit
9ea02d5cb1
9 changed files with 151 additions and 165 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue