Ruby 2.7.0p0(2019-12-25revision647ee6f091eafcce70ffb75ddf7e121e192ab217)

dmydln.c
Go to the documentation of this file.
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 }
NORETURN
NORETURN(void *dln_load(const char *))
rb_loaderror
void rb_loaderror(const char *fmt,...)
Definition: error.c:2688
NULL
#define NULL
Definition: _sdbm.c:101
ruby.h
dln_load
void * dln_load(const char *file)
Definition: dmydln.c:5
UNREACHABLE_RETURN
#define UNREACHABLE_RETURN(val)
Definition: ruby.h:59