Sha256: f8f4fd53c5e5453e9873137b1f97a239c288d4c3ca2a69b3cc2f5f0c5ab66b41

Contents?: true

Size: 559 Bytes

Versions: 3

Compression:

Stored size: 559 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);

  /* Initializers for other modules */
  Init_rev_loop();
  Init_rev_watcher();
  Init_rev_io_watcher();
  Init_rev_timer_watcher();
  Init_rev_buffer();
  Init_rev_utils();
  
#ifdef HAVE_OPENSSL_SSL_H
  Init_rev_ssl();
#endif
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rev-0.2.0 ext/rev/rev_ext.c
rev-0.2.1 ext/rev/rev_ext.c
rev-0.2.2 ext/rev/rev_ext.c