Mercurial > molko
diff libmlk-core/core/error.h @ 253:c4da052c0def
core: goodbye doxygen
author | David Demelier <markand@malikania.fr> |
---|---|
date | Thu, 03 Dec 2020 09:06:52 +0100 |
parents | 71b3b7036de7 |
children | 08ab73b32832 |
line wrap: on
line diff
--- a/libmlk-core/core/error.h Tue Dec 01 21:53:23 2020 +0100 +++ b/libmlk-core/core/error.h Thu Dec 03 09:06:52 2020 +0100 @@ -19,42 +19,16 @@ #ifndef MOLKO_CORE_ERROR_H #define MOLKO_CORE_ERROR_H -/** - * \file error.h - * \brief Error routines. - * \ingroup basics - */ - #include <stdarg.h> #include <stdbool.h> -/** - * Get the last error returned. - * - * \return The error string. - */ const char * error(void); -/** - * Set the game error with a printf-like format. - * - * \pre fmt != NULL - * \param fmt the format string - * \return Always false. - */ bool errorf(const char *fmt, ...); -/** - * Similar to \ref errorf. - * - * \pre fmt != NULL - * \param fmt the format stinrg - * \param ap the variadic arguments pointer - * \return Always false. - */ bool -verrorf(const char *fmt, va_list ap); +errorva(const char *fmt, va_list ap); #endif /* !MOLKO_CORE_ERROR_H */