mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
abd783434a
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
16 lines
450 B
C
16 lines
450 B
C
#ifndef WIN32OLE_METHOD_H
|
|
#define WIN32OLE_METHOD_H 1
|
|
|
|
struct olemethoddata {
|
|
ITypeInfo *pOwnerTypeInfo;
|
|
ITypeInfo *pTypeInfo;
|
|
UINT index;
|
|
};
|
|
|
|
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
|