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

ruby-changes:48686

From: ko1 <ko1@a...>
Date: Thu, 16 Nov 2017 16:47:37 +0900 (JST)
Subject: [ruby-changes:48686] ko1:r60802 (trunk): make a func static.

ko1	2017-11-16 16:47:33 +0900 (Thu, 16 Nov 2017)

  New Revision: 60802

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

  Log:
    make a func static.
    
    * vm_eval.c (rb_f_public_send): make it static.

  Modified files:
    trunk/vm_eval.c
Index: vm_eval.c
===================================================================
--- vm_eval.c	(revision 60801)
+++ vm_eval.c	(revision 60802)
@@ -956,7 +956,7 @@ rb_f_send(int argc, VALUE *argv, VALUE r https://github.com/ruby/ruby/blob/trunk/vm_eval.c#L956
  *     1.public_send(:puts, "hello")  # causes NoMethodError
  */
 
-VALUE
+static VALUE
 rb_f_public_send(int argc, VALUE *argv, VALUE recv)
 {
     return send_internal(argc, argv, recv, CALL_PUBLIC);

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

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