зеркало из https://github.com/github/ruby.git
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
This commit is contained in:
Родитель
2d170da497
Коммит
7a2b7cf197
|
@ -1,3 +1,7 @@
|
||||||
|
Sat Feb 1 15:09:16 2014 Masaki Suketa <masaki.suketa@nifty.ne.jp>
|
||||||
|
|
||||||
|
* ext/win32ole/win32ole.c (ole_typedesc2val): add VT_RECORD case.
|
||||||
|
|
||||||
Sat Feb 1 06:38:51 2014 Zachary Scott <e@zzak.io>
|
Sat Feb 1 06:38:51 2014 Zachary Scott <e@zzak.io>
|
||||||
|
|
||||||
* lib/drb/drb.rb: [DOC] Add note about start_service for each process
|
* lib/drb/drb.rb: [DOC] Add note about start_service for each process
|
||||||
|
|
|
@ -143,7 +143,7 @@ const IID IID_IMultiLanguage2 = {0xDCCFC164, 0x2B38, 0x11d2, {0xB7, 0xEC, 0x00,
|
||||||
|
|
||||||
#define WC2VSTR(x) ole_wc2vstr((x), TRUE)
|
#define WC2VSTR(x) ole_wc2vstr((x), TRUE)
|
||||||
|
|
||||||
#define WIN32OLE_VERSION "1.5.5"
|
#define WIN32OLE_VERSION "1.5.6"
|
||||||
|
|
||||||
typedef HRESULT (STDAPICALLTYPE FNCOCREATEINSTANCEEX)
|
typedef HRESULT (STDAPICALLTYPE FNCOCREATEINSTANCEEX)
|
||||||
(REFCLSID, IUnknown*, DWORD, COSERVERINFO*, DWORD, MULTI_QI*);
|
(REFCLSID, IUnknown*, DWORD, COSERVERINFO*, DWORD, MULTI_QI*);
|
||||||
|
@ -4731,6 +4731,9 @@ ole_typedesc2val(ITypeInfo *pTypeInfo, TYPEDESC *pTypeDesc, VALUE typedetails)
|
||||||
case VT_LPSTR:
|
case VT_LPSTR:
|
||||||
typestr = rb_str_new2("LPSTR");
|
typestr = rb_str_new2("LPSTR");
|
||||||
break;
|
break;
|
||||||
|
case VT_RECORD:
|
||||||
|
typestr = rb_str_new2("RECORD");
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
typestr = rb_str_new2("Unknown Type ");
|
typestr = rb_str_new2("Unknown Type ");
|
||||||
rb_str_concat(typestr, rb_fix2str(INT2FIX(pTypeDesc->vt), 10));
|
rb_str_concat(typestr, rb_fix2str(INT2FIX(pTypeDesc->vt), 10));
|
||||||
|
|
Загрузка…
Ссылка в новой задаче