Sha256: 9b48ecece30b573403f993cef6e10e0572680e8f2a3ab911e98c72deec27bbb1

Contents?: true

Size: 600 Bytes

Versions: 2

Compression:

Stored size: 600 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" // allow for an error "OpenFile redeclared" to not exist, somehow.

#include "ev_wrap.h"


#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

2 entries across 2 versions & 1 rubygems

Version Path
rev-0.2.3 ext/rev/rev_ext.c
rev-0.2.4 ext/rev/rev_ext.c