Sha256: 37d10fdfb27b851926ccf0dc29d42a43a8cd2fad33faee9b225c1e067f777d55

Contents?: true

Size: 815 Bytes

Versions: 17

Compression:

Stored size: 815 Bytes

Contents

require 'mkmf'
require_relative '../../lib/debug/version'
File.write("debug_version.h", "#define RUBY_DEBUG_VERSION \"#{DEBUGGER__::VERSION}\"\n")
$distcleanfiles << "debug_version.h"

if defined? RubyVM
  $defs << '-DHAVE_RB_ISEQ_PARAMETERS'
  $defs << '-DHAVE_RB_ISEQ_CODE_LOCATION'

  if RUBY_VERSION >= '3.1.0'
    $defs << '-DHAVE_RB_ISEQ_TYPE'
  end
else
  # not on MRI

  have_func "rb_iseq_parameters(NULL, 0)",
             [["VALUE rb_iseq_parameters(void *, int is_proc);"]]

  have_func "rb_iseq_code_location(NULL, NULL, NULL, NULL, NULL)",
            [["void rb_iseq_code_location(void *, int *first_lineno, int *first_column, int *last_lineno, int *last_column);"]]
  # from Ruby 3.1
  have_func "rb_iseq_type(NULL)",
            [["VALUE rb_iseq_type(void *);"]]
end

create_makefile 'debug/debug'

Version data entries

17 entries across 17 versions & 4 rubygems

Version Path
study_line-0.1.6 vendor/bundle/ruby/3.2.0/gems/debug-1.8.0/ext/debug/extconf.rb
study_line-0.1.5 vendor/bundle/ruby/3.2.0/gems/debug-1.8.0/ext/debug/extconf.rb
study_line-0.1.4 vendor/bundle/ruby/3.2.0/gems/debug-1.8.0/ext/debug/extconf.rb
study_line-0.1.3 vendor/bundle/ruby/3.2.0/gems/debug-1.8.0/ext/debug/extconf.rb
study_line-0.1.2 vendor/bundle/ruby/3.2.0/gems/debug-1.8.0/ext/debug/extconf.rb
study_line-0.1.1 vendor/bundle/ruby/3.2.0/gems/debug-1.8.0/ext/debug/extconf.rb
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/debug-1.6.2/ext/debug/extconf.rb
scrapbook-0.3.1 vendor/ruby/2.7.0/gems/debug-1.6.2/ext/debug/extconf.rb
debug-1.8.0 ext/debug/extconf.rb
debug-1.7.2 ext/debug/extconf.rb
debug-1.7.1 ext/debug/extconf.rb
debug-1.7.0 ext/debug/extconf.rb
tdiary-5.2.4 vendor/bundle/ruby/3.1.0/gems/debug-1.6.3/ext/debug/extconf.rb
debug-1.6.3 ext/debug/extconf.rb
tdiary-5.2.3 vendor/bundle/ruby/3.1.0/gems/debug-1.6.2/ext/debug/extconf.rb
debug-1.6.2 ext/debug/extconf.rb
debug-1.6.1 ext/debug/extconf.rb