Sha256: 189095b0acb013fd9f0d7cb71d44552cc5de6b0816e9c4578ca3bf2b5643d1e1
Contents?: true
Size: 534 Bytes
Versions: 23
Compression:
Stored size: 534 Bytes
Contents
// -*- c++ -*- #pragma once #ifndef __RAYS_RUBY_DEFS_H__ #define __RAYS_RUBY_DEFS_H__ #include <rucy/extension.h> #include <rays/ruby/exception.h> #define RAYS_CATCH \ } \ catch (const Rays::ShaderError& e) \ { \ RUCY_RAISE(Rays::shader_error_class(), e.what()); \ } \ catch (const Rays::OpenGLError& e) \ { \ RUCY_RAISE(Rays::opengl_error_class(), e.what()); \ } \ catch (const Rays::RaysError& e) \ { \ RUCY_RAISE(Rays::rays_error_class(), e.what()); #define RUCY_END \ RAYS_CATCH \ RUCY_DEF_END #endif//EOH
Version data entries
23 entries across 23 versions & 1 rubygems