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

ruby-changes:39307

From: nobu <ko1@a...>
Date: Sun, 26 Jul 2015 11:20:51 +0900 (JST)
Subject: [ruby-changes:39307] nobu:r51388 (trunk): load.c: use enum

nobu	2015-07-26 11:20:24 +0900 (Sun, 26 Jul 2015)

  New Revision: 51388

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

  Log:
    load.c: use enum
    
    * load.c (rb_construct_expanded_load_path): use enum for the
      purpose.

  Modified files:
    trunk/load.c
Index: load.c
===================================================================
--- load.c	(revision 51387)
+++ load.c	(revision 51388)
@@ -46,7 +46,7 @@ enum expand_type { https://github.com/ruby/ruby/blob/trunk/load.c#L46
    string objects in $LOAD_PATH are frozen.
  */
 static void
-rb_construct_expanded_load_path(int type, int *has_relative, int *has_non_cache)
+rb_construct_expanded_load_path(enum expand_type type, int *has_relative, int *has_non_cache)
 {
     rb_vm_t *vm = GET_VM();
     VALUE load_path = vm->load_path;

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

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