Sha256: f4060e090f35a4ce4f5694af342cd5f0d34b4e07942cbb6d722edb1a4da43548
Contents?: true
Size: 457 Bytes
Versions: 16
Compression:
Stored size: 457 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 Module mBeeps; void Init_beeps () { mBeeps = define_module("Beeps"); mBeeps.define_singleton_method("init!", init); mBeeps.define_singleton_method("fin!", fin); } namespace Beeps { Module beeps_module () { return mBeeps; } }// Beeps
Version data entries
16 entries across 16 versions & 1 rubygems