Sha256: 42a0c3b9fd5688b41adfb0cc2d20aa07e2b43014d899e5902c1f748fc21ad97f
Contents?: true
Size: 640 Bytes
Versions: 19
Compression:
Stored size: 640 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_eRuntimeError); 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
19 entries across 19 versions & 1 rubygems