19 lines
299 B
C++
19 lines
299 B
C++
#ifndef BWIDGETS_SDL_ERROR_HPP
|
|
#define BWIDGETS_SDL_ERROR_HPP
|
|
|
|
#include <basic_widgets/core/type/exception.hpp>
|
|
|
|
extern "C" {
|
|
auto SDL_GetError() -> const char*;
|
|
}
|
|
|
|
namespace bwidgets
|
|
{
|
|
struct SDLError final : BaseException
|
|
{
|
|
using BaseException::BaseException;
|
|
};
|
|
}
|
|
|
|
#endif
|