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
4
dln.c
4
dln.c
|
@ -339,7 +339,7 @@ dln_disable_dlclose(void)
|
|||
#endif
|
||||
|
||||
#if defined(_WIN32) || defined(USE_DLN_DLOPEN)
|
||||
static void *
|
||||
void *
|
||||
dln_open(const char *file)
|
||||
{
|
||||
static const char incompatible[] = "incompatible library version";
|
||||
|
@ -427,7 +427,7 @@ dln_open(const char *file)
|
|||
dln_loaderror("%s - %s", error, file);
|
||||
}
|
||||
|
||||
static void *
|
||||
void *
|
||||
dln_sym(void *handle, const char *symbol)
|
||||
{
|
||||
#if defined(_WIN32)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue