diff options
author | suke <suke@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-02-01 06:16:42 +0000 |
---|---|---|
committer | suke <suke@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-02-01 06:16:42 +0000 |
commit | 7a2b7cf1971e730086af37695fd4628b02cbc5e0 (patch) | |
tree | 0906611811eff4646ef8ae3108b8a39df347d0dd /ext/win32ole/win32ole.c | |
parent | 2d170da497624eac5deb2b95ca1f3c7b83172a1a (diff) | |
download | ruby-7a2b7cf1971e730086af37695fd4628b02cbc5e0.tar.gz |
ext/win32ole/win32ole.c (ole_typedesc2val): add VT_RECORD case.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/win32ole/win32ole.c')
-rw-r--r-- | ext/win32ole/win32ole.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/win32ole/win32ole.c b/ext/win32ole/win32ole.c index d26827917e..05b0a96ae4 100644 --- a/ext/win32ole/win32ole.c +++ b/ext/win32ole/win32ole.c @@ -143,7 +143,7 @@ const IID IID_IMultiLanguage2 = {0xDCCFC164, 0x2B38, 0x11d2, {0xB7, 0xEC, 0x00, #define WC2VSTR(x) ole_wc2vstr((x), TRUE) -#define WIN32OLE_VERSION "1.5.5" +#define WIN32OLE_VERSION "1.5.6" typedef HRESULT (STDAPICALLTYPE FNCOCREATEINSTANCEEX) (REFCLSID, IUnknown*, DWORD, COSERVERINFO*, DWORD, MULTI_QI*); @@ -4731,6 +4731,9 @@ ole_typedesc2val(ITypeInfo *pTypeInfo, TYPEDESC *pTypeDesc, VALUE typedetails) case VT_LPSTR: typestr = rb_str_new2("LPSTR"); break; + case VT_RECORD: + typestr = rb_str_new2("RECORD"); + break; default: typestr = rb_str_new2("Unknown Type "); rb_str_concat(typestr, rb_fix2str(INT2FIX(pTypeDesc->vt), 10)); |