Sha256: 0db573b65571b663a3a4714a127a266381f776142b78366a01a35ab7c3f1f5b8
Contents?: true
Size: 759 Bytes
Versions: 13
Compression:
Stored size: 759 Bytes
Contents
// -*- c++ -*- #pragma once #ifndef __RAYS_EXCEPTION_H__ #define __RAYS_EXCEPTION_H__ #include <xot/exception.h> #include <rays/defs.h> namespace Rays { class RaysError : public Xot::XotError { typedef Xot::XotError Super; public: RaysError (const char* str = NULL); }; class OpenGLError : public RaysError { typedef RaysError Super; public: OpenGLError (const char* str = NULL); }; namespace ErrorFunctions { using namespace Xot::ErrorFunctions; [[noreturn]] void rays_error ( const char* file, int line, const char* format = NULL, ...); [[noreturn]] void opengl_error ( const char* file, int line, const char* format = NULL, ...); }// ErrorFunctions using namespace ErrorFunctions; }// Rays #endif//EOH
Version data entries
13 entries across 13 versions & 1 rubygems