Sha256: f4060e090f35a4ce4f5694af342cd5f0d34b4e07942cbb6d722edb1a4da43548

Contents?: true

Size: 457 Bytes

Versions: 16

Compression:

Stored size: 457 Bytes

Contents

#include "beeps/ruby/beeps.h"


#include "defs.h"


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

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


static Module mBeeps;

void
Init_beeps ()
{
	mBeeps = define_module("Beeps");
	mBeeps.define_singleton_method("init!", init);
	mBeeps.define_singleton_method("fin!", fin);
}


namespace Beeps
{


	Module
	beeps_module ()
	{
		return mBeeps;
	}


}// Beeps

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
beeps-0.1.32 ext/beeps/beeps.cpp
beeps-0.1.31 ext/beeps/beeps.cpp
beeps-0.1.30 ext/beeps/beeps.cpp
beeps-0.1.29 ext/beeps/beeps.cpp
beeps-0.1.28 ext/beeps/beeps.cpp
beeps-0.1.27 ext/beeps/beeps.cpp
beeps-0.1.26 ext/beeps/beeps.cpp
beeps-0.1.25 ext/beeps/beeps.cpp
beeps-0.1.24 ext/beeps/beeps.cpp
beeps-0.1.23 ext/beeps/beeps.cpp
beeps-0.1.22 ext/beeps/beeps.cpp
beeps-0.1.21 ext/beeps/beeps.cpp
beeps-0.1.20 ext/beeps/beeps.cpp
beeps-0.1.18 ext/beeps/beeps.cpp
beeps-0.1.16 ext/beeps/beeps.cpp
beeps-0.1.15 ext/beeps/beeps.cpp