diff options
author | Satoshi Tagomori <[email protected]> | 2025-04-30 13:48:02 +0900 |
---|---|---|
committer | Satoshi Tagomori <[email protected]> | 2025-05-11 23:32:50 +0900 |
commit | 382645d440d5da66a0c04557f3ff2ca226de3a27 (patch) | |
tree | b7453449930197237e739d0985561b664f51b0f3 /dmydln.c | |
parent | 49742414f6444960838bb968bab43db27f5872c1 (diff) |
namespace on read
Diffstat (limited to 'dmydln.c')
-rw-r--r-- | dmydln.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -12,6 +12,15 @@ dln_load(const char *file) UNREACHABLE_RETURN(NULL); } +NORETURN(void *dln_load_feature(const char*,const char*)); +void* +dln_load_feature(const char *file, const char *fname) +{ + rb_loaderror("this executable file can't load extension libraries"); + + UNREACHABLE_RETURN(NULL); +} + NORETURN(void *dln_symbol(void*,const char*)); void* dln_symbol(void *handle, const char *symbol) |