Sha256: 00229a255c5915774207f70d9ebd18a05e3c1cb9e2e5b1f7e51140516c7b6cea

Contents?: true

Size: 513 Bytes

Versions: 3

Compression:

Stored size: 513 Bytes

Contents

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


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


namespace Rays
{


	Rucy::Class point_class ();
	// class Rays::Point


}// Rays


namespace Rucy
{


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

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

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


}// Rucy


#endif//EOH

Version data entries

3 entries across 3 versions & 1 rubygems

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