зеркало из https://github.com/github/ruby.git
* 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:
Родитель
9c33e4e6b4
Коммит
c8e0e1114a
|
@ -1,3 +1,7 @@
|
|||
Mon Mar 26 14:04:41 2001 WATANABE Hirofumi <eban@ruby-lang.org>
|
||||
|
||||
* ext/Win32API/Win32API.c: remove Init_win32api().
|
||||
|
||||
Thu Mar 22 22:15:45 2001 WATANABE Hirofumi <eban@ruby-lang.org>
|
||||
|
||||
* ext/Win32API/extconf.rb: add -fno-omit-frame-pointer.
|
||||
|
|
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)();
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче