ref: fa13611bbf6a1db1a439d9ba4ec9e6e8bb4f9f7c
dir: /include/error.h/
/* * This file is part of RGBDS. * * Copyright (c) 1997-2021, RGBDS contributors. * * SPDX-License-Identifier: MIT */ #ifndef RGBDS_ERROR_H #define RGBDS_ERROR_H #include "helpers.h" #include "platform.h" #ifdef __cplusplus extern "C" { #endif void warn(char const NONNULL(fmt), ...) format_(printf, 1, 2); void warnx(char const NONNULL(fmt), ...) format_(printf, 1, 2); _Noreturn void err(char const NONNULL(fmt), ...) format_(printf, 1, 2); _Noreturn void errx(char const NONNULL(fmt), ...) format_(printf, 1, 2); #ifdef __cplusplus } #endif #endif // RGBDS_ERROR_H