diff options
author | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-08-08 05:06:24 +0000 |
---|---|---|
committer | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-08-08 05:06:24 +0000 |
commit | e25b9a0ee99819844f4e191cae430ba1a8a22bb4 (patch) | |
tree | 91b13ae1c00a67138eaba842466d59be9d83abb2 /ext/tcltklib/tcltklib.c | |
parent | 74c63cd4973e0bc47a37fda92f00558fdf2e711e (diff) | |
download | ruby-e25b9a0ee99819844f4e191cae430ba1a8a22bb4.tar.gz ruby-e25b9a0ee99819844f4e191cae430ba1a8a22bb4.tar.xz ruby-e25b9a0ee99819844f4e191cae430ba1a8a22bb4.zip |
eban
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tcltklib/tcltklib.c')
-rw-r--r-- | ext/tcltklib/tcltklib.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/tcltklib/tcltklib.c b/ext/tcltklib/tcltklib.c index f2e4a2294..b0a4880bf 100644 --- a/ext/tcltklib/tcltklib.c +++ b/ext/tcltklib/tcltklib.c @@ -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); |