Sha256: 76fbcae5e1bee91967c36ae2784b65ce15a9e81224292546c8fb0db812dc1243

Contents?: true

Size: 489 Bytes

Versions: 6

Compression:

Stored size: 489 Bytes

Contents

#include <rucy.h>
#include "reflex/reflex.h"
#include "defs.h"


using namespace Rucy;


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

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


static Module mReflex;

void
Init_reflex ()
{
	mReflex = rb_define_module("Reflex");
	mReflex.define_singleton_method("init!", init);
	mReflex.define_singleton_method("fin!", fin);
}


namespace Reflex
{


	Module
	reflex_module ()
	{
		return mReflex;
	}


}// Reflex

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
reflexion-0.1.12 .doc/ext/reflex/reflex.cpp
reflexion-0.1.11 .doc/ext/reflex/reflex.cpp
reflexion-0.1.10 .doc/ext/reflex/reflex.cpp
reflexion-0.1.9.1 .doc/ext/reflex/reflex.cpp
reflexion-0.1.9 .doc/ext/reflex/reflex.cpp
reflexion-0.1.8 .doc/ext/reflex/reflex.cpp