From e1a7f50ce677218f6777fa103a17d0ecf6bc6615 Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 30 Nov 2013 09:05:48 +0000 Subject: [PATCH] win32ole.c: correct declaration * ext/win32ole/win32ole.c (hash2named_arg): correct declaration to fix build failure. a patch by phasis68 (Heesob Park) at [ruby-core:58710]. [Bug #9184] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 6 ++++++ ext/win32ole/win32ole.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 198e66170e..45b8977a31 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Sat Nov 30 18:05:38 2013 Nobuyoshi Nakada + + * ext/win32ole/win32ole.c (hash2named_arg): correct declaration to fix + build failure. a patch by phasis68 (Heesob Park) at + [ruby-core:58710]. [Bug #9184] + Sat Nov 30 17:46:35 2013 Nobuyoshi Nakada * eval.c (ruby_cleanup): determine exit status and signal to terminate diff --git a/ext/win32ole/win32ole.c b/ext/win32ole/win32ole.c index 9254ca48f7..9765929f34 100644 --- a/ext/win32ole/win32ole.c +++ b/ext/win32ole/win32ole.c @@ -383,7 +383,7 @@ static VALUE fole_s_create_guid(VALUE self); static VALUE fole_s_ole_initialize(VALUE self); static VALUE fole_s_ole_uninitialize(VALUE self); static VALUE fole_initialize(int argc, VALUE *argv, VALUE self); -static VALUE hash2named_arg(VALUE pair, struct oleparam* pOp); +static VALUE hash2named_arg(RB_BLOCK_CALL_FUNC_ARGLIST(pair, op)); static VALUE set_argv(VARIANTARG* realargs, unsigned int beg, unsigned int end); static VALUE ole_invoke(int argc, VALUE *argv, VALUE self, USHORT wFlags, BOOL is_bracket); static VALUE fole_invoke(int argc, VALUE *argv, VALUE self);