mirror of
https://github.com/ruby/ruby.git
synced 2025-08-23 21:14:23 +02:00
eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
5093c0496e
commit
ce799ec3ea
6 changed files with 113 additions and 9 deletions
|
@ -493,6 +493,13 @@ Init_tcltklib()
|
|||
VALUE lib = rb_define_module("TclTkLib");
|
||||
VALUE ip = rb_define_class("TclTkIp", rb_cObject);
|
||||
|
||||
#if defined USE_TCL_STUBS && defined USE_TK_STUBS
|
||||
extern int ruby_tcltk_stubs();
|
||||
int ret = ruby_tcltk_stubs();
|
||||
if (ret)
|
||||
rb_raise(rb_eLoadError, "tcltklib: tcltk_stubs init error(%d)", ret);
|
||||
#endif
|
||||
|
||||
eTkCallbackBreak = rb_define_class("TkCallbackBreak", rb_eStandardError);
|
||||
eTkCallbackContinue = rb_define_class("TkCallbackContinue",rb_eStandardError);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue