Sha256: 181f1e7eed5cd01ff102ce70ad0af534f642eee110bf87ee3973314fe6233399
Contents?: true
Size: 449 Bytes
Versions: 2
Compression:
Stored size: 449 Bytes
Contents
#include "beeps/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 Module mBeeps; void Init_beeps () { mBeeps = rb_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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
beeps-0.1.14 | .doc/ext/beeps/beeps.cpp |
beeps-0.1.13 | .doc/ext/beeps/beeps.cpp |