Sha256: cedbea93cf1dfb727bae5a903d3e68402a245546f8dfb00bee2d26d4c2fb76d2
Contents?: true
Size: 617 Bytes
Versions: 17
Compression:
Stored size: 617 Bytes
Contents
#include "beeps/ruby/beeps.h" #include "defs.h" static RUCY_DEF0(init) { Beeps::init(); return self; } RUCY_END static RUCY_DEF0(fin) { rb_gc_start(); Beeps::fin(); return self; } RUCY_END static RUCY_DEF0(process_streams) { Beeps::process_streams(); return self; } RUCY_END static Module mBeeps; void Init_beeps () { mBeeps = define_module("Beeps"); mBeeps.define_singleton_method("init!", init); mBeeps.define_singleton_method("fin!", fin); mBeeps.define_singleton_method("process_streams!", process_streams); } namespace Beeps { Module beeps_module () { return mBeeps; } }// Beeps
Version data entries
17 entries across 17 versions & 1 rubygems