ext/-test-/time/leap_second.c
raw| 1 | #include "ruby.h" |
| 2 | #include "internal/time.h" |
| 3 | |
| 4 | static VALUE |
| 5 | bug_time_s_reset_leap_second_info(VALUE klass) |
| 6 | { |
| 7 | ruby_reset_leap_second_info(); |
| 8 | return Qnil; |
| 9 | } |
| 10 | |
| 11 | void |
| 12 | Init_time_leap_second(VALUE klass) |
| 13 | { |
| 14 | rb_define_singleton_method(klass, "reset_leap_second_info", bug_time_s_reset_leap_second_info, 0); |
| 15 | } |