Sha256: ab06b56018bd0ac94af0aac9dab0db16af83343bd4added44a7f6a90df452764

Contents?: true

Size: 470 Bytes

Versions: 17

Compression:

Stored size: 470 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_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

17 entries across 17 versions & 1 rubygems

Version Path
beeps-0.1.46 ext/beeps/exception.cpp
beeps-0.1.45 ext/beeps/exception.cpp
beeps-0.1.44 ext/beeps/exception.cpp
beeps-0.1.43 ext/beeps/exception.cpp
beeps-0.1.42 ext/beeps/exception.cpp
beeps-0.1.41 ext/beeps/exception.cpp
beeps-0.1.40 ext/beeps/exception.cpp
beeps-0.1.39 ext/beeps/exception.cpp
beeps-0.1.38 ext/beeps/exception.cpp
beeps-0.1.37 ext/beeps/exception.cpp
beeps-0.1.36 ext/beeps/exception.cpp
beeps-0.1.35 ext/beeps/exception.cpp
beeps-0.1.34 ext/beeps/exception.cpp
beeps-0.1.33 ext/beeps/exception.cpp
beeps-0.1.32 ext/beeps/exception.cpp
beeps-0.1.31 ext/beeps/exception.cpp
beeps-0.1.30 ext/beeps/exception.cpp