зеркало из https://github.com/github/ruby.git
* ext/win32ole/win32ole.c (ole_variant2val): call
folerecord_s_allocate instead of WIN32OLE_RECORD.new. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
1e667d5fec
Коммит
2cce818552
|
@ -1,3 +1,8 @@
|
|||
Fri Aug 1 20:17:33 2014 Masaki Suketa <masaki.suketa@nifty.ne.jp>
|
||||
|
||||
* ext/win32ole/win32ole.c (ole_variant2val): call
|
||||
folerecord_s_allocate instead of WIN32OLE_RECORD.new.
|
||||
|
||||
Fri Aug 1 18:39:57 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
|
||||
|
||||
* test/date/test_date.rb: remove commented-out code.
|
||||
|
|
|
@ -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.6.9"
|
||||
#define WIN32OLE_VERSION "1.7.0"
|
||||
|
||||
typedef HRESULT (STDAPICALLTYPE FNCOCREATEINSTANCEEX)
|
||||
(REFCLSID, IUnknown*, DWORD, COSERVERINFO*, DWORD, MULTI_QI*);
|
||||
|
@ -2435,7 +2435,7 @@ ole_variant2val(VARIANT *pvar)
|
|||
{
|
||||
IRecordInfo *pri = V_RECORDINFO(pvar);
|
||||
void *prec = V_RECORD(pvar);
|
||||
obj = rb_funcall(cWIN32OLE_RECORD, rb_intern("new"), 0);
|
||||
obj = folerecord_s_allocate(cWIN32OLE_RECORD);
|
||||
olerecord_set_ivar(obj, pri, prec);
|
||||
break;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче