Sha256: 9a10c04d0aaa50a20f4ab5b66e8c95fff4e87161948cb67e8c5e482bccad7b0d

Contents?: true

Size: 419 Bytes

Versions: 2

Compression:

Stored size: 419 Bytes

Contents

#include "rays/rays.h"
#include "defs.h"


static
VALUE init(VALUE self)
{
	Rays::init();
	return self;
}

static
VALUE fin(VALUE self)
{
	Rays::fin();
	return self;
}


static Module mRays;

void
Init_rays ()
{
	mRays = rb_define_module("Rays");
	mRays.define_singleton_method("init!", init);
	mRays.define_singleton_method("fin!", fin);
}


namespace Rays
{


	Module
	rays_module ()
	{
		return mRays;
	}


}// Rays

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rays-0.1.14 .doc/ext/rays/rays.cpp
rays-0.1.13 .doc/ext/rays/rays.cpp