From c8e0e1114ab2ddbfe0509603c40acd12e6f8c86c Mon Sep 17 00:00:00 2001 From: eban Date: Mon, 26 Mar 2001 05:11:18 +0000 Subject: [PATCH] * ext/Win32API/Win32API.c: remove Init_win32api(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ dln.c | 4 +--- ext/Win32API/Win32API.c | 6 ------ version.h | 4 ++-- 4 files changed, 7 insertions(+), 11 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7f61628872..64393bee49 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Mon Mar 26 14:04:41 2001 WATANABE Hirofumi + + * ext/Win32API/Win32API.c: remove Init_win32api(). + Thu Mar 22 22:15:45 2001 WATANABE Hirofumi * ext/Win32API/extconf.rb: add -fno-omit-frame-pointer. diff --git a/dln.c b/dln.c index 11142275d2..127ceabada 100644 --- a/dln.c +++ b/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)(); diff --git a/ext/Win32API/Win32API.c b/ext/Win32API/Win32API.c index dcfdd7caab..0ee28f05ac 100644 --- a/ext/Win32API/Win32API.c +++ b/ext/Win32API/Win32API.c @@ -305,9 +305,3 @@ Init_Win32API() rb_define_method(cWin32API, "call", Win32API_Call, -1); rb_define_alias(cWin32API, "Call", "call"); } - -void -Init_win32api() -{ - Init_Win32API(); -} diff --git a/version.h b/version.h index 738347148b..a63876f4b7 100644 --- a/version.h +++ b/version.h @@ -1,4 +1,4 @@ #define RUBY_VERSION "1.7.0" -#define RUBY_RELEASE_DATE "2001-03-22" +#define RUBY_RELEASE_DATE "2001-03-26" #define RUBY_VERSION_CODE 170 -#define RUBY_RELEASE_CODE 20010322 +#define RUBY_RELEASE_CODE 20010326