Sha256: 16bb9fb6de1a1a7b35688861324fa37b664a1f377be72364dd4e16f0b1a5c7df

Contents?: true

Size: 255 Bytes

Versions: 1

Compression:

Stored size: 255 Bytes

Contents

require "mkmf"

find_header("malloc.h")
find_header("ruby/debug.h")
have_func("malloc_trim")
abort 'error: needs ruby 2.1+' unless have_func('rb_tracepoint_new') && have_const('RUBY_INTERNAL_EVENT_GC_END_SWEEP')
create_makefile("malloc_trim/malloc_trim")

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
malloc_trim-0.1.0 ext/malloc_trim/extconf.rb