mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
tkutil.c: revert r48250
* ext/tk/tkutil/tkutil.c (Init_tkutil): TkUtil::CallbackSubst and TkUtil::CallbackSubst::Info need the default allocator. [ruby-list:50115] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
684fe92dcc
commit
c35aa93590
1 changed files with 2 additions and 2 deletions
|
@ -1778,10 +1778,10 @@ Init_tkutil(void)
|
|||
ID_call = rb_intern("call");
|
||||
|
||||
/* --------------------- */
|
||||
cCB_SUBST = rb_define_class_under(mTK, "CallbackSubst", rb_cData);
|
||||
cCB_SUBST = rb_define_class_under(mTK, "CallbackSubst", rb_cObject);
|
||||
rb_define_singleton_method(cCB_SUBST, "inspect", cbsubst_inspect, 0);
|
||||
|
||||
cSUBST_INFO = rb_define_class_under(cCB_SUBST, "Info", rb_cData);
|
||||
cSUBST_INFO = rb_define_class_under(cCB_SUBST, "Info", rb_cObject);
|
||||
rb_define_singleton_method(cSUBST_INFO, "inspect", substinfo_inspect, 0);
|
||||
|
||||
ID_SUBST_INFO = rb_intern("SUBST_INFO");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue