Sha256: 1c7a5841239e5610c97ff9b133bf6e5d1d6b565b331944fa5330a1748ebc2192

Contents?: true

Size: 324 Bytes

Versions: 2

Compression:

Stored size: 324 Bytes

Contents

#include <ruby.h>
#include "ruby_memprofiler_pprof.h"

// This should be the only symbol actually visible to Ruby
__attribute__(( visibility("default" )))
void Init_ruby_memprofiler_pprof_ext() {
    mpp_rand_init();
    rb_ext_ractor_safe(true);
    rb_define_module("MemprofilerPprof");
    mpp_setup_collector_class();
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ruby_memprofiler_pprof-0.0.3 ext/ruby_memprofiler_pprof/ruby_memprofiler_pprof.c
ruby_memprofiler_pprof-0.0.1 ext/ruby_memprofiler_pprof/ruby_memprofiler_pprof.c