From abd783434a6148937c6cc64dc8435c43b120db52 Mon Sep 17 00:00:00 2001 From: suke Date: Tue, 7 Oct 2014 12:44:53 +0000 Subject: ext/win32ole/win32ole_method.c: refactoring. add olemethod_data_get_struct to wrap Data_Get_Struct. ext/win32ole/win32ole_method.h: ditto. ext/win32ole/win32ole_param.c (oleparam_ole_param): call olemethod_data_get_struct instead of Data_Get_Struct. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/win32ole/win32ole_method.h | 1 + 1 file changed, 1 insertion(+) (limited to 'ext/win32ole/win32ole_method.h') diff --git a/ext/win32ole/win32ole_method.h b/ext/win32ole/win32ole_method.h index 7eacb1b..ff2898e 100644 --- a/ext/win32ole/win32ole_method.h +++ b/ext/win32ole/win32ole_method.h @@ -11,5 +11,6 @@ VALUE cWIN32OLE_METHOD; VALUE folemethod_s_allocate(VALUE klass); VALUE ole_methods_from_typeinfo(ITypeInfo *pTypeInfo, int mask); VALUE create_win32ole_method(ITypeInfo *pTypeInfo, VALUE name); +struct olemethoddata *olemethod_data_get_struct(VALUE obj); void Init_win32ole_method(void); #endif -- cgit v1.1