From 340fe20a3be042ea416442c137b4652acfb37a5d Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 4 Dec 2017 07:37:21 +0000 Subject: hide internal data objects * marshal.c (compat_allocator_table): hide the wrapper object of compat_allocator_tbl. * process.c (rb_execarg_new): hide wrapper objects of struct rb_execarg. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/win32ole/win32ole.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/win32ole') diff --git a/ext/win32ole/win32ole.c b/ext/win32ole/win32ole.c index 5015dde27d..9d0b1b0431 100644 --- a/ext/win32ole/win32ole.c +++ b/ext/win32ole/win32ole.c @@ -3996,11 +3996,11 @@ Init_win32ole(void) message_filter.RetryRejectedCall = mf_RetryRejectedCall; message_filter.MessagePending = mf_MessagePending; - enc2cp_hash = TypedData_Wrap_Struct(rb_cData, &win32ole_hash_datatype, 0); + enc2cp_hash = TypedData_Wrap_Struct(0, &win32ole_hash_datatype, 0); RTYPEDDATA_DATA(enc2cp_hash) = st_init_numtable(); rb_gc_register_mark_object(enc2cp_hash); - com_hash = TypedData_Wrap_Struct(rb_cData, &win32ole_hash_datatype, 0); + com_hash = TypedData_Wrap_Struct(0, &win32ole_hash_datatype, 0); RTYPEDDATA_DATA(com_hash) = st_init_numtable(); rb_gc_register_mark_object(com_hash); -- cgit v1.2.3