Ruby: internal/load.h File Reference

Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)

Functions
load.h File Reference

Internal header for require. More...

`#include "ruby/ruby.h"`

Go to the source code of this file.

## Functions
VALUE | rb_get_expanded_load_path (void)
int | rb_require_internal (VALUE fname)
void | rb_load_fail (VALUE, const char *)

## Detailed Description

Internal header for require.

Author
  Ruby developers ruby-.nosp@m.core.nosp@m.@ruby.nosp@m.-lan.nosp@m.g.org

Copyright
  This file is a part of the programming language Ruby. Permission is hereby granted, to either redistribute and/or modify this file, provided that the conditions mentioned in the file COPYING are met. Consult the file for details.

Definition in file load.h.

## Function Documentation

## ◆ rb_get_expanded_load_path()

VALUE rb_get_expanded_load_path | ( | void |  | ) |

Definition at line 104 of file load.c.

References EXPAND_ALL, EXPAND_HOME, EXPAND_NON_CACHE, EXPAND_RELATIVE, rb_vm_struct::expanded_load_path, rb_vm_struct::load_path, rb_vm_struct::load_path_check_cache, rb_vm_struct::load_path_snapshot, Qtrue, rb_ary_shared_with_p(), rb_dir_getwd_ospath(), and rb_str_equal().

Referenced by rb_find_file(), and rb_find_file_ext().

## ◆ rb_require_internal()

int rb_require_internal | ( | VALUE | fname | ) |

Definition at line 1165 of file load.c.