Ruby
3.1.4p223 (2023-03-30 revision HEAD)
dmydln.c
1
#include "
ruby/ruby.h
"
2
3
NORETURN(
void
*dln_load(
const
char
*));
4
void
*
5
dln_load(
const
char
*file)
6
{
7
rb_loaderror
(
"this executable file can't load extension libraries"
);
8
9
UNREACHABLE_RETURN
(NULL);
10
}
UNREACHABLE_RETURN
#define UNREACHABLE_RETURN
Old name of RBIMPL_UNREACHABLE_RETURN.
Definition:
assume.h:31
rb_loaderror
void rb_loaderror(const char *fmt,...)
Raises an instance of rb_eLoadError.
Definition:
error.c:3044
ruby.h
Generated by
1.9.1