Sha256: 5280f33d3c88a721713b40e6cd6453863de44b94590b5131d733f504f5d61683
Contents?: true
Size: 598 Bytes
Versions: 3
Compression:
Stored size: 598 Bytes
Contents
#include "beeps/ruby/processor.h" #include "beeps/exception.h" #include "defs.h" RUCY_DEFINE_VALUE_FROM_TO(Beeps::Processor) #define THIS to<Beeps::Processor*>(self) #define CHECK RUCY_CHECK_OBJECT(Beeps::Processor, self) static RUCY_DEF_ALLOC(alloc, klass) { Beeps::beeps_error(__FILE__, __LINE__); } RUCY_END static Class cProcessor; void Init_beeps_processor () { Module mBeeps = define_module("Beeps"); cProcessor = mBeeps.define_class("Processor"); cProcessor.define_alloc_func(alloc); } namespace Beeps { Class processor_class () { return cProcessor; } }// Beeps
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
beeps-0.1.32 | ext/beeps/processor.cpp |
beeps-0.1.31 | ext/beeps/processor.cpp |
beeps-0.1.30 | ext/beeps/processor.cpp |