[前][次][番号順一覧][スレッド一覧]

ruby-changes:31853

From: nobu <ko1@a...>
Date: Sat, 30 Nov 2013 18:05:57 +0900 (JST)
Subject: [ruby-changes:31853] nobu:r43932 (trunk): win32ole.c: correct declaration

nobu	2013-11-30 18:05:48 +0900 (Sat, 30 Nov 2013)

  New Revision: 43932

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=43932

  Log:
    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]

  Modified files:
    trunk/ChangeLog
    trunk/ext/win32ole/win32ole.c
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 43931)
+++ ChangeLog	(revision 43932)
@@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Sat Nov 30 18:05:38 2013  Nobuyoshi Nakada  <nobu@r...>
+
+	* 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  <nobu@r...>
 
 	* eval.c (ruby_cleanup): determine exit status and signal to terminate
Index: ext/win32ole/win32ole.c
===================================================================
--- ext/win32ole/win32ole.c	(revision 43931)
+++ ext/win32ole/win32ole.c	(revision 43932)
@@ -383,7 +383,7 @@ static VALUE fole_s_create_guid(VALUE se https://github.com/ruby/ruby/blob/trunk/ext/win32ole/win32ole.c#L383
 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);

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]