Sha256: 189095b0acb013fd9f0d7cb71d44552cc5de6b0816e9c4578ca3bf2b5643d1e1

Contents?: true

Size: 534 Bytes

Versions: 26

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

26 entries across 26 versions & 1 rubygems

Version Path
rays-0.1.34 include/rays/ruby/defs.h
rays-0.1.33 include/rays/ruby/defs.h
rays-0.1.32 include/rays/ruby/defs.h
rays-0.1.31 include/rays/ruby/defs.h
rays-0.1.30 include/rays/ruby/defs.h
rays-0.1.29 include/rays/ruby/defs.h