diff options
author | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-03-26 05:11:18 +0000 |
---|---|---|
committer | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-03-26 05:11:18 +0000 |
commit | c8e0e1114ab2ddbfe0509603c40acd12e6f8c86c (patch) | |
tree | 8d7a6b7bbd08348d4f43b8c6a9f592f36199c88b /dln.c | |
parent | 9c33e4e6b42c87ff51f41d1497c0056c90aae02b (diff) | |
download | ruby-c8e0e1114ab2ddbfe0509603c40acd12e6f8c86c.tar.gz |
* ext/Win32API/Win32API.c: remove Init_win32api().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'dln.c')
-rw-r--r-- | dln.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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)(); |