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

ruby-changes:45100

From: nobu <ko1@a...>
Date: Sat, 24 Dec 2016 22:19:55 +0900 (JST)
Subject: [ruby-changes:45100] nobu:r57173 (trunk): compile.c: constify

nobu	2016-12-24 22:19:50 +0900 (Sat, 24 Dec 2016)

  New Revision: 57173

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

  Log:
    compile.c: constify
    
    * compile.c (method_for_self): constify an argument of build
      function for VC6.

  Modified files:
    trunk/compile.c
Index: compile.c
===================================================================
--- compile.c	(revision 57172)
+++ compile.c	(revision 57173)
@@ -7058,7 +7058,7 @@ typedef struct { https://github.com/ruby/ruby/blob/trunk/compile.c#L7058
 
 static const rb_iseq_t *
 method_for_self(VALUE name, VALUE arg, rb_insn_func_t func,
-		VALUE (*build)(rb_iseq_t *, LINK_ANCHOR *, VALUE))
+		VALUE (*build)(rb_iseq_t *, LINK_ANCHOR *const, VALUE))
 {
     VALUE path, absolute_path;
     accessor_args acc;

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

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