Sha256: 4ffa93bc3da2d8857493f29cc1df4661de9ccc2770fa7fe87f77e83696743e58

Contents?: true

Size: 535 Bytes

Versions: 3

Compression:

Stored size: 535 Bytes

Contents

// -*- c++ -*-
#pragma once
#ifndef __RAYS_RUBY_PAINTER_H__
#define __RAYS_RUBY_PAINTER_H__


#include <rucy/rucy.h>
#include <rucy/class.h>
#include <rays/painter.h>


namespace Rays
{


	Rucy::Class painter_class ();
	// class Rays::Painter


}// Rays


namespace Rucy
{


	Value value (const Rays::Painter& obj);

	Value value (const Rays::Painter* obj);

	template <> inline Rays::Painter*
	value_to<Rays::Painter*> (Value val, bool)
	{
		return get_type_ptr<Rays::Painter>(val, Rays::painter_class());
	}


}// Rucy


#endif//EOH

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rays-0.1.6 include/rays/ruby/painter.h
rays-0.1.5 include/rays/ruby/painter.h
rays-0.1.4 include/rays/ruby/painter.h