Skip to content

Commit

Permalink
* ext/Win32API/Win32API.c: remove Init_win32api().
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
eban committed Mar 26, 2001
1 parent 9c33e4e commit c8e0e11
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 11 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Mon Mar 26 14:04:41 2001 WATANABE Hirofumi <[email protected]>

* ext/Win32API/Win32API.c: remove Init_win32api().

Thu Mar 22 22:15:45 2001 WATANABE Hirofumi <[email protected]>

* ext/Win32API/extconf.rb: add -fno-omit-frame-pointer.
Expand Down
4 changes: 1 addition & 3 deletions dln.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)();
Expand Down
6 changes: 0 additions & 6 deletions ext/Win32API/Win32API.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
4 changes: 2 additions & 2 deletions version.h
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit c8e0e11

Please sign in to comment.