mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
* ext/Win32API/Win32API.c: remove Init_win32api().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
9c33e4e6b4
commit
c8e0e1114a
4 changed files with 7 additions and 11 deletions
4
dln.c
4
dln.c
|
@ -1234,13 +1234,11 @@ dln_load(file)
|
|||
/* Load file */
|
||||
if ((handle =
|
||||
LoadLibraryExA(winfile, NULL, LOAD_WITH_ALTERED_SEARCH_PATH)) == NULL) {
|
||||
printf("LoadLibraryExA: %s\n", winfile);
|
||||
goto failed;
|
||||
}
|
||||
|
||||
if ((init_fct = (void(*)())GetProcAddress(handle, buf)) == NULL) {
|
||||
printf("GetProcAddress %s\n", buf);
|
||||
goto failed;
|
||||
rb_loaderror("%s - %s\n%s", dln_strerror(), buf, file);
|
||||
}
|
||||
/* Call the init code */
|
||||
(*init_fct)();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue