Sha256: 73e60d2ba75c7f8704c9891452cde84e18370043736ab5a52e8efcb382f52178

Contents?: true

Size: 490 Bytes

Versions: 6

Compression:

Stored size: 490 Bytes

Contents

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


using namespace Rucy;


static
RUCY_DEF0(init)
{
	Reflex::init();
	return self;
}
RUCY_END

static
RUCY_DEF0(fin)
{
	Reflex::fin();
	return self;
}
RUCY_END


static Module mReflex;

void
Init_reflex ()
{
	mReflex = 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 ext/reflex/reflex.cpp
reflexion-0.1.11 ext/reflex/reflex.cpp
reflexion-0.1.10 ext/reflex/reflex.cpp
reflexion-0.1.9.1 ext/reflex/reflex.cpp
reflexion-0.1.9 ext/reflex/reflex.cpp
reflexion-0.1.8 ext/reflex/reflex.cpp