Sha256: 72752ed8c86ac36bad4448959bced10645c832063d88e2633dce64c8fc665ed6
Contents?: true
Size: 493 Bytes
Versions: 3
Compression:
Stored size: 493 Bytes
Contents
#include "beeps/ruby/exception.h" #include "defs.h" static Class cBeepsError; static Class cOpenALError; void Init_beeps_exception () { Module mBeeps = rb_define_module("Beeps"); cBeepsError = rb_define_class_under(mBeeps, "BeepsError", rb_eStandardError); cOpenALError = rb_define_class_under(mBeeps, "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 | .doc/ext/beeps/exception.cpp |
beeps-0.2.1 | .doc/ext/beeps/exception.cpp |
beeps-0.2 | .doc/ext/beeps/exception.cpp |