mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Initialize external GC Library
Co-Authored-By: Peter Zhu <peter@peterzhu.ca>
This commit is contained in:
parent
a2ea4ec30c
commit
065710c0f5
6 changed files with 79 additions and 4 deletions
10
dmydln.c
10
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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue