diff options
author | Matt Valentine-House <[email protected]> | 2024-04-02 13:52:50 +0100 |
---|---|---|
committer | Matt Valentine-House <[email protected]> | 2024-04-15 19:50:47 +0100 |
commit | 065710c0f5c1e81f0fa7ab6ddd3ccbc41e9cc2cc (patch) | |
tree | b3cf24415dad95defcb3dcaa9088b36946dfd3c4 /dmydln.c | |
parent | a2ea4ec30c409ebe8ae7952f092e0bd8c1912a17 (diff) |
Initialize external GC Library
Co-Authored-By: Peter Zhu <[email protected]>
Diffstat (limited to 'dmydln.c')
-rw-r--r-- | dmydln.c | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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); +} + |