[前][次][番号順一覧][スレッド一覧]

ruby-changes:51646

From: naruse <ko1@a...>
Date: Thu, 5 Jul 2018 20:53:23 +0900 (JST)
Subject: [ruby-changes:51646] naruse:r63858 (trunk): Add missing file

naruse	2018-07-05 20:53:18 +0900 (Thu, 05 Jul 2018)

  New Revision: 63858

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=63858

  Log:
    Add missing file

  Added files:
    trunk/ext/-test-/time/leap_second.c
Index: ext/-test-/time/leap_second.c
===================================================================
--- ext/-test-/time/leap_second.c	(nonexistent)
+++ ext/-test-/time/leap_second.c	(revision 63858)
@@ -0,0 +1,14 @@ https://github.com/ruby/ruby/blob/trunk/ext/-test-/time/leap_second.c#L1
+#include "ruby.h"
+
+static VALUE
+bug_time_s_reset_leap_second_info(VALUE klass)
+{
+    reset_leap_second_info();
+    return Qnil;
+}
+
+void
+Init_time_leap_second(VALUE klass)
+{
+    rb_define_singleton_method(klass, "reset_leap_second_info", bug_time_s_reset_leap_second_info, 0);
+}

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]