From e2b08f40b3edd8a5601bf818e8047abde42501c7 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 23 Aug 2013 08:17:43 +0000 Subject: [PATCH] win32ole.c: fix type * ext/win32ole/win32ole.c (ole_method_docinfo_from_type): fix return type. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/win32ole/win32ole.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/win32ole/win32ole.c b/ext/win32ole/win32ole.c index e353d78d05..88595a4b3f 100644 --- a/ext/win32ole/win32ole.c +++ b/ext/win32ole/win32ole.c @@ -516,7 +516,7 @@ static VALUE folemethod_visible(VALUE self); 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) return Qnil; } -static VALUE +static HRESULT ole_method_docinfo_from_type( ITypeInfo *pTypeInfo, UINT method_index,