mirror of
https://git.sr.ht/~lattis/muon
synced 2026-01-29 19:04:20 +00:00
14 lines
510 B
C
14 lines
510 B
C
#ifndef MUON_ERROR_H
|
|
#define MUON_ERROR_H
|
|
|
|
#include <stdarg.h>
|
|
|
|
#include "platform/filesystem.h"
|
|
|
|
void error_unrecoverable(const char *fmt, ...) __attribute__ ((format(printf, 1, 2)));
|
|
void error_message(struct source *src, uint32_t line, uint32_t col, const char *msg);
|
|
void error_messagev(struct source *src, uint32_t line, uint32_t col, const char *fmt, va_list args);
|
|
void error_messagef(struct source *src, uint32_t line, uint32_t col, const char *fmt, ...)
|
|
__attribute__ ((format(printf, 4, 5)));
|
|
#endif
|