1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[ruby/win32ole] Rename toplevel WIN32OLE_* classes

bc7deb6a6a
This commit is contained in:
Nobuyoshi Nakada 2022-03-14 19:07:02 +09:00 committed by git
parent 6a8bc90278
commit aa347cbe65
8 changed files with 16 additions and 8 deletions

View file

@ -594,7 +594,8 @@ VALUE cWIN32OLE_RECORD;
void
Init_win32ole_record(void)
{
cWIN32OLE_RECORD = rb_define_class("WIN32OLE_RECORD", rb_cObject);
cWIN32OLE_RECORD = rb_define_class_under(cWIN32OLE, "Record", rb_cObject);
rb_define_const(rb_cObject, "WIN32OLE_RECORD", cWIN32OLE_RECORD);
rb_define_alloc_func(cWIN32OLE_RECORD, folerecord_s_allocate);
rb_define_method(cWIN32OLE_RECORD, "initialize", folerecord_initialize, 2);
rb_define_method(cWIN32OLE_RECORD, "to_h", folerecord_to_h, 0);