summaryrefslogtreecommitdiff
path: root/internal/load.h
diff options
context:
space:
mode:
Diffstat (limited to 'internal/load.h')
-rw-r--r--internal/load.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/internal/load.h b/internal/load.h
new file mode 100644
index 0000000000..f4bf42cd28
--- /dev/null
+++ b/internal/load.h
@@ -0,0 +1,18 @@
+#ifndef INTERNAL_LOAD_H /* -*- C -*- */
+#define INTERNAL_LOAD_H
+/**
+ * @file
+ * @brief Internal header for require.
+ * @author \@shyouhei
+ * @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.
+ */
+
+/* load.c */
+VALUE rb_get_expanded_load_path(void);
+int rb_require_internal(VALUE fname);
+NORETURN(void rb_load_fail(VALUE, const char*));
+
+#endif /* INTERNAL_LOAD_H */