diff options
author | suke <suke@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-09-29 11:18:37 +0000 |
---|---|---|
committer | suke <suke@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-09-29 11:18:37 +0000 |
commit | c6e7adf29313a6dadb865426c5e06e7002b9dc8f (patch) | |
tree | dfbac80cb9ecc8a37aa1c90f18c8f3bd05805cde /ext/win32ole | |
parent | 37e1883da646e6721f3a66ed669b9953354cb6c9 (diff) | |
download | ruby-c6e7adf29313a6dadb865426c5e06e7002b9dc8f.tar.gz ruby-c6e7adf29313a6dadb865426c5e06e7002b9dc8f.tar.xz ruby-c6e7adf29313a6dadb865426c5e06e7002b9dc8f.zip |
* ext/win32ole/win32ole.c (fev_initialize): initialization
handler instance variable.
* test/win32ole/test_win32ole_typelib.rb (test_s_typelibs):
fix the warning of shadowing outer local variable.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/win32ole')
-rw-r--r-- | ext/win32ole/win32ole.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/win32ole/win32ole.c b/ext/win32ole/win32ole.c index 3d53e17a6..0f07844de 100644 --- a/ext/win32ole/win32ole.c +++ b/ext/win32ole/win32ole.c @@ -118,7 +118,7 @@ #define WC2VSTR(x) ole_wc2vstr((x), TRUE) -#define WIN32OLE_VERSION "1.3.2" +#define WIN32OLE_VERSION "1.3.3" typedef HRESULT (STDAPICALLTYPE FNCOCREATEINSTANCEEX) (REFCLSID, IUnknown*, DWORD, COSERVERINFO*, DWORD, MULTI_QI*); @@ -8116,6 +8116,7 @@ fev_initialize(int argc, VALUE *argv, VALUE self) ev_advise(argc, argv, self); evs_push(self); rb_ivar_set(self, id_events, rb_ary_new()); + fev_set_handler(self, Qnil); return self; } |