summaryrefslogtreecommitdiff
path: root/internal/load.h
blob: 37c1dee3514362f9de0ed8efde94d7e53e3bd6e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef INTERNAL_LOAD_H                                  /*-*-C-*-vi:se ft=c:*/
#define INTERNAL_LOAD_H
/**
 * @file
 * @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);
int rb_require_internal(VALUE fname);
NORETURN(void rb_load_fail(VALUE, const char*));

#endif /* INTERNAL_LOAD_H */