Sha256: 4336354a4230b41420a315ce4ac8a32b37db703d4a54e7f2047fb2ed418b2d17

Contents?: true

Size: 464 Bytes

Versions: 1

Compression:

Stored size: 464 Bytes

Contents

#include "beeps/ruby/exception.h"


#include "defs.h"


static Class cBeepsError;
static Class cOpenALError;

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

	cBeepsError  = mBeeps.define_class("BeepsError", rb_eRuntimeError);
	cOpenALError = mBeeps.define_class("OpenALError", cBeepsError);
}


namespace Beeps
{


	Class
	beeps_error_class ()
	{
		return cBeepsError;
	}

	Class
	openal_error_class ()
	{
		return cOpenALError;
	}


}// Beeps

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
beeps-0.1.29 ext/beeps/exception.cpp