Ruby: dmydln.c Source File

Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)

dmydln.c
Go to the documentation of this file.
1#include "ruby/ruby.h"
2
3 NORETURN(void *dln_load(const char *));
4void*
5dln_load(const char *file)
6{
7 rb_loaderror("this executable file can't load extension libraries");
8
9 UNREACHABLE_RETURN(NULL);
10}
NORETURN
#define NORETURN(x)
Definition: attributes.h:152
UNREACHABLE_RETURN
#define UNREACHABLE_RETURN
Definition: assume.h:31
dln_load
void * dln_load(const char *)
Definition: dmydln.c:5
rb_loaderror
void rb_loaderror(const char *fmt,...)
Definition: error.c:2936
NULL
#define NULL
Definition: regenc.h:69
ruby.h
file
Definition: gzappend.c:170