summaryrefslogtreecommitdiff
path: root/dmydln.c
diff options
context:
space:
mode:
authorMatt Valentine-House <[email protected]>2024-04-02 13:52:50 +0100
committerMatt Valentine-House <[email protected]>2024-04-15 19:50:47 +0100
commit065710c0f5c1e81f0fa7ab6ddd3ccbc41e9cc2cc (patch)
treeb3cf24415dad95defcb3dcaa9088b36946dfd3c4 /dmydln.c
parenta2ea4ec30c409ebe8ae7952f092e0bd8c1912a17 (diff)
Initialize external GC Library
Co-Authored-By: Peter Zhu <[email protected]>
Diffstat (limited to 'dmydln.c')
-rw-r--r--dmydln.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/dmydln.c b/dmydln.c
index 35824ebec8..22f40e82eb 100644
--- a/dmydln.c
+++ b/dmydln.c
@@ -20,3 +20,13 @@ dln_symbol(void *handle, const char *symbol)
UNREACHABLE_RETURN(NULL);
}
+
+NORETURN(void *dln_open(const char*));
+void*
+dln_open(const char *library)
+{
+ rb_loaderror("this executable file can't load extension libraries");
+
+ UNREACHABLE_RETURN(NULL);
+}
+