зеркало из https://github.com/github/ruby.git
* ext/tk/lib/tk/variable.rb: forget to initialize instance_variables
of TkVarAccess objects git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
cc0da70929
Коммит
e42cec58db
|
@ -1,3 +1,8 @@
|
|||
Thu Nov 4 15:02:14 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
|
||||
|
||||
* ext/tk/lib/tk/variable.rb: forget to initialize instance_variables
|
||||
of TkVarAccess objects
|
||||
|
||||
Thu Nov 4 09:11:35 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* gc.c (gc_mark): enable GC stack checking.
|
||||
|
|
|
@ -961,6 +961,13 @@ class TkVarAccess<TkVariable
|
|||
@id = varname
|
||||
TkVar_ID_TBL[@id] = self
|
||||
|
||||
@def_default = false
|
||||
@default_val = nil
|
||||
|
||||
@trace_var = nil
|
||||
@trace_elem = nil
|
||||
@trace_opts = nil
|
||||
|
||||
# teach Tk-ip that @id is global var
|
||||
INTERP._invoke_without_enc('global', @id)
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче