Sha256: 97526e4feeaf1dcb0cbf9bda14894436bbee5fd2f3d9a0d1bf006aed2efff29c

Contents?: true

Size: 812 Bytes

Versions: 8

Compression:

Stored size: 812 Bytes

Contents

/* Copyright (C) 2005-2019 Shugo Maeda <shugo@ruby-lang.org> and Charlie Savage <cfis@savagexi.com>
   Please see the LICENSE file for copyright and distribution information */

#ifndef __RUBY_PROF_H__
#define __RUBY_PROF_H__

#include <ruby.h>
#include <ruby/debug.h>
#include <stdio.h>
#include <stdbool.h>

#ifndef rb_st_lookup
#define rb_st_foreach st_foreach
#define rb_st_free_table st_free_table
#define rb_st_init_numtable st_init_numtable
#define rb_st_insert st_insert
#define rb_st_lookup st_lookup
#endif


extern VALUE mProf;

// This method is not exposed in Ruby header files - at least not as of Ruby 2.6.3 :(
extern size_t rb_obj_memsize_of(VALUE);

typedef enum
{
  OWNER_UNKNOWN = 0,
  OWNER_RUBY = 1,
  OWNER_C = 2
} prof_owner_t;


#endif //__RUBY_PROF_H__

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
ruby-prof-1.6.3-x64-mingw-ucrt ext/ruby_prof/ruby_prof.h
ruby-prof-1.6.3 ext/ruby_prof/ruby_prof.h
ruby-prof-1.6.2-x64-mingw-ucrt ext/ruby_prof/ruby_prof.h
ruby-prof-1.6.2 ext/ruby_prof/ruby_prof.h
ruby-prof-1.6.1 ext/ruby_prof/ruby_prof.h
ruby-prof-1.6.1-x64-mingw-ucrt ext/ruby_prof/ruby_prof.h
ruby-prof-1.5.0-x64-mingw-ucrt ext/ruby_prof/ruby_prof.h
ruby-prof-1.5.0 ext/ruby_prof/ruby_prof.h