Sha256: 2637c6a204b7884ae46019febb201b1dd95df74144a5c7e5ccfc8382b2153d94
Contents?: true
Size: 614 Bytes
Versions: 17
Compression:
Stored size: 614 Bytes
Contents
#include "beeps/ruby/beeps.h" #include "defs.h" static VALUE init(VALUE self) { Beeps::init(); return self; } static VALUE fin(VALUE self) { rb_gc_start(); Beeps::fin(); return self; } static VALUE process_streams(VALUE self) { Beeps::process_streams(); return self; } static Module mBeeps; void Init_beeps () { mBeeps = rb_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