diff options
Diffstat (limited to 'internal/load.h')
| -rw-r--r-- | internal/load.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/internal/load.h b/internal/load.h new file mode 100644 index 0000000000..6cffe0ce64 --- /dev/null +++ b/internal/load.h @@ -0,0 +1,20 @@ +#ifndef INTERNAL_LOAD_H /*-*-C-*-vi:se ft=c:*/ +#define INTERNAL_LOAD_H +/** + * @author Ruby developers <ruby-core@ruby-lang.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. + * @brief Internal header for require. + */ +#include "ruby/ruby.h" /* for VALUE */ + +/* load.c */ +VALUE rb_get_expanded_load_path(void); +VALUE rb_load_entrypoint(VALUE fname, VALUE wrap); +VALUE rb_require_relative_entrypoint(VALUE fname); +int rb_require_internal(VALUE fname); +NORETURN(void rb_load_fail(VALUE, const char*)); + +#endif /* INTERNAL_LOAD_H */ |
