ruby-debug-base19 0.11.20 → 0.11.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,8 +7,9 @@ if RUBY_VERSION < "1.9"
7
7
  end
8
8
 
9
9
  hdrs = proc {
10
+ have_struct_member("rb_method_entry_t", "body", "method.h")
10
11
  have_header("vm_core.h") and have_header("iseq.h") and have_header("insns.inc") and
11
- have_header("insns_info.inc")
12
+ have_header("insns_info.inc") and have_header("eval_intern.h")
12
13
  }
13
14
 
14
15
  dir_config("ruby")
@@ -144,7 +144,11 @@ ruby_method_ptr(VALUE class, ID meth_id)
144
144
  #else
145
145
  rb_method_entry_t * method;
146
146
  method = rb_method_entry(class, meth_id);
147
+ #ifdef HAVE_ST_BODY
147
148
  return (void *)method->body.cfunc.func;
149
+ #else
150
+ return (void *)method->def->body.cfunc.func;
151
+ #endif
148
152
  #endif
149
153
  }
150
154
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-debug-base19
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.20
4
+ version: 0.11.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kent Sibilev
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2009-09-01 00:00:00 -07:00
13
+ date: 2009-09-04 00:00:00 -07:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency