diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-12-12 00:36:54 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-12-12 00:36:54 +0000 |
| commit | f47bdbc620155abd87a90d1bb0d4b59de38c3bf8 (patch) | |
| tree | 821d252ade8e1942f20425e05a6708f0d8b5e57a /ext/win32ole | |
| parent | d21469f63eb60b5c17fe3d96ce3e0da0fd2deab2 (diff) | |
| download | ruby-f47bdbc620155abd87a90d1bb0d4b59de38c3bf8.tar.gz ruby-f47bdbc620155abd87a90d1bb0d4b59de38c3bf8.tar.xz ruby-f47bdbc620155abd87a90d1bb0d4b59de38c3bf8.zip | |
* ext/digest/digest.c (rb_digest_base_s_digest): add volatile to
protect temporary context object. [ruby-dev:27979]
* ext/iconv/iconv.c (Init_iconv): rb_gc_register_address() should
be called before actual variable initialization.
[ruby-dev:27986]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/win32ole')
| -rw-r--r-- | ext/win32ole/win32ole.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/win32ole/win32ole.c b/ext/win32ole/win32ole.c index 32d92b639..fde5d2d45 100644 --- a/ext/win32ole/win32ole.c +++ b/ext/win32ole/win32ole.c @@ -6904,8 +6904,8 @@ folevariant_value(self) void Init_win32ole() { - ary_ole_event = rb_ary_new(); rb_global_variable(&ary_ole_event); + ary_ole_event = rb_ary_new(); id_events = rb_intern("events"); com_vtbl.QueryInterface = QueryInterface; @@ -6915,8 +6915,8 @@ Init_win32ole() com_vtbl.GetTypeInfo = GetTypeInfo; com_vtbl.GetIDsOfNames = GetIDsOfNames; com_vtbl.Invoke = Invoke; - com_hash = Data_Wrap_Struct(rb_cData, rb_mark_hash, st_free_table, st_init_numtable()); rb_global_variable(&com_hash); + com_hash = Data_Wrap_Struct(rb_cData, rb_mark_hash, st_free_table, st_init_numtable()); cWIN32OLE = rb_define_class("WIN32OLE", rb_cObject); |
