ruby-changes:30580
From: nobu <ko1@a...>
Date: Fri, 23 Aug 2013 17:17:48 +0900 (JST)
Subject: [ruby-changes:30580] nobu:r42659 (trunk): win32ole.c: fix type
nobu 2013-08-23 17:17:43 +0900 (Fri, 23 Aug 2013) New Revision: 42659 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=42659 Log: win32ole.c: fix type * ext/win32ole/win32ole.c (ole_method_docinfo_from_type): fix return type. Modified files: trunk/ext/win32ole/win32ole.c Index: ext/win32ole/win32ole.c =================================================================== --- ext/win32ole/win32ole.c (revision 42658) +++ ext/win32ole/win32ole.c (revision 42659) @@ -516,7 +516,7 @@ static VALUE folemethod_visible(VALUE se https://github.com/ruby/ruby/blob/trunk/ext/win32ole/win32ole.c#L516 static VALUE ole_method_event(ITypeInfo *pTypeInfo, UINT method_index, VALUE method_name); static VALUE folemethod_event(VALUE self); static VALUE folemethod_event_interface(VALUE self); -static VALUE ole_method_docinfo_from_type(ITypeInfo *pTypeInfo, UINT method_index, BSTR *name, BSTR *helpstr, DWORD *helpcontext, BSTR *helpfile); +static HRESULT ole_method_docinfo_from_type(ITypeInfo *pTypeInfo, UINT method_index, BSTR *name, BSTR *helpstr, DWORD *helpcontext, BSTR *helpfile); static VALUE ole_method_helpstring(ITypeInfo *pTypeInfo, UINT method_index); static VALUE folemethod_helpstring(VALUE self); static VALUE ole_method_helpfile(ITypeInfo *pTypeInfo, UINT method_index); @@ -6918,7 +6918,7 @@ folemethod_event_interface(VALUE self) https://github.com/ruby/ruby/blob/trunk/ext/win32ole/win32ole.c#L6918 return Qnil; } -static VALUE +static HRESULT ole_method_docinfo_from_type( ITypeInfo *pTypeInfo, UINT method_index, -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/