Sha256: 4e3d85ef726bd88fdd141b75e05f52f69e8f31f5871b872520222383b6b57196
Contents?: true
Size: 486 Bytes
Versions: 1
Compression:
Stored size: 486 Bytes
Contents
#include "beeps/ruby/exception.h" #include "defs.h" static Class cBeepsError; static Class cOpenALError; void Init_exception () { Module mBeeps = rb_define_module("Beeps"); cBeepsError = rb_define_class_under(mBeeps, "BeepsError", rb_eRuntimeError); 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
beeps-0.1.29 | .doc/ext/beeps/exception.cpp |