Sha256: 09f9bebacc1c1aa51d0e109ed433c3cd53c0b9ed5b71512dd72557d60088a68a
Contents?: true
Size: 668 Bytes
Versions: 3
Compression:
Stored size: 668 Bytes
Contents
/* * Copyright (C) 2007 Tony Arcieri * You may redistribute this under the terms of the Ruby license. * See LICENSE for details */ #include "ruby.h" #define EV_STANDALONE 1 #include "../libev/ev.c" #include "rev.h" static VALUE mRev = Qnil; void Init_rev_ext() { ev_set_allocator((void *(*)(void *, long))xrealloc); mRev = rb_define_module("Rev"); /* Make libev version available in Ruby */ rb_define_const(mRev, "LIBEV_VERSION", rb_sprintf("%d.%d", ev_version_major(), ev_version_minor())); /* Initializers for other modules */ Init_rev_loop(); Init_rev_watcher(); Init_rev_io_watcher(); Init_rev_timer_watcher(); Init_rev_buffer(); }
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rev-0.1.2 | ext/rev/rev_ext.c |
rev-0.1.3 | ext/rev/rev_ext.c |
rev-0.1.4 | ext/rev/rev_ext.c |