load.c: use enum
* load.c (rb_construct_expanded_load_path): use enum for the purpose. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
86ff702957
commit
a894dc6a99
2
load.c
2
load.c
@ -46,7 +46,7 @@ enum expand_type {
|
|||||||
string objects in $LOAD_PATH are frozen.
|
string objects in $LOAD_PATH are frozen.
|
||||||
*/
|
*/
|
||||||
static void
|
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();
|
rb_vm_t *vm = GET_VM();
|
||||||
VALUE load_path = vm->load_path;
|
VALUE load_path = vm->load_path;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user