Actions
Bug #857
closed1.9 Crash on calling 'hour' method on DateTime object in C extension
Bug #857:
1.9 Crash on calling 'hour' method on DateTime object in C extension
Description
=begin
DateTime#hour works fine in Ruby.
However, calling this in an extension on the same DateTime object causes a crash:
int rHour = NUM2INT(rb_funcall(date_time, rb_intern("hour"), 0));
Error is:
/Users/alex/code/wxruby2_19/lib/wx/keyword_ctors.rb:168: [BUG] unsupported: vm_call0(NODE_ZSUPER)
=end
Files
Actions