Sha256: 6e001002a6071b733677aeb973f4a0d58a719862ad85eafa4cd6eb3393f71822
Contents?: true
Size: 643 Bytes
Versions: 3
Compression:
Stored size: 643 Bytes
Contents
#include "beeps/ruby/processor.h" #include <rucy.h> #include "beeps/exception.h" #include "defs.h" using namespace Rucy; RUCY_DEFINE_VALUE_FROM_TO(Beeps::Processor) #define THIS to<Beeps::Processor*>(self) #define CHECK RUCY_CHECK_OBJECT(Beeps::Processor, self) static VALUE alloc(VALUE klass) { beeps_error(__FILE__, __LINE__); } static Class cProcessor; void Init_processor () { Module mBeeps = rb_define_module("Beeps"); cProcessor = rb_define_class_under(mBeeps, "Processor", rb_cObject); rb_define_alloc_func(cProcessor, alloc); } namespace Beeps { Class processor_class () { return cProcessor; } }// Beeps
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
beeps-0.1.12 | .doc/ext/beeps/processor.cpp |
beeps-0.1.11 | .doc/ext/beeps/processor.cpp |
beeps-0.1.10 | .doc/ext/beeps/processor.cpp |