Sha256: 48867990a4e1f7ab5a45f024c980ce1cce25b57a66193c9ba9cddf1f55db508d

Contents?: true

Size: 592 Bytes

Versions: 15

Compression:

Stored size: 592 Bytes

Contents

#include "beeps/ruby/processor.h"


#include "beeps/exception.h"
#include "defs.h"


RUCY_DEFINE_VALUE_FROM_TO(Beeps::Processor)

#define THIS  to<Beeps::Processor*>(self)

#define CHECK RUCY_CHECK_OBJECT(Beeps::Processor, self)


static
RUCY_DEF_ALLOC(alloc, klass)
{
	Beeps::beeps_error(__FILE__, __LINE__);
}
RUCY_END


static Class cProcessor;

void
Init_processor ()
{
	Module mBeeps = define_module("Beeps");

	cProcessor = mBeeps.define_class("Processor");
	cProcessor.define_alloc_func(alloc);
}


namespace Beeps
{


	Class
	processor_class ()
	{
		return cProcessor;
	}


}// Beeps

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
beeps-0.1.29 ext/beeps/processor.cpp
beeps-0.1.28 ext/beeps/processor.cpp
beeps-0.1.27 ext/beeps/processor.cpp
beeps-0.1.26 ext/beeps/processor.cpp
beeps-0.1.25 ext/beeps/processor.cpp
beeps-0.1.24 ext/beeps/processor.cpp
beeps-0.1.23 ext/beeps/processor.cpp
beeps-0.1.22 ext/beeps/processor.cpp
beeps-0.1.21 ext/beeps/processor.cpp
beeps-0.1.20 ext/beeps/processor.cpp
beeps-0.1.18 ext/beeps/processor.cpp
beeps-0.1.16 ext/beeps/processor.cpp
beeps-0.1.15 ext/beeps/processor.cpp
beeps-0.1.14 ext/beeps/processor.cpp
beeps-0.1.13 ext/beeps/processor.cpp