summaryrefslogtreecommitdiff
path: root/ext/win32ole
diff options
context:
space:
mode:
authorsuke <suke@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-29 11:18:37 +0000
committersuke <suke@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-29 11:18:37 +0000
commit06df4049ed811c50062fe4a3a8c342cb2caf2a27 (patch)
treedfbac80cb9ecc8a37aa1c90f18c8f3bd05805cde /ext/win32ole
parent8dcd42552feefe6b990763db0d9c24836a66da6f (diff)
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@19621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/win32ole')
-rw-r--r--ext/win32ole/win32ole.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/win32ole/win32ole.c b/ext/win32ole/win32ole.c
index 3d53e17..0f07844 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;
}