Sha256: 7816fa3fed3ca7ee18694f6650d09aaec17774c68a16f647915fef256dea503c
Contents?: true
Size: 641 Bytes
Versions: 3
Compression:
Stored size: 641 Bytes
Contents
#include "rays/ruby/exception.h" #include "defs.h" static Class cRaysError; static Class cOpenGLError; static Class cShaderError; void Init_rays_exception () { Module mRays = rb_define_module("Rays"); cRaysError = rb_define_class_under(mRays, "RaysError", rb_eStandardError); cOpenGLError = rb_define_class_under(mRays, "OpenGLError", cRaysError); cShaderError = rb_define_class_under(mRays, "ShaderError", cOpenGLError); } namespace Rays { Class rays_error_class () { return cRaysError; } Class opengl_error_class () { return cOpenGLError; } Class shader_error_class () { return cShaderError; } }// Rays
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rays-0.3 | .doc/ext/rays/exception.cpp |
rays-0.2.1 | .doc/ext/rays/exception.cpp |
rays-0.2 | .doc/ext/rays/exception.cpp |