mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
f169931414
https://gcc.gnu.org/gcc-10/changes.html#c > * GCC now defaults to `-fno-common`. As a result, global > variable accesses are more efficient on various targets. In > C, global variables with multiple tentative definitions now > result in linker errors. With `-fcommon` such definitions are > silently merged during linking.
16 lines
457 B
C
16 lines
457 B
C
#ifndef WIN32OLE_METHOD_H
|
|
#define WIN32OLE_METHOD_H 1
|
|
|
|
struct olemethoddata {
|
|
ITypeInfo *pOwnerTypeInfo;
|
|
ITypeInfo *pTypeInfo;
|
|
UINT index;
|
|
};
|
|
|
|
extern 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
|