Sha256: 9d22b9ec24310caa657b88a2b2fdad323dc2e3850a3108972a0d5cf6e8ac3a8f

Contents?: true

Size: 471 Bytes

Versions: 3

Compression:

Stored size: 471 Bytes

Contents

#include "beeps/ruby/exception.h"


#include "defs.h"


static Class cBeepsError;
static Class cOpenALError;

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

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


namespace Beeps
{


	Class
	beeps_error_class ()
	{
		return cBeepsError;
	}

	Class
	openal_error_class ()
	{
		return cOpenALError;
	}


}// Beeps

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
beeps-0.3 ext/beeps/exception.cpp
beeps-0.2.1 ext/beeps/exception.cpp
beeps-0.2 ext/beeps/exception.cpp