Sha256: 33124d977e4bbd4720c873cf0daf9c53dbccb7397d76052bbf2e3a12291a756c

Contents?: true

Size: 461 Bytes

Versions: 3

Compression:

Stored size: 461 Bytes

Contents

/*
 * Copyright (c) 2011-2017 Tony Arcieri. Distributed under the MIT License.
 * See LICENSE.txt for further details.
 */

#include "../libev/ev.c"
#include "nio4r.h"

void Init_NIO_Selector();
void Init_NIO_Monitor();
void Init_NIO_ByteBuffer();

void Init_nio4r_ext()
{
    #ifdef HAVE_RB_EXT_RACTOR_SAFE
    rb_ext_ractor_safe(true);
    #endif

    ev_set_allocator(xrealloc);

    Init_NIO_Selector();
    Init_NIO_Monitor();
    Init_NIO_ByteBuffer();
}

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
trusty-cms-7.0.9.1 vendor/bundle/ruby/3.1.0/gems/nio4r-2.7.4/ext/nio4r/nio4r_ext.c
nio4r-2.7.4-java ext/nio4r/nio4r_ext.c
nio4r-2.7.4 ext/nio4r/nio4r_ext.c