/* * This software is licensed under the terms of the MIT License. * See COPYING for further information. * --- * Copyright (c) 2011-2019, Lukas Weber . * Copyright (c) 2012-2019, Andrei Alexeyev . */ #pragma once #include "taisei.h" #include "log.h" void vfs_set_error(char *fmt, ...) attr_printf(1, 2); void vfs_set_error_from_sdl(void); #define vfs_set_error(fmt, ...) ({ \ log_debug("vfs_set_error: " fmt, ##__VA_ARGS__); \ vfs_set_error(fmt, ##__VA_ARGS__); \ })