mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
parent
6a8bc90278
commit
aa347cbe65
8 changed files with 16 additions and 8 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue