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

Version Path
rays-0.3 include/rays/ruby/defs.h
rays-0.2.1 include/rays/ruby/defs.h
rays-0.2 include/rays/ruby/defs.h
rays-0.1.49 include/rays/ruby/defs.h
rays-0.1.48 include/rays/ruby/defs.h
rays-0.1.47 include/rays/ruby/defs.h
rays-0.1.46 include/rays/ruby/defs.h
rays-0.1.45 include/rays/ruby/defs.h
rays-0.1.44 include/rays/ruby/defs.h
rays-0.1.43 include/rays/ruby/defs.h
rays-0.1.42 include/rays/ruby/defs.h
rays-0.1.40 include/rays/ruby/defs.h
rays-0.1.39 include/rays/ruby/defs.h
rays-0.1.38 include/rays/ruby/defs.h
rays-0.1.37 include/rays/ruby/defs.h
rays-0.1.36 include/rays/ruby/defs.h
rays-0.1.35 include/rays/ruby/defs.h
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