diff options
Diffstat (limited to 'dmydln.c')
-rw-r--r-- | dmydln.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -8,3 +8,12 @@ dln_load(const char *file) UNREACHABLE_RETURN(NULL); } + +NORETURN(void *dln_symbol(void*,const char*)); +void* +dln_symbol(void *handle, const char *symbol) +{ + rb_loaderror("this executable file can't load extension libraries"); + + UNREACHABLE_RETURN(NULL); +} |